Towards Truly Zero-shot Compositional Visual Reasoning with LLMs as Programmers
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
- 2023Perception Test: A Diagnostic Benchmark for Multimodal Video Models23 May
- 2023LLaMA-Adapter V2: Parameter-Efficient Visual Instruction Model28 Apr
- 2023MM-REACT: Prompting ChatGPT for Multimodal Reasoning and Action20 Mar
- 2023ViperGPT: Visual Inference via Python Execution for Reasoning14 Mar
- 2023Visual ChatGPT: Talking, Drawing and Editing with Visual Foundation Models8 Mar
- 2022Visual Programming: Compositional visual reasoning without training18 Nov
- 2022Socratic Models: Composing Zero-Shot Multimodal Reasoning with Language1 Apr
Other references · 99
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,069
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,337
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
38 more
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
- 2023Sigmoid Loss for Language Image Pre-Trainingcited by 3,048
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
- 2023MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Modelscited by 2,689
- 2023PaLM-E: An Embodied Multimodal Language Modelcited by 2,037
- 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,880
- 2019Towards Robust Monocular Depth Estimation: Mixing Datasets for Zero-shot Cross-dataset Transfercited by 1,484
- 2023Video-LLaMA: An Instruction-tuned Audio-Visual Language Model for Video Understandingcited by 1,461
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
- 2022CoCa: Contrastive Captioners are Image-Text Foundation Modelscited by 1,265
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
- 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
- 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,173
- 2023PaLM 2 Technical Reportcited by 1,154
- 2021Grounded Language-Image Pre-trainingcited by 1,147
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
- 2016Modeling Context in Referring Expressionscited by 1,054
- 2023mPLUG-Owl: Modularization Empowers Large Language Models with Multimodalitycited by 1,038
- 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
- 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 965
- 2023Teaching Large Language Models to Self-Debugcited by 963
- 2023A Survey on Multimodal Large Language Modelscited by 898
- 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 873
- 2023VideoChat: Chat-Centric Video Understandingcited by 851
- 2023Large Language Models as Optimizerscited by 830
- 2023LLaMA-Adapter: Efficient Fine-tuning of Language Models with Zero-init Attentioncited by 776
- 2019Big Transfer (BiT): General Visual Representation Learningcited by 766
- 2022PaLI: A Jointly-Scaled Multilingual Language-Image Modelcited by 762
- 2022OFA: Unifying Architectures, Tasks, and Modalities Through a Simple Sequence-to-Sequence Learning Frameworkcited by 742
- 2021NExT-QA:Next Phase of Question-Answering to Explaining Temporal Actionscited by 735
- 2023Scaling Vision Transformers to 22 Billion Parameterscited by 690
- 2022PAL: Program-aided Language Modelscited by 635
- 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 628
- 2022When and why vision-language models behave like bags-of-words, and what to do about it?cited by 603
- 2021Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigmcited by 599
- 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
Citing papers per year: 2024: 11; 2025: 1; 2026: 2.
14 papers.
Sort:
By area:
- 2024Teach Better or Show Smarter? On Instructions and Exemplars in Automatic Prompt Optimizationcited by 28
- 2025Explain Before You Answer: A Survey on Compositional Visual Reasoningcited by 26
- 2024HYDRA: A Hyper Agent for Dynamic Compositional Visual Reasoningcited by 17
- 2024BlendRL: A Framework for Merging Symbolic and Neural Policy Learningcited by 14
- 2024DeiSAM: Segment Anything with Deictic Promptingcited by 9
- 2024NEUSIS: A Compositional Neuro-Symbolic Framework for Autonomous Perception, Reasoning, and Planning in Complex UAV Search Missionscited by 8
- 2024DARE: Diverse Visual Question Answering with Robustness Evaluationcited by 6
- 2024PropTest: Automatic Property Testing for Improved Visual Programmingcited by 4
- 2024Visual Program Distillation with Template-Based Augmentationcited by 3
- 2024ViUniT: Visual Unit Tests for More Robust Visual Programmingcited by 3
- 2024VDebugger: Harnessing Execution Feedback for Debugging Visual Programscited by 1
- 2024How Vision-Language Tasks Benefit from Large Pre-trained Models: A Surveycited by 0
- 2026The Periodic Table of LLM Reasoning: A Structured Survey of Reasoning Paradigms, Methods, and Failure Modes9 Jun 2026
- 2026Imperfect Visual Verification for Code Edition : A Case Study on TikZ9 Apr 2026
- 2025Explain Before You Answer: A Survey on Compositional Visual Reasoning24 Aug 2025
- 2024ViUniT: Visual Unit Tests for More Robust Visual Programming12 Dec 2024
- 2024Visual Program Distillation with Template-Based Augmentation11 Dec 2024
- 2024How Vision-Language Tasks Benefit from Large Pre-trained Models: A Survey11 Dec 2024
- 2024BlendRL: A Framework for Merging Symbolic and Neural Policy Learning15 Oct 2024
- 2024DARE: Diverse Visual Question Answering with Robustness Evaluation26 Sep 2024
- 2024NEUSIS: A Compositional Neuro-Symbolic Framework for Autonomous Perception, Reasoning, and Planning in Complex UAV Search Missions16 Sep 2024
- 2024Teach Better or Show Smarter? On Instructions and Exemplars in Automatic Prompt Optimization22 Jun 2024
- 2024VDebugger: Harnessing Execution Feedback for Debugging Visual Programs19 Jun 2024
- 2024PropTest: Automatic Property Testing for Improved Visual Programming25 Mar 2024
2 more
- 2024HYDRA: A Hyper Agent for Dynamic Compositional Visual Reasoning19 Mar 2024
- 2024DeiSAM: Segment Anything with Deictic Prompting21 Feb 2024
- 2025Explain Before You Answer: A Survey on Compositional Visual Reasoningcited by 26
- 2024HYDRA: A Hyper Agent for Dynamic Compositional Visual Reasoningcited by 17
- 2024BlendRL: A Framework for Merging Symbolic and Neural Policy Learningcited by 14
- 2024NEUSIS: A Compositional Neuro-Symbolic Framework for Autonomous Perception, Reasoning, and Planning in Complex UAV Search Missionscited by 8
- 2024PropTest: Automatic Property Testing for Improved Visual Programmingcited by 4
- 2024VDebugger: Harnessing Execution Feedback for Debugging Visual Programscited by 1
- 2024How Vision-Language Tasks Benefit from Large Pre-trained Models: A Surveycited by 0
- 2026The Periodic Table of LLM Reasoning: A Structured Survey of Reasoning Paradigms, Methods, and Failure Modescited by 0
- 2026The Periodic Table of LLM Reasoning: A Structured Survey of Reasoning Paradigms, Methods, and Failure Modes9 Jun 2026
- 2025Explain Before You Answer: A Survey on Compositional Visual Reasoning24 Aug 2025
- 2024How Vision-Language Tasks Benefit from Large Pre-trained Models: A Survey11 Dec 2024
- 2024BlendRL: A Framework for Merging Symbolic and Neural Policy Learning15 Oct 2024
- 2024NEUSIS: A Compositional Neuro-Symbolic Framework for Autonomous Perception, Reasoning, and Planning in Complex UAV Search Missions16 Sep 2024
- 2024VDebugger: Harnessing Execution Feedback for Debugging Visual Programs19 Jun 2024
- 2024PropTest: Automatic Property Testing for Improved Visual Programming25 Mar 2024
- 2024HYDRA: A Hyper Agent for Dynamic Compositional Visual Reasoning19 Mar 2024
- 2024Teach Better or Show Smarter? On Instructions and Exemplars in Automatic Prompt Optimizationcited by 28
- 2024DeiSAM: Segment Anything with Deictic Promptingcited by 9
- 2024Visual Program Distillation with Template-Based Augmentationcited by 3
- 2024ViUniT: Visual Unit Tests for More Robust Visual Programmingcited by 3
- 2026Imperfect Visual Verification for Code Edition : A Case Study on TikZcited by 0
- 2026Imperfect Visual Verification for Code Edition : A Case Study on TikZ9 Apr 2026
- 2024ViUniT: Visual Unit Tests for More Robust Visual Programming12 Dec 2024
- 2024Visual Program Distillation with Template-Based Augmentation11 Dec 2024
- 2024Teach Better or Show Smarter? On Instructions and Exemplars in Automatic Prompt Optimization22 Jun 2024
- 2024DeiSAM: Segment Anything with Deictic Prompting21 Feb 2024
Similar, not cited
Close in wording, no citation either way
- 2024Self-Training Large Language Models for Improved Visual Program Synthesis With Visual Reinforcement
- 2025Understand, Think, and Answer: Advancing Visual Reasoning with Large Multimodal Models
- 2023Large Language Models are Visual Reasoning Coordinators
- 2025Diagnosing Visual Reasoning: Challenges, Insights, and a Path Forward
- 2024Enhancing Advanced Visual Reasoning Ability of Large Language Models
- 2025DWIM: Towards Tool-aware Visual Reasoning via Discrepancy-aware Workflow Generation & Instruct-Masking Tuning
- 2024Zero-Shot Visual Reasoning by Vision-Language Models: Benchmarking and Analysis
- 2025An Analysis of Architectural Impact on LLM-based Abstract Visual Reasoning: A Systematic Benchmark on RAVEN-FAIR