mlsanityData to 7 Oct 2026

All in an Aggregated Image for In-Image Learning

arXiv 2402.17971 ↗First posted 28 Feb 2024cs.CV cs.AI cs.CLcited by 4

On the map: LLM reasoning → Multimodal reasoning

also in 1 more
Abstract (arXiv)

This paper introduces a new in-context learning (ICL) mechanism called In-Image Learning (I2L) that combines demonstration examples, visual cues, and chain-of-thought reasoning into an aggregated image to enhance the capabilities of Large Multimodal Models (e.g., GPT-4V) in multimodal reasoning tasks. Unlike previous approaches that rely on converting images to text or incorporating visual input into language models, I2L consolidates all information into an aggregated image and leverages image processing, understanding, and reasoning abilities. This has several advantages: it reduces inaccurate textual descriptions of complex images, provides flexibility in positioning demonstration examples, and avoids multiple input images and lengthy prompts. We also introduce I2L-Hybrid, a method that combines the strengths of I2L with other ICL methods. Specifically, it uses an automatic strategy to select the most suitable method (I2L or another certain ICL method) for a specific task instance. We conduct extensive experiments to assess the effectiveness of I2L and I2L-Hybrid on MathVista, which covers a variety of complex multimodal reasoning tasks. Additionally, we investigate the influence of image resolution, the number of demonstration examples in a single image, and the positions of these demonstrations in the aggregated image on the effectiveness of I2L. Our code is publicly available at https://github.com/AGI-Edgerunners/IIL.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Multimodal reasoning, one of 17 directions in LLM reasoning. Builds on 40 of its 51 references that are in the map. First posted on arXiv 28 Feb 2024.

Builds on

40 of 51 references.

Closest ancestors · 1

Same direction, newest first

  1. 2023MathVista: Evaluating Mathematical Reasoning of Foundation Models in Visual Contexts3 Oct

Other references · 39

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  5. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  6. 2023Visual Instruction Tuningcited by 7,792
  7. 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,069
  8. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  9. 2023Improved Baselines with Visual Instruction Tuningcited by 4,362
  10. 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,337
  11. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  12. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
27 more
  1. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  2. 2023MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Modelscited by 2,689
  3. 2016Making the V in VQA Matter: Elevating the Role of Image Understanding in Visual Question Answeringcited by 2,498
  4. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
  5. 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
  6. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
  7. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
  8. 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
  9. 2023mPLUG-Owl: Modularization Empowers Large Language Models with Multimodalitycited by 1,038
  10. 2023LLaMA-Adapter: Efficient Fine-tuning of Language Models with Zero-init Attentioncited by 776
  11. 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 684
  12. 2023The Dawn of LMMs: Preliminary Explorations with GPT-4V(ision)cited by 677
  13. 2023OpenFlamingo: An Open-Source Framework for Training Large Autoregressive Vision-Language Modelscited by 560
  14. 2023Plan-and-Solve Prompting: Improving Zero-Shot Chain-of-Thought Reasoning by Large Language Modelscited by 550
  15. 2023Otter: A Multi-Modal Model with In-Context Instruction Tuningcited by 548
  16. 2023mPLUG-Owl2: Revolutionizing Multi-modal Large Language Model with Modality Collaborationcited by 545
  17. 2022GIT: A Generative Image-to-text Transformer for Vision and Languagecited by 536
  18. 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 443
  19. 2021An Empirical Study of GPT-3 for Few-Shot Knowledge-Based VQAcited by 298
  20. 2023Set-of-Mark Prompting Unleashes Extraordinary Visual Grounding in GPT-4Vcited by 291
  21. 2023LLaVAR: Enhanced Visual Instruction Tuning for Text-Rich Image Understandingcited by 272
  22. 2022Text and Patterns: For Effective Chain of Thought, It Takes Two to Tangocited by 128
  23. 2023GPT-4V(ision) as a Generalist Evaluator for Vision-Language Taskscited by 118
  24. 2022Ground-Truth Labels Matter: A Deeper Look into Input-Label Demonstrationscited by 116
  25. 2022PromptCap: Prompt-Guided Task-Aware Image Captioningcited by 104
  26. 2023ICL-D3IE: In-Context Learning with Diverse Demonstrations Updating for Document Information Extractioncited by 38
  27. 2022XRICL: Cross-lingual Retrieval-Augmented In-Context Learning for Cross-lingual Text-to-SQL Semantic Parsingcited by 32

Built on by

Cited by year (2026 to 7 Oct)

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

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Enhancing Multimodal In-Context Learning via Inductive-Deductive Reasoning
  2. 2024Analogist: Out-of-the-box Visual In-Context Learning with Image Diffusion Model
  3. 2025What do vision-language models see in the context? Investigating multimodal in-context learning
  4. 2025ImageGen-CoT: Enhancing Text-to-Image In-context Learning with Chain-of-Thought Reasoning
  5. 2025Visual RAG: Expanding MLLM visual knowledge without fine-tuning
  6. 2024From Introspection to Best Practices: Principled Analysis of Demonstrations in Multimodal In-Context Learning
  7. 2024Visual In-Context Learning for Large Vision-Language Models
  8. 2024Towards Multimodal In-Context Learning for Vision & Language Models