arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.19974cs.LGcs.CL
收藏

语言模型的不确定性和正确性是否由相同特征编码?通过稀疏自编码器的函数解离

Are LLM Uncertainty and Correctness Encoded by the Same Features? A Functional Dissociation via Sparse Autoencoders

University of California, Riverside(加州大学河滨分校);Arizona State University(亚利桑那州立大学)

Het Patel, Tiejin Chen, Hua Wei, Evangelos E. Papalexakis, Jia Chen

AI总结:

研究通过稀疏自编码器探讨语言模型的不确定性与正确性是否由同一内部机制驱动,发现三类功能不同的特征群体,揭示其在模型性能中的作用差异。

摘要:

大型语言模型可以同时不确定但正确,或自信但错误,这引发了关于其输出层面的不确定性和实际正确性是否由同一内部机制驱动的问题。本文引入一个2x2框架,沿正确性和置信度轴划分模型预测,并使用稀疏自编码器独立识别与每个维度相关的特征。在Llama-3.1-8B和Gemma-2-9B上应用该方法,发现三种功能不同的特征群体。纯不确定性特征功能至关重要:抑制它们会严重降低准确性。纯不正确性特征功能惰性:尽管在正确和不正确预测之间表现出统计显著的激活差异,但抑制它们对准确性影响微弱。同时编码两种信号的特征会损害输出质量,针对性抑制可提高准确性1.1%并减少75%的熵,效果在ARC-Challenge和RACE基准测试中转移。特征类别在信息上也相互独立:仅3个来自单一中间层的混淆特征激活可预测模型正确性(AUROC ~0.79),使选择性退避使准确性从62%提升至81%(53%覆盖率)。结果表明不确定性与正确性是不同的内部现象,对可解释性和目标性推理干预有启示。

英文摘要:

Large language models can be uncertain yet correct, or confident yet wrong, raising the question of whether their output-level uncertainty and their actual correctness are driven by the same internal mechanisms or by distinct feature populations. We introduce a 2x2 framework that partitions model predictions along correctness and confidence axes, and uses sparse autoencoders to identify features associated with each dimension independently. Applying this to Llama-3.1-8B and Gemma-2-9B, we identify three feature populations that play fundamentally different functional roles. Pure uncertainty features are functionally essential: suppressing them severely degrades accuracy. Pure incorrectness features are functionally inert: despite showing statistically significant activation differences between correct and incorrect predictions, the majority produce near-zero change in accuracy when suppressed. Confounded features that encode both signals are detrimental to output quality, and targeted suppression of them yields a 1.1% accuracy improvement and a 75% entropy reduction, with effects transferring across the ARC-Challenge and RACE benchmarks. The feature categories are also informationally distinct: the activations of just 3 confounded features from a single mid-network layer predict model correctness (AUROC ~0.79), enabling selective abstention that raises accuracy from 62% to 81% at 53% coverage. The results demonstrate that uncertainty and correctness are distinct internal phenomena, with implications for interpretability and targeted inference-time intervention.

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

↑