# Beyond Raw Similarity: Prior-Aware Fusion for Out-of-Distribution Detection

arXiv: https://arxiv.org/abs/2611.18692 · HTML: https://mlsanity.com/paper/2611.18692/

## Key facts

- No citing papers in the map yet (data through 24 Nov 2026).
- Placed in Prompt learning and adaptation of CLIP, one of 16 directions in Multimodal LLMs / vision-language models.
- Builds on 13 of its 19 references that are in the map.
- Submitted 4 Nov 2026.

## Placed in

- Multimodal LLMs / vision-language models / [Prompt learning and adaptation of CLIP](https://mlsanity.com/mllm/prompt-learning-and-adaptation-of-clip/)

## Builds on (most cited first, 13 of 13)

- [Learning Transferable Visual Models From Natural Language Supervision](https://mlsanity.com/paper/2103.00020/) (2021)
- [A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networks](https://mlsanity.com/paper/1610.02136/) (2016)
- [A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attacks](https://mlsanity.com/paper/1807.03888/) (2018)
- [Energy-based Out-of-distribution Detection](https://mlsanity.com/paper/2010.03759/) (2020)
- [Delving into Out-of-Distribution Detection with Vision-Language Representations](https://mlsanity.com/paper/2211.13445/) (2022)
- [Input complexity and out-of-distribution detection with likelihood-based generative models](https://mlsanity.com/paper/1909.11480/) (2019)
- [Zero-Shot Out-of-Distribution Detection Based on the Pre-trained Model CLIP](https://mlsanity.com/paper/2109.02748/) (2021)
- [CLIPN for Zero-Shot OOD Detection: Teaching CLIP to Say No](https://mlsanity.com/paper/2308.12213/) (2023)
- [ATOM: Robustifying Out-of-distribution Detection Using Outlier Mining](https://mlsanity.com/paper/2006.15207/) (2020)
- [POEM: Out-of-Distribution Detection with Posterior Sampling](https://mlsanity.com/paper/2206.13687/) (2022)
- [LoCoOp: Few-Shot Out-of-Distribution Detection via Prompt Learning](https://mlsanity.com/paper/2306.01293/) (2023)
- [Escaping the SpuriVerse: Can Large Vision-Language Models Generalize Beyond Seen Spurious Correlations?](https://mlsanity.com/paper/2506.18322/) (2025)
- [Handling Out-of-Distribution Data: A Survey](https://mlsanity.com/paper/2507.21160/) (2025)

## Abstract (arXiv)

Out-of-distribution (OOD) detection in vision-language models presents unique challenges due to the reliance on cross-modal similarity. Even when embeddings are well separated for in-distribution (ID) data, similarity scores can remain overconfident for OOD inputs. A common remedy is to adapt the model on ID data, but adaptation discards the pretrained geometry that made the similarity meaningful. We propose multi-modal logit fusion (MM-Log), which keeps both by pairing a gradient-free zero-shot prior with a task-adapted branch in each modality and fuses their four cross-modal similarity channels into a single OOD score. Because the zero-shot priors are never adapted, the cross-channels act as a consistency check between the pretrained and adapted geometries: an OOD input that fools the adapted branch through a shortcut must additionally agree with frozen CLIP to retain a high score. We formalize this as a margin bound showing that the fused score is provably penalized by disagreement between the zero-shot and adapted branches, a signal to which adapted-only scores are structurally blind. MM-Log requires no auxiliary OOD data, negative prompts, or test-time adaptation, and trains on few-shot ID data alone. Across Far-OOD, Near-OOD, and Hard-OOD benchmarks, MM-Log consistently outperforms strong CLIP-based baselines.
