Addressing the problem that traditional probability-based uncertainty quantification metrics for large language models fail to capture the model's true epistemic state, this paper proposes the Decoupled Update Dynamics (DUD) framework, which separates the independent contributions of FFN and attention modules through noise-induced causal interventions, and builds the DUD-Probe probe for reliable uncertainty quantification.
Accurate uncertainty quantification is a core requirement for reliable deployment of large language models, yet traditional probability-based metrics often fail to capture the model's true epistemic state. Recent mechanism-based uncertainty quantification methods have begun leveraging hidden-state dynamic features, but these methods generally aggregate residual stream updates, conflating the distinct roles of the feed-forward network (FFN), which carries parametric memory, and the attention modules, which handle contextual processing. This aggregation masks fine-grained mechanism conflicts such as memory-context misalignment — conflicts that are precisely the core signals indicating uncertainty.
The aggregated analysis approach of prior work has directly led to a key class of phenomena being long overlooked: uncertainty exhibits strikingly distinct spatiotemporal vulnerability patterns, and generation failures in large models are not uniformly distributed but arise from specific mechanism failures. These manifest as routing instability of shallow multi-head self-attention during the context encoding stage, and a sudden drop in prediction confidence of deep FFNs during the knowledge retrieval stage.
The complete DUD framework pipeline consists of three sequential stages. The first stage is the clean forward pass, which performs standard model forward inference and caches all intermediate hidden states. The second stage is the perturbed propagation, which injects noise into the input embeddings to construct an information bottleneck and obtains the perturbed model activations. The third stage is the patch-recovery propagation, which performs independent causal intervention recovery operations on the activations of attention modules and FFN modules layer by layer, computes the prediction probability shifts before and after recovery, and normalizes them into recovery scores, ultimately yielding a dynamic feature profile of dimension 2L for training the subsequent uncertainty detection probe, DUD-Probe. Together with the pipeline diagram that follows, you can intuitively grasp the execution logic of the three stages, the rules for generating recovery scores, and how DUD-Probe inputs are constructed.
The main experiments conducted across multiple large models and datasets show that DUD-Probe achieves state-of-the-art uncertainty quantification performance, with significant improvements over the log-probability-based semantic entropy method. This demonstrates that the causal dynamics inside large models can provide richer reliability signals than surface output probabilities; its performance also surpasses the aggregated ICR Probe, directly validating the necessity of decoupling attention and FFN contributions.
Mechanistic ablation analysis shows that single-stream probes using only the attention stream or only the FFN stream significantly outperform random baselines, but the complete dual-stream configuration achieves the highest AUROC scores across all test datasets. This indicates that the FFN and attention correspond to different dimensional features of generation failures, and the uncertainty signals they provide are clearly complementary — integrating both types of signals is required to cover the full uncertainty distribution.
To validate cross-dataset transferability, the study trained the probe on source datasets and tested it on unseen target datasets. DUD-Probe's generalization performance significantly outperforms all baseline methods, maintaining high AUROC scores in most out-of-distribution scenarios with a performance drop far smaller than competing methods, indicating that the method captures task-agnostic mechanistic features rather than dataset-specific artifacts. You can use the heatmap that follows to directly compare the performance differences of different methods in cross-dataset transfer scenarios.
On the expected calibration error metric, DUD-Probe scores lower than all other compared methods across all test datasets. A lower ECE value indicates that the method's uncertainty predictions match the true error rate more closely, reflecting superior calibration.
The paper explicitly notes two clear limitations of applicability. First, as a white-box method requiring access to internal activations and execution of causal interventions, it cannot be applied to closed-source API-based models. Second, although probe efficiency has been optimized, the causal tracing process still requires multiple forward passes, resulting in higher inference latency compared to simple log-probability-based methods.