Multi-Agent Conversational Online Learning for Adaptive LLM Response Identification

Xiangxiang Dai, Yuejin Xie, Maoli Liu, Xuchuang Wang, Zhuohua Li, Huanyu Wang, John C. S. Lui · OpenReview

Abstract

The remarkable generative capability of large language models (LLMs) has sparked a growing interest in automatically generating responses for different applications. Given the dynamic nature of user preferences and the uncertainty of LLM response performance, it is crucial to design efficient online learning algorithms to identify optimal LLM responses. This paper introduces MACO (Multi-Agent Conversational Online Learning for Adaptive LLM Response Identification). MACO accelerates the online LLM response identification process using multiple local agents while enhancing data privacy. It employs a novel conversational mechanism to adaptively solicit user preferences on "key terms," minimizing uncertainty in preference estimation. Theoretical analysis shows MACO is near-optimal regarding cumulative regret, while experiments demonstrate it significantly outperforms current state-of-the-art methods.

Introduction

Optimizing Large Language Model (LLM) responses typically relies on "offline" evaluation, which involves generating a massive pool of responses and scoring them individually. This process is computationally prohibitive; for instance, evaluating just 205 prompts can require up to 78 GPU hours. Moreover, offline scoring is static and fails to account for individual user preferences, such as a specific coding style or tone.

While "online" evaluation—learning from live user interactions—is more adaptive, it faces challenges due to the high-dimensional nature of text and the fragmented use of LLMs across multiple devices. To address these issues, we present MACO, a framework that treats response selection as a "conversational bandit" problem, leveraging multi-agent collaboration and targeted user dialogue to identify optimal responses efficiently.

The MACO Framework

MACO distributes the learning workload between local agents and a central cloud server to optimize performance and privacy.

The MACO architecture showing the interaction between local agents and the cloud server.

The system consists of two primary components:

  1. MACO-A (Local Agent): Operating on user devices (e.g., smartphones, laptops), these agents use an online elimination mechanism to filter out low-quality responses. They identify "under-explored" directions in the feature space where user preference is uncertain.
  2. MACO-S (Cloud Server): This component aggregates data from all local agents. Instead of merely selecting responses, it identifies "key terms"—style or content categories—that represent under-explored preference dimensions. It then triggers local agents to ask the user clarifying questions about these terms.

Uncertainty-Driven Conversational Mechanism

A core innovation of MACO is its "adaptive preference mechanism." Unlike standard bandit algorithms that only learn from passive clicks, MACO proactively initiates conversations about key terms. This dialogue is triggered only when the model's uncertainty is high, determined by calculating the eigenvalues of its information matrix. By asking targeted questions (e.g., "Do you prefer a humorous tone?"), the system "shines a light" on dark areas of user preference, drastically speeding up the learning process without causing user fatigue.

Furthermore, MACO achieves mathematical efficiency by bypassing the computationally expensive "G-optimal design" often required in bandit algorithms. It achieves a near-optimal regret bound of $O(\sqrt{dMT})$ with significantly lower overhead.

Experimental Results

The researchers evaluated MACO using responses generated by Llama-3-8B-Instruct and datasets like StyleEval and Gretel Multilingual. Text was transformed into high-dimensional vectors using embedding models from Google and OpenAI.

Cumulative regret comparison showing MACO's superior performance against baselines.

Key findings include:

  • Superior Performance: MACO consistently outperformed seven baseline algorithms (including LinUCB and ConUCB) by at least 8.29% across various response set sizes.
  • Significant Regret Reduction: On the StyleEval dataset, MACO reduced cumulative regret by 70-80% compared to the best baselines.
  • Efficiency Gains: By avoiding traditional G-optimal design, MACO was 2x to 7x faster than competitive baselines like ConLinUCB-BS while maintaining higher rewards.

Conclusion and Future Work

MACO provides a scalable, efficient, and privacy-conscious approach to personalizing LLM responses. While the current model assumes a linear relationship between text features and user preferences, future work will explore non-linear reward models and more robust privacy-preserving techniques. Additionally, clustering users with similar tastes could further accelerate the identification of optimal responses.

Summary updated

BibTeX
@inproceedings{dai2026multi,
  author = {Xiangxiang Dai and Yuejin Xie and Maoli Liu and Xuchuang Wang and Zhuohua Li and Huanyu Wang and John C. S. Lui},
  title = {{Multi-Agent Conversational Online Learning for Adaptive LLM Response Identification}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i44.41064},
}
Figure