OPTAGENT: Optimizing Multi-Agent LLM Interactions Through Verbal Reinforcement Learning for Enhanced Reasoning
Zhenyu Bi, Meng Lu, Yang Li, Swastik Roy, Weijie Guan, Morteza Ziyadi, Xuan Wang
TL;DR
OptAgent introduces a graph-based, verbal reinforcement learning framework that jointly optimizes multi-agent interactions among LLMs to improve reasoning. By employing two meta-agents for reflection and action, it dynamically builds and refines communication structures, emphasizing interaction quality alongside agent performance. Across math, science, creative writing, and sorting tasks, OptAgent outperforms single-agent prompting and several state-of-the-art multi-agent baselines, with the strongest gains seen in 5-agent configurations. The approach highlights the importance of task-specific communication schemas and raises considerations about computational cost and backbone-model dependencies in multi-agent LLM systems.
Abstract
Large Language Models (LLMs) have shown remarkable reasoning capabilities in mathematical and scientific tasks. To enhance complex reasoning, multi-agent systems have been proposed to harness the collective intelligence of LLM agents. However, existing collaboration structures are either predefined or rely on majority voting or round-table debates, which can suppress correct but less dominant agent contributions. Recent approaches model multi-agent systems as graph networks but optimize purely for agent performance, neglecting the quality of interactions. We hypothesize that effective agent communication is crucial for multi-agent reasoning and that debating quality plays a significant role. To address this, we propose $\ours$, a multi-agent verbal reinforcement learning algorithm that dynamically constructs and refines multi-agent collaboration structures. Our method defines action spaces and a feedback mechanism that evaluates communication robustness and coherence throughout the debate. The final decision is achieved through a majority vote over all the agents. We assess $\ours$ on various reasoning tasks, including mathematical reasoning, creative writing, scientific reasoning, and numerical sorting. Results demonstrate that our approach significantly outperforms single-agent prompting methods and state-of-the-art multi-agent frameworks on diverse tasks.
