Epistemic Uncertainty Quantification for Pre-trained VLMs via Riemannian Flow Matching
Li Ju, Mayank Nautiyal, Andreas Hellander, Ekta Vats, Prashant Singh
TL;DR
This paper addresses the lack of intrinsic epistemic uncertainty in pre-trained Vision-Language Models by proposing REPVLM, a manifold-native density estimator on the embedding hypersphere. By extending Riemannian Flow Matching to a unified conditional model, REPVLM learns modality-conditioned embedding distributions and computes exact log-likelihoods via a continuity equation, providing a principled epistemic-uncertainty score U_ep = -log p(z|c). Empirically, REPVLM shows near-perfect correlation between uncertainty and prediction error and robust performance for out-of-distribution detection and data curation, while maintaining computational efficiency relative to ensemble methods. The work thus offers a scalable, intrinsic mechanism to quantify model confidence in VLMs, with clear implications for selective classification and reliable deployment in real-world settings.
Abstract
Vision-Language Models (VLMs) are typically deterministic in nature and lack intrinsic mechanisms to quantify epistemic uncertainty, which reflects the model's lack of knowledge or ignorance of its own representations. We theoretically motivate negative log-density of an embedding as a proxy for the epistemic uncertainty, where low-density regions signify model ignorance. The proposed method REPVLM computes the probability density on the hyperspherical manifold of the VLM embeddings using Riemannian Flow Matching. We empirically demonstrate that REPVLM achieves near-perfect correlation between uncertainty and prediction error, significantly outperforming existing baselines. Beyond classification, we also demonstrate that the model also provides a scalable metric for out-of-distribution detection and automated data curation.
