Where Is Uncertainty Observed? A Mechanistic Understanding of Uncertainty Quantification in LLMs
University College London(伦敦大学学院);Technische Universität Darmstadt(达姆施塔特工业大学);Universität zu Lübeck(吕贝克大学);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学)
Xiaoyu Liang, Virginia Ceccatelli, Aliai Eusebi, Tobias Braun, Nils Loose, Carlo Malagnino, Lorenzo Cavallaro
Knowing when a large language model's (LLM's) response can be trusted is critical for its safe use. Uncertainty quantification (UQ) can help LLMs recognize if their responses may be unreliable. Existing taxonomies organize UQ methods by uncertainty source or estimation mechanism. They leave unresolved the question of where uncertainty is observed in the model's computation. The answer matters because the observation point determines whether an estimator has access to enough information to recover a given target, and how well it can recover it. Drawing on mechanistic interpretability, we define four mechanistic observation lenses: the structural lens observes component updates, the representational lens observes hidden states, the distributional lens observes token probabilities, and the semantical lens observes distributions over meanings. We relate these lenses through the residual stream and order them by the information they carry, which gives a principle for selecting UQ methods for different targets. We survey existing methods through the four lenses. Furthermore, we distinguish evaluation targets, criteria, and metrics to clarify different UQ evaluation protocols. Finally, we identify open problems and research directions to connect uncertainty estimation to the internal computation and downstream use of LLMs.
How Post-Training Reshapes LLMs: A Mechanistic View on Knowledge, Truthfulness, Refusal, and Confidence
University of California, Los Angeles(加州大学洛杉矶分校);University of Alberta(阿尔伯塔大学);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Harvard University(哈佛大学)
How Emotion Shapes the Behavior of LLMs and Agents: A Mechanistic Study
School of Computer Science and Engineering, Beihang University(北京航空航天大学计算机科学与工程学院);College of Computing and Data Science, Nanyang Technological University(南洋理工大学计算与数据科学学院)
Analysing Moral Bias in Finetuned LLMs through Mechanistic Interpretability
Department of Computer Science and Engineering, University of Bologna, Bologna, Italy(计算机科学与工程系,博洛尼亚大学,意大利博洛尼亚);Center for Studies and Research in Cognitive Neuroscience, Department of Psychology, University of Bologna, Cesena, Italy(认知神经科学研究中心,心理学系,博洛尼亚大学,意大利塞森纳)
Towards Understanding Safety Alignment: A Mechanistic Perspective from Safety Neurons
Department of Computer Science and Technology, BNRist(计算机科学与技术系,BNRist);Shenzhen International Graduate School(深圳国际研究生院);KIRC, Institute for Artificial Intelligence, Tsinghua University(人工智能研究院,清华大学)
Tracking the Feature Dynamics in LLM Training: A Mechanistic Study
Department of Computer Science(计算机科学系);Rutgers University(罗格斯大学);Section for Health Data Science and AI(健康数据科学与人工智能部门);University of Copenhagen(哥本哈根大学)
The Validation Gap: A Mechanistic Analysis of How Language Models Compute Arithmetic but Fail to Validate It
DISI, University of Trento(特伦托大学DISI中心);MaiNLP, Center for Information and Language Processing, LMU Munich(慕尼黑大学信息与语言处理中心);Munich Center for Machine Learning (MCML), Munich, Germany(慕尼黑机器学习中心);Free University of Bozen-Bolzano, Italy(博兹纳自由大学)
Measuring Mechanistic Uncertainty in Large Language Models via Causal Robustness
University of Colorado Anschutz Medical Campus(科罗拉多大学安舒茨医学园区);University of Wisconsin-Madison(威斯康星大学麦迪逊分校);Harvard Medical School(哈佛医学院);Boston Children’s Hospital(波士顿儿童医院)
Uncertainty quantification in fine-tuned LLMs using LoRA ensembles
Stockholm University Department of Physics(斯德哥尔摩大学物理系);Department of Mathematical Sciences(数学科学系);Chalmers university of technology & University of Gothenburg(楚德勒斯技术大学及哥德堡大学);VERSES Research Lab(VERSES研究实验室)