mlsanityData to 7 Oct 2026

Towards Truly Zero-shot Compositional Visual Reasoning with LLMs as Programmers

arXiv 2401.01974 ↗First posted 3 Jan 2024cs.CV cs.AI cs.LGcited by 14

On the map: LLM reasoning → Multimodal reasoning

Abstract (arXiv)

Visual reasoning is dominated by end-to-end neural networks scaled to billions of model parameters and training examples. However, even the largest models struggle with compositional reasoning, generalization, fine-grained spatial and temporal reasoning, and counting. Visual reasoning with large language models (LLMs) as controllers can, in principle, address these limitations by decomposing the task and solving subtasks by orchestrating a set of (visual) tools. Recently, these models achieved great performance on tasks such as compositional visual question answering, visual grounding, and video temporal reasoning. Nevertheless, in their current form, these models heavily rely on human engineering of in-context examples in the prompt, which are often dataset- and task-specific and require significant labor by highly skilled programmers. In this work, we present a framework that mitigates these issues by introducing spatially and temporally abstract routines and by leveraging a small number of labeled examples to automatically generate in-context examples, thereby avoiding human-created in-context examples. On a number of visual reasoning tasks, we show that our framework leads to consistent gains in performance, makes LLMs as controllers setup more robust, and removes the need for human engineering of in-context examples.

Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Placed in Multimodal reasoning, one of 17 directions in LLM reasoning. Builds on 106 of its 123 references that are in the map. First posted on arXiv 3 Jan 2024.

Builds on

106 of 123 references.

Closest ancestors · 7

Same direction, newest first

  1. 2023Perception Test: A Diagnostic Benchmark for Multimodal Video Models23 May
  2. 2023LLaMA-Adapter V2: Parameter-Efficient Visual Instruction Model28 Apr
  3. 2023MM-REACT: Prompting ChatGPT for Multimodal Reasoning and Action20 Mar
  4. 2023ViperGPT: Visual Inference via Python Execution for Reasoning14 Mar
  5. 2023Visual ChatGPT: Talking, Drawing and Editing with Visual Foundation Models8 Mar
  6. 2022Visual Programming: Compositional visual reasoning without training18 Nov
  7. 2022Socratic Models: Composing Zero-Shot Multimodal Reasoning with Language1 Apr

Other references · 99

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  4. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  5. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  6. 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,069
  7. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  8. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  9. 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,337
  10. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
  11. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  12. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
38 more
  1. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
  2. 2023Sigmoid Loss for Language Image Pre-Trainingcited by 3,048
  3. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
  4. 2023MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Modelscited by 2,689
  5. 2023PaLM-E: An Embodied Multimodal Language Modelcited by 2,037
  6. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,880
  7. 2019Towards Robust Monocular Depth Estimation: Mixing Datasets for Zero-shot Cross-dataset Transfercited by 1,484
  8. 2023Video-LLaMA: An Instruction-tuned Audio-Visual Language Model for Video Understandingcited by 1,461
  9. 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
  10. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
  11. 2022CoCa: Contrastive Captioners are Image-Text Foundation Modelscited by 1,265
  12. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
  13. 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
  14. 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,173
  15. 2023PaLM 2 Technical Reportcited by 1,154
  16. 2021Grounded Language-Image Pre-trainingcited by 1,147
  17. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
  18. 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
  19. 2016Modeling Context in Referring Expressionscited by 1,054
  20. 2023mPLUG-Owl: Modularization Empowers Large Language Models with Multimodalitycited by 1,038
  21. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
  22. 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 965
  23. 2023Teaching Large Language Models to Self-Debugcited by 963
  24. 2023A Survey on Multimodal Large Language Modelscited by 898
  25. 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 873
  26. 2023VideoChat: Chat-Centric Video Understandingcited by 851
  27. 2023Large Language Models as Optimizerscited by 830
  28. 2023LLaMA-Adapter: Efficient Fine-tuning of Language Models with Zero-init Attentioncited by 776
  29. 2019Big Transfer (BiT): General Visual Representation Learningcited by 766
  30. 2022PaLI: A Jointly-Scaled Multilingual Language-Image Modelcited by 762
  31. 2022OFA: Unifying Architectures, Tasks, and Modalities Through a Simple Sequence-to-Sequence Learning Frameworkcited by 742
  32. 2021NExT-QA:Next Phase of Question-Answering to Explaining Temporal Actionscited by 735
  33. 2023Scaling Vision Transformers to 22 Billion Parameterscited by 690
  34. 2022PAL: Program-aided Language Modelscited by 635
  35. 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 628
  36. 2022When and why vision-language models behave like bags-of-words, and what to do about it?cited by 603
  37. 2021Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigmcited by 599
  38. 2023Plan-and-Solve Prompting: Improving Zero-Shot Chain-of-Thought Reasoning by Large Language Modelscited by 550

50 most cited of 99 All 99 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 11; 2025: 1; 2026: 2.

14 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2024Self-Training Large Language Models for Improved Visual Program Synthesis With Visual Reinforcement
  2. 2025Understand, Think, and Answer: Advancing Visual Reasoning with Large Multimodal Models
  3. 2023Large Language Models are Visual Reasoning Coordinators
  4. 2025Diagnosing Visual Reasoning: Challenges, Insights, and a Path Forward
  5. 2024Enhancing Advanced Visual Reasoning Ability of Large Language Models
  6. 2025DWIM: Towards Tool-aware Visual Reasoning via Discrepancy-aware Workflow Generation & Instruct-Masking Tuning
  7. 2024Zero-Shot Visual Reasoning by Vision-Language Models: Benchmarking and Analysis
  8. 2025An Analysis of Architectural Impact on LLM-based Abstract Visual Reasoning: A Systematic Benchmark on RAVEN-FAIR