Abstract
Vision-Language Models (VLMs) typically map images and text to deterministic points in a shared embedding space, ignoring the inherent ambiguity of natural language. We present AsymVLM, a post-hoc adapter that introduces reliable uncertainty quantification by modeling the asymmetric relationship between abstract text and concrete images. By leveraging hyperspherical distributions—specifically von Mises-Fisher and Power Spherical distributions—to respect the geometry of normalized VLM embeddings, AsymVLM significantly improves cross-modal retrieval and out-of-distribution detection. Our approach demonstrates that treating text as a distribution and images as points enhances model calibration and performance on "none-of-the-above" classification tasks without requiring expensive retraining of the foundation model.
Introduction
Modern Vision-Language Models (VLMs) like CLIP or BLIP have revolutionized cross-modal understanding by mapping images and text into a shared latent space. However, these models are fundamentally deterministic; they represent complex data as single coordinates. This approach fails to account for aleatoric uncertainty—the irreducible ambiguity inherent in data.
Natural language is inherently abstract. A prompt such as "a dog" can describe an infinite variety of images, whereas a specific image is a concrete instance. Existing probabilistic methods often overlook two critical factors:
- Symmetry Bias: They treat text and images identically, ignoring the one-to-many mapping from text to image.
- Geometric Mismatch: They model uncertainty in flat Euclidean space, despite VLM embeddings being normalized to a unit hypersphere.
AsymVLM addresses these gaps by introducing an asymmetric, hypersphere-aware probabilistic framework.
Methodology
AsymVLM is designed as a lightweight, post-hoc adapter. The original VLM encoders remain frozen, while a small "Text Adaptor" (a four-layer MLP) is introduced to transform deterministic text embeddings into probability distributions.
Asymmetric Modeling
The core innovation lies in treating the modality relationship as asymmetric. While images are treated as deterministic points, text embeddings are modeled as distributions. This reflects the "Abstraction Gap": text represents concepts (abstract), while images represent specific tokens (concrete).
Hyperspherical Distributions
To remain faithful to the geometry of the embedding space, AsymVLM utilizes directional distributions—the von Mises-Fisher (vMF) and Power Spherical (PS) distributions—rather than standard Gaussians. This ensures the model stays "native" to the hypersphere, leading to more stable training and better alignment compared to Euclidean approximations.
Probabilistic InfoNCE and Uncertainty
The model is trained using a modified Probabilistic InfoNCE loss, which maximizes the log-likelihood of a correct image falling within the predicted text distribution. Uncertainty is quantified via the concentration parameter ($\kappa$). A low $\kappa$ indicates a wide, uncertain distribution (e.g., for abstract prompts), while a high $\kappa$ indicates a sharp, specific distribution.
Experimental Setup
The model was evaluated on several standard benchmarks:
- Retrieval: MS-COCO and Flickr-30k for image-caption alignment.
- Abstraction Testing: HierarCap, which features four levels of caption abstraction, was used to verify if the model correctly assigns higher uncertainty to more general descriptions.
- Zero-Shot Classification: CIFAR-10/100, STL-10, and ImageNet-1K were used for "none-of-the-above" rejection tests.
Results and Discussion
Superior Retrieval and Reliability
AsymVLM consistently outperformed existing baselines like ProbVLM and BayesVLM in both Image-to-Text (I2T) and Text-to-Image (T2I) retrieval. Crucially, it demonstrated monotonic reliability: as the model's predicted uncertainty increased, its performance (Recall@1) dropped strictly and predictably. This makes the uncertainty score a trustworthy proxy for model confidence in real-world deployments.
"None-of-the-Above" Mastery
In zero-shot tasks requiring the model to reject images that do not fit any known category, AsymVLM showed a dramatic improvement over standard VLMs. Using a dummy prompt to represent the "unknown" class, AsymVLM achieved approximately 58% rejection accuracy, compared to just ~1% for the base CLIP model.
Robustness to Fine-Tuning
Unlike standard deterministic fine-tuning, which often leads to the "catastrophic forgetting" of a model's original zero-shot capabilities, the probabilistic adapter approach of AsymVLM preserved the original VLM's knowledge much more effectively.
Conclusion
AsymVLM demonstrates that acknowledging the asymmetric nature of vision and language is key to reliable uncertainty quantification. By respecting the hyperspherical geometry of the embedding space and modeling text as a distribution, the framework provides a scalable way to make deterministic VLMs "self-aware" of their own limitations. Future work may explore extending this asymmetry to include image-side uncertainty arising from factors like motion blur or occlusion.
Summary updated