采样更多,得到更少:校准是大语言模型中的多样性瓶颈
Sampling More, Getting Less: Calibration is the Diversity Bottleneck in LLMs
AI总结:
研究揭示了大语言模型中多样性崩溃的原因,提出有效性-多样性框架,分析了顺序校准和形状校准两种误校准形式,发现局部失败会累积导致序列层面多样性损失。
摘要:
多样性对语言模型应用至关重要,但现代大语言模型常陷入狭窄的可能输出子集。本文提出有效性-多样性框架,将多样性崩溃归因于解码过程中LLM对有效和无效延续分配概率质量的方式。该框架将瓶颈分解为两种互补的误校准形式:顺序校准和形状校准。通过形式化这两种机制,研究发现局部失败会累积导致多样性损失。实验中开发了受控诊断方法,包括具有已知有效集的任务和 oracle 截断基线。在14种语言模型上发现,多样性崩溃不仅是特定采样启发式方法的限制,而是LLM分布中顺序和形状误校准的后果。
英文摘要:
Diversity is essential for language-model applications ranging from creative generation to scientific discovery, yet modern LLMs often collapse into a narrow subset of plausible outputs. While prior work has developed benchmarks for measuring this lack of diversity, less is known about how the step-by-step probability distributions at inference time cause the problem. We introduce a validity--diversity framework that attributes diversity collapse to how an LLM allocates probability mass across valid and invalid continuations during decoding. This framework decomposes the bottleneck into two complementary forms of miscalibration. First, order calibration: valid tokens are not reliably ranked above invalid tokens, so rank-based cutoff rules must trade off between recovering valid continuations and admitting invalid ones. Second, shape calibration: probability mass is overly concentrated only on few valid continuations while having a heavy-tail of mixed valid and invalid tokens, so maintaining high validity limits diversity. We formalize both mechanisms and show that local failures compound across decoding steps, producing strong sequence-level losses in diversity. Empirically, we develop controlled diagnostics for probing these bottlenecks, including tasks with exactly known valid sets and oracle cutoff baselines. Across 14 language models spanning multiple families and scales, we find that diversity collapse is not merely a limitation of particular sampling heuristics, but a consequence of order and shape miscalibration in the LLM distribution.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。