arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.03502cs.LGstat.ML
收藏

无标签数据如何可证明地帮助分布外检测?

How Does Unlabeled Data Provably Help Out-of-Distribution Detection?

University of Wisconsin-Madison(威斯康星大学麦迪逊分校);University of Technology Sydney(悉尼科技大学);Australian Artificial Intelligence Institute(澳大利亚人工智能研究所)

Xuefeng Du, Zhen Fang, Ilias Diakonikolas, Yixuan Li

AI总结:

本文提出SAL框架,通过分离无标签数据中的候选异常值并训练OOD分类器,从理论和实证两方面证明无标签数据可有效提升分布外检测性能。

摘要:

使用无标签数据来正则化机器学习模型,在提高检测分布外(OOD)数据的安全性和可靠性方面已显示出前景。利用无标签的野外数据并非易事,因为分布内(ID)和OOD数据都存在异质性。缺乏一组干净的OOD样本对学习最优OOD分类器构成了重大挑战。目前,关于无标签数据如何帮助OOD检测的正式研究尚属空白。本文通过引入一个新的学习框架SAL(分离与学习)来填补这一空白,该框架既提供了强大的理论保证,又具有实证有效性。该框架从无标签数据中分离出候选异常值,然后使用候选异常值和有标签的ID数据训练OOD分类器。理论上,我们从可分离性和可学习性的角度提供了严格的误差界,正式证明了我们算法中两个组件的合理性。我们的理论表明,SAL能够以较小的错误率分离候选异常值,这为学习到的OOD分类器提供了泛化保证。实证上,SAL在常见基准上取得了最先进的性能,强化了我们的理论见解。代码公开于https://github.com/deeplearning-wisc/sal。

英文摘要:

Using unlabeled data to regularize the machine learning models has demonstrated promise for improving safety and reliability in detecting out-of-distribution (OOD) data. Harnessing the power of unlabeled in-the-wild data is non-trivial due to the heterogeneity of both in-distribution (ID) and OOD data. This lack of a clean set of OOD samples poses significant challenges in learning an optimal OOD classifier. Currently, there is a lack of research on formally understanding how unlabeled data helps OOD detection. This paper bridges the gap by introducing a new learning framework SAL (Separate And Learn) that offers both strong theoretical guarantees and empirical effectiveness. The framework separates candidate outliers from the unlabeled data and then trains an OOD classifier using the candidate outliers and the labeled ID data. Theoretically, we provide rigorous error bounds from the lens of separability and learnability, formally justifying the two components in our algorithm. Our theory shows that SAL can separate the candidate outliers with small error rates, which leads to a generalization guarantee for the learned OOD classifier. Empirically, SAL achieves state-of-the-art performance on common benchmarks, reinforcing our theoretical insights. Code is publicly available at https://github.com/deeplearning-wisc/sal.

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

↑