Lune

NeurIPS2025Top-tier venue

An Information-theoretical Framework for Understanding Out-of-distribution Detection with Pretrained Vision-Language Models

Bo Peng, Jie Lu, Guangquan Zhang, Zhen Fang

Abstract

Out-of-distribution (OOD) detection, recognized for its ability to identify samples of unknown classes, provides solid advantages in ensuring the reliability of machine learning models. Among existing OOD detection methods, pre-trained vision-language models have emerged as powerful post-hoc OOD detectors by leveraging textual and visual information. Despite the empirical success, there still remains a lack of research on a formal understanding of their effectiveness. This paper bridges the gap by theoretically demonstrating that existing CLIP-based post-hoc methods effectively perform a stochastic estimation of the point-wise mutual information (PMI) between the input image and each in-distribution label. This estimation is then utilized to construct energy functions for modeling in-distribution distributions. Different from prior methods that inherently consider PMI estimation as a whole task, we, motivated by the divide-and-conquer philosophy, decompose PMI estimation into multiple easier sub-tasks by applying the chain rule of PMI, which not only reduces the estimation complexity but also provably increases the estimation upper bound to reduce the underestimation bias. Extensive evaluations across mainstream benchmarks empirically manifest that our method establishes a new state-of-the-art in a variety of OOD detection setups.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Delving into Spectral Clustering with Vision-Language Representations cites Explainable LLM Unlearning through Reasoning
  • Delving into Spectral Clustering with Vision-Language Representations cites Learning Transferable Visual Models From Natural Language Supervision
  • Debiased Negative Mining Improves Out-of-distribution Detection with Pre-trained Vision-Language Models cites Energy-based Out-of-distribution Detection
  • Debiased Negative Mining Improves Out-of-distribution Detection with Pre-trained Vision-Language Models cites Out-of-Distribution Detection with Deep Nearest Neighbors
  • Debiased Negative Mining Improves Out-of-distribution Detection with Pre-trained Vision-Language Models cites Learning Transferable Visual Models From Natural Language Supervision
  • Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere cites A Simple Framework for Contrastive Learning of Visual Representations
  • Respecting Modality Gap in Post-hoc Out-of-distribution Detection with Pre-trained Vision-Language Models cites Delving into Spectral Clustering with Vision-Language Representations
  • Respecting Modality Gap in Post-hoc Out-of-distribution Detection with Pre-trained Vision-Language Models cites Debiased Negative Mining Improves Out-of-distribution Detection with Pre-trained Vision-Language Models
  • Respecting Modality Gap in Post-hoc Out-of-distribution Detection with Pre-trained Vision-Language Models cites Energy-based Out-of-distribution Detection
  • Respecting Modality Gap in Post-hoc Out-of-distribution Detection with Pre-trained Vision-Language Models cites Explainable LLM Unlearning through Reasoning
  • Respecting Modality Gap in Post-hoc Out-of-distribution Detection with Pre-trained Vision-Language Models cites Out-of-Distribution Detection with Deep Nearest Neighbors
  • Respecting Modality Gap in Post-hoc Out-of-distribution Detection with Pre-trained Vision-Language Models cites Learning Transferable Visual Models From Natural Language Supervision
  • Out-of-Distribution Detection with Deep Nearest Neighbors cites Energy-based Out-of-distribution Detection
  • Out-of-Distribution Detection with Deep Nearest Neighbors cites A Simple Framework for Contrastive Learning of Visual Representations
  • Learning Transferable Visual Models From Natural Language Supervision cites A Simple Framework for Contrastive Learning of Visual Representations
  • Activation Matters: Test-time Activated Negative Labels for OOD Detection with Vision-Language Models cites Energy-based Out-of-distribution Detection
  • Activation Matters: Test-time Activated Negative Labels for OOD Detection with Vision-Language Models cites Out-of-Distribution Detection with Deep Nearest Neighbors
  • Activation Matters: Test-time Activated Negative Labels for OOD Detection with Vision-Language Models cites Learning Transferable Visual Models From Natural Language Supervision
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Explainable LLM Unlearning through ReasoningJunfeng Liao, Qizhou Wang, Shanshan Ye, Xin Yu et al.ICLR 2026 · 8 citations
  2. Delving into Spectral Clustering with Vision-Language RepresentationsBo Peng, Yuanwei Hu, Bo Liu, Ling Chen et al.ICLR 2026 · 5 citations
  3. Activation Matters: Test-time Activated Negative Labels for OOD Detection with Vision-Language ModelsYabin Zhang, Maya Varma, Yunhe Gao, Jean-Benoit Delbrouck et al.CVPR 2026 · 2 citations
  4. Debiased Negative Mining Improves Out-of-distribution Detection with Pre-trained Vision-Language ModelsBo Peng, Jie Lu, Guangquan Zhang, Zhen FangKDD 2026 · 1 citation
  5. Respecting Modality Gap in Post-hoc Out-of-distribution Detection with Pre-trained Vision-Language ModelsYuanwei Hu, Bo Peng, Yadan Luo, zhen fang et al.ICML 2026

Builds on39

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  3. Understanding Contrastive Representation Learning through Alignment and Uniformity on the HypersphereTongzhou Wang, Phillip IsolaICML 2020 · 2,360 citations
  4. Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 citations
  5. Out-of-Distribution Detection with Deep Nearest NeighborsYiyou Sun, Yifei Ming, Xiaojin Zhu, Yixuan LiICML 2022 · 789 citations

Related papers

  1. Negative Label Guided OOD Detection with Pretrained Vision-Language ModelsXue Jiang, Feng Liu, Zhen Fang, Hong Chen et al.ICLR 2024 · 73 citations
  2. A Close Look at Negative Label Guided Out-of-distribution Detection in Pre-trained Vision-Language ModelsBo Peng, Jie Lu, zhen fang, Guangquan ZhangICML 2026
  3. Envisioning Outlier Exposure by Large Language Models for Out-of-Distribution DetectionChentao Cao, Zhun Zhong, Zhanke Zhou, Yang Liu et al.ICML 2024 · 34 citations
  4. Enhanced OoD Detection through Cross-Modal Alignment of Multi-Modal RepresentationsJeonghyeon Kim, Sangheum HwangCVPR 2025
  5. FA: Forced Prompt Learning of Vision-Language Models for Out-of-Distribution DetectionXinhua Lu, Runhe Lai, Yanqi Wu, Kanghao Chen et al.ICCV 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines