大型语言模型(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.
Mitigating Geospatial Knowledge Hallucination in Large Language Models: Benchmarking and Dynamic Factuality Aligning
College of AI, Tsinghua University(清华大学人工智能学院);Department of Electronic Engineering, BNRist, Tsinghua University(清华大学电子工程系);School of Electronic and Information Engineering, Beijing Jiaotong University(北京交通大学电子信息学院);Department of Computer Science and Technology, Tsinghua University(清华大学计算机科学与技术系)
Leverhulme Centre for the Future of Intelligence, University of Cambridge(未来智能中心,剑桥大学);Institute for Human-Centered AI, Helmholtz Zentrum Munich(人本人工智能研究所,慕尼黑赫尔姆霍尔茨中心);VRAIN, Universitat Politècnica de València(VRAIN,瓦伦西亚理工大学)
debiaSAE: Benchmarking and Mitigating Vision-Language Model Bias
Johns Hopkins University(约翰斯·霍普金斯大学);University of Alabama at Birmingham(阿拉巴马大学伯明翰分校);Harvard Medical School(哈佛医学院);Mass General Brigham(麻省总医院布里格姆医疗系统);Boston Children’s Hospital(波士顿儿童医院)
SWE-MISBEHAVIOR: Benchmarking and Mitigating Boundary Violations in Software Coding Agents
National University of Singapore(新加坡国立大学);Vietnam National University, Hanoi(越南国家大学河内);University of Virginia, USA(弗吉尼亚大学);Agency for Science, Technology and Research (A*STAR), Singapore(新加坡科技研究局);Tufts University, USA(塔夫茨大学);Virginia Tech, USA(弗吉尼亚理工大学);Salesforce AI Research, USA(Salesforce AI 研究)