arXiv cs.CL· Yasuaki Sumita, Tomoharu Iwata, Toshiyuki Tanaka·· 12 小时前AI 评分31
通过对齐前后模型合并控制 LLM 的多样性-质量权衡
Controlling the Diversity-Quality Trade-Off of LLMs by Merging Models Before and After Alignment
AI 导读
研究者提出深度感知的 FrankenMerging 方法,无需额外训练即可控制对齐模型与其基座模型之间的多样性-质量权衡。该方法将对齐模型的低层与基座模型的高层合并,实验显示调整各模型取用的层数可同时调节多样性与质量,多数情况下合并模型的语义多样性高于对齐模型,部分切分位置下词法多样性也高于两个原始模型。多数设置下其多样性-质量权衡优于温度采样,反转合并顺序的消融实验也基本支持该假设。
正文 · 原文
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.
| Comments: | 13 pages, 5 figures |
| Subjects: | Computation and Language (cs.CL); Machine Learning (cs.LG) |
| Cite as: | arXiv:2610.22999 [cs.CL] |
| (or arXiv:2610.22999v1 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2610.22999 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Yasuaki Sumita [view email]
[v1]
Fri, 16 Oct 2026 06:24:10 UTC (448 KB)
来源:arXiv cs.CL · arxiv.org