arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.08023cs.CV

AdaSCALE:适应性缩放用于异常检测

AdaSCALE: Adaptive Scaling for OOD Detection

Department of Computer Science, Dartmouth College(计算机科学系,达特茅斯学院)

Sudarshan Regmi

AI总结:

AdaSCALE通过自适应缩放提升异常检测性能,优于OptFS 14.94%和21.67%。

摘要:

深度学习模型识别样本是否超出其学习分布的能力对于安全可靠部署至关重要。最近最先进的异常检测(OOD)方法利用激活形状来提高分布内(ID)和异常分布(OOD)输入之间的分离度。这些方法依赖于样本特定的缩放,但应用一个静态百分位阈值到所有样本,无论其性质如何,导致ID-OOD分离度不理想。在本文中,我们提出AdaSCALE,一种自适应缩放过程,该过程根据样本估计的异常检测可能性动态调整百分位阈值。这种估计利用我们的关键观察:异常样本在小扰动下在高幅度激活处表现出显著更明显的激活位移,相比分布内样本。AdaSCALE使可能为分布内样本的缩放更强,可能为异常样本的缩放更弱,从而产生高度分离的能量分数。我们的方法在ImageNet-1k基准上八个多样本架构上,平均FPR@95指标上,在近异常和远异常数据集上分别优于最新竞争对手OptFS 14.94%和21.67%。代码可在:https://github.com/sudarshanregmi/AdaSCALE/

英文摘要:

The ability of the deep learning model to recognize when a sample falls outside its learned distribution is critical for safe and reliable deployment. Recent state-of-the-art out-of-distribution (OOD) detection methods leverage activation shaping to improve the separation between in-distribution (ID) and OOD inputs. These approaches resort to sample-specific scaling but apply a static percentile threshold across all samples regardless of their nature, resulting in suboptimal ID-OOD separability. In this work, we propose \textbf{AdaSCALE}, an adaptive scaling procedure that dynamically adjusts the percentile threshold based on a sample's estimated OOD likelihood. This estimation leverages our key observation: OOD samples exhibit significantly more pronounced activation shifts at high-magnitude activations under minor perturbation compared to ID samples. AdaSCALE enables stronger scaling for likely ID samples and weaker scaling for likely OOD samples, yielding highly separable energy scores. Our approach achieves state-of-the-art OOD detection performance, outperforming the latest rival OptFS by 14.94% in near-OOD and 21.67% in far-OOD datasets in average FPR@95 metric on the ImageNet-1k benchmark across eight diverse architectures. The code is available at: https://github.com/sudarshanregmi/AdaSCALE/

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑