NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Collab: Controlled Decoding using Mixture of Agents for LLM Alignment

Souradip Chakraborty, Sujay Bhatt, Udari Madhushani Sehwag, Soumya Suvra Ghosal, Jiahao Qiu, Mengdi Wang, Dinesh Manocha, Furong Huang, Alec Koppel, Sumitra Ganesh

Abstract

Aligning Large Language Models (LLMs) to human preferences typically necessitates resource-intensive fine-tuning or reinforcement learning. While training-free "controlled decoding" offers a more efficient alternative, single-agent methods often struggle with multi-faceted tasks. This paper introduces Collab, a novel decoding strategy that dynamically switches between multiple off-the-shelf LLMs at the token level. By framing the generation process as a collaborative mixture of agents guided by an implicit Q-function, Collab achieves superior alignment with target rewards without updating model parameters.

Introduction

To ensure Large Language Models (LLMs) are safe, helpful, and grounded, they must be aligned with specific human preferences or task constraints. The industry standard, Reinforcement Learning from Human Feedback (RLHF), involves fine-tuning billions of parameters—a process that is computationally prohibitive and requires full white-box access to the model.

Controlled decoding has emerged as a compelling alternative, modifying generation probabilities at inference time to align with a reward signal. However, existing single-agent decoding methods often fail when tasks require a balance of conflicting attributes, such as technical precision and creative fluidity. These models are limited by their training distributions. While multi-model ensembles have been proposed, they typically rely on rigid routing or response-level selection. Collab addresses these limitations by enabling dynamic, token-level collaboration between specialized agents.

The Collab Framework

Collab (Controlled Decoding using Mixture of Agents) treats a pool of diverse, off-the-shelf LLMs as a collective resource. Rather than selecting a single model to generate a full response, Collab evaluates the potential of each agent at every step of the generation process.

Token-Level Policy Switching

The core innovation of Collab is its switching mechanism. At each generation step, the framework evaluates the next-token distributions proposed by every agent in the pool. The selection is guided by an implicit Q-function, a reinforcement learning metric that estimates the long-term utility (reward) of a specific token relative to the target objective.

Once a token is selected, it is appended to the shared context, and all agents update their internal states to propose the subsequent token. This allows for seamless handoffs; for instance, a conversational agent might handle the phrasing of a sentence, while a domain-specific agent provides a precise technical term mid-sentence.

Mathematical Foundation

The authors frame the decoding process as a KL-regularized Markov Decision Process (MDP). This provides a principled mathematical basis for routing between models, moving beyond the heuristics used in prior multi-agent systems. This framing allows the system to optimize for the target reward while maintaining the linguistic quality of the base models.

Experimental Setup

The framework was evaluated using a pool of open-source LLMs, including Zephyr-7B, Starling-7B, and Dolphin-Mistral. These agents were tested across two primary benchmarks:

  • Berkeley Nectar: Focused on multi-turn dialogue and complex question-answering.
  • HH-RLHF (Anthropic): Focused on the balance between helpfulness and harmlessness.

Key Insights

The Importance of Diversity

The authors theoretically demonstrate that Collab's performance is bounded by the distance between the target reward and the reward function of the "closest" agent in the pool. Empirically, they found that adding diverse agents (those with different training objectives or data) significantly boosts performance, whereas adding redundant agents provides diminishing returns.

Token-Level vs. Response-Level

By operating at the token level, Collab overcomes the "Best-of-N" (BoN) bottleneck. In BoN sampling, multiple full responses are generated and the best is selected. Collab outperforms this baseline because it can construct a "hybrid" response that no single agent could have generated independently, effectively combining the strengths of the entire pool.

Results

Collab demonstrated significant improvements over state-of-the-art single-agent decoding and ensemble methods:

  • Reward Optimization: Collab achieved up to a 1.56x improvement in average reward compared to standard controlled decoding strategies.
  • Human Preference: In GPT-4-based evaluations (measuring relevance, accuracy, and insight), Collab reached a 71.89% win-tie rate against single-agent baselines.
  • Linguistic Quality: Beyond reward scores, Collab responses exhibited higher vocabulary diversity and maintained strong semantic coherence, avoiding the repetitive patterns sometimes seen in over-optimized models.

Limitations and Future Directions

Despite its performance gains, Collab introduces increased inference compute overhead. Running multiple LLMs simultaneously to evaluate each token increases latency and hardware requirements. Additionally, because calculating a perfect Q-function is computationally intractable, the current implementation uses a greedy approximation.

Future research will focus on developing more efficient, non-greedy proxies for long-term rewards and exploring ways to distill the collaborative knowledge of the mixture of agents back into a single, more capable model.

Summary updated

BibTeX
@inproceedings{chakraborty2025collab,
  author = {Souradip Chakraborty and Sujay Bhatt and Udari Madhushani Sehwag and Soumya Suvra Ghosal and Jiahao Qiu and Mengdi Wang and Dinesh Manocha and Furong Huang and Alec Koppel and Sumitra Ganesh},
  title = {{Collab: Controlled Decoding using Mixture of Agents for LLM Alignment}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=7ohlQUbTpp},
}
Figure