XU-RS: Explaining Credal Width in Random-Set Language Models
cs.AI, stat.ML
Submitted: 2026-09-29
Updated: 2026-09-29
Comments: 32 pages, 1 figure, 10 tables
License: http://creativecommons.org/licenses/by-sa/4.0/
The gist: Uncertainty estimates tell us how unsure a model is, but not why.
Terminology
Abstract
Uncertainty estimates tell us how unsure a model is, but not why. Without knowing which parts of an input influences a model's uncertainty, we cannot tell whether that uncertainty score depends on input features that are relevant for the task. We study this problem in randomset classifiers built using pretrained language models. These classifiers assign probability to individual answers and to groups of answers, producing lower and upper probabilities for each answer; The difference between these probabilities, called credal width, is used to represent epistemic uncertainty about an answer arising from limited training data. We propose XU-RS, a framework that attributes an answer's credal width to the input tokens (words or word pieces) supplied to a language model. XU-RS uses Expected Gradients (a standard feature attribution method) to estimate how input tokens contribute to credal width. The proposed framework is evaluated on a MedQA dataset using SmolLM3-3B and Llama-2-7B models, demonstrating that setting the embedding of a token ranked highly by XU-RS to zero (zero-masking) causes larger changes in credal width than zero-masking randomly selected tokens. In addition, we show that normalisation can cause other answer groups to influence an answer's width, reveal how token attribution can mask numerical errors, and provide diagnostic checks to verify whether a token ranked highly by XU-RS meaningfully explains model uncertainty.
Sources
- Credal and Interval Deep Evidential Classifications
- Belief likelihood function for generalised logistic regression
- Visions of a generalized probability theory
- Uncertainty measures: The big picture
- Reasoning with random sets: An agenda for the future
- Generalising realisability in statistical learning theory under epistemic uncertainty
- Statistical inference with belief functions: A survey
- ESI: Epistemic Uncertainty Quantification via Semantic-preserving Intervention for Large Language Models
- Epistemic Deep Learning
- Random-Set Neural Networks (RS-NN)
- Uncertainty-Aware Autonomous Vehicles: Predicting the Road Ahead
- Epistemic Artificial Intelligence is Essential for Machine Learning Models to Truly 'Know When They Do Not Know'
- A Unified Evaluation Framework for Epistemic Predictions
- Credal Large Language Models for Semantic Commitment under Uncertainty
- Epistemic Generative Adversarial Networks
- Random-Set Large Language Models
- Epistemic Monte Carlo Tree Search
- Epistemic Wrapping for Uncertainty Quantification
- Llama 2: Open Foundation and Fine-Tuned Chat Models
- Learning Credal Ensembles via Distributionally Robust Optimization
Related papers
- MAVEN-T: Reinforced Heterogeneous Distillation for Real-Time Multi-Agent Trajectory Prediction
- Model Discovery Agent: LLM-assisted Bayesian experiment design for data-efficient discovery of mechanistic world models
- Agents' Last Exam
- The Clinician's Veto: Navigating Trust, Liability, and Uncertainty in Autonomous AI Prescribing
- MindHelper: Closed-Loop Embodied Mental-State Reasoning for Precision Intervention
- Incumbent Advantage: Brand Bias and Cognitive Manipulation Dynamics in LLM Recommendation Systems