Agentic AI
Researchers Develop AI Framework to Optimize Multi-Model Collaboration During Inference
A new method automatically searches for the best combination of language models and their arrangement to maximize performance within a fixed computational budget at test time.
Researchers have introduced a novel approach to improving language model performance by automatically discovering optimal ways to combine multiple models during inference, moving beyond fixed architectural designs that treat all tasks equally.
The Challenge of Dynamic Collaboration#
Test-time scaling—where models receive extra computational resources during inference to refine their answers—has emerged as a promising way to boost LLM capabilities. Most existing work, however, locks in a single collaboration structure (such as parallel or sequential processing) and relies on a single model, failing to account for the fact that different tasks benefit from different architectural arrangements and model pairings.
The researchers framed this as a graph optimization problem: each node represents a model and its assigned role, while edges define how information flows between them. This graph structure allows for far greater flexibility than traditional approaches, but creates a massive combinatorial search challenge.
Agent-REINFORCE: A New Search Strategy#
To tackle this problem efficiently, the team developed Agent-REINFORCE, a framework that leverages LLM agents to guide the search process. Rather than brute-force exploration, the method adapts concepts from reinforcement learning—where models learn through feedback—to map linguistic feedback (explanations of why certain graphs work better) onto probabilistic adjustments of the graph structure.
The approach works in three phases: sampling candidate graphs, collecting performance feedback, and using that feedback to refine future candidates. This textual-gradient mechanism allows the system to learn from relatively few experiments, making the search process far more sample-efficient than conventional optimization baselines or simpler LLM-based alternatives.
Results and Task-Specific Gains#
Experiments demonstrated that Agent-REINFORCE outperforms both traditional and baseline LLM-driven search methods, particularly in terms of how quickly it converges on strong solutions. Importantly, the system successfully identifies distinct optimal graphs for different objectives—balancing accuracy against inference latency depending on task requirements. This flexibility suggests the method can adapt across diverse reasoning and generation tasks without requiring manual redesign.
The work opens a pathway toward more adaptive and efficient large-scale AI systems that learn to organize themselves for maximum effectiveness under real-world computational constraints.

