Optimizing Diversity and Quality through Base-Aligned Model Collaboration
Yichen Wang, Chenghao Yang, Tenghao Huang, Muhao Chen, Jonathan May, Mina Lee
TL;DR
This work tackles the diversity decline that accompanies LLM alignment by introducing BACo, a token-level inference-time framework that collaborates a base model (diversity) with its aligned counterpart (quality). A lightweight router at each decoding step selects which model generates the next token, formalized as $P_{BACo}(y_t|c_t) = w_{base} P_{base}(y_t|c_t;\theta_{base}) + (1-w_{base}) P_{aligned}(y_t|c_t;\theta_{aligned})$, with controllable thresholds to navigate the diversity-quality frontier. Across three open-ended tasks, BACo consistently surpasses inference-time baselines on 11 diversity metrics and 2 quality metrics, achieving a best reported joint improvement of $21.3\%$ in diversity and quality, and is validated by human evaluations showing enhanced creativity and perceived quality. The design space includes logit-based and content-based routers, and results demonstrate that combining strategies yields the strongest performance, establishing base-aligned collaboration as a practical, controllable approach to multi-objective open-ended generation. The work further demonstrates robustness across long-form narrative tasks and highlights potential future directions in efficiency, partially aligned checkpoints, and user-driven interfaces for breadth-oriented AI systems.
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.
