Improving Factuality and Reasoning in Language Models through Multiagent Debate

Yilun Du, Shuang Li, Antonio Torralba, Joshua B. Tenenbaum, Igor Mordatch
5/23/2023
cs.CLcs.AIcs.CV

No official code found. Best implementation: composable-models/llm_multiagent_debate (552 stars, last commit 2025-04-24). 2 more below.

Abstract

Large language models (LLMs) have demonstrated remarkable capabilities in language generation, understanding, and few-shot learning in recent years. An extensive body of work has explored how their performance may be further improved through the tools of prompting, ranging from verification, self-consistency, or intermediate scratchpads. In this paper, we present a complementary approach to improve language responses where multiple language model instances propose and debate their individual responses and reasoning processes over multiple rounds to arrive at a common final answer. Our findings indicate that this approach significantly enhances mathematical and strategic reasoning across a number of tasks. We also demonstrate that our approach improves the factual validity of generated content, reducing fallacious answers and hallucinations that contemporary models are prone to. Our approach may be directly applied to existing black-box models and uses identical procedure and prompts for all tasks we investigate. Overall, our findings suggest that such "society of minds" approach has the potential to significantly advance the capabilities of LLMs and pave the way for further breakthroughs in language generation and understanding.

View on arXivView PDF

Code Implementations(3)

ICML 2024: Improving Factuality and Reasoning in Language Models through Multiagent Debate

55285PythonMay 23, 20231 years ago

ICML 2024: Improving Factuality and Reasoning in Language Models through Multiagent Debate

00PythonSep 24, 20251 years ago

Toy implementation of the paper: https://arxiv.org/pdf/2305.14325

00Jupyter NotebookDec 21, 20241 years ago

Cite this paper

@article{du2023improving,
  title  = {Improving Factuality and Reasoning in Language Models through Multiagent Debate},
  author = {Yilun Du and Shuang Li and Antonio Torralba and Joshua B. Tenenbaum and Igor Mordatch},
  year   = {2023},
  eprint = {2305.14325},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.14325v1},
  journal = {ICML 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.14325.svg)](https://codeofpaper.com/paper/2305.14325)

Discussion