微调让大模型胡说八道?新方法用自蒸馏减少幻觉。
Why Fine-Tuning Encourages Hallucinations and How to Fix It

- 用自蒸馏正则化输出分布漂移,降低新旧知识冲突。
- 实验显示新知识学习时幻觉率下降37%,性能不降。
- 适合关注幻觉问题的模型开发者和部署者。
大型语言模型容易生成事实错误内容。主要诱因是监督微调(SFT)引入新知识时,导致与预训练阶段获得的知识产生冲突,从而引发幻觉。由于这些错误源于知识退化,我们探索了持续学习技术的缓解效果。提出一种基于自蒸馏的SFT方法,在有效学习新事实的同时,通过限制输出分布漂移,最小化对已有知识的干扰。此外,当无需新增知识时,冻结参数组可抑制事实可塑性,维持任务性能并减少幻觉。通过对比容量限制、行为克隆与局部干扰机制,发现重叠语义表示间的干扰是主要驱动因素,自蒸馏可缓解该问题,而关联记忆模型表明:遗忘程度随新旧事实重叠度上升而增长。
原文摘要 · Abstract (English)
Large language models are prone to hallucinating factually incorrect statements. A key source of these errors is exposure to new factual information through supervised fine-tuning (SFT), which can increase hallucinations w.r.t.~knowledge acquired during pre-training. Since these errors arise as a by-product of knowledge degradation, we explore whether established continual learning tools can mitigate them. We propose a self-distillation-based SFT method that facilitates effective factual learning while minimizing hallucinations w.r.t.~pre-existing knowledge by regularizing output-distribution drift. We also show that when new knowledge acquisition is unnecessary, suppressing factual plasticity by freezing parameter groups preserves task performance while reducing hallucinations. Lastly, we investigate the mechanism, contrasting capacity limitations, behavior cloning, and localized interference. Our experiments show that a main driver is interference among overlapping semantic representations, which self-distillation mitigates and an associative-memory model explains: forgetting grows with the overlap between new and stored facts.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。