arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2407.03489cs.CV
收藏

FlowCon:使用基于流的对比学习进行分布外检测

FlowCon: Out-of-Distribution Detection using Flow-Based Contrastive Learning

University of South Florida(南佛罗里达大学)

Saandeep Aathreya, Shaun Canavan

AI总结:

针对现有分布外检测方法依赖异常样本质量、训练成本高的问题,提出结合归一化流与监督对比学习的FlowCon方法,在多个视觉数据集上实现了性能提升与鲁棒性验证。

摘要:

随着深度学习方法的现实应用不断拓展,识别分布外(OOD)数据正变得愈发关键。后处理方法要么修改在异常数据上微调得到的softmax分数,要么利用中间特征层来识别分布内(ID)样本与OOD样本之间的差异化模式。其他方法则侧重于利用多样化的OOD样本学习ID与OOD之间的差异。然而,这些技术通常依赖于所假设的异常样本的质量。基于密度的方法会显式建模类别条件分布,但这需要较长的训练时间,或是需要重新训练分类器。为解决这些问题,我们提出了FlowCon——一种全新的基于密度的OOD检测技术。我们的核心创新在于将归一化流的特性与监督对比学习高效结合,在实现可处理的密度估计的同时确保鲁棒的表征学习。实验评估表明,在以ResNet18和WideResNet分类器预训练的CIFAR-10、CIFAR-100等常见视觉数据集上,我们的方法性能有所提升。我们还通过似然图开展了定量分析,并借助UMAP嵌入进行了定性可视化,验证了所提方法在多种OOD场景下的鲁棒性。代码将在录用决定公布后开源。

英文摘要:

Identifying Out-of-distribution (OOD) data is becoming increasingly critical as the real-world applications of deep learning methods expand. Post-hoc methods modify softmax scores fine-tuned on outlier data or leverage intermediate feature layers to identify distinctive patterns between In-Distribution (ID) and OOD samples. Other methods focus on employing diverse OOD samples to learn discrepancies between ID and OOD. These techniques, however, are typically dependent on the quality of the outlier samples assumed. Density-based methods explicitly model class-conditioned distributions but this requires long training time or retraining the classifier. To tackle these issues, we introduce \textit{FlowCon}, a new density-based OOD detection technique. Our main innovation lies in efficiently combining the properties of normalizing flow with supervised contrastive learning, ensuring robust representation learning with tractable density estimation. Empirical evaluation shows the enhanced performance of our method across common vision datasets such as CIFAR-10 and CIFAR-100 pretrained on ResNet18 and WideResNet classifiers. We also perform quantitative analysis using likelihood plots and qualitative visualization using UMAP embeddings and demonstrate the robustness of the proposed method under various OOD contexts. Code will be open-sourced post decision.

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

↑