催化剂:通过弹性缩放进行分布外检测
Catalyst: Out-of-Distribution Detection via Elastic Scaling
AI总结:
本文提出Catalyst框架,通过利用预池化特征图的原始通道统计信息,改进分布外检测的性能,显著降低误报率。
摘要:
分布外(OOD)检测对于深度神经网络的安全部署至关重要。最先进的事后方法通常通过全局平均池化(GAP)获得输出logits或penultimate特征向量来推导OOD分数。我们主张这种仅依赖logit或特征向量的做法忽略了丰富的互补信号:预池化特征图的原始通道统计信息。在本文中,我们引入了Catalyst,一种利用这些未充分探索信号的后处理框架。Catalyst通过这些原始统计信息(例如均值、标准差和最大激活)实时计算输入依赖的缩放因子(γ)。然后将此γ与现有基线分数相乘,进行弹性缩放,以推动ID和OOD分布更远。我们证明Catalyst是一个通用的框架:它无缝集成到logit-based方法(如Energy、ReAct、SCALE)中,并且对基于距离的检测器如KNN有显著提升。结果,Catalyst在CIFAR-10(ResNet-18)上将平均误报率降低了32.87%,在CIFAR-100(ResNet-18)上降低了27.94%,在ImageNet(ResNet-50)上降低了22.25%。我们的结果突显了预池化统计信息的潜力,并证明了Catalyst与现有OOD检测方法的互补性。我们的代码可在此处获取:https://github.com/bingabid/Catalyst
英文摘要:
Out-of-distribution (OOD) detection is critical for the safe deployment of deep neural networks. State-of-the-art post-hoc methods typically derive OOD scores from the output logits or penultimate feature vector obtained via global average pooling (GAP). We contend that this exclusive reliance on the logit or feature vector discards a rich, complementary signal: the raw channel-wise statistics of the pre-pooling feature map lost in GAP. In this paper, we introduce Catalyst, a post-hoc framework that exploits these under-explored signals. Catalyst computes an input-dependent scaling factor ($γ$) on-the-fly from these raw statistics (e.g., mean, standard deviation, and maximum activation). This $γ$ is then fused with the existing baseline score, multiplicatively modulating it -- an $\textit{elastic scaling}$ -- to push the ID and OOD distributions further apart. We demonstrate Catalyst is a generalizable framework: it seamlessly integrates with logit-based methods (e.g., Energy, ReAct, SCALE) and also provides a significant boost to distance-based detectors like KNN. As a result, Catalyst achieves substantial and consistent performance gains, reducing the average False Positive Rate by 32.87 on CIFAR-10 (ResNet-18), 27.94% on CIFAR-100 (ResNet-18), and 22.25% on ImageNet (ResNet-50). Our results highlight the untapped potential of pre-pooling statistics and demonstrate that Catalyst is complementary to existing OOD detection approaches. Our code is available here: https://github.com/bingabid/Catalyst
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。