arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2503.06442cs.CVcs.MM
收藏

OT-DETECTOR:深入研究用于零样本分布外检测的最优传输

OT-DETECTOR: Delving into Optimal Transport for Zero-shot Out-of-Distribution Detection

School of Computer Science and Engineering(计算机科学与工程学院);Centre for Smart Health(智能健康中心)

Yu Liu, Hao Tang, Haiqi Zhang, Jing Qin, Zechao Li

AI总结:

针对现有零样本OOD检测方法仅关注语义匹配、未充分捕捉分布差异的问题,提出基于最优传输的OT-DETECTOR框架及SaCR模块,在多基准上实现了SOTA性能,尤其在难例OOD场景表现优异。

摘要:

分布外(OOD)检测对于确保机器学习模型在实际应用中的可靠性和安全性至关重要。尽管随着CLIP等视觉语言模型的出现,无需在分布内(ID)数据上训练的零样本OOD检测已成为可能,但现有方法主要关注语义匹配,未能充分捕捉分布差异。为解决这些局限,我们提出OT-DETECTOR,这是一种采用最优传输(OT)量化测试样本与ID标签之间语义和分布差异的新型框架。具体而言,我们引入跨模态传输质量和传输成本,分别作为语义维度和分布维度的OOD分数,从而实现更鲁棒的OOD样本检测。此外,我们提出语义感知内容精炼(SaCR)模块,利用ID标签的语义线索放大ID与难例OOD样本之间的分布差异。在多个基准上的大量实验表明,OT-DETECTOR在各类OOD检测任务中取得了最优性能,尤其在具有挑战性的难例OOD场景中表现突出。

英文摘要:

Out-of-distribution (OOD) detection is crucial for ensuring the reliability and safety of machine learning models in real-world applications. While zero-shot OOD detection, which requires no training on in-distribution (ID) data, has become feasible with the emergence of vision-language models like CLIP, existing methods primarily focus on semantic matching and fail to fully capture distributional discrepancies. To address these limitations, we propose OT-DETECTOR, a novel framework that employs Optimal Transport (OT) to quantify both semantic and distributional discrepancies between test samples and ID labels. Specifically, we introduce cross-modal transport mass and transport cost as semantic-wise and distribution-wise OOD scores, respectively, enabling more robust detection of OOD samples. Additionally, we present a semantic-aware content refinement (SaCR) module, which utilizes semantic cues from ID labels to amplify the distributional discrepancy between ID and hard OOD samples. Extensive experiments on several benchmarks demonstrate that OT-DETECTOR achieves state-of-the-art performance across various OOD detection tasks, particularly in challenging hard-OOD scenarios.

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

↑