DCAC: 动态类感知缓存创建更强的分布外检测器
DCAC: Dynamic Class-Aware Cache Creates Stronger Out-of-Distribution Detectors
AI总结:
DCAC通过动态类感知缓存提升分布外检测性能,减少误报率
摘要:
分布外(OOD)检测仍然是深度神经网络中的基本挑战,特别是因为在测试时对未见的OOD样本产生过于自信的预测。我们揭示了一个关键见解:被预测为同一类或具有高概率的OOD样本,比真实分布内(ID)样本在视觉上更相似。受这一类特定观察的启发,我们提出了DCAC(动态类感知缓存),这是一个无需训练的测试时间校准模块,为每个ID类维护单独的缓存以收集高熵样本并校准输入样本的原始预测。DCAC通过轻量级的双层模块利用缓存的视觉特征和预测概率,以减轻对OOD样本的过度自信预测。该模块可以无缝集成到各种现有的OOD检测方法中,无论是单模态还是视觉-语言模型,同时引入极小的计算开销。在多个OOD基准上的广泛实验表明,DCAC显著增强了现有方法,实现了显著的改进,即在与ImageNet OOD基准结合使用ASH-S时,将FPR95降低了6.55%。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。