Abstract
Multi-agent systems (MAS) for Large Language Models (LLMs) often rely on rigid, predefined communication structures that can suppress minority insights and fail to optimize the quality of interaction. We present OPTAGENT, a framework that treats multi-agent collaboration as a dynamic computational graph. By employing "verbal reinforcement learning," where meta-agents provide linguistic feedback on reasoning logic and coherence, OPTAGENT automatically constructs optimized communication topologies. Our results demonstrate that OPTAGENT significantly outperforms static debate methods and single-agent baselines across various reasoning benchmarks, particularly in mathematics and adversarial tasks.
Introduction
Large Language Models (LLMs) have shown remarkable capabilities in text generation but often falter when faced with complex, multi-step reasoning. While multi-agent "debates" have been proposed as a solution, most existing frameworks use static structures like round-robin discussions or simple majority voting. These rigid setups often fail to leverage the full potential of diverse agent perspectives, sometimes allowing a confident but incorrect majority to overshadow a correct minority. Furthermore, traditional optimization focuses solely on final performance, neglecting the intrinsic quality—clarity, logic, and coherence—of the agents' interactions.
The OPTAGENT Framework
OPTAGENT addresses these limitations by modeling multi-agent interactions as an optimizable graph. The framework operates through a four-step cycle designed to refine how agents communicate.
1. Agent Profiling
To ensure a breadth of perspectives, OPTAGENT utilizes seven distinct personas, such as "Deductive Reasoner," "Intuitive Reasoner," and "Expert." This diversity prevents the system from falling into a "groupthink" trap where identical agents merely reinforce each other's errors.
2. The Meta-Agent Loop and Verbal RL
The core of the optimization process lies in two specialized meta-agents:
- The Critic ($LLM_{reflect}$): Evaluates interactions between agents based on both the correctness of the final answer and the logical soundness of the reasoning chain.
- The Architect ($LLM_{act}$): Uses the Critic's verbal feedback to modify the communication graph, deciding whether to keep, delete, or create new "edges" (connections) between agents.
Unlike traditional reinforcement learning that relies on scalar rewards, OPTAGENT uses Verbal Reinforcement Learning. Natural language feedback is used to update "connection scores," which dictate the probability of future interactions. This allows the system to optimize for the quality of the debate rather than just the final output.
Experimental Evaluation
The authors tested OPTAGENT against a wide array of benchmarks, including GSM8K (math), AdvGSM (adversarial math), ARC (science), and creative writing tasks.
Key Results
- Mathematical Reasoning: On the GSM8K benchmark, OPTAGENT achieved an accuracy of 87.3%, a substantial improvement over the "Simple Debate" baseline (78.0%) and single-agent Chain-of-Thought (73.0%).
- Adversarial Robustness: The framework proved particularly resilient against adversarial math prompts (AdvGSM-M1), outperforming other multi-agent frameworks like GPT-Swarm and ReConcile.
- Optimal Group Size: Performance gains were found to peak at approximately 5 agents. Increasing the group to 7 agents yielded diminishing returns, suggesting an inherent limit to the benefits of scaling agent count in this context.
Discussion and Insights
The optimization process revealed that the "best" communication structure is highly task-dependent. In mathematical tasks, the "Explainer" persona often emerged as a central hub, as its ability to clarify reasoning steps was vital for group consensus. In contrast, creative writing tasks benefited more from decentralized peer-to-peer discussions before a final synthesis.
A critical feature of OPTAGENT is its "Reconsidering Minority" strategy. By triggering a group-wide discussion whenever a lone agent dissents, the system can effectively "rescue" correct minority opinions that would otherwise be lost in a simple majority vote.
Conclusion and Future Work
OPTAGENT demonstrates that optimizing the process of multi-agent interaction is as important as optimizing the result. While the framework shows significant promise in reasoning and math, it faces challenges in areas like numerical sorting, where linguistic debate is less efficient than algorithmic execution. Future work may involve integrating specialized symbolic solvers to handle such tasks, as well as reducing the computational overhead associated with multi-round meta-agent optimization.
Summary updated