DCAC: Dynamic Class-Aware Cache Creates Stronger Out-of-Distribution Detectors
Yanqi Wu, Qichao Chen, Runhe Lai, Xinhua Lu, Jia-Xin Zhuang, Zhilin Zhao, Weishi Zheng, Ruixuan Wang
摘要
Out-of-distribution (OOD) detection remains a fundamental challenge for deep neural networks, particularly due to overconfident predictions on unseen OOD samples during testing. We reveal a key insight: OOD samples predicted as the same class, or given high probabilities for it, are visually more similar to each other than to the true in-distribution (ID) samples. Motivated by this class-specific observation, we propose DCAC (Dynamic Class-Aware Cache), a training-free, test-time calibration module that maintains separate caches for each ID class to collect high-entropy samples and calibrate the raw predictions of input samples. DCAC leverages cached visual features and predicted probabilities through a lightweight two-layer module to mitigate overconfident predictions on OOD samples. This module can be seamlessly integrated with various existing OOD detection methods across both unimodal and vision-language models while introducing minimal computational overhead. Extensive experiments on multiple OOD benchmarks demonstrate that DCAC significantly enhances existing methods, achieving substantial improvements, i.e., reducing FPR95 by 6.55% when integrated with ASH-S on ImageNet OOD benchmark.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- ReAct: Out-of-distribution Detection With Rectified Activations 引用了 Energy-based Out-of-distribution Detection
- Open-Set Recognition: A Good Closed-Set Classifier is All You Need 引用了 Energy-based Out-of-distribution Detection
- TTL: Test-time Textual Learning for OOD Detection with Pretrained Vision-Language Models 引用了 Energy-based Out-of-distribution Detection
- TTL: Test-time Textual Learning for OOD Detection with Pretrained Vision-Language Models 引用了 Scaling Out-of-Distribution Detection for Real-World Settings
- TTL: Test-time Textual Learning for OOD Detection with Pretrained Vision-Language Models 引用了 ReAct: Out-of-distribution Detection With Rectified Activations
- TTL: Test-time Textual Learning for OOD Detection with Pretrained Vision-Language Models 引用了 Open-Set Recognition: A Good Closed-Set Classifier is All You Need
- TTL: Test-time Textual Learning for OOD Detection with Pretrained Vision-Language Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
引用它的顶会 Paper1
它引用的 Paper28
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
- Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 次引用
- ReAct: Out-of-distribution Detection With Rectified ActivationsYiyou Sun, Chuan Guo, Yixuan LiNeurIPS 2021 · 733 次引用
- Scaling Out-of-Distribution Detection for Real-World SettingsDan Hendrycks, Steven Basart, Mantas Mazeika, Andy Zou 等ICML 2022 · 653 次引用
- Open-Set Recognition: A Good Closed-Set Classifier is All You NeedSagar Vaze, Kai Han, Andrea Vedaldi, Andrew ZissermanICLR 2022 · 594 次引用
相关 Paper
- Distance-aware Calibration for Pre-trained Language ModelsAlberto Gasparin, Gianluca DetommasoEMNLP Findings 2024 · 2 次引用
- Enhancing the Power of OOD Detection via Sample-Aware Model SelectionFeng Xue, Zi He, Yuan Zhang, Chuanlong Xie 等CVPR 2024 · 3 次引用
- OODD: Test-time Out-of-Distribution Detection with Dynamic DictionaryYifeng Yang, Lin Zhu, Zewen Sun, Hengyu Liu 等CVPR 2025
- CADRef: Robust Out-of-Distribution Detection via Class-Aware Decoupled Relative Feature LeveragingZhiwei Ling, Yachen Chang, Hailiang Zhao, Xinkui Zhao 等CVPR 2025
- Detecting Out-of-distribution Data through In-distribution Class PriorXue Jiang, Feng Liu, Zhen Fang, Hong Chen 等ICML 2023 · 33 次引用
