Enhancing Vision-Language Model with Unmasked Token Alignment

Jihao Liu, Jinliang Zheng, Boxiao Liu, Yu Liu, Hongsheng Li
5/29/2024
cs.CV

Official code: jihaonew/UTA (11 stars, MIT, last commit 2024-05-30).

Abstract

Contrastive pre-training on image-text pairs, exemplified by CLIP, becomes a standard technique for learning multi-modal visual-language representations. Although CLIP has demonstrated remarkable performance, training it from scratch on noisy web-scale datasets is computationally demanding. On the other hand, mask-then-predict pre-training approaches, like Masked Image Modeling (MIM), offer efficient self-supervised learning for single-modal representations. This paper introduces Unmasked Token Alignment (UTA), a method that leverages existing CLIP models to further enhance its vision-language representations. UTA trains a Vision Transformer (ViT) by aligning unmasked visual tokens to the corresponding image tokens from a frozen CLIP vision encoder, which automatically aligns the ViT model with the CLIP text encoder. The pre-trained ViT can be directly applied for zero-shot evaluation even without training on image-text pairs. Compared to MIM approaches, UTA does not suffer from training-finetuning inconsistency and is much more training-efficient by avoiding using the extra [MASK] tokens. Extensive experimental results demonstrate that UTA can enhance CLIP models and outperform existing MIM methods on various uni- and multi-modal benchmarks. Code and models are available at https://github.com/jihaonew/UTA.

View on arXivView PDF

Code Implementations(1)

jihaonew/UTAOfficial100%
MIT

Enhancing Vision-Language Model with Unmasked Token Alignment (TMLR)

111PythonMay 28, 20242 years agoMIT

Cite this paper

@article{liu2024enhancing,
  title  = {Enhancing Vision-Language Model with Unmasked Token Alignment},
  author = {Jihao Liu and Jinliang Zheng and Boxiao Liu and Yu Liu and Hongsheng Li},
  year   = {2024},
  eprint = {2405.19009},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.19009v2}
}

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/2405.19009.svg)](https://codeofpaper.com/paper/2405.19009)

Discussion