Decoupled Global-Local Alignment for Improving Compositional Understanding
Preprint
Abstract
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/DeGLAKeywords
All Related Versions
This publication has 40 references indexed in Scilit:
- The Hard Positive Truth About Vision-Language Compositionality2024
- SemiVL: Semi-Supervised Semantic Segmentation with Vision-Language Guidance2024
- Open-Vocabulary DETR with Conditional Matching2022
- Simple Open-Vocabulary Object Detection2022
- SLIP: Self-supervision Meets Language-Image Pre-training2022
- Winoground: Probing Vision and Language Models for Visio-Linguistic Compositionality2022
- Deep visual-semantic alignments for generating image descriptions2015
- Describing Textures in the Wild2014
- SUN database: Large-scale scene recognition from abbey to zoo2010
- Learning Generative Visual Models from Few Training Examples: An Incremental Bayesian Approach Tested on 101 Object Categories2005