通过因果鲁棒性衡量大型语言模型的机制不确定性
研究论文 · 2026/10/21
本文提出机制不确定性概念,通过模型内部机制的稳定性来刻画不确定性,并定义因果鲁棒性边际为偏离模型输出所需的最小内部干预,利用Jacobian Lens概念引导向量实现。在三个开源模型和五个问答数据集上,实验表明错误和不确定的回答具有更小的边际,且该边际补充了传统基于输出的不确定性方法。在知识注入实验中,正确学习的事实训练后边际增大,表明因果鲁棒性提供了基于机制的不确定性信号。
该研究为LLM不确定性量化提供了基于内部机制的新视角,提出的因果鲁棒性边际具有可解释性和实证支持,有助于提升关键领域模型可靠性。
Large language models (LLMs) are increasingly used in critical domains, where their susceptibility to hallucinations makes reliable and interpretable uncertainty quantification essential. We introduce the concept of mechanistic uncertainty, which characterizes uncertainty through the stability of the internal mechanisms supporting a model's response. We propose the causal robustness margin, defined as the minimum internal intervention required to deviate the model's output, and operationalize it using Jacobian Lens (Jlens) concept steering vectors. Across three open-source models and five question-answering datasets, we show incorrect and uncertain responses exhibit smaller margins, indicating greater sensitivity to internal interventions, and the causal robustness margin complements conventional output-based uncertainty methods. Finally, in a controlled knowledge injection experiment, correctly learned facts show increased margins after training, suggesting that causal robustness provides a mechanistically grounded signal of uncertainty.