Optimizing Diversity and Quality through Base-Aligned Model Collaboration

Yichen Wang, Chenghao Yang, Tenghao Huang, Muhao Chen, Jonathan May +1 more
11/7/2025
cs.CLcs.AIcs.LG

No official code found. Best implementation: YichenZW/base-align-collab (2 stars, last commit 2025-11-13).

Abstract

Alignment has greatly improved large language models (LLMs)' output quality at the cost of diversity, yielding highly similar outputs across generations. We propose Base-Aligned Model Collaboration (BACo), an inference-time token-level model collaboration framework that dynamically combines a base LLM with its aligned counterpart to optimize diversity and quality. Inspired by prior work (Fei et al., 2025), BACo employs routing strategies that determine, at each token, from which model to decode based on next-token prediction uncertainty and predicted contents' semantic role. Prior diversity-promoting methods, such as retraining, prompt engineering, and multi-sampling methods, improve diversity but often degrade quality or require costly decoding or post-training. In contrast, BACo achieves both high diversity and quality post hoc within a single pass, while offering strong controllability. We explore a family of routing strategies, across three open-ended generation tasks and 13 metrics covering diversity and quality, BACo consistently surpasses state-of-the-art inference-time baselines. With our best router, BACo achieves a 21.3% joint improvement in diversity and quality. Human evaluations also mirror these improvements. The results suggest that collaboration between base and aligned models can optimize and control diversity and quality.

View on arXivView PDF

Code Implementations(1)

This is the code for BACo proposed in Optimizing Diversity and Quality through Base–Aligned Model Collaboration.

20Shell, PythonOct 21, 202511 months ago

Similar Papers

Cite this paper

@article{wang2025optimizing,
  title  = {Optimizing Diversity and Quality through Base-Aligned Model Collaboration},
  author = {Yichen Wang and Chenghao Yang and Tenghao Huang and Muhao Chen and Jonathan May and Mina Lee},
  year   = {2025},
  eprint = {2511.05650},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.05650v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.05650.svg)](https://codeofpaper.com/paper/2511.05650)

Discussion