Long Context Scaling: Divide and Conquer via Multi-Agent Question-driven Collaboration
On the map: LLM agents and tool use → General LLM agent frameworks and benchmarks
Abstract (arXiv)
Processing long contexts has become a critical capability for modern large language models (LLMs). Existing works leverage agent-based divide-and-conquer methods for processing long contexts. But these methods face crucial limitations, including prohibitive accumulated latency and amplified information loss from excessive agent invocations, and the disruption of inherent textual dependencies by immoderate partitioning. In this paper, we propose a novel multi-agent framework XpandA (Expand-Agent) coupled with question-driven workflow and dynamic partitioning for robust long-context processing. XpandA overcomes these limitations through: 1) dynamic partitioning of long texts, which adaptively modulates the filling rate of context windows for input sequences of vastly varying lengths; 2) question-guided protocol to update flat information ensembles within centralized shared memory, constructing consistent inter-agent knowledge across partitions; and 3) selectively replaying specific partitions based on the state-tracking of question-information couples to promote the resolution of inverted-order structures across partitions (e.g., flashbacks). We perform a comprehensive evaluation of XpandA on multiple long-context benchmarks with length varying from 1k to 1M, demonstrating XpandA's feasibility for processing ultra-long sequences and its significant effectiveness in enhancing the long-context capabilities of various LLMs by achieving 20% improvements and 1.5x inference speedup over baselines of full-context, RAG and previous agent-based methods.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Placed in General LLM agent frameworks and benchmarks, one of 16 directions in LLM agents and tool use. Builds on 89 of its 106 references that are in the map. First posted on arXiv 27 May 2025.
Builds on
89 of 106 references.
Closest ancestors · 14
Same direction, newest first
- 2024Advancing Agentic Systems: Dynamic Task Decomposition, Tool Integration and Evaluation using Novel Metrics and Dataset29 Oct
- 2024Chain of Agents: Large Language Models Collaborating on Long-Context Tasks4 Jun
- 2024CoMM: Collaborative Multi-Agent, Multi-Reasoning-Path Prompting for Complex Problem Solving26 Apr
- 2024Rethinking the Bounds of LLM Reasoning: Are Multi-Agent Discussions the Key?28 Feb
- 2024Soft Self-Consistency Improves Language Model Agents20 Feb
- 2024LongAgent: Scaling Language Models to 128k Context through Multi-Agent Collaboration18 Feb
- 2024More Agents Is All You Need3 Feb
- 2023Theory of Mind for Multi-Agent Collaboration via Large Language Models16 Oct
- 2023A Dynamic LLM-Powered Agent Network for Task-Oriented Agent Collaboration3 Oct
- 2023AgentVerse: Facilitating Multi-Agent Collaboration and Exploring Emergent Behaviors21 Aug
- 2023AgentBench: Evaluating LLMs as Agents7 Aug
- 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Framework1 Aug
2 more
Other references · 75
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
- 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversationcited by 1,988
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,407
38 more
- 2021Improving language models by retrieving from trillions of tokenscited by 1,293
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
- 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 886
- 2025Why Do Multi-Agent LLM Systems Fail?cited by 604
- 2017The NarrativeQA Reading Comprehension Challengecited by 597
- 2023LLM-Blender: Ensembling Large Language Models with Pairwise Ranking and Generative Fusioncited by 564
- 2023Plan-and-Solve Prompting: Improving Zero-Shot Chain-of-Thought Reasoning by Large Language Modelscited by 560
- 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 486
- 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 407
- 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 367
- 2021QMSum: A New Benchmark for Query-based Multi-domain Meeting Summarizationcited by 365
- 2021Efficient Attentions for Long Document Summarizationcited by 345
- 2024DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Headscited by 288
- 2024Frontier Models are Capable of In-context Schemingcited by 287
- 2024Long-context LLMs Struggle with Long In-context Learningcited by 286
- 2023Exploring Collaboration Mechanisms for LLM Agents: A Social Psychology Viewcited by 222
- 2024Chain-of-Thought Reasoning Without Promptingcited by 210
- 2023LooGLE: Can Long-Context Language Models Understand Long Contexts?cited by 202
- 2024Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentioncited by 200
- 2023Survey of Vulnerabilities in Large Language Models Revealed by Adversarial Attackscited by 194
- 2023Augmenting Language Models with Long-Term Memorycited by 189
- 2024Data Engineering for Scaling Language Models to 128K Contextcited by 186
- 2023Walking Down the Memory Maze: Beyond Context Limit through Interactive Readingcited by 133
- 2022A Length-Extrapolatable Transformercited by 127
- 2024Meta-Prompting: Enhancing Language Models with Task-Agnostic Scaffoldingcited by 117
- 2025A Comprehensive Survey on Long Context Language Modelingcited by 117
- 2024Self-Discover: Large Language Models Self-Compose Reasoning Structurescited by 110
- 2023Skeleton-of-Thought: Prompting LLMs for Efficient Parallel Generationcited by 105
- 2023Cooperation, Competition, and Maliciousness: LLM-Stakeholders Interactive Negotiationcited by 96
- 2022Successive Prompting for Decomposing Complex Questionscited by 94
- 2024Michelangelo: Long Context Evaluations Beyond Haystacks via Latent Structure Queriescited by 88
- 2024Small Language Models Need Strong Verifiers to Self-Correct Reasoningcited by 86
- 2023Exchange-of-Thought: Enhancing Large Language Model Capabilities through Cross-Model Communicationcited by 82
- 2024LV-Eval: A Balanced Long-Context Benchmark with 5 Length Levels Up to 256Kcited by 81
- 2023CompeteAI: Understanding the Competition Dynamics in Large Language Model-based Agentscited by 65
- 2023MAgIC: Investigation of Large Language Model Powered Multi-Agent in Cognition, Adaptability, Rationality and Collaborationcited by 57
- 2024Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Modelscited by 57
- 2024Can Long-Context Language Models Subsume Retrieval, RAG, SQL, and More?cited by 56
50 most cited of 75 All 75 (JSON)
Built on by
Citing papers per year: 2025: 4; 2026: 3.
7 papers.
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic Systemcited by 15
- 2025Benefits and Limitations of Communication in Multi-Agent Reasoningcited by 7
- 2026Parallel Context Compaction for Long-Horizon LLM Agent Servingcited by 5
- 2025ProST: Progressive Sub-task Training for Pareto-Optimal Multi-agent Systems Using Small Language Modelscited by 1
- 2025COSMIR: Chain Orchestrated Structured Memory for Iterative Reasoning over Long Contextcited by 1
- 2026XFlow: An Executable Protocol Programming System for Reliable Multi-Agent Workflowscited by 0
- 2026PARSER: Read in Parallel, Reason in Depth for Long-Context LLM Agentscited by 0
- 2026PARSER: Read in Parallel, Reason in Depth for Long-Context LLM Agents6 Sep 2026
- 2026XFlow: An Executable Protocol Programming System for Reliable Multi-Agent Workflows11 Jun 2026
- 2026Parallel Context Compaction for Long-Horizon LLM Agent Serving22 May 2026
- 2025Benefits and Limitations of Communication in Multi-Agent Reasoning14 Oct 2025
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic System10 Oct 2025
- 2025COSMIR: Chain Orchestrated Structured Memory for Iterative Reasoning over Long Context6 Oct 2025
- 2025ProST: Progressive Sub-task Training for Pareto-Optimal Multi-agent Systems Using Small Language Models2 Sep 2025
Similar, not cited
Close in wording, no citation either way
- 2025Graph of Agents: Principled Long Context Modeling by Emergent Multi-Agent Collaboration
- 2025Self-Taught Agentic Long Context Understanding
- 2025Scaling External Knowledge Input Beyond Context Windows of LLMs via Multi-Agent Collaboration
- 2026Coding Agents are Effective Long-Context Processors
- 2025FactGuard: Leveraging Multi-Agent Systems to Generate Answerable and Unanswerable Questions for Enhanced Long-Context LLM Extraction
- 2025Tree of Agents: Improving Long-Context Capabilities of Large Language Models through Multi-Perspective Reasoning
- 2025SagaScale: A Realistic, Scalable, and High-Quality Long-Context Benchmark Built from Full-Length Novels
- 2024What are the Essential Factors in Crafting Effective Long Context Multi-Hop Instruction Datasets? Insights and Best Practices