arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.09158cs.LG
收藏

用一个蛋糕喂两只鸟:利用野数据实现分布外泛化和检测

Feed Two Birds with One Scone: Exploiting Wild Data for Both Out-of-Distribution Generalization and Detection

Institute for Foundations of Data Science, University of Wisconsin, Madison(数据科学基础研究院,威斯康星大学麦迪逊分校);Department of Computer Sciences, University of Wisconsin, Madison(计算机科学系,威斯康星大学麦迪逊分校);Department of Electrical and Computer Engineering, University of Wisconsin, Madison(电气与计算机工程系,威斯康星大学麦迪逊分校)

Haoyue Bai, Gregory Canal, Xuefeng Du, Jeongyeol Kwon, Robert Nowak, Yixuan Li

AI总结:

本文提出一种统一框架,通过利用野数据同时实现分布外泛化和检测,优于专门针对泛化或检测的基线方法。

摘要:

现代部署在现实中的机器学习模型可能会遇到协变量和语义偏移,从而引发分布外(OOD)泛化和分布外检测问题。尽管这两个问题近年来受到广泛关注,但它们通常被独立研究。这可能并不令人意外,因为这两个任务似乎有冲突的目标。本文提供了一种新的统一方法,能够同时泛化协变量偏移并稳健地检测语义偏移。我们提出了一种基于边界的学习框架,利用野外自由可用的未标记数据,在协变量和语义偏移下捕捉环境测试时间的OOD分布。我们通过实证和理论证明,所提出的边界约束是实现OOD泛化和检测的关键。广泛的实验显示了我们框架的优势,其性能优于专门针对OOD泛化或检测的基线方法。代码可在https://github.com/deeplearning-wisc/scone上公开获取。

英文摘要:

Modern machine learning models deployed in the wild can encounter both covariate and semantic shifts, giving rise to the problems of out-of-distribution (OOD) generalization and OOD detection respectively. While both problems have received significant research attention lately, they have been pursued independently. This may not be surprising, since the two tasks have seemingly conflicting goals. This paper provides a new unified approach that is capable of simultaneously generalizing to covariate shifts while robustly detecting semantic shifts. We propose a margin-based learning framework that exploits freely available unlabeled data in the wild that captures the environmental test-time OOD distributions under both covariate and semantic shifts. We show both empirically and theoretically that the proposed margin constraint is the key to achieving both OOD generalization and detection. Extensive experiments show the superiority of our framework, outperforming competitive baselines that specialize in either OOD generalization or OOD detection. Code is publicly available at https://github.com/deeplearning-wisc/scone.

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

↑