cs.CLOct 16, 2026

Controlling the Diversity-Quality Trade-Off of LLMs by Merging Models Before and After Alignment

Authors: Yasuaki Sumita, Tomoharu Iwata, Toshiyuki Tanaka

Organizations: Graduate School of Informatics, Kyoto University, Kyoto, Japan · NTT Communication Science Laboratories, NTT, Inc., Kyoto, Japan

Abstract

Alignment is known to change the output characteristics of large language models (LLMs). Base models tend to generate more diverse outputs, whereas aligned models tend to produce higher-quality outputs. The appropriate balance between the two depends on the task. Existing methods either require costly fine-tuning or, like temperature sampling, mainly improve lexical diversity rather than semantic diversity. We introduce a depth-aware FrankenMerging approach for controlling the diversity--quality trade-off between an aligned model and its base model without additional training. This approach combines the lower layers of an aligned model with the higher layers of its base model based on the hypothesis that lexical diversity is more closely associated with lower layers and semantic diversity with higher layers. Experiments showed that varying the number of layers taken from each model adjusts both diversity and quality. In most cases, the merged models exhibited higher semantic diversity than the aligned model, and at some split positions, they showed higher lexical diversity than both original models. They also demonstrated a better diversity--quality trade-off than temperature sampling in most settings. A supporting ablation, in which we reversed the merging order, yielded results largely consistent with the hypothesis.

Figures & tables

Appendix figures & tables3 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. AlignMerge - Alignment-Preserving Large Language Model Merging via Fisher-Guided Geometric Constraints

    Dec 18, 2025Aniruddha Roy, Jyoti Patel, Aman Chadha +2Language Model MergingLLM Alignment

  2. Forty Shades of Blue: Quality-Diversity Alignment via Mode-Conditioned Reinforcement Learning

    Sep 14, 2026Jiayi Yuan, Hangoo Kang, James Jihao Liu +4RL for Language ModelsMulti-Objective Language Model Alignment