[Paper Review] LLM Harmony: Multi-Agent Communication for Problem Solving
This paper proposes LLM Harmony, a multi-agent communication framework where LLMs with distinct personas engage in role-playing using chain-of-thought prompting to collaboratively solve novel reasoning and commonsense problems. The approach achieves 83% accuracy on the CommonsenseQA dataset—surpassing single-agent (77%) and standard multi-agent (78%) baselines—demonstrating improved reasoning through structured, persona-driven collaboration.
Large Language Models (LLMs) have revolutionized Natural Language Processing but exhibit limitations, particularly in autonomously addressing novel challenges such as reasoning and problem-solving. Traditional techniques like chain-of-thought prompting necessitate explicit human guidance. This paper introduces a novel multi-agent communication framework, inspired by the CAMEL model, to enhance LLMs' autonomous problem-solving capabilities. The framework employs multiple LLM agents, each with a distinct persona, engaged in role-playing communication, offering a nuanced and adaptable approach to diverse problem scenarios. Extensive experimentation demonstrates the framework's superior performance and adaptability, providing valuable insights into the collaborative potential of multiple agents in overcoming the limitations of individual models.
Motivation & Objective
- To address the limitations of LLMs in autonomous reasoning and problem-solving on novel, unseen tasks.
- To reduce hallucination and improve reasoning accuracy by enabling collaborative, role-based interaction among multiple LLM agents.
- To minimize reliance on human-annotated demonstrations or costly retraining by leveraging reusable, adaptable agent personas.
- To explore the effectiveness of diverse personas and chain-of-thought prompts in enhancing collective reasoning capabilities.
Proposed method
- The framework employs multiple LLM agents, each assigned a unique persona (e.g., teacher, student, developer) to simulate real-world collaborative roles.
- Each agent is prompted with a tailored chain-of-thought prompt to guide structured reasoning and solution construction.
- Agents communicate iteratively through role-playing dialogues, validating and refining each other’s responses in a collaborative problem-solving loop.
- The system is built on top of CAMEL and ChatDev frameworks, enabling extensibility across various LLM models and problem types.
- The framework supports few-shot prompting, allowing adaptation to new problem types without full model fine-tuning.
- A data processing pipeline filters redundant information and manages context limits to maintain efficiency and coherence.
Experimental results
Research questions
- RQ1Can multi-agent collaboration with distinct personas improve LLM performance on novel reasoning and commonsense problems compared to single-agent prompting?
- RQ2How does role-based communication with chain-of-thought prompting affect accuracy and robustness in reasoning tasks?
- RQ3To what extent can persona diversity and structured dialogue reduce hallucination and improve solution quality?
- RQ4Can the framework generalize across different LLM architectures and problem domains without retraining?
- RQ5What is the impact of few-shot prompting and iterative validation on final solution accuracy?
Key findings
- The proposed multi-agent framework achieved 83% accuracy on the CommonsenseQA dataset, significantly outperforming single-agent GPT-3.5-turbo (77%) and standard multi-agent setups (78%).
- The improvement was observed even with few-shot prompting, indicating the framework’s effectiveness without requiring full model retraining.
- Incorrect answers were often due to flawed correlations in the training data, highlighting the need for better data diversity in future training.
- The framework demonstrated reduced hallucination and improved solution validation through inter-agent dialogue and role-specific reasoning.
- The approach is scalable and extensible, supporting integration of any persona and chain-of-thought prompt for diverse problem types.
- Context limitations and the need for dynamic knowledge updates remain open challenges for future work.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.