Lune

ICCV2023Top-tier venue

Hierarchical Visual Categories Modeling: A Joint Representation Learning and Density Estimation Framework for Out-of-Distribution Detection

Jinglun Li, Xinyu Zhou, Pinxue Guo, Yixuan Sun, Yiwen Huang, Weifeng Ge, Wenqiang Zhang

Abstract

Detecting out-of-distribution inputs for visual recognition models has become critical in safe deep learning. This paper proposes a novel hierarchical visual category modeling scheme to separate out-of-distribution data from in-distribution data through joint representation learning and statistical modeling. We learn a mixture of Gaussian models for each in-distribution category. There are many Gaussian mixture models to model different visual categories. With these Gaussian models, we design an in-distribution score function by aggregating multiple Mahalanobis-based metrics. We don’t use any auxiliary outlier data as training samples, which may hurt the generalization ability of out-of-distribution detection algorithms. We split the ImageNet-1k dataset into ten folds randomly. We use one fold as the in-distribution dataset and the others as out-of-distribution datasets to evaluate the proposed method. We also conduct experiments on seven popular benchmarks, including CIFAR, iNaturalist, SUN, Places, Textures, ImageNet-O, and OpenImage-O. Extensive experiments indicate that the proposed method outperforms state-of-the-art algorithms clearly. Meanwhile, we find that our visual representation has a competitive performance when compared with features learned by classical methods. These results demonstrate that the proposed method hasn’t weakened the discriminative ability of visual recognition models and keeps high efficiency in detecting out-of-distribution samples.

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.

3 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

  • TagOOD: A Novel Approach to Out-of-Distribution Detection via Vision-Language Representations and Class Center Learning cites Energy-based Out-of-distribution Detection
  • TagOOD: A Novel Approach to Out-of-Distribution Detection via Vision-Language Representations and Class Center Learning cites ReAct: Out-of-distribution Detection With Rectified Activations
  • TagOOD: A Novel Approach to Out-of-Distribution Detection via Vision-Language Representations and Class Center Learning cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • TagOOD: A Novel Approach to Out-of-Distribution Detection via Vision-Language Representations and Class Center Learning cites Out-of-Distribution Detection with Deep Nearest Neighbors
  • Equipping Vision Foundation Model with Mixture of Experts for Out-of-Distribution Detection cites Emerging Properties in Self-Supervised Vision Transformers
  • Equipping Vision Foundation Model with Mixture of Experts for Out-of-Distribution Detection cites Energy-based Out-of-distribution Detection
  • Equipping Vision Foundation Model with Mixture of Experts for Out-of-Distribution Detection cites ReAct: Out-of-distribution Detection With Rectified Activations
  • Equipping Vision Foundation Model with Mixture of Experts for Out-of-Distribution Detection cites Out-of-Distribution Detection with Deep Nearest Neighbors
  • Synthesizing Near-Boundary OOD Samples for Out-of-Distribution Detection cites TagOOD: A Novel Approach to Out-of-Distribution Detection via Vision-Language Representations and Class Center Learning
  • Synthesizing Near-Boundary OOD Samples for Out-of-Distribution Detection cites Energy-based Out-of-distribution Detection
  • Synthesizing Near-Boundary OOD Samples for Out-of-Distribution Detection cites ReAct: Out-of-distribution Detection With Rectified Activations
  • Synthesizing Near-Boundary OOD Samples for Out-of-Distribution Detection cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Synthesizing Near-Boundary OOD Samples for Out-of-Distribution Detection cites Out-of-Distribution Detection with Deep Nearest Neighbors
  • ReAct: Out-of-distribution Detection With Rectified Activations cites Energy-based Out-of-distribution Detection
  • Out-of-Distribution Detection with Deep Nearest Neighbors cites Energy-based Out-of-distribution Detection
  • Out-of-Distribution Detection with Deep Nearest Neighbors cites ReAct: Out-of-distribution Detection With Rectified Activations
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Equipping Vision Foundation Model with Mixture of Experts for Out-of-Distribution DetectionShizhen Zhao, Jiahui Liu, Xin Wen, Haoru Tan et al.ICCV 2025 · 3 citations
  2. Synthesizing Near-Boundary OOD Samples for Out-of-Distribution DetectionJinglun Li, Kaixun Jiang, Zhaoyu Chen, Bo Li et al.ICCV 2025 · 2 citations
  3. TagOOD: A Novel Approach to Out-of-Distribution Detection via Vision-Language Representations and Class Center LearningJinglun Li, Xinyu Zhou, Kaixun Jiang, Lingyi Hong et al.ACM MM 2024 · 1 citation

Builds on25

  1. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
  2. Emerging Properties in Self-Supervised Vision TransformersMathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou et al.ICCV 2021 · 8,921 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. ReAct: Out-of-distribution Detection With Rectified ActivationsYiyou Sun, Chuan Guo, Yixuan LiNeurIPS 2021 · 733 citations

Related papers

  1. Multiscale Score Matching for Out-of-Distribution DetectionAhsan Mahmood, Junier Oliva, Martin Andreas StynerICLR 2021 · 41 citations
  2. Improving Out-of-Distribution Detection with Disentangled Foreground and Background FeaturesChoubo Ding, Guansong PangACM MM 2024 · 1 citation
  3. Mahalanobis++: Improving OOD Detection via Feature NormalizationMaximilian Müller, Matthias HeinICML 2025
  4. MOS: Towards Scaling Out-of-Distribution Detection for Large Semantic SpaceRui Huang, Yixuan LiCVPR 2021
  5. Deep Hybrid Models for Out-of-Distribution DetectionSenqi Cao, Zhongfei ZhangCVPR 2022 · 15 citations
Dusk over the sea between two cliffs drawn in fine vertical lines