EvolveRouter: Co-Evolving Routing and Prompt for Multi-Agent Question Answering
EvolveRouter is a trainable framework that enhances multi-agent question answering by co-evolving agent prompts and routing strategies through a closed-loop refinement process and an adaptive collaboration mechanism, thereby outperforming state-of-the-art baselines in both accuracy and efficiency.
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
Imagine you are the manager of a massive, high-stakes trivia team. You have 24 different experts on your roster: some are math geniuses, some are history buffs, some are great at spotting patterns, and others are excellent at debating.
The problem? You don't know who is best at what.
If you ask a question about 19th-century poetry, you don't want to waste time asking your math genius. If you ask a complex logic puzzle, you don't want to rely solely on your history buff. In the past, researchers tried to solve this by building a "manager" (a router) to pick the right expert for each question. But they had two big flaws:
- The experts were stuck: If an expert was bad at a task because of how they were instructed, the manager just had to avoid them. The experts themselves never got better.
- The team size was rigid: The manager either picked one person or asked all 24 to shout out answers at once. This was either too risky (picking the wrong one) or too expensive (wasting time on 24 people when one would do).
Enter EvolveRouter. Think of it as a super-manager that doesn't just pick players; it trains them while the game is happening.
Here is how it works, broken down into three simple steps:
1. The "Coach's Eye" (Closed-Loop Co-Evolution)
Imagine a coach watching a game. Instead of just benching a player who misses a shot, the coach pulls them aside and says, "Hey, you're missing the shot because you're looking at the wrong hoop. Let's adjust your stance."
EvolveRouter does exactly this.
- The Diagnosis: It asks all 24 experts a question. When an expert gets it wrong, the system doesn't just throw the answer away. It analyzes why they failed.
- The Fix: It takes the "bad" instructions (prompts) given to that expert and rewrites them. Maybe it adds a rule like, "Always check the date first," or "Don't guess if you aren't sure."
- The Loop: Once the expert is "re-trained" with better instructions, they become smarter. The manager then learns from this smarter expert, creating a cycle where the team gets better and the manager gets smarter simultaneously.
2. The "Smart Huddle" (Adaptive Collaboration)
In the old days, the manager had two choices: pick one person (risky!) or ask everyone (slow and expensive!).
EvolveRouter uses a dynamic huddle strategy.
- It asks the experts one by one, starting with the one it thinks is most likely to be right.
- After the first expert answers, it asks the second. Then the third.
- The Magic Stop: It keeps a running tally. As soon as the top experts start agreeing with each other strongly enough, the manager says, "Okay, we have our answer! Stop asking the rest!"
- The Result: For easy questions, it might only ask 2 or 3 people (saving huge amounts of time and money). For super-hard questions, it might ask 10 or 15 to be sure. It adapts the team size to the difficulty of the question.
3. The "Knowledge Map" (The Brain)
To make these decisions, EvolveRouter doesn't just look at the question text. It builds a mental map (a Knowledge Graph) connecting the question to facts, entities, and the specific strengths of each expert.
- Think of it like a GPS. If you ask, "How do I get to the library?", a standard GPS just looks at the road. EvolveRouter looks at the road, the traffic, the time of day, and your driving habits to decide the best route. It understands the context of the question to know which expert is the "driver" for that specific trip.
Why is this a big deal?
- It's Cheaper: By stopping the "huddle" early when the team agrees, it uses far fewer computer resources (which saves money and energy).
- It's Smarter: Because it fixes the experts' instructions, the team gets stronger over time, not just the manager.
- It's Flexible: It handles easy questions quickly and hard questions thoroughly, rather than using a "one size fits all" approach.
In a nutshell: EvolveRouter is like a self-improving sports team. It doesn't just pick the best player; it coaches the players to be better, and it knows exactly how many players to put on the field for the specific game being played. The result is a team that is faster, cheaper, and smarter than anything we've seen before.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.