现代大语言模型(LLMs)常出现过度自信错误,即对错误预测赋予高置信度,从而削弱其在实际应用中的可靠性。现有校准方法通常依赖事后调整或重新训练,在输出层面操作,未解决校准错误的根本原因。我们提出CoCHI(面向类别的因果注意力头干预,Class-oriented Causal Head Intervention)框架,该框架通过识别并干预导致不同置信行为的内部组件来提升校准效果。通过分析预测的正确性-置信度模式,CoCHI可对模型内部进行针对性干预,在保留正确预测的同时减少过度自信错误。我们的方法为校准提供了机械视角,将可靠性与模型内可识别结构关联,而非将其视为输出层面的问题。在多个LLMs上开展的实验显示,校准指标(包括预期校准误差、负对数似然和布里尔分数)均有一致提升,同时在5个多项选择题问答基准上保持了准确率。这些结果表明,有效的校准不仅需要调整输出,还需解决模型内部的根本因果机制。
英文摘要:
Modern large language models (LLMs) often exhibit overconfident errors, assigning high confidence to incorrect predictions and thereby undermining reliability in real-world use. Existing calibration methods typically rely on post-hoc adjustment or retraining, operating at the output level without addressing the underlying causes of miscalibration. We propose CoCHI, (Class-oriented Causal Head Intervention), a framework that improves calibration by identifying and intervening on internal components responsible for distinct confidence behaviours. By analysing predictions through correctness-confidence patterns, CoCHI enables targeted intervention on model internals, reducing overconfident errors while preserving correct predictions. Our approach provides a mechanistic perspective on calibration, linking reliability to identifiable structures within the model rather than treating it as an output-level issue. Experiments across multiple LLMs show consistent improvements in calibration metrics, including Expected Calibration Error, Negative Log-Likelihood, and Brier Score, while maintaining accuracy on five multiple-choice question answering benchmarks. These results suggest that effective calibration requires not only adjusting outputs, but also addressing the underlying causal mechanisms within the model.
From Flat Facts to Sharp Hallucinations: Detecting Stubborn Errors via Gradient Sensitivity
School of Intelligent Manufacturing Ecosystem, Xi’an Jiaotong-Liverpool University, People’s Republic of China(智能制造生态系统学院,西安交通大学-利物浦大学,中华人民共和国);Department of Computer Science, University of Liverpool, United Kingdom(计算机科学系,利物浦大学,英国);Faculty of Engineering and Technology, Sunway University, Malaysia(工程与技术学院,Sunway大学,马来西亚);School of Robotics, Xi’an Jiaotong-Liverpool University, People’s Republic of China(机器人学院,西安交通大学-利物浦大学,中华人民共和国)
The University of Hong Kong(香港大学);Tsinghua University(清华大学);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);University of Virginia(弗吉尼亚大学);Peking University(北京大学);WeChat AI(微信人工智能);The Chinese University of Hong Kong(香港中文大学)
Between the Layers Lies the Truth: Uncertainty Estimation in LLMs Using Intra-Layer Local Information Scores
Faculty of Data and Decision Sciences, Technion --- Israel Institute of Technology(数据与决策科学学院,技术离子研究所);Faculty of Computer Science, Technion --- Israel Institute of Technology(计算机科学学院,技术离子研究所);Faculty of Biomedical Engineering, Technion --- Israel Institute of Technology(生物医学工程学院,技术离子研究所)