Preserving Multi-Modal Capabilities of Pre-trained VLMs for Improving Vision-Linguistic Compositionality

Youngtaek Oh, Jae Won Cho, Dong-Jin Kim, In So Kweon, Junmo Kim
10/7/2024
cs.CVcs.AIcs.CL

Official code: ytaek-oh/fsc-clip (22 stars, last commit 2024-10-08).

Abstract

In this paper, we propose a new method to enhance compositional understanding in pre-trained vision and language models (VLMs) without sacrificing performance in zero-shot multi-modal tasks. Traditional fine-tuning approaches often improve compositional reasoning at the cost of degrading multi-modal capabilities, primarily due to the use of global hard negative (HN) loss, which contrasts global representations of images and texts. This global HN loss pushes HN texts that are highly similar to the original ones, damaging the model's multi-modal representations. To overcome this limitation, we propose Fine-grained Selective Calibrated CLIP (FSC-CLIP), which integrates local hard negative loss and selective calibrated regularization. These innovations provide fine-grained negative supervision while preserving the model's representational integrity. Our extensive evaluations across diverse benchmarks for both compositionality and multi-modal tasks show that FSC-CLIP not only achieves compositionality on par with state-of-the-art models but also retains strong multi-modal capabilities. Code is available at: https://github.com/ytaek-oh/fsc-clip.

View on arXivView PDF

Code Implementations(1)

ytaek-oh/fsc-clipOfficial100%

[EMNLP 2024] Preserving Multi-Modal Capabilities of Pre-trained VLMs for Improving Vision-Linguistic Compositionality

220Shell, PythonSep 20, 20242 years agoNOASSERTION
compositionalityimage-text-retrievalvision-language-modelszero-shot-classification

Similar Papers

Cite this paper

@article{oh2024preserving,
  title  = {Preserving Multi-Modal Capabilities of Pre-trained VLMs for Improving Vision-Linguistic Compositionality},
  author = {Youngtaek Oh and Jae Won Cho and Dong-Jin Kim and In So Kweon and Junmo Kim},
  year   = {2024},
  eprint = {2410.05210},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.05210v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.05210.svg)](https://codeofpaper.com/paper/2410.05210)

Discussion