English

CoBIT: A Contrastive Bi-directional Image-Text Generation Model

Computer Vision and Pattern Recognition 2023-03-24 v1 Computation and Language

Abstract

The field of vision and language has witnessed a proliferation of pre-trained foundation models. Most existing methods are independently pre-trained with contrastive objective like CLIP, image-to-text generative objective like PaLI, or text-to-image generative objective like Parti. However, the three objectives can be pre-trained on the same data, image-text pairs, and intuitively they complement each other as contrasting provides global alignment capacity and generation grants fine-grained understanding. In this work, we present a Contrastive Bi-directional Image-Text generation model (CoBIT), which attempts to unify the three pre-training objectives in one framework. Specifically, CoBIT employs a novel unicoder-decoder structure, consisting of an image unicoder, a text unicoder and a cross-modal decoder. The image/text unicoders can switch between encoding and decoding in different tasks, enabling flexibility and shared knowledge that benefits both image-to-text and text-to-image generations. CoBIT achieves superior performance in image understanding, image-text understanding (Retrieval, Captioning, VQA, SNLI-VE) and text-based content creation, particularly in zero-shot scenarios. For instance, 82.7% in zero-shot ImageNet classification, 9.37 FID score in zero-shot text-to-image generation and 44.8 CIDEr in zero-shot captioning.

Keywords

Cite

@article{arxiv.2303.13455,
  title  = {CoBIT: A Contrastive Bi-directional Image-Text Generation Model},
  author = {Haoxuan You and Mandy Guo and Zhecan Wang and Kai-Wei Chang and Jason Baldridge and Jiahui Yu},
  journal= {arXiv preprint arXiv:2303.13455},
  year   = {2023}
}

Comments

14 pages, 5 figures

R2 v1 2026-06-28T09:30:30.901Z