真相作为语言模型训练中的压缩特征
Truth as a Compression Artifact in Language Model Training
AI总结:
研究发现语言模型在矛盾数据训练中更倾向于正确答案,这源于错误的可压缩性而非真相本身。通过小规模Transformer模型实验,发现当错误遵循一致规则时,模型无法区分虚假系统与真相,提出压缩-一致性原则解释这一现象。
摘要:
为什么在矛盾数据上训练的语言模型更倾向于正确答案?在使用小型Transformer(3.5M-86M参数)的受控实验中,我们发现这种偏好与错误的可压缩性结构有关,而非真相本身。我们训练GPT-2风格的模型在包含正确和错误解答的语料上,采用去噪设计直接建模同一事实的冲突信息。当错误是随机时,模型在模型大小增加时准确率从65%提升到85%。当错误遵循一致的替代规则系统时,准确率降至偶然水平(~45-51%):模型无法区分虚假系统与真相。多规则实验显示存在临界点:单一一致的替代规则完全消除真相偏见,但添加第二个竞争规则恢复大部分偏见(47%->78%),随着N=10继续增长。相同模式在真实维基百科文本中重现(71% vs 46%)。我们提出压缩-一致性原则作为解释假设:在这些设置中,梯度下降倾向于最可压缩的答案簇,而非真相本身。真相偏见仅在虚假信息结构不一致时出现。这一原则是否适用于大规模预训练仍是一个开放问题。
英文摘要:
When a transformer is trained from scratch on corpora that solve the same mathematical problem both correctly and incorrectly, which solution does it prefer? The usual test is pairwise, and it is not neutral: when the error can take several forms, a model that merely reproduces training frequencies wins it without preferring anything. We instead score the correct completion against every string the error generator can produce, a share on which frequency matching scores exactly 0.500. At 86M parameters the correct completion holds 59.0% +/- 0.8% of the mass against random errors (59.4% on an independent corpus), where the single realized error gives 77.6% and pair accuracy 87.4%, a three- to fourfold overstatement of the excess above chance; below 86M the primary corpus shows no preference. The coherent false rules of the main corpora are not filtered at any size (43.5--48.8%; the shortfall below 0.5 is a completion-length effect). Two experiments built to identify a compression mechanism raise the pairwise measures while the summed share stays flat or falls: both are negative controls, and compression remains motivation, not a measured mechanism. With the scored false strings held fixed, a false rule whose selector the model can learn moves the correct share from 5 points above the null to 7 below (418M--3.08B), though the correct completion still outweighs the selected string. What these models leave unfiltered is consistent or learnable false structure (one single-rule corruption excepted), not falsehood as such.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。