Abstract
Scaling inference-time compute has emerged as a powerful paradigm for enhancing Large Language Model (LLM) performance. While existing methods often focus on single-agent systems or fixed multi-agent workflows, we introduce Tree Search-based Orchestrated Agents (TOA). TOA dynamically coordinates a diverse "symphony" of LLMs using Monte Carlo Tree Search (MCTS) guided by a reward model. This framework treats model collaboration as a sequential decision-making process, allowing for adaptive refinement paths. Our results demonstrate that TOA significantly outperforms traditional ensemble and refinement methods across alignment, translation, and reasoning tasks, achieving state-of-the-art performance with superior compute efficiency.
Introduction
Scaling laws have traditionally focused on pre-training parameters and data. However, recent breakthroughs highlight the importance of scaling inference compute—allowing models more "thinking time" through techniques like best-of-N sampling or chain-of-thought. Current multi-agent approaches often rely on rigid, pre-defined pipelines (e.g., Model A always critiques Model B), which lack the flexibility to handle varying task complexities. TOA addresses this by framing multi-agent collaboration as a dynamic search problem, leveraging the unique strengths of diverse models like Llama, Qwen, and Mistral.
Methods
TOA (Tree Search-based Orchestrated Agents) moves beyond fixed pipelines by employing a tree search architecture. The process involves:
- Dynamic Orchestration: Selecting the optimal model to generate or refine a response at each step based on the specific query.
- MCTS Framework: Navigating a tree of Model Nodes and Response Nodes to find the most effective collaboration path. The search follows four key steps: Selection, Expansion, Simulation, and Backpropagation.
- Reward-Guided Exploration: Utilizing a separate Reward Model (e.g., ArmoRM) to provide real-time feedback, enabling the pruning of low-quality branches and prioritizing promising refinement paths.
- Iterative Refinement: Allowing models to build upon each other's outputs, effectively "evolving" the final solution through the tree.
Results and Discussion
TOA demonstrates remarkable performance across several benchmarks. On AlpacaEval 2.0, it achieved a 72.2% length-controlled (LC) win rate, significantly surpassing Mixture-of-Agents (64.1%) and single-model baselines. In machine translation (WMT’21/’22), TOA established new state-of-the-art results, even outperforming GPT-4 in reference-free metrics.
Crucially, TOA is highly compute-efficient. As shown in the scaling analysis, TOA achieves higher win rates for the same amount of inference FLOPs compared to parallel ensembles or sequential refinement. The system thrives on model diversity; analysis shows it rarely selects the same model twice in a row, preferring to pass the "baton" between different architectures to maximize refinement quality.
Furthermore, data generated by TOA is of such high quality that fine-tuning a base model on it (using DPO) outperformed strong preference-learning baselines like SimPO. A Llama-3-8B model fine-tuned on TOA-synthesized data reached a 52.2% LC win rate on AlpacaEval.
Conclusion
TOA proves that a coordinated ensemble of diverse models is more effective than scaling a single agent. While the current implementation is resource-intensive due to the need for multiple models in memory, it opens new avenues for high-quality data synthesis and complex reasoning. Future work will focus on API integration to reduce local memory footprints and distilling these multi-agent capabilities into smaller, more efficient student models.
Summary updated