Dynamic Distribution-Aware Uncertainty Tracking in Vision-Language Representation Learning

Ao Zhou, Zhiwei Jiang, Zifeng Cheng, Cong Wang, Shufan Yang, Haoru Chen, Qing GuarXiv 2026

TL;DR

Post-hoc uncertainty quantification (UQ) for Vision-Language Models (VLMs) typically relies on static mappings that fail when deployed under distribution shifts. This paper introduces DDA-UQ, a lightweight framework that models the VLM embedding space using a dynamic Gaussian Mixture Model to track uncertainty based on a sample's relative position within the data distribution. By updating these distribution statistics on the fly during inference, DDA-UQ achieves state-of-the-art reliability and robustness across domain shifts without requiring expensive model retraining.

What Problem Does This Paper Address?

Large-scale pretrained Vision-Language Models (VLMs) like CLIP excel at zero-shot tasks, but they are notoriously prone to overconfident mispredictions. To deploy them safely in critical areas like autonomous driving or medical diagnosis, we need reliable Uncertainty Quantification (UQ) to flag when a model is likely wrong.

Existing "post-hoc" UQ methods are popular because they don't require retraining the massive base model. However, they typically learn a static mapping from embeddings to risk scores based purely on the training (source) distribution. When the test data shifts—such as moving from natural photos to sketches, cartoons, or corrupted images—these static boundaries break down. As a result, the model fails to generalize, often outputting high uncertainty scores across the board regardless of actual prediction correctness.

Figure 1: The SOTA post-hoc approach (e.g., ViLU) suffers from a significant limitation in generalization capability.

Methods

The authors propose Dynamic Distribution-Aware Uncertainty Quantification (DDA-UQ). Instead of evaluating a sample in isolation, DDA-UQ models the VLM's embedding space as a Gaussian Mixture Model (GMM) with a shared covariance matrix across classes.

From this GMM, the framework extracts two distinct types of "distributional evidence" for any given sample:

  1. Distributional Typicality ($E_{\text{den}}$): Measured using negative log-likelihood (NLL) to assess how well a sample fits into the overall learned data manifold, effectively flagging global out-of-distribution outliers.
  2. Aleatoric Ambiguity ($E_{\text{amb}}$): Measured via the entropy of the classification posterior to determine if a sample lies near overlapping decision boundaries between classes.
Figure 2: Framework overview. We model VLM outputs as a Gaussian mixture distribution updated with incoming streams. Extracted evidence is fused with visual embeddings and conditioned via a lightweight network to optimize uncertainty prediction using cross-entropy loss.

These metrics form an evidence vector that passes through a gating network to dynamically recalibrate the visual features channel-wise. A two-layer MLP then predicts the final scalar uncertainty score.

Training & Inference Updates: * During training, rigid 0/1 hard labels (correct/incorrect) are replaced with semantic-aware soft targets derived from the GDA distribution, preventing over-penalization of semantically plausible errors. * During inference, the framework operates in an online adaptive mode. It continuously updates the GMM's sufficient statistics (means and covariances) using unlabeled incoming test data via an Exponential Moving Average (EMA), enabling fully unsupervised test-time adaptation.

Datasets

The authors evaluated their approach across a wide variety of benchmarks:

  • Standard image-label benchmarks: Caltech101, FGVCAircraft, StanfordCars, SUN397, and UCF101.
  • Distribution shift benchmarks: ImageNet-1K, ImageNet-R, ImageNet-C, CIFAR-10, CIFAR-10-C, CIFAR-100, and CIFAR-100-C.
  • Multi-label datasets: VOC 2007, MS-COCO, and NUS-WIDE.
  • Out-of-Distribution (OOD) datasets: DTD, SVHN, and Places365 (using ImageNet-1K as the in-distribution baseline).

Key Insights and Ideas

  • Location Matters Over Isolation: Uncertainty shouldn't be a fixed function of a single embedding vector. It depends heavily on where that vector sits relative to the evolving statistical geometry of the feature manifold.
  • Unsupervised Adaptation via Sufficient Statistics: By updating only the GMM's parameters during inference while keeping the prediction head frozen, the model adapts to distribution shifts in real-time without expensive gradient-based optimization.
  • Soft Labels Prevent Over-Penalization: Incorporating semantic severity into the training labels (e.g., confusing a lynx with a fox is less severe than confusing it with a car) provides dense, continuous gradient signals that accelerate convergence and improve calibration.

Key Results

  • Standard Benchmarks: DDA-UQ outperforms the previous state-of-the-art method (ViLU) on fine-grained tasks like FGVCAircraft, boosting the Area Under the ROC Curve (AUC) from 81.7% to 85.9%.
  • Robustness to Distribution Shifts: On ImageNet-C (heavy image corruption), while ViLU's performance drops significantly to an AUC of 73.4%, DDA-UQ (Adaptation) maintains a high AUC of 86.3% and slashes the False Positive Rate (FPR95) from 86.3% to 58.9%.
  • Backbone Agnostic: The method demonstrates excellent generalization across multiple VLM architectures (CLIP B/16, CLIP B/32, CLIP RN50, SigLIP, and SigLIP2), consistently achieving the highest AUC and lowest FPR95.
Figure 3: Generalization performance of different methods across five vision backbones.

Limitations and Future Work

  • The Gaussian Assumption: The framework relies on the assumption that class-conditional embeddings can be reasonably approximated by multivariate Gaussians. While the authors demonstrate that CLIP embeddings cluster well on low-dimensional semantic manifolds, highly complex, multi-modal, or non-convex distributions might challenge this assumption.
  • Shared Covariance Simplification: To avoid computational and storage overhead on high-dimensional datasets (like ImageNet-1K), the authors use a shared covariance matrix across all classes, which might discard fine-grained class-specific shape information.
  • Future Directions: The authors suggest extending this dynamic distribution tracking beyond classification and retrieval to generative vision-language tasks, such as visual question answering (VQA) or image captioning.

Summary updated

BibTeX
@misc{zhou2026dynamic,
  author = {Ao Zhou and Zhiwei Jiang and Zifeng Cheng and Cong Wang and Shufan Yang and Haoru Chen and Qing Gu},
  title = {{Dynamic Distribution-Aware Uncertainty Tracking in Vision-Language Representation Learning}},
  year = {2026},
  eprint = {2608.09011},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.09011},
}
Figure