A Multi-Agent Conversational Bandit Approach to Online Evaluation and Selection of User-Aligned LLM Responses

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

Abstract

Prompt-based offline methods are commonly used to optimize large language model (LLM) responses, but evaluating these responses is computationally intensive and often fails to accommodate diverse response styles. This study introduces a novel online evaluation framework that employs a multi-agent conversational bandit model to select optimal responses while aligning with user preferences dynamically. To tackle challenges such as high-dimensional features, large response sets, adaptive conversational needs, and multi-device access, we propose MACO, Multi-Agent Conversational Online Learning, which comprises two key components: (1) \texttt{MACO-A}: Executed by local agents, it employs an online elimination mechanism to filter out low-quality responses. (2) \texttt{MACO-S}: Executed by the cloud server, it adaptively adjusts selection strategies based on aggregated preference data. An adaptive preference mechanism triggers asynchronous conversations to enhance alignment efficiency. Theoretical analysis demonstrates that MACO achieves near-optimal regret bounds, matching state-of-the-art performance in various degenerate cases. Extensive experiments utilizing Google and OpenAI text embedding models on the real-world datasets with different response styles, combined with Llama and GPT-4o, show that MACO consistently outperforms baseline methods by at least 8.29% across varying response set sizes and numbers of agents.

Introduction

Evaluating Large Language Model (LLM) responses remains a significant bottleneck in AI development. Traditional "offline" methods involve generating a massive pool of responses and using another model or human evaluators to score them individually. This approach is computationally expensive and often fails to capture individual user preferences or "vibes," such as a preference for humor over formality.

Existing online methods, which learn through direct user interaction, struggle with high-dimensional text embeddings and the multi-device reality where users interact with AI across various platforms. Furthermore, most conversational bandits use rigid schedules for user queries, leading to redundant or annoying interactions.

The MACO Framework

The researchers propose MACO (Multi-Agent Conversational Online Learning), a framework that shifts LLM evaluation from expensive offline scoring to a dynamic online "bandit" process. MACO coordinates multiple local agents and a central server to adaptively identify optimal responses.

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

The framework is divided into two primary components:

  1. MACO-A (Local Agents): Running on user devices, these agents use an online elimination mechanism to filter low-quality responses and collect user reward feedback.
  2. MACO-S (Cloud Server): The server aggregates data from all agents to build a global understanding of user preferences.

A key innovation is the Adaptive Preference Mechanism. Instead of querying users at random, MACO triggers a conversation on "key terms" (e.g., "Do you prefer a 'C++ style' or a 'Pythonic style'?") only when the model identifies a "blind spot" in its understanding of the feature space. This targeted exploration allows the model to learn the user's preference vector much faster than traditional trial-and-error.

Experimental Setup

The framework was evaluated using responses generated by Llama-3-8B-Instruct and GPT-4o. The researchers utilized the StyleEval dataset, which focuses on diverse writing styles, and the Gretel Multilingual dataset to test performance across 20 languages. Text was transformed into high-dimensional vectors using Google’s text-embedding-preview-0409 and OpenAI’s text-embedding-3-large models.

Key Results and Performance

MACO consistently outperformed baseline methods like LinUCB and ConUCB by at least 8.29% across various settings. Theoretical analysis confirmed that MACO achieves near-optimal regret bounds, matching the best possible theoretical performance for this class of problem.

Performance comparison showing MACO (red line) achieving lower regret compared to baseline methods over multiple rounds.

Beyond accuracy, MACO demonstrated significant efficiency gains. In execution time tests, MACO was substantially faster than traditional elimination-based bandits, reducing processing time from 18 seconds to approximately 2.5 seconds in specific settings without sacrificing selection accuracy. The framework also proved scalable, maintaining robust performance as the number of agents increased from 4 to 16.

Conclusion and Future Directions

MACO represents a significant advancement in aligning LLM responses with user preferences through efficient online learning. While the current model assumes a linear relationship between features and rewards, future work could explore non-linear preference modeling. Additionally, clustering users with similar tastes and integrating formal privacy-preserving techniques like Differential Privacy are promising avenues for further development.

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 = {{A Multi-Agent Conversational Bandit Approach to Online Evaluation and Selection of User-Aligned LLM Responses}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i44.41064},
}
Figure