Scaling External Knowledge Input Beyond Context Windows of LLMs via Multi-Agent Collaboration
Zijun Liu, Zhennan Wan, Peng Li, Ming Yan, Ji Zhang, Fei Huang, Yang Liu
TL;DR
Scaling external knowledge input beyond context windows remains a key bottleneck for knowledge-intensive tasks. ExtAgents introduces a two-role multi-agent framework that separates Seeking Agents from a central Reasoning Agent, with global synchronization and progressive knowledge-accumulating reasoning to integrate massive inputs without extending the model’s context window. The authors formalize the problem, build the ∞Bench+ benchmark to stress long-document reasoning, and demonstrate that ExtAgents consistently improves multi-hop QA and long-survey generation across benchmarks and LLM families, while maintaining high parallelism and reasonable latency. The work advances practical scalability of inference-time knowledge integration and outlines future directions in adaptive orchestration, cross-modal reasoning, and safety.
Abstract
With the rapid advancement of post-training techniques for reasoning and information seeking, large language models (LLMs) can incorporate a large quantity of retrieved knowledge to solve complex tasks. However, the limited context window of LLMs obstructs scaling the amount of external knowledge input, prohibiting further improvement, especially for tasks requiring significant amount of external knowledge. Existing context window extension methods inevitably cause information loss. LLM-based multi-agent methods emerge as a new paradigm to handle massive input in a distributional manner, where we identify two core bottlenecks in existing knowledge synchronization and reasoning processes. In this work, we develop a multi-agent framework, $\textbf{ExtAgents}$, to overcome the bottlenecks and enable better scalability in inference-time knowledge integration without longer-context training. Benchmarked with our enhanced multi-hop question answering test, $\textbf{$\boldsymbol{\infty}$Bench+}$, and other public test sets including long survey generation, ExtAgents significantly enhances the performance over existing non-training methods with the same amount of external knowledge input, regardless of whether it falls $\textit{within or exceeds the context window}$. Moreover, the method maintains high efficiency due to high parallelism. Further study in the coordination of LLM agents on increasing external knowledge input could benefit real-world applications.
