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

通过多模态表征的跨模态对齐增强分布外(OoD)检测

Enhanced OoD Detection through Cross-Modal Alignment of Multi-Modal Representations

Seoul National University of Science and Technology(首尔科学技术大学)

Jeonghyeon Kim, Sangheum Hwang

AI总结:

针对现有多模态OoDD方法微调不充分的问题,提出通过正则化分布内数据图文嵌入距离增强跨模态对齐的训练目标,结合事后方法实现了最优OoDD性能与领先的分布内准确率。

摘要:

以往关于分布外检测(OoDD)的研究主要聚焦于单模态模型。近年来,随着CLIP等大规模预训练视觉语言模型的出现,涌现出通过零样本和提示学习策略利用此类多模态表征的OoDD方法。然而,这些方法通常要么冻结预训练权重,要么仅对其进行部分微调,这对于下游数据集而言可能并非最优。在本文中,我们强调多模态微调(MMFT)能够实现显著的OoDD性能。尽管近期已有部分研究证明了微调方法对OoDD的作用,但性能仍有很大的提升空间。我们探究了朴素微调方法的局限性,分析了其未能充分利用预训练知识的原因。我们的实证分析表明,这一问题可能源于分布内(ID)嵌入中的模态间隙。为解决该问题,我们提出了一种训练目标,通过正则化ID数据的图像与文本嵌入之间的距离来增强跨模态对齐。这一调整通过将不同模态(即文本和图像)的相似语义在超球面表征空间中对齐得更紧密,有助于更好地利用预训练文本信息。我们从理论上证明,所提出的正则化对应于超球面上基于能量的模型的最大似然估计。利用ImageNet-1k OoD基准数据集,我们表明我们的方法与利用预训练知识的事后OoDD方法(例如NegLabel)相结合,显著优于现有方法,实现了当前最优的OoDD性能和领先的ID准确率。

英文摘要:

Prior research on out-of-distribution detection (OoDD) has primarily focused on single-modality models. Recently, with the advent of large-scale pretrained vision-language models such as CLIP, OoDD methods utilizing such multi-modal representations through zero-shot and prompt learning strategies have emerged. However, these methods typically involve either freezing the pretrained weights or only partially tuning them, which can be suboptimal for downstream datasets. In this paper, we highlight that multi-modal fine-tuning (MMFT) can achieve notable OoDD performance. Despite some recent works demonstrating the impact of fine-tuning methods for OoDD, there remains significant potential for performance improvement. We investigate the limitation of naïve fine-tuning methods, examining why they fail to fully leverage the pretrained knowledge. Our empirical analysis suggests that this issue could stem from the modality gap within in-distribution (ID) embeddings. To address this, we propose a training objective that enhances cross-modal alignment by regularizing the distances between image and text embeddings of ID data. This adjustment helps in better utilizing pretrained textual information by aligning similar semantics from different modalities (i.e., text and image) more closely in the hyperspherical representation space. We theoretically demonstrate that the proposed regularization corresponds to the maximum likelihood estimation of an energy-based model on a hypersphere. Utilizing ImageNet-1k OoD benchmark datasets, we show that our method, combined with post-hoc OoDD approaches leveraging pretrained knowledge (e.g., NegLabel), significantly outperforms existing methods, achieving state-of-the-art OoDD performance and leading ID accuracy.

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

↑