Structured Multi-Modal Prompting for Vision-Language Reasoning in Complex Retail Scenes: Out-of-Stock Prediction as a Case Study

Xiao, Jiuhong, Doke, Abhay, Kulathumani, Vinod

–arXiv.org Artificial Intelligence 

Complex retail scenes, including cluttered shelves, fine-grained product variation, and unstructured layout metadata such as planograms, pose a challenging setting for vision-language reasoning. We study these challenges through Out-of-Stock (OOS) prediction as a representative case, which requires identifying the missing product. Existing approaches rely either on fine-tuned detection-recognition pipelines requiring frequent retraining as products change, or on zero-shot vision-language matching that struggles with fine-grained identification, partial visibility, and planogram integration. We present a structured multi-modal prompting framework that composes scene imagery, structured layout metadata, and auxiliary detector outputs into a unified prompt with explicit chain-of-thought reasoning, instantiated as ShelfOOSVLM. On a real-world dataset of 3,897 product instances and 637 OOS instances across 242 shelves, ShelfOOSVLM achieves 96.8% precision and recall at the product level using annotated OOS boxes as the expert OOS-detector outputs, substantially outperforming SAM-CLIP, SAM-DINOv3, and YOLOv11-CLIP pipelines. Ablation and robustness studies reveal prompt-design principles, including the advantage of filled region masks over bounding-box overlays, the importance of ordered structured metadata, and no benefit from (possibly stale) catalog imagery. These studies also characterize where current vision-language spatial reasoning breaks down under dense multi-row layouts.