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

通用多模态分布外检测框架

General-Purpose Multi-Modal OOD Detection Framework

College of William and Mary(威廉玛丽学院);College of Control Science and Engineering(控制科学与工程学院);Zhejiang University(浙江大学);School of Computer Science(计算机学院);Department of Computer Science(计算机系)

Viet Duong, Qiong Wu, Zhengyi Zhou, Eric Zavesky, Jiahe Chen, Xiangzhou Liu, Wen-Ling Hsu, Huajie Shao

AI总结:

本文提出通用弱监督多模态OOD检测框架WOOD,结合二分类器与对比学习并采用Hinge损失和新型评分度量,在多种真实场景中同时实现高精度OOD检测。

摘要:

分布外(OOD)检测用于识别与训练数据不同的测试样本,这对于确保机器学习(ML)系统的安全性和可靠性至关重要。尽管已有大量方法被开发用于检测单模态OOD样本,但只有少数工作关注多模态OOD检测。当前基于对比学习的方法主要研究这样一种场景:给定图像及其对应的文本描述都来自一个新域。然而,机器学习系统在真实世界部署中可能面临由传感器故障、恶劣天气和环境变化等多种因素引起的更多异常场景。因此,本工作的目标是以细粒度方式同时检测多种不同的OOD场景。为实现这一目标,我们提出了一个通用的弱监督OOD检测框架,称为WOOD,该框架结合了二分类器和对比学习组件,以兼取两者之长。为了更好地区分分布内(ID)样本和OOD样本的潜在表示,我们采用Hinge损失来约束它们之间的相似性。此外,我们开发了一种新的评分度量,用于整合来自二分类器和对比学习的预测结果,以识别OOD样本。我们在多个真实世界数据集上评估了所提出的WOOD模型,实验结果表明,WOOD模型在多模态OOD检测方面优于最先进的方法。重要的是,我们的方法能够在三种不同的OOD场景下同时实现高精度的OOD检测。源代码将在论文发表后公开提供。

英文摘要:

Out-of-distribution (OOD) detection identifies test samples that differ from the training data, which is critical to ensuring the safety and reliability of machine learning (ML) systems. While a plethora of methods have been developed to detect uni-modal OOD samples, only a few have focused on multi-modal OOD detection. Current contrastive learning-based methods primarily study multi-modal OOD detection in a scenario where both a given image and its corresponding textual description come from a new domain. However, real-world deployments of ML systems may face more anomaly scenarios caused by multiple factors like sensor faults, bad weather, and environmental changes. Hence, the goal of this work is to simultaneously detect from multiple different OOD scenarios in a fine-grained manner. To reach this goal, we propose a general-purpose weakly-supervised OOD detection framework, called WOOD, that combines a binary classifier and a contrastive learning component to reap the benefits of both. In order to better distinguish the latent representations of in-distribution (ID) and OOD samples, we adopt the Hinge loss to constrain their similarity. Furthermore, we develop a new scoring metric to integrate the prediction results from both the binary classifier and contrastive learning for identifying OOD samples. We evaluate the proposed WOOD model on multiple real-world datasets, and the experimental results demonstrate that the WOOD model outperforms the state-of-the-art methods for multi-modal OOD detection. Importantly, our approach is able to achieve high accuracy in OOD detection in three different OOD scenarios simultaneously. The source code will be made publicly available upon publication.

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

↑