Project page logo

Project page

Free

Improving LLM factuality and reasoning through multi-agent debate

FreeFree tier
Inputs: textOutputs: text
Type
Open Source

About Project page

LLM Debate is a research project from MIT and Google Brain that introduces a multi-agent debate framework to improve the factuality and reasoning capabilities of large language models. Instead of relying on a single model instance, multiple language model instances generate responses and then engage in iterative rounds of debate, critiquing each other's reasoning to converge on a more accurate final answer. The approach is model-agnostic, works with black-box APIs, and uses identical prompts across tasks. Evaluated on mathematical reasoning, strategic reasoning, and factual validity benchmarks, it significantly reduces hallucinations and errors. Performance scales with the number of agents and debate rounds, and it can even combine different models (e.g., ChatGPT and Bard) to leverage their complementary strengths.

Key Features

Multi-agent debate: multiple LLM instances propose and critique responses over multiple rounds
Improves factual accuracy and reduces hallucinations
Enhances mathematical and strategic reasoning across diverse tasks
Model-agnostic, works with black-box LLMs (e.g., ChatGPT, Bard)
Performance scales with more agents and more debate rounds
Can combine different language models (e.g., ChatGPT and Bard) for better results
Uses identical procedure and prompts for all tasks
Open-source code and paper available

Pros & Cons

Pros
  • Significantly improves factuality and reasoning over single-agent approaches
  • Works with existing black-box models without modification
  • Performance improves with additional agents or debate rounds
  • Can combine different LLMs to leverage complementary abilities
  • Open-source and reproducible (code provided)
  • Addresses a fundamental limitation of LLMs: factual inaccuracies and reasoning errors
Cons
  • Computational cost increases with more agents and debate rounds
  • Requires multiple inference passes per query
  • Limited to reasoning tasks; effectiveness may vary for other domains
  • Debate procedure may introduce latency for real-time applications
  • Relies on model's ability to critique itself, which can be inconsistent

Best For

Improving factual validity of generated contentMathematical problem-solving (e.g., arithmetic, GSM8K)Strategic reasoning (e.g., chess move evaluation)Reducing hallucination in language model outputsCombining strengths of different LLMs for complex reasoning tasks

FAQ

How does multi-agent debate improve LLM responses?
Multiple LLM instances generate individual responses, then debate their reasoning over several rounds, critiquing each other's outputs to converge on a more accurate and factually valid answer. This reduces hallucinations and errors.
Does this approach work with different LLMs?
Yes, the method is model-agnostic and can be applied to black-box models like ChatGPT and Bard. It can even combine different models to leverage their strengths.
What benchmarks were used to evaluate the method?
The approach was evaluated on six benchmarks including mathematical reasoning, strategic reasoning (chess), and factual validity tasks. Improvements were observed across all domains.
How many agents and rounds are typically used?
The paper primarily uses 3 agents and 2 rounds due to computational cost, but performance improves with more agents or rounds.
Is the code available?
Yes, the code is open-source and linked on the project page.