arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.04132cs.LGcs.AI
收藏

对虚假相关的鲁棒性提高了语义分布外检测

Robustness to Spurious Correlations Improves Semantic Out-of-Distribution Detection

Center for Data Science, New York University(纽约大学数据科学中心);Courant Institute of Mathematical Sciences, New York University(纽约大学库朗数学科学研究所)

Lily H. Zhang, Rajesh Ranganath

摘要:

利用预测模型的输出或特征表示的方法已经成为图像输入的分布外(OOD)检测的有前途的方法。然而,这些方法难以检测与分布中输入共享滋扰值(例如,背景)的OOD输入。在现实世界的应用中,对共享的干扰分布外(SN-00 D)输入的检测是特别相关的,因为异常和分布内输入往往在部署期间在相同的设置中被捕获。在这项工作中,我们提供了一个可能的解释SN-OOD检测失败,并提出滋扰感知OOD检测来解决这些问题。滋扰感知OOD检测替代了通过经验风险最小化和交叉熵损失训练的分类器,1。是在一个分布下训练的,其中滋扰标签关系被打破,2。产生独立于该分布下的干扰的表示,无论是边缘的还是以标签为条件的。我们可以训练一个分类器来实现这些目标,使用滋扰随机蒸馏(NuRD),一个算法开发的OOD泛化虚假相关。基于输出和特征的滋扰感知OOD检测的性能明显优于其原始对应物,即使在基于领域泛化算法的检测未能提高性能时也能成功。

英文摘要:

Methods which utilize the outputs or feature representations of predictive models have emerged as promising approaches for out-of-distribution (OOD) detection of image inputs. However, these methods struggle to detect OOD inputs that share nuisance values (e.g. background) with in-distribution inputs. The detection of shared-nuisance out-of-distribution (SN-OOD) inputs is particularly relevant in real-world applications, as anomalies and in-distribution inputs tend to be captured in the same settings during deployment. In this work, we provide a possible explanation for SN-OOD detection failures and propose nuisance-aware OOD detection to address them. Nuisance-aware OOD detection substitutes a classifier trained via empirical risk minimization and cross-entropy loss with one that 1. is trained under a distribution where the nuisance-label relationship is broken and 2. yields representations that are independent of the nuisance under this distribution, both marginally and conditioned on the label. We can train a classifier to achieve these objectives using Nuisance-Randomized Distillation (NuRD), an algorithm developed for OOD generalization under spurious correlations. Output- and feature-based nuisance-aware OOD detection perform substantially better than their original counterparts, succeeding even when detection based on domain generalization algorithms fails to improve performance.

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

↑