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

TTD:文本-标签自蒸馏增强CLIP中的图文对齐以缓解单标签偏差

TTD: Text-Tag Self-Distillation Enhancing Image-Text Alignment in CLIP to Alleviate Single Tag Bias

OGQ;Graduate School of AI, KAIST(韩国科学技术院人工智能研究生院);AITRICS;Massachusetts General Hospital(麻省总医院);Harvard Medical School(哈佛医学院)

Sanghyun Jo, Soohyun Ryu, Sungyub Kim, Eunho Yang, Kyungsu Kim

AI总结:

针对CLIP类模型存在的单标签偏差问题,提出文本-标签自蒸馏(TTD)两步微调方法,仅用图文对即可实现无偏图文对齐,在多标签分类和分割任务上取得优于依赖外部资源方法的模型无关提升。

摘要:

我们发现当前基于CLIP的模型存在一种关键偏差,我们将其称为单标签偏差(single tag bias)。这种偏差表现为模型过度关注单个标签(单词)而忽略其他相关标签,其根源在于CLIP的文本嵌入在图文关系中会优先考虑某一特定标签。当将文本拆解为独立标签时,往往只有一个标签与CLIP的图像嵌入具有高相关性,进而导致标签相关性存在偏差。本文提出了一种新颖的两步微调方法——文本-标签自蒸馏(Text-Tag Self-Distillation,简称TTD)来解决这一问题。TTD首先根据标签与最近像素的相似度从文本中提取与图像相关的标签,随后采用自蒸馏策略将组合掩码与文本生成的掩码对齐。该方法仅使用图文对即可保证基于CLIP的模型实现无偏图文对齐,无需额外监督。我们的技术在多标签分类和分割任务中展现出模型无关的性能提升,效果优于依赖外部资源的同类方法。代码可在https://github.com/shjo-april/TTD获取。

英文摘要:

We identify a critical bias in contemporary CLIP-based models, which we denote as single tag bias. This bias manifests as a disproportionate focus on a singular tag (word) while neglecting other pertinent tags, stemming from CLIP's text embeddings that prioritize one specific tag in image-text relationships. When deconstructing text into individual tags, only one tag tends to have high relevancy with CLIP's image embedding, leading to biased tag relevancy. In this paper, we introduce a novel two-step fine-tuning approach, Text-Tag Self-Distillation (TTD), to address this challenge. TTD first extracts image-relevant tags from text based on their similarity to the nearest pixels then employs a self-distillation strategy to align combined masks with the text-derived mask. This approach ensures the unbiased image-text alignment of the CLIP-based models using only image-text pairs without necessitating additional supervision. Our technique demonstrates model-agnostic improvements in multi-tag classification and segmentation tasks, surpassing competing methods that rely on external resources. The code is available at https://github.com/shjo-april/TTD.

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

↑