Scaling External Knowledge Input Beyond Context Windows of LLMs via Multi-Agent Collaboration
This paper introduces \textbf{\ExtAgents}, a multi-agent framework that overcomes the context window limitations of LLMs by distributing massive external knowledge inputs across parallel agents, thereby significantly enhancing performance on complex tasks like multi-hop question answering and long survey generation without requiring longer-context training.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
The Big Problem: The "Short Memory" Giant
Imagine you have a brilliant, super-smart librarian (the LLM) who can read books at lightning speed and answer almost any question. However, this librarian has a very strange limitation: they can only hold one specific amount of paper in their hands at once. Let's say that limit is 128 pages.
If you ask them a question about a topic that requires reading 1,000 pages of research, they can't do it.
- Option A (Truncation): You give them the first 128 pages and ignore the rest. They miss the crucial answer hidden on page 800.
- Option B (Summarization): You ask a different robot to summarize the 1,000 pages into a 1-page cheat sheet. But in doing so, the robot might accidentally throw away the one tiny detail that solves your problem.
- Option C (Training): You try to teach the librarian to hold 1,000 pages. This is incredibly expensive, takes years, and might still make them forget how to read the first page properly.
The Goal: We want our librarian to solve problems using all 1,000 pages of information without needing to retrain them or lose any details.
The Old Way: The "Telephone Game"
Before this paper, researchers tried to solve this by hiring a team of junior librarians (Agents) to help.
- How it worked: Librarian A reads pages 1–10, summarizes them, and whispers the summary to Librarian B. Librarian B reads pages 11–20, adds their summary, and whispers to Librarian C.
- The Flaw: By the time the information reaches the final librarian, it's like the Telephone Game. Important details get lost, distorted, or forgotten. Also, Librarian B is only allowed to talk to Librarian A and C, not the whole team. They are working in silos, missing the big picture.
The New Solution: EXTAGENTS (The "All-Hands Meeting")
The authors created a new framework called EXTAGENTS. Instead of a slow line of whispering, they organize the team like a high-speed newsroom or a military command center.
Here is how it works, broken down into two simple roles:
1. The Scouts (Seeking Agents)
Imagine you have 100 Scouts. Each Scout is assigned a small chunk of the 1,000-page document (e.g., 10 pages each).
- The Old Way: Scouts would only talk to their immediate neighbors.
- The EXTAGENTS Way: Every Scout reads their 10 pages and then shouts out to the entire room: "I found a clue about the treasure here!"
- The Filter: Before shouting, they rate how important their clue is. If a Scout finds something boring, they stay quiet. If they find something critical, they shout it loud.
- The Result: The "Commander" (the Reasoning Agent) hears the best clues from everyone instantly, not just from the person standing next to them. This solves the "bandwidth" problem.
2. The Commander (Reasoning Agent)
This is the main brain. Instead of getting overwhelmed by 1,000 pages of text, they get a curated list of the top clues from the Scouts.
- The Accumulation Trick: The Commander doesn't try to read everything at once. They ask for the "Top 1 clue," then the "Top 2 clues," then "Top 4," then "Top 8."
- Why this helps: It's like building a puzzle. You start with the corner pieces (the most important info). As you add more pieces, the picture gets clearer. The Commander stops and says, "Okay, I have enough pieces to solve this!" before they get overwhelmed by too much noise.
Why is this a Big Deal?
- No More "Lost in Translation": Because the Scouts talk to the whole team (Global Synchronization), the most important facts don't get lost in the middle of the line.
- No Information Overload: Because the Commander only looks at the "Top Rated" clues and adds them slowly (Knowledge-Accumulating Reasoning), they don't get confused by too much data.
- Super Fast: Since all the Scouts can read their pages at the same time (Parallelism), the whole process is incredibly fast. It's like having 100 people reading a book simultaneously instead of one person reading it slowly.
The Real-World Test
The researchers tested this on two hard tasks:
- The "Needle in a Haystack" Test: Finding a specific fact hidden in a massive document (like finding a specific sentence in a 1,000-page novel).
- Writing a Research Survey: Reading hundreds of academic papers to write a summary of a topic.
The Result:
EXTAGENTS consistently found the right answers and wrote better summaries than any other method, even when the amount of information was 8 times larger than what the AI was originally designed to handle. It didn't need to be retrained; it just needed a better way to organize its team.
Summary Analogy
- Old Method: A relay race where runners pass a baton down a line. If the runner in the middle drops the baton (loses info), the race is ruined.
- EXTAGENTS: A war room where every specialist (Scout) instantly radios their best intel to the General (Commander). The General filters the noise, focuses on the best intel, and makes the decision.
This paper proves that we don't need to build bigger, more expensive brains to handle more information. We just need to teach our existing brains how to collaborate better.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.