Context Learning for Multi-Agent Discussion
Xingyuan Hua, Sheng Yue, Xinyi Li, Yizhe Zhao, Jinrui Zhang, Ju Ren
TL;DR
This work tackles the instability of Multi-Agent Discussion (MAD) by introducing M2CL, a framework that learns per-agent context generators to produce dynamic, round-by-round instructions. Through a two-stage design—diverse, near-orthogonal initialization and iterative context evolution guided by an activation-based utility and a dual optimization scheme—M2CL reduces inter-LLM disagreement and accelerates convergence to correct consensus. Empirical results across nine datasets show M2CL achieving 20%–50% performance gains over strong baselines with favorable scalability up to 64 participating LLMs and modest runtime overhead, plus good transferability to other model families. The approach advances MAD by enabling flexible, interpretable, and efficient inter-LLM coordination, with implications for more reliable collaborative reasoning in complex tasks.
Abstract
Multi-Agent Discussion (MAD) has garnered increasing attention very recently, where multiple LLM instances collaboratively solve problems via structured discussion. However, we find that current MAD methods easily suffer from discussion inconsistency, LLMs fail to reach a coherent solution, due to the misalignment between their individual contexts.In this paper, we introduce a multi-LLM context learning method (M2CL) that learns a context generator for each agent, capable of dynamically generating context instructions per discussion round via automatic information organization and refinement. Specifically, inspired by our theoretical insights on the context instruction, M2CL train the generators to control context coherence and output discrepancies via a carefully crafted self-adaptive mechanism.It enables LLMs to avoid premature convergence on majority noise and progressively reach the correct consensus. We evaluate M2CL on challenging tasks, including academic reasoning, embodied tasks, and mobile control. The results show that the performance of M2CL significantly surpasses existing methods by 20%--50%, while enjoying favorable transferability and computational efficiency.
