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

被字幕捕获:CLIP模型中的记忆现象及其缓解策略研究

Captured by Captions: On Memorization and its Mitigation in CLIP Models

CISPA;Georgia Institute of Technology(佐治亚理工学院)

Wenhao Wang, Adam Dziedzic, Grace C. Kim, Michael Backes, Franziska Boenisch

AI总结:

该研究针对CLIP模型记忆机制不明的问题,提出CLIPMem定义量化其记忆程度,发现其记忆介于监督与自监督范式间、文本编码器贡献更大,并提出了减记忆且提效用的新策略。

摘要:

多模态模型(如CLIP)在视觉与文本表征对齐方面表现出优异性能,在图像检索、零样本分类等任务中表现突出。尽管取得了这些成功,这类模型利用训练数据的机制,尤其是记忆的作用,仍不明确。在单模态模型中,无论是监督式还是自监督式模型,记忆都被证明对泛化至关重要。但目前尚不清楚这些发现如何适用于CLIP——该模型既通过提供类似标签监督信号的字幕融入监督学习元素,又通过对比目标融入自监督学习元素。为填补这一认知空白,我们提出了CLIP中记忆的正式定义(CLIPMem),并以此量化CLIP模型中的记忆程度。结果表明,CLIP的记忆行为介于监督范式和自监督范式之间,其中“错配字幕”样本的记忆水平最高。此外,我们发现文本编码器比图像编码器对记忆的贡献更大,这表明缓解策略应聚焦于文本领域。基于这些见解,我们提出了多种在减少记忆的同时提升效用的策略——这在传统学习范式中尚未被证实,传统范式下减少记忆通常会导致效用下降。

英文摘要:

Multi-modal models, such as CLIP, have demonstrated strong performance in aligning visual and textual representations, excelling in tasks like image retrieval and zero-shot classification. Despite this success, the mechanisms by which these models utilize training data, particularly the role of memorization, remain unclear. In uni-modal models, both supervised and self-supervised, memorization has been shown to be essential for generalization. However, it is not well understood how these findings would apply to CLIP, which incorporates elements from both supervised learning via captions that provide a supervisory signal similar to labels, and from self-supervised learning via the contrastive objective. To bridge this gap in understanding, we propose a formal definition of memorization in CLIP (CLIPMem) and use it to quantify memorization in CLIP models. Our results indicate that CLIP's memorization behavior falls between the supervised and self-supervised paradigms, with "mis-captioned" samples exhibiting highest levels of memorization. Additionally, we find that the text encoder contributes more to memorization than the image encoder, suggesting that mitigation strategies should focus on the text domain. Building on these insights, we propose multiple strategies to reduce memorization while at the same time improving utility--something that had not been shown before for traditional learning paradigms where reducing memorization typically results in utility decrease.

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

↑