On the Discussion of Large Language Models: Symmetry of Agents and Interplay with Prompts

Qineng Wang, Zihao Wang, Ying Su, Yangqiu SongarXiv 2023 · DOI

Abstract

This paper investigates the comparative efficacy of prompt engineering versus multi-agent discussion mechanisms in enhancing the reasoning capabilities of Large Language Models (LLMs). We introduce a formal framework based on agent symmetry and propose Conquer-and-Merge Discussion (CMD), a hierarchical communication protocol designed to mitigate the "context explosion" common in traditional multi-agent debates. Our results demonstrate that while complex discussions can improve performance, there exists an "entanglement" where high-quality prompts can achieve similar results to elaborate multi-agent setups, suggesting a performance ceiling for specific model architectures.

Introduction

To optimize Large Language Model (LLM) performance, researchers typically employ two distinct strategies: Prompt Engineering (refining input instructions) and Discussion Engineering (orchestrating multiple agents to reach consensus). Despite their popularity, the field lacks a unified framework to compare these approaches. Furthermore, existing multi-agent frameworks, such as Multi-Agent Debate (MAD), often suffer from scalability issues; as the number of agents increases, the context window for each agent grows quadratically, leading to high costs and potential performance degradation. This study seeks to determine the necessity of complex discussions when high-quality prompts are available and introduces a scalable alternative for multi-agent reasoning.

Methodology

Theoretical Framework: Agent Symmetry

The authors define a computational graph for LLM inferences to categorize methods by their symmetry. Self-Consistency is characterized as highly symmetric, where identical agents operate in parallel. In contrast, Multi-Agent Debate (MAD) is asymmetric, assigning specific roles (e.g., judge, debater) to different agents. The study explores how breaking this symmetry affects model bias and reasoning robustness.

Conquer-and-Merge Discussion (CMD)

To address the scalability limitations of all-to-all communication, we propose the Conquer-and-Merge Discussion (CMD) mechanism. CMD utilizes a hierarchical structure inspired by human committees:

  1. Conquer: Agents are partitioned into small, independent groups (e.g., triads). These groups engage in internal discussion to reach a local consensus.
  2. Merge: In the event of a tie or disagreement between groups, a "Secretary" LLM acts as a mediator. This agent reviews the summarized reasoning from each group to make a final determination.
The full CMD pipeline: Group Discussion leads to a Vote, followed by a Final Decision mediated by a Secretary agent.

This approach significantly reduces the token overhead per agent, as they only need to process the context of their immediate group rather than the entire multi-agent pool.

Experimental Setup and Results

Experiments were conducted using the FOLIO-Wiki-Curated dataset, a refined version of the FOLIO dataset containing 460 cases of natural language reasoning based on first-order logic. This dataset is particularly challenging due to logical traps requiring models to distinguish between "False" and "Unknown."

The Entanglement of Prompts and Discussion

A key finding is the "entanglement" between prompt quality and discussion complexity. A single agent using a "perfect" prompt (incorporating step-by-step reasoning, detailed task descriptions, and one-shot examples) achieved 76.09% accuracy, nearly matching the performance of complex multi-agent teams. This suggests that the gains from multi-agent discussion diminish as the underlying prompt becomes more robust.

Performance and Iterative Improvement

CMD outperformed existing benchmarks, achieving a peak accuracy of 77.39% with 6 agents, compared to 74.38% for standard Multi-Agent Debate. The study also highlighted the importance of iterative rounds; accuracy improved steadily from Round 1 to Round 3 as agents rectified individual logical errors through collective feedback.

Detailed view of the iterative Group Discussion phase, showing how agents refine their positions over multiple rounds.

Conclusion

The research concludes that while multi-agent discussions like CMD provide a scalable path to higher reasoning accuracy, they are not a substitute for high-quality prompt engineering. Instead, the two are complementary. Future work will explore the application of CMD to more subjective tasks, such as creative writing or coding, and investigate automated methods for determining the optimal number of agents and discussion rounds for varying task complexities.

Summary updated

BibTeX
@misc{wang2023discussion,
  author = {Qineng Wang and Zihao Wang and Ying Su and Yangqiu Song},
  title = {{On the Discussion of Large Language Models: Symmetry of Agents and Interplay with Prompts}},
  year = {2023},
  eprint = {2311.07076},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.07076},
}
Figure