Lune

KDD2025Top-tier venue

Distributional Prototype Learning for Out-of-distribution Detection

Bo Peng, Jie Lu, Yonggang Zhang, Guangquan Zhang, Zhen Fang

Abstract

Out-of-distribution (OOD) detection has emerged as a pivotal approach for enhancing the reliability of machine learning models, considering the potential for test data to be sampled from classes disparate from in-distribution (ID) data employed during model training. Detecting those OOD data is typically realized as a distance measurement problem, where those deviating far away from the training distribution in the learned feature space are considered OOD samples. Advanced works have shown great success in learning with prototypes for feature-based OOD detection methods, where each ID class is represented with single or multiple prototypes. However, modeling with a finite number of prototypes would fail to maximally capture intra-class variations. In view of this, this paper extends the existing prototype-based learning paradigm to an infinite setting. This motivates us to design two feasible formulations for the Distributional Prototype Learning (DPL) objective, where, to avoid intractable computation and exploding parameters caused by the infinity nature, our key idea is to model an infinite number of discrete prototypes of each ID class with a class-wise continuous distribution. We theoretically analyze both alternatives, identifying the more stable-converging version of the learning objective. We show that, by sampling prototypes from a mixture of class-conditioned Gaussian distributions, the objective can be efficiently computed in a closed form without resorting to the computationally expensive Monte-Carlo approximation of the involved expectation terms. Extensive evaluations across mainstream OOD detection benchmarks empirically manifest that our proposed DPL has established a new state-of-the-art in various OOD settings.

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.

9 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

  • ConjNorm: Tractable Density Estimation for Out-of-Distribution Detection cites Energy-based Out-of-distribution Detection
  • ConjNorm: Tractable Density Estimation for Out-of-Distribution Detection cites Out-of-Distribution Detection with Deep Nearest Neighbors
  • ConjNorm: Tractable Density Estimation for Out-of-Distribution Detection cites Supervised Contrastive Learning
  • ConjNorm: Tractable Density Estimation for Out-of-Distribution Detection cites CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instances
  • Delving into Spectral Clustering with Vision-Language Representations cites ConjNorm: Tractable Density Estimation for Out-of-Distribution Detection
  • Delving into Spectral Clustering with Vision-Language Representations cites On the Provable Importance of Gradients for Autonomous Language-Assisted Image Clustering
  • Delving into Spectral Clustering with Vision-Language Representations cites An Information-theoretical Framework for Understanding Out-of-distribution Detection with Pretrained Vision-Language Models
  • On the Provable Importance of Gradients for Autonomous Language-Assisted Image Clustering cites ConjNorm: Tractable Density Estimation for Out-of-Distribution Detection
  • MiraGe: Multimodal Discriminative Representation Learning for Generalizable AI-Generated Image Detection cites ConjNorm: Tractable Density Estimation for Out-of-Distribution Detection
  • MiraGe: Multimodal Discriminative Representation Learning for Generalizable AI-Generated Image Detection cites Supervised Contrastive Learning
  • An Information-theoretical Framework for Understanding Out-of-distribution Detection with Pretrained Vision-Language Models cites ConjNorm: Tractable Density Estimation for Out-of-Distribution Detection
  • An Information-theoretical Framework for Understanding Out-of-distribution Detection with Pretrained Vision-Language Models cites On the Provable Importance of Gradients for Autonomous Language-Assisted Image Clustering
  • An Information-theoretical Framework for Understanding Out-of-distribution Detection with Pretrained Vision-Language Models cites Energy-based Out-of-distribution Detection
  • An Information-theoretical Framework for Understanding Out-of-distribution Detection with Pretrained Vision-Language Models cites A Simple Framework for Contrastive Learning of Visual Representations
  • An Information-theoretical Framework for Understanding Out-of-distribution Detection with Pretrained Vision-Language Models cites Out-of-Distribution Detection with Deep Nearest Neighbors
  • 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
  • Out-of-Distribution Detection with Deep Nearest Neighbors cites Supervised Contrastive Learning
  • Supervised Contrastive Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instances cites A Simple Framework for Contrastive Learning of Visual Representations
  • CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instances cites Supervised Contrastive Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. ConjNorm: Tractable Density Estimation for Out-of-Distribution DetectionBo Peng, Yadan Luo, Yonggang Zhang, Yixuan Li et al.ICLR 2024 · 26 citations
  2. An Information-theoretical Framework for Understanding Out-of-distribution Detection with Pretrained Vision-Language ModelsBo Peng, Jie Lu, Guangquan Zhang, Zhen FangNeurIPS 2025 · 9 citations
  3. Delving into Spectral Clustering with Vision-Language RepresentationsBo Peng, Yuanwei Hu, Bo Liu, Ling Chen et al.ICLR 2026 · 5 citations
  4. On the Provable Importance of Gradients for Autonomous Language-Assisted Image ClusteringBo Peng, Jie Lu, Guangquan Zhang, Zhen FangICCV 2025 · 5 citations
  5. MiraGe: Multimodal Discriminative Representation Learning for Generalizable AI-Generated Image DetectionKuo Shi, Jie Lu, Shanshan Ye, Guangquan Zhang et al.ACM MM 2025 · 3 citations

Builds on33

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. Supervised Contrastive LearningPrannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna et al.NeurIPS 2020 · 7,049 citations
  3. Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 citations
  4. Out-of-Distribution Detection with Deep Nearest NeighborsYiyou Sun, Yifei Ming, Xiaojin Zhu, Yixuan LiICML 2022 · 789 citations
  5. CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted InstancesJihoon Tack, Sangwoo Mo, Jongheon Jeong, Jinwoo ShinNeurIPS 2020 · 755 citations

Related papers

  1. Learning with Mixture of Prototypes for Out-of-Distribution DetectionHaodong Lu, Dong Gong, Shuo Wang, Jason Xue et al.ICLR 2024 · 55 citations
  2. Learning to Shape In-distribution Feature Space for Out-of-distribution DetectionYonggang Zhang, Jie Lu, Bo Peng, Zhen Fang et al.NeurIPS 2024 · 33 citations
  3. DPU: Dynamic Prototype Updating for Multimodal Out-of-Distribution DetectionShawn Li, Huixian Gong, Hao Dong, Tiankai Yang et al.CVPR 2025
  4. Multi-Class Data Description for Out-of-distribution DetectionDongha Lee, Sehun Yu, Hwanjo YuKDD 2020 · 22 citations
  5. YolOOD: Utilizing Object Detection Concepts for Multi-Label Out-of-Distribution DetectionAlon Zolfi, Guy Amit, Amit Baras, Satoru Koda et al.CVPR 2024 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines