arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1910.08650cs.LGcs.CVstat.ML
收藏

分布外集的判别方法

Toward Metrics for Differentiating Out-of-Distribution Sets

Université Laval(拉瓦尔大学);Oregon State University(俄勒冈州立大学)

Mahdieh Abbasi, Changjian Shui, Arezoo Rajabi, Christian Gagne, Rakesh Bobba

摘要:

Vanilla CNN作为未校准的分类器,其对分布外(OOD)样本的分类几乎与分布内样本一样自信。为了应对这一挑战,最近的一些工作已经证明了利用可用的OOD集来训练端到端校准CNN的好处。然而,在这些工作中,一个关键的问题仍然没有得到回答:如何区分OOD集,以选择最有效的一个(或多个),从而在看不见的OOD集上以高检测率训练这种CNN?为了解决这个关键问题,我们提供了一个基于增强CNN的泛化误差的标准,增强CNN是一个普通的CNN,在分布和看不见的OOD集上增加了一个用于拒绝的额外类。然而,通过直接优化该标准来选择最有效的OOD集合会产生巨大的计算成本。相反,我们提出了三种新的计算效率的度量区分OOD集根据其“保护”水平的分布子流形。我们根据经验验证,根据我们的指标选择的最具保护性的OOD集导致A-CNN的泛化误差显著低于在最不具保护性的OOD集上训练的A-CNN。我们还从经验上证明了保护性OOD集对于训练广义置信度校准的香草CNN的有效性。这些结果证实:1)所有OOD集对于训练性能良好的端到端模型并不同样有效(即,A-CNN和校准的CNN)用于OOD检测任务,2)OOD集的保护水平是识别最有效的一个可行因素。最后,在整个图像分类任务中,我们展示了在最具保护性的OOD集上训练的A-CNN也可以检测到黑盒FGS对抗性示例,因为它们的距离(由我们的指标测量)与受保护的子流形的距离越来越大。

英文摘要:

Vanilla CNNs, as uncalibrated classifiers, suffer from classifying out-of-distribution (OOD) samples nearly as confidently as in-distribution samples. To tackle this challenge, some recent works have demonstrated the gains of leveraging available OOD sets for training end-to-end calibrated CNNs. However, a critical question remains unanswered in these works: how to differentiate OOD sets for selecting the most effective one(s) that induce training such CNNs with high detection rates on unseen OOD sets? To address this pivotal question, we provide a criterion based on generalization errors of Augmented-CNN, a vanilla CNN with an added extra class employed for rejection, on in-distribution and unseen OOD sets. However, selecting the most effective OOD set by directly optimizing this criterion incurs a huge computational cost. Instead, we propose three novel computationally-efficient metrics for differentiating between OOD sets according to their "protection" level of in-distribution sub-manifolds. We empirically verify that the most protective OOD sets -- selected according to our metrics -- lead to A-CNNs with significantly lower generalization errors than the A-CNNs trained on the least protective ones. We also empirically show the effectiveness of a protective OOD set for training well-generalized confidence-calibrated vanilla CNNs. These results confirm that 1) all OOD sets are not equally effective for training well-performing end-to-end models (i.e., A-CNNs and calibrated CNNs) for OOD detection tasks and 2) the protection level of OOD sets is a viable factor for recognizing the most effective one. Finally, across the image classification tasks, we exhibit A-CNN trained on the most protective OOD set can also detect black-box FGS adversarial examples as their distance (measured by our metrics) is becoming larger from the protected sub-manifolds.

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

↑