Decoupled Global-Local Alignment for Improving Compositional Understanding
该论文提出了一种名为DeGLA的框架,通过解耦全局-局部对齐来提高视觉语言模型对组合概念的理解,同时显著减少对模型一般能力的损失。
更新于 2025-04-25。作者:Xiaoxing Hu、Kaicheng Yang、Jun Wang、Haoran Xu、Ziyong Feng、Yupei Wang。
中文摘要
对比语言-图像预训练(CLIP)通过对齐图像和文本模态,在多个下游任务上取得了成功。然而,全局对比学习的性质限制了CLIP理解组合概念的能力,例如关系和属性。尽管最近的研究采用全局硬负样本来提高组合理解,但这些方法通过强制在嵌入空间中将文本负样本与图像分离,显著降低了模型固有的泛化能力。为了克服这一限制,我们引入了一种解耦全局-局部对齐(DeGLA)框架,该框架在提高组合理解的同时,显著降低了泛化能力的损失。为了优化模型固有能力的保留,我们在全局对齐过程中引入了一种自蒸馏机制,将可学习的图像-文本编码器与从指数移动平均得到的冻结教师模型对齐。在自蒸馏的约束下,它有效地缓解了在微调过程中预训练知识的灾难性遗忘。为了提高组合理解,我们首先利用大型语言模型(LLMs)的上下文学习能力,构建了约200万个高质量的负样本标题,涵盖五种类型。随后,我们提出了图像基础对比(IGC)损失和文本基础对比(TGC)损失,以增强视觉-语言组合。广泛的实验结果表明了DeGLA框架的有效性。与之前的最先进方法相比,DeGLA在VALSE、SugarCrepe和ARO基准上实现了平均3.5%的提升。同时,它在十一个数据集上的零样本分类任务上获得了平均13.0%的性能提升。我们的代码将在https://github.com/xiaoxing2001/DeGLA发布。
英文摘要
Contrastive Language-Image Pre-training (CLIP) has achieved success on multiple downstream tasks by aligning image and text modalities. However, the nature of global contrastive learning limits CLIP's ability to comprehend compositional concepts, such as relations and attributes. Although recent studies employ global hard negative samples to improve compositional understanding, these methods significantly compromise the model's inherent general capabilities by forcibly distancing textual negative samples from images in the embedding space. To overcome this limitation, we introduce a Decoupled Global-Local Alignment (DeGLA) framework that improves compositional understanding while substantially mitigating losses in general capabilities. To optimize the retention of the model's inherent capabilities, we incorporate a self-distillation mechanism within the global alignment process, aligning the learnable image-text encoder with a frozen teacher model derived from an exponential moving average. Under the constraint of self-distillation, it effectively mitigates the catastrophic forgetting of pretrained knowledge during fine-tuning. To improve compositional understanding, we first leverage the in-context learning capability of Large Language Models (LLMs) to construct about 2M high-quality negative captions across five types. Subsequently, we propose the Image-Grounded Contrast (IGC) loss and Text-Grounded Contrast (TGC) loss to enhance vision-language compositionally. Extensive experimental results demonstrate the effectiveness of the DeGLA framework. Compared to previous state-of-the-art methods, DeGLA achieves an average enhancement of 3.5% across the VALSE, SugarCrepe, and ARO benchmarks. Concurrently, it obtains an average performance improvement of 13.0% on zero-shot classification tasks across eleven datasets. Our code will be released at https://github.com/xiaoxing2001/DeGLA
解读
一句话总结
该论文提出了一种名为DeGLA的框架,通过解耦全局-局部对齐来提高视觉语言模型对组合概念的理解,同时显著减少对模型一般能力的损失。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:CLIP通过对齐图像和文本模态在多个下游任务中取得了成功,但其全局对比学习的性质限制了其对组合概念(如关系和属性)的理解能力。
- 现有方案不足:虽然最近的研究采用全局硬负样本来提高组合理解,但这些方法通过强制将文本负样本与图像在嵌入空间中分离,显著损害了模型固有的通用能力。
- 研究目标:提出DeGLA框架,在提高组合理解的同时,显著减少对模型一般能力的损失。
问题2:论文的核心创新点是什么?
- 技术创新:引入了自蒸馏机制,将可学习的图像-文本编码器与从指数移动平均中得到的冻结教师模型对齐。
- 方法改进:利用大型语言模型(LLM)生成约200万个高质量的负标题,并提出图像基对比(IGC)损失和文本基对比(TGC)损失来增强视觉语言组合理解。
- 优势:DeGLA在组合理解和一般任务上均取得了最先进的性能,在VALSE、SugarCrepe和ARO基准测试中平均提高了3.5%。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在VALSE、SugarCrepe和ARO基准测试上进行了实验,DeGLA在这些基准测试中均取得了最先进的性能。
- 性能提升:与基线方法相比,DeGLA在零样本分类任务上平均提高了13.0%。
- 对比结果:DeGLA在多个视觉语言组合推理基准测试中均优于现有方法。
问题4:这个研究的实际应用价值是什么?
- 应用场景:图像描述、对象检测、分割等视觉语言任务。
- 实施建议:使用DeGLA框架进行预训练,并在具体任务中进行微调。
- 局限与展望:DeGLA在关系和属性领域的表现仍略逊于CE-CLIP和Structure-CLIP,未来可以进一步优化负样本生成策略和局部对齐机制。