Framework for LLM multi-agent debate
Top 71.7% on sourcepulse
This repository introduces the Multi-Agent Debate (MAD) framework, designed to enhance the reasoning and problem-solving capabilities of Large Language Models (LLMs). It addresses the "Degeneration of Thoughts" (DoT) issue observed in single-agent self-reflection by leveraging adversarial debate between two LLM agents to correct biases and improve accuracy.
How It Works
MAD employs a "devil" (affirmative) and "angel" (negative) agent dynamic. The devil proposes an initial answer or reasoning, and the angel critiques it, identifying errors or biases. This iterative "tit-for-tat" exchange allows agents to correct each other's distorted perceptions, overcome rigidity, and provide external feedback, leading to more robust and accurate outcomes than solitary reflection.
Quick Start & Requirements
pip3 install -r requirements.txt
debate4tran.sh
and interactive.py
.sh debate4tran.sh
python3 interactive.py
Highlighted Details
Maintenance & Community
The project is associated with authors from multiple institutions, indicating potential academic backing. Further community engagement channels (e.g., Discord, Slack) are not explicitly mentioned in the README.
Licensing & Compatibility
The repository's license is not explicitly stated in the provided README. Users should verify licensing terms for commercial or closed-source integration.
Limitations & Caveats
The framework relies heavily on OpenAI's API, making it dependent on their service availability and pricing. The effectiveness may vary based on the specific LLM used and the complexity of the task.
6 months ago
Inactive