X$^2$-VLM: All-In-One Pre-trained Model For Vision-Language Tasks

Yan Zeng, Xinsong Zhang, Hang Li, Jiawei Wang, Jipeng Zhang +1 more
11/22/2022
35 citations
cs.CVcs.CL

Official code: zengyan-97/X2-VLM (172 stars, Python, BSD-3-Clause, last commit 2024-08-22).

Abstract

Vision language pre-training aims to learn alignments between vision and language from a large amount of data. Most existing methods only learn image-text alignments.

Show full abstract

Some others utilize pre-trained object detectors to leverage vision language alignments at the object level. In this paper, we propose to learn multi-grained vision language alignments by a unified pre-training framework that learns multi-grained aligning and multi-grained localization simultaneously. Based on it, we present X$^2$-VLM, an all-in-one model with a flexible modular architecture, in which we further unify image-text pre-training and video-text pre-training in one model. X$^2$-VLM is able to learn unlimited visual concepts associated with diverse text descriptions. Experiment results show that X$^2$-VLM performs the best on base and large scale for both image-text and video-text tasks, making a good trade-off between performance and model scale. Moreover, we show that the modular design of X$^2$-VLM results in high transferability for it to be utilized in any language or domain. For example, by simply replacing the text encoder with XLM-R, X$^2$-VLM outperforms state-of-the-art multilingual multi-modal pre-trained models without any multilingual pre-training. The code and pre-trained models are available at https://github.com/zengyan-97/X2-VLM.

View on arXivView PDF

Code Implementations(1)

zengyan-97/X2-VLMOfficial100%
BSD-3-Clause

All-In-One VLM: Image + Video + Transfer to Other Languages / Domains (TPAMI 2023)

17214PythonNov 21, 20222 years agoBSD-3-Clause
vision-and-language

Similar Papers

Cite this paper

@article{zeng2022xvlm,
  title  = {X$^2$-VLM: All-In-One Pre-trained Model For Vision-Language Tasks},
  author = {Yan Zeng and Xinsong Zhang and Hang Li and Jiawei Wang and Jipeng Zhang and Wangchunshu Zhou},
  year   = {2022},
  eprint = {2211.12402},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.12402}
}

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

Discussion