Introduction
Multi-agent large language model (LLM) interactions, often structured as collaborative debates, have shown great promise in improving reasoning capabilities. However, these systems frequently encounter two significant hurdles: efficiency and effectiveness.
The primary culprits behind these failures are sycophancy—where agents blindly reinforce each other's incorrect responses—and prompt ambiguity, where fundamental misunderstandings of the initial task lead to persistent, unproductive disagreements. Current solutions typically involve adding more debate rounds or introducing a "judge" model, but these fail if the underlying prompt is flawed. CONSENSAGENT addresses these issues by treating stalled debates as diagnostic signals to dynamically optimize task instructions.
The CONSENSAGENT Framework
CONSENSAGENT introduces a novel four-phase "trigger-based" architecture designed to mitigate sycophancy and resolve ambiguity through real-time prompt refinement.
- Initial Response Generation: Agents provide an initial answer, an explanation, and a confidence score using zero-shot chain-of-thought (CoT) prompting.
- Multi-Round Debate: Agents exchange answers and explanations. If consensus is reached, the process terminates early to save compute.
- Trigger & Prompt Optimization: If the system detects a "stalled" debate (no change in answers) or "sycophantic" behavior (high similarity in explanations despite changing answers), a trigger activates. A fine-tuned optimizer model analyzes the interaction to identify flaws in the prompt and generates a refined, more specific version of the task.
- Team Answer Generation: If consensus is still not reached after optimization, a final "Team Score" is calculated by weighting agent confidence and consistency across all rounds.
Experimental Results
The framework was evaluated across six diverse reasoning benchmarks, including KITAB (constraint satisfaction), CLUTRR (inductive reasoning), and GSM8K (math).
Key findings include:
- State-of-the-Art Accuracy: CONSENSAGENT significantly outperformed single-agent and multi-agent baselines. On the CLUTRR dataset, it achieved 0.62 accuracy, compared to 0.43 for standard Multi-Agent Debate.
- Enhanced Efficiency: Once prompt optimization was triggered, agents typically reached consensus in just 1–2 additional rounds, preventing the stagnation common in baseline methods.
- Sycophancy Mitigation: The framework successfully reduced instances of sycophancy by 7% to 30% across different datasets by forcing agents to engage with clearer, more constrained instructions.
Conclusion
CONSENSAGENT demonstrates that the failure of a multi-agent conversation is a valuable diagnostic tool. By using these failures to rewrite instructions, the framework moves beyond simply "talking more" to "talking better." Future work will explore adaptive agent selection to further optimize the diversity and effectiveness of the debating team.
Summary updated