EvolveRouter: Co-Evolving Routing and Prompt for Multi-Agent Question Answering
Organizations: University of Connecticut, USA · University of Notre Dame, USA
Abstract
Large language model agents often exhibit complementary strengths, making routing a promising approach for multi-agent question answering. However, existing routing methods remain limited in two important ways: they typically optimize over a fixed pool of agents without improving the agents themselves, and they often rely on rigid collaboration schemes that cannot adapt the number of participating agents to the query. We propose EvolveRouter, a trainable framework that addresses both limitations by jointly improving agent quality and collaboration structure. First, EvolveRouter couples graph-based query routing with targeted instruction refinement in a closed-loop co-evolution process, allowing router diagnostics to guide agent improvement while refined agents provide cleaner supervision for routing. Second, it introduces an adaptive inference strategy that dynamically determines the effective collaboration size for each query through router-weighted answer agreement. Together, these designs enable more capable and more efficient multi-agent reasoning. Experiments on five question answering benchmarks show that EvolveRouter consistently outperforms SOTA routing baselines in both F1 and exact match, while further analysis confirms the benefits of closed-loop refinement and adaptive collaboration.
Figures & tables
| Statistics | HotpotQA | NewsQA | NGQA |
|---|---|---|---|
| Avg. # of Nodes | |||
| Query | 1 | 1 | 1 |
| Agent | 24 | 24 | 24 |
| Entity | 142.1 | 60.3 | 25.0 |
| Avg. # of Edges | |||
| Entity–Entity | 385.1 | 109.4 | 26.75 |
| Method | System | Routing | Prompt Opt. | Training | Optimization |
|---|---|---|---|---|---|
| Adaptive Routing | |||||
| LLM-Blender ( Jiang et al., 2023a ) | Multi-agent | ✓ | ✗ | ✓ | Supervised |
| RouterDC ( Chen et al., 2024b ) | Single-agent | ✓ | ✗ | ✓ | Supervised |
| HybridLLM ( Ding et al., 2024 ) | Single-agent | ✓ | ✗ | ✓ | Supervised |
| RouteLLM ( Ong et al., 2025 ) | Single-agent | ✓ | ✗ | ✓ | Supervised |
| MasRouter ( Yue et al., 2025 ) | Multi-agent | ✓ | ✗ | ✓ | RL |
| Method | 2Wiki | HotpotQA | NewsQA | TriviaQA | NGQA | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| F1 | EM | F1 | EM | F1 | EM | F1 | EM | F1 | EM | |
| Heuristic Baselines | ||||||||||
| Average | 52.15 2.20 | 42.73 1.88 | 59.52 1.09 | 46.63 0.79 | 57.97 1.64 | 36.10 0.69 | 45.69 2.27 | 37.32 1.64 | 47.50 0.80 | 4.04 0.38 |
| Majority Vote | 67.67 0.52 | 58.55 0.55 | 63.88 1.24 | 52.89 0.92 | 59.30 0.64 | 39.50 1.29 | 53.73 0.72 | 43.00 0.80 | 48.42 0.38 | 4.00 0.44 |
| Best LLM | 71.77 1.71 | 62.72 1.32 | 68.19 1.37 | 51.79 2.09 | 60.55 1.45 | 39.80 2.05 | 51.41 0.65 | 42.09 0.59 | 48.03 0.74 | 3.17 0.58 |
| Best Agent | 75.21 1.11 | 64.56 1.91 | 68.74 1.39 | 56.15 0.87 | 62.80 2.15 | 37.11 1.15 | 60.27 2.52 | 50.13 2.01 | 48.41 0.71 | 4.00 1.00 |
Appendix figures & tables14 assets
Supplementary material from the paper’s appendix.
Appendix
| Benchmark | Agent | Raw | CoT | SC | React Reflect | MAD | Summary |
|---|---|---|---|---|---|---|---|
| NewsQA | Qwen2.5-7B | 60.51 0.52 | 59.51 0.96 | 58.84 0.21 | 59.74 0.63 | 59.80 0.42 | 60.43 0.48 |
| gpt-oss-20B | 60.55 1.45 | 61.29 0.66 | 58.91 1.35 | 59.89 1.02 | 62.80 2.15 | 61.43 0.78 | |
| Mixtral-8x7B | 53.79 0.99 | 54.03 0.84 | 55.69 1.23 | 54.46 0.66 | 55.13 0.51 | 55.16 1.05 | |
| Llama-3-8B | 55.50 0.78 | 56.24 0.54 | 57.97 0.87 | 56.55 0.81 | 57.07 0.93 | 55.97 0.72 | |
| HotpotQA | Qwen2.5-7B | 59.38 1.21 | 58.04 1.81 | 58.09 1.04 | 56.89 1.42 | 56.12 1.37 | 57.24 1.53 |
| gpt-oss-20B | 68.19 1.37 | 68.74 1.39 | 67.04 1.02 | 68.39 1.26 | 67.74 0.98 | 66.63 1.14 |
| Benchmark | Agent | Raw | CoT | SC | React Reflect | MAD | Summary |
|---|---|---|---|---|---|---|---|
| NewsQA | Qwen2.5-7B | 41.33 0.58 | 39.00 0.00 | 42.00 0.00 | 42.33 0.58 | 41.33 0.58 | 42.00 0.00 |
| gpt-oss-20B | 39.80 2.05 | 37.33 1.73 | 35.00 2.00 | 35.67 1.53 | 37.11 1.15 | 37.67 1.53 | |
| Mixtral-8x7B | 28.33 0.58 | 28.00 1.00 | 28.67 0.58 | 29.00 0.00 | 28.00 1.00 | 27.33 0.58 | |
| Llama-3-8B | 37.33 1.15 | 38.00 1.00 | 39.67 0.58 | 37.33 1.15 | 39.00 0.00 | 38.00 1.00 | |
| HotpotQA | Qwen2.5-7B | 47.33 0.58 | 46.33 0.58 | 46.00 1.00 | 44.00 0.00 | 42.67 1.15 | 44.00 1.00 |
| gpt-oss-20B | 51.79 2.09 | 56.15 0.87 | 54.00 1.00 | 54.67 1.15 | 55.67 1.15 | 53.00 1.00 |
| Method | GLEN-Bench | NGQA | ||
|---|---|---|---|---|
| F1 | EM | F1 | EM | |
| KG Router (base) | 49.39 0.81 | 11.00 1.00 | 49.95 1.29 | 8.67 1.53 |
| Prompt Optimization Ablation | ||||
| +PO (Round 1) | 50.97 0.46 | 11.33 0.58 | 50.31 0.88 | 9.00 0.00 |
| +PO (Round 2) | 51.74 0.38 | 12.00 1.00 | 52.99 1.19 | 9.33 0.58 |
| +PO (Round 3) | 52.28 0.86 | 14.33 0.58 | 53.28 0.16 | 9.67 0.58 |
| Method | HotpotQA 2Wiki | HotpotQA NewsQA | HotpotQA NGQA | |||
|---|---|---|---|---|---|---|
| F1 | EM | F1 | EM | F1 | EM | |
| EvolveRouter (in-domain) | 77.70 0.13 | 70.33 0.58 | 64.74 0.77 | 41.67 0.47 | 54.04 0.60 | 9.67 0.58 |
| PO + PO router | 57.44 0.75 | 47.00 1.00 | 59.87 0.83 | 40.33 0.58 | 45.13 1.47 | 4.33 0.58 |
| vs. base (%) | 26.08% | 33.18% | 7.53% | 3.22% | 16.49% | 55.23% |
| PO router | 56.28 0.96 | 46.33 0.58 | 55.05 0.66 | 38.33 0.58 | 38.43 1.64 | 4.33 1.15 |
| vs. base (%) | 27.57% | 34.13% | 14.97% | 8.02% | 28.89% | 55.23% |
| Method | 2Wiki | HotpotQA | NewsQA | TriviaQA | NGQA | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| F1 | EM | F1 | EM | F1 | EM | F1 | EM | F1 | EM | |
| KG Router (base) | 75.54 0.44 | 67.67 0.58 | 69.35 0.56 | 56.33 0.58 | 63.02 2.44 | 41.33 0.58 | 62.75 3.69 | 51.33 2.51 | 49.95 1.29 | 8.67 1.53 |
| Adaptive K Ablation | ||||||||||
| Fixed K=3 | 75.49 0.59 | 66.67 0.58 | 67.08 1.17 | 54.00 1.00 | 60.92 0.68 | 40.67 0.58 | 61.60 0.86 | 51.00 1.00 | 49.76 0.49 | 8.67 0.58 |
| Fixed K=5 | 76.22 1.46 | 67.00 1.00 | 69.83 1.36 | 56.67 0.58 | 62.83 0.46 | 41.00 1.00 | 62.60 0.81 | 52.33 0.58 | 48.94 0.59 | 7.33 0.58 |
| Fixed K=10 | 76.16 0.81 | 67.00 1.00 | 69.40 0.88 | 56.00 1.00 | 61.08 1.38 | 41.00 1.00 | 61.18 0.76 | 49.67 1.15 | 48.34 0.31 | 7.00 0.00 |
| Method | 2Wiki | HotpotQA | NewsQA | TriviaQA | NGQA |
|---|---|---|---|---|---|
| Full ensemble | 24 | 24 | 24 | 24 | 24 |
| Adaptive Avg. K | 2.9 | 2.9 | 4.2 | 7.4 | 3.3 |
| Savings (%) | 88% | 88% | 83% | 69% | 86% |
LLM Agent Routing
LLM agent routing selects models, tools, skills, or collaboration workflows for each task or step to balance capability, cost, latency, and reliability.
See all 99 papers