Uncertainty Transmission in Sequential Models

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 111 papers20 conceptsfrozen 2026-10-04

In standard machine learning, we often treat data points as independent islands. If a model predicts a label for an image, its confidence in that prediction is usually calculated in isolation. However, in sequential tasks—like Named Entity Recognition (NER), Scene-Text Recognition (STR), or Large Language Model (LLM) generation—tokens are not islands. They are deeply interconnected.

If a model is unsure about the first character of a word, that doubt should naturally "infect" the rest of the sequence. Yet, most current models suffer from a "blind spot": they calculate confidence for each token as if the surrounding context were perfectly certain. This leads to overconfident hallucinations and unreliable predictions. Recent research has converged on a solution: Uncertainty Transmission, a framework for allowing doubt to propagate through a sequence just as information does.

The Problem of Independent Uncertainty

Traditional uncertainty metrics evaluate the probability of a token in isolation at a specific step. This creates a fundamental mismatch in how models actually process sequences.

In a Transformer, a token’s representation is built from its neighbors via attention. If the neighbors are "noisy" or the model is uncertain about them, that uncertainty should logically flow into the target token. As Jianfeng He and Chen Feng argue in Uncertainty Estimation on Sequential Labeling via Uncertainty Transmission, ignoring this "uncertainty contagion" leads to overconfident predictions in regions of a sequence that rely on unreliable local information.

This issue is particularly acute in LLMs. When an LLM generates text, it calculates the probability of the next word conditioned on the assumption that every previous word it generated is 100% correct. Artem Vazhentsev and Alexander Panchenko describe this as a failure to account for "unconditional" truthfulness. If the model makes a small error early on, that error propagates, but the model’s internal confidence scores often remain high because they don't track the cumulative dependency between tokens.

Mechanisms for Propagating Doubt

To fix this, researchers have developed methods to "track" how uncertainty moves through the layers and steps of a model.

1. Attention-Based Dependency

In the paper Unconditional Truthfulness: Learning Conditional Dependency for Uncertainty Quantification of Large Language Models, the authors introduce TAD (Trainable Attention-based Dependency). TAD uses the model's own attention maps to identify which previous tokens are influencing the current one. By supervising this process, TAD can "lower" the perceived reliability of a token if it was heavily influenced by a previous token that had high uncertainty. This allows the model to catch hallucinations where the model is "confidently wrong" because it is building on a shaky foundation.

2. Window-Based Stability

In sequence labeling tasks like NER, a token's identity is often defined by its neighbors (e.g., "New" is only part of a location if followed by "York"). Xiaonan Li and Xipeng Qiu propose a window-based uncertainty criterion in Accelerating BERT Inference for Sequence Labeling via Early-Exit. Instead of allowing a token to "exit" the model layers early based on its own confidence, the model checks the confidence of the entire local neighborhood. This ensures that a token's representation is only finalized once the surrounding context is also stable.

3. Posterior Networks for Sequences

Jianfeng He and colleagues introduced the Sequential Labeling Posterior Network (SLPN). This architecture uses a revised self-attention mechanism specifically designed to transmit uncertainty. By modeling the posterior distribution of the entire sequence rather than individual points, the SLPN ensures that ambiguity in one part of the sequence correctly dampens the confidence of adjacent tokens.

Context-Aware Calibration

Even if a model's raw probabilities are transmitted correctly, they often need "calibration"—adjusting the scores so that a 70% confidence score actually corresponds to 70% accuracy.

In sequential tasks, calibration must also be context-aware. Shuangping Huang and Yu Luo developed Context-Aware Selective Label Smoothing (CASLS), which adjusts confidence based on the transition between tokens. For example, if a model frequently confuses "0" and "O" only when they follow a digit, CASLS builds a context-specific confusion matrix to penalize confidence in those specific scenarios.

Similarly, in Scene-Text Recognition, Ron Slossberg and Aviad Aberdam found that calibrating at the character level is insufficient. Because characters are contextually dependent, they argue in On Calibration of Scene-Text Recognition Models that models must be calibrated at the word level to provide a reliable sequence-level confidence score.

Why It Works: Intuition

The intuition behind uncertainty transmission is similar to a "house of cards." In a standard model, we check if each card is standing straight. In an uncertainty-aware model, we recognize that if the bottom card is leaning, every card above it is at risk, regardless of how straight those individual cards appear.

By modeling these dependencies—whether through attention-based tracking (TAD), neighborhood windows, or sequence-level posterior networks (SLPN)—we move away from "island-based" uncertainty toward a holistic understanding of model reliability. This results in models that are not just accurate, but "honest" about when their reasoning is built on a shaky foundation.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_uncertainty_transmission_in_sequential_m_f4ef414a,
  title = {Uncertainty Transmission in Sequential Models},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/uncertainty-transmission-in-sequential-models/rdr_f4ef414ae4334642bc10d76d6357343b},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-12-04},
}

This exact version (version 1, frozen text):

@misc{lacuna_uncertainty_transmission_in_sequential_m_f4ef414a_v1,
  title = {Uncertainty Transmission in Sequential Models},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/uncertainty-transmission-in-sequential-models/rdr_f4ef414ae4334642bc10d76d6357343b/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-12-04},
}