arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2605.01357cs.CL
收藏

关于稳定长形式生成:基准测试与缓解长度波动

On Stable Long-Form Generation: Benchmarking and Mitigating Length Volatility

Hong Kong University of Science and Technology(香港理工大学)

Zhitao He, Haolin Yang, Rui Min, Zeyu Qin, Yi R. Fung

AI总结:

本文提出VOLTBench基准测试,通过分析注意力轨迹发现长形式生成中的波动原因,并提出GLoBo方法提升生成稳定性与准确性,实验验证了主流模型的长形式输出不稳定问题。

摘要:

大型语言模型(LLMs)在长上下文理解方面表现出色,但在长形式生成中存在显著局限。现有研究主要关注单次生成质量,通常忽视输出的波动性。这种波动不仅导致显著的计算成本,还严重影响模型的可靠应用。为解决这一差距,本文分为三个阶段:基准测试、探测和缓解。我们首先提出VOLTBench,一种新的异构任务基准,用于系统量化长形式生成的长度波动性。随后,通过分析注意力轨迹,深入探测并识别导致波动的几种常见内部模式。最后,为缓解长形式输出波动,我们提出Stable Generation via Logits Boosting(GLoBo),一种轻量级的解码阶段优化策略,旨在显著提高长形式生成的长度准确性和稳定性,而无需额外训练。在VOLTBench上的广泛实验提供了主流模型长形式输出不稳定问题的首次系统验证,并验证了所提出方法成功将基模型的平均输出长度提高了148%,同时将长度波动降低了69%,同时保持高质量的生成。

英文摘要:

Large Language Models (LLMs) excel at long-context understanding but exhibit significant limitations in long-form generation. Existing studies primarily focus on single-generation quality, generally overlooking the volatility of the output. This volatility not only leads to significant computational costs but also severely impacts the models' reliable application. To address this gap, our work unfolds in three stages: benchmarking, probing, and mitigation. We first propose the VOlatility in Long-form Text Benchmark (VOLTBench), a novel heterogeneous-task benchmark designed to systematically quantify the length volatility of long-form generation. Subsequently, by analyzing attention traces, we conduct an in-depth probe to identify several common internal patterns that cause this volatility. Finally, to mitigate long-form output volatility, we propose Stable Generation via Logits Boosting (GLoBo), a lightweight decoding-stage optimization strategy, designed to significantly enhance both the length accuracy and stability of long-form generation without additional training. Extensive experiments on VOLTBench provide the first systematic confirmation of severe long-form output instability in mainstream models and validate that our proposed method successfully improves the mean output length of the base model by 148% and reduces the length volatility by 69%, while maintaining high generation quality.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑