揭示大模型幻觉与单事实率、校准误差的三者关系,提出可降低幻觉的新方法。
Hallucination, Monofacts, and Miscalibration: An Empirical Investigation
- 通过控制单事实率验证幻觉与之正相关
- 引入选择性重复训练样本,使幻觉降低40%
- 适合关注模型可靠性与训练策略优化的研究者
大型语言模型中的幻觉现象被证明受单事实率(monofact rate)与模型校准误差共同决定。本文首次在经典n-gram模型和微调的编码器-解码器Transformer上实证检验了这一三方关系。通过从形状参数可调的帕累托分布生成训练数据,系统控制单事实率并验证其与幻觉呈正相关。为连接理论与实践,我们用分桶经验KL散度替代理论校准项,构建可操作的幻觉边界估计。进一步提出选择性重复(selective upweighting)——仅重复5%训练样本即可引入可控校准误差,使幻觉最多下降40%,挑战普遍去重政策。实验显示:该方法在维持准确率的同时显著减少幻觉,而标准训练虽提升准确率却无法缓解高幻觉,揭示优化目标间的内在矛盾。
原文摘要 · Abstract (English)
Hallucinated facts in large language models (LLMs) have recently been shown to obey a statistical lower bound determined by the monofact rate (related to the classical Good-Turing missing mass estimator) minus model miscalibration (Kalai & Vempala, 2024). We present the first empirical investigation of this three-way relationship in classical n-gram models and fine-tuned encoder-decoder Transformers. By generating training data from Pareto distributions with varying shape parameters, we systematically control the monofact rates and establish its positive relationship with hallucination. To bridge theory and practice, we derive an empirical analog of the hallucination bound by replacing the population miscalibration term (Section 2.1) with an empirical bin-wise KL divergence and confirm its practical viability. We then introduce selective upweighting -- a simple yet effective technique that strategically repeats as little as 5% of training examples -- to deliberately inject miscalibration into the model. This intervention reduces hallucination by up to 40%, challenging universal deduplication policies. Our experiments reveal a critical trade-off: selective upweighting maintains pre-injection levels of accuracy while substantially reducing hallucination, whereas standard training gradually improves accuracy but fails to address persistently high hallucination, indicating an inherent tension in optimization objectives.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。