mlsanityData to 7 Oct 2026

Image First or Text First? Optimising the Sequencing of Modalities in Large Language Model Prompting and Reasoning Tasks

arXiv 2410.03062 ↗First posted 4 Oct 2024cs.AIcited by 2

On the map: LLM reasoning → Multimodal reasoning

Abstract (arXiv)

This paper examines how the sequencing of images and text within multi-modal prompts influences the reasoning performance of large language models (LLMs). We performed empirical evaluations using three commercial LLMs. Our results demonstrate that the order in which modalities are presented can significantly affect performance, particularly in tasks of varying complexity. For simpler tasks involving a single image, modality sequencing had a clear impact on accuracy. However, in more complex tasks involving multiple images and intricate reasoning steps, the effect of sequencing diminished, likely due to the increased cognitive demands of the task. Our findings also highlight the importance of question/prompt structure. In nested and multi-step reasoning tasks, modality sequencing played a key role in shaping model performance. While LLMs excelled in the initial stages of reasoning, they struggled to re-incorporate earlier information, underscoring the challenges of multi-hop reasoning within transformer architectures. This suggests that aligning the sequence of modalities with the logical flow of reasoning steps is more critical than modality order alone. These insights offer valuable implications for improving multi-modal prompt design, with broader applications across fields such as education, medical imaging, and cross-modal learning.

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

Builds on

63 of 89 references.

Closest ancestors · 10

Same direction, newest first

  1. 2024M3CoT: A Novel Benchmark for Multi-Domain Multi-step Multi-modal Chain-of-Thought26 May
  2. 2024Image-of-Thought Prompting for Visual Reasoning Refinement in Multimodal Large Language Models22 May
  3. 2024TextCoT: Zoom In for Enhanced Multimodal Text-Rich Image Understanding15 Apr
  4. 2023Compositional Chain-of-Thought Prompting for Large Multimodal Models27 Nov
  5. 2023The Role of Chain-of-Thought in Complex Vision-Language Reasoning Task15 Nov
  6. 2023DDCoT: Duty-Distinct Chain-of-Thought Prompting for Multimodal Reasoning in Language Models25 Oct
  7. 2023MMBench: Is Your Multi-modal Model an All-around Player?12 Jul
  8. 2023Multimodal Chain-of-Thought Reasoning in Language Models2 Feb
  9. 2022Learn to Explain: Multimodal Reasoning via Thought Chains for Science Question Answering20 Sep
  10. 2022The Abduction of Sherlock Holmes: A Dataset for Visual Abductive Reasoning10 Feb

Other references · 53

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2023GPT-4 Technical Reportcited by 18,132
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  5. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  6. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  7. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  8. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  9. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,175
  10. 2022Emergent Abilities of Large Language Modelscited by 2,483
  11. 2019ViLBERT: Pretraining Task-Agnostic Visiolinguistic Representations for Vision-and-Language Taskscited by 2,219
  12. 2021Align before Fuse: Vision and Language Representation Learning with Momentum Distillationcited by 1,612
38 more
  1. 2023A Survey on Evaluation of Large Language Modelscited by 1,227
  2. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
  3. 2023GAIA: a benchmark for General AI Assistantscited by 1,084
  4. 2017Multimodal Machine Learning: A Survey and Taxonomycited by 1,004
  5. 2023SEED-Bench: Benchmarking Multimodal LLMs with Generative Comprehensioncited by 929
  6. 2024Chameleon: Mixed-Modal Early-Fusion Foundation Modelscited by 904
  7. 2024SpatialVLM: Endowing Vision-Language Models with Spatial Reasoning Capabilitiescited by 679
  8. 2021FLAVA: A Foundational Language And Vision Alignment Modelcited by 646
  9. 2019Multimodal Transformer for Unaligned Multimodal Language Sequencescited by 637
  10. 2021VATT: Transformers for Multimodal Self-Supervised Learning from Raw Video, Audio and Textcited by 427
  11. 2023Augmented Language Models: a Surveycited by 398
  12. 2018Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifierscited by 341
  13. 2020Large-Scale Adversarial Training for Vision-and-Language Representation Learningcited by 327
  14. 2020BAE: BERT-based Adversarial Examples for Text Classificationcited by 316
  15. 2021An Empirical Study of Training End-to-End Vision-and-Language Transformerscited by 271
  16. 2022Towards Understanding Chain-of-Thought Prompting: An Empirical Study of What Matterscited by 221
  17. 2023Evaluating Large Language Models in Theory of Mind Taskscited by 217
  18. 2023Software Testing with Large Language Models: Survey, Landscape, and Visioncited by 163
  19. 2024Same Task, More Tokens: the Impact of Input Length on the Reasoning Performance of Large Language Modelscited by 150
  20. 2021MultiBench: Multiscale Benchmarks for Multimodal Representation Learningcited by 143
  21. 2023M3Exam: A Multilingual, Multimodal, Multilevel Benchmark for Examining Large Language Modelscited by 109
  22. 2023SeaLLMs -- Large Language Models for Southeast Asiacited by 104
  23. 2023The Generative AI Paradox: "What It Can Create, It May Not Understand"cited by 97
  24. 2023Attention Sorting Combats Recency Bias In Long Context Language Modelscited by 89
  25. 2022ChatGPT: The End of Online Exam Integrity?cited by 88
  26. 2024Can Large Language Models Reason and Plan?cited by 82
  27. 2024Inadequacies of Large Language Model Benchmarks in the Era of Generative Artificial Intelligencecited by 65
  28. 2023Towards Better Chain-of-Thought Prompting Strategies: A Surveycited by 62
  29. 2024Eliminating Position Bias of Language Models: A Mechanistic Approachcited by 61
  30. 2024Learning to Localize Objects Improves Spatial Reasoning in Visual-LLMscited by 48
  31. 2023The language of prompting: What linguistic properties make a prompt successful?cited by 43
  32. 2024Is Translation All You Need? A Study on Solving Multilingual Tasks with Large Language Modelscited by 31
  33. 2023Primacy Effect of ChatGPTcited by 27
  34. 2024Gemini Goes to Med School: Exploring the Capabilities of Multimodal Large Language Models on Medical Challenge Problems & Hallucinationscited by 26
  35. 2022Paper Plain: Making Medical Research Papers Approachable to Healthcare Consumers with Natural Language Processingcited by 23
  36. 2024A Better LLM Evaluator for Text Generation: The Impact of Prompt Output Sequencing and Optimizationcited by 11
  37. 2024Prompt2Task: Automating UI Tasks on Smartphones from Textual Promptscited by 8
  38. 2021Talk2Data: A Natural Language Interface for Exploratory Visual Analysis via Question Decompositioncited by 7

50 most cited of 53 All 53 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

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

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Compose and Fuse: Revisiting the Foundational Bottlenecks in Multimodal Reasoning
  2. 2024POEM: Interactive Prompt Optimization for Enhancing Multimodal Reasoning of Large Language Models
  3. 2025The Future of MLLM Prompting is Adaptive: A Comprehensive Experimental Evaluation of Prompt Engineering Methods for Robust Multimodal Performance
  4. 2023Metacognitive Prompting Improves Understanding in Large Language Models
  5. 2025Reasoning Capabilities and Invariability of Large Language Models
  6. 2026Beyond the Prompt in Large Language Models: Comprehension, In-Context Learning, and Chain-of-Thought
  7. 2026Evaluating Cross-Modal Reasoning Ability and Problem Characteristics with Multimodal Item Response Theory
  8. 2025DETAIL Matters: Measuring the Impact of Prompt Specificity on Reasoning in Large Language Models