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

通过自适应对比学习的通用新颖性检测

Universal Novelty Detection Through Adaptive Contrastive Learning

Sharif University of Technology(谢里夫理工大学);Okinawa Institute of Science and Technology(冲绳科学技术大学院大学)

Hossein Mirzaei, Mojtaba Nafez, Mohammad Jafari, Mohammad Bagher Soltani, Mohammad Azizmalayeri, Jafar Habibi, Mohammad Sabokrou, Mohammad Hossein Rohban

AI总结:

针对现有新颖性检测方法因僵化归纳偏置而缺乏通用性的问题,提出基于对比学习与概率性自动负对生成方法AutoAugOOD的自适应框架,在多种分布偏移和设置下展现优越性能。

摘要:

新颖性检测是在开放世界中部署机器学习模型的一项关键任务。新颖性检测方法的一个关键属性是通用性,这可以解释为在训练或测试数据的各种分布上的泛化能力。更准确地说,对于新颖性检测,分布偏移可能发生在训练集或测试集中。训练集中的偏移指的是我们在新数据集上训练新颖性检测器并期望其具有强迁移性的情况。相反,测试集中的分布偏移则表明当训练好的模型遇到偏移的测试样本时方法的性能。我们通过实验表明,现有方法在维持通用性方面存在不足,这源于它们僵硬的归纳偏置。受此启发,我们旨在寻求具有更可适应归纳偏置的更通用技术。在此背景下,我们利用对比学习提供了一个高效框架,通过适当选择增强来形成负对,从而轻松切换和适应新的归纳偏置。我们提出了一种新颖的概率性自动负对生成方法AutoAugOOD,结合对比学习,以产生一个通用的新颖性检测方法。我们的实验证明了我们的方法在不同图像基准数据集的不同分布偏移下的优越性。值得注意的是,我们的方法在适应不同新颖性检测设置(包括单类、未标记多类和标记多类设置)方面展现出通用性。代码:https://github.com/mojtaba-nafez/UNODE

英文摘要:

Novelty detection is a critical task for deploying machine learning models in the open world. A crucial property of novelty detection methods is universality, which can be interpreted as generalization across various distributions of training or test data. More precisely, for novelty detection, distribution shifts may occur in the training set or the test set. Shifts in the training set refer to cases where we train a novelty detector on a new dataset and expect strong transferability. Conversely, distribution shifts in the test set indicate the methods' performance when the trained model encounters a shifted test sample. We experimentally show that existing methods falter in maintaining universality, which stems from their rigid inductive biases. Motivated by this, we aim for more generalized techniques that have more adaptable inductive biases. In this context, we leverage the fact that contrastive learning provides an efficient framework to easily switch and adapt to new inductive biases through the proper choice of augmentations in forming the negative pairs. We propose a novel probabilistic auto-negative pair generation method AutoAugOOD, along with contrastive learning, to yield a universal novelty detector method. Our experiments demonstrate the superiority of our method under different distribution shifts in various image benchmark datasets. Notably, our method emerges universality in the lens of adaptability to different setups of novelty detection, including one-class, unlabeled multi-class, and labeled multi-class settings. Code: https://github.com/mojtaba-nafez/UNODE

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

↑