Advancing Compositional Awareness in CLIP with Efficient Fine-Tuning
Amit Peleg, Naman Deep Singh, Matthias Hein
TL;DR
This work tackles the limited compositional understanding of vision-language models like CLIP by introducing CLIC, a lightweight fine-tuning method that uses concatenated image-caption inputs to generate diverse positives and hard negatives without relying on large LLMs. Through a fused objective—contrastive CLIP loss over multiple positives, a dedicated hard-negative loss, and a uni-modal invariance loss—CLIC improves both lexical and semantic compositionality and yields retrieval gains across architectures and pre-training regimes. Experiments show that CLIC achieves state-of-the-art results on SugarCrepe++ and strengthens image- and text-retrieval benchmarks, while preserving zero-shot classification performance and extending benefits to larger models such as CLIPS and LLaVA when integrated with a CLIC vision encoder. The approach is data-efficient, model-agnostic, and scalable, offering practical improvements for downstream VLM tasks and providing a pathway to more robust multimodal reasoning in large-scale systems.
Abstract
Vision-language models like CLIP have demonstrated remarkable zero-shot capabilities in classification and retrieval. However, these models often struggle with compositional reasoning - the ability to understand the relationships between concepts. A recent benchmark, SugarCrepe++, reveals that previous works on improving compositionality have mainly improved lexical sensitivity but neglected semantic understanding. In addition, downstream retrieval performance often deteriorates, although one would expect that improving compositionality should enhance retrieval. In this work, we introduce CLIC (Compositionally-aware Learning in CLIP), a fine-tuning method based on a novel training technique combining multiple images and their associated captions. CLIC improves compositionality across architectures as well as differently pre-trained CLIP models, both in terms of lexical and semantic understanding, and achieves consistent gains in retrieval performance. This even applies to the recent CLIPS, which achieves SOTA retrieval performance. Nevertheless, the short fine-tuning with CLIC leads to an improvement in retrieval and to the best compositional CLIP model on SugarCrepe++. All our models and code are available at https://clic-compositional-clip.github.io
