GIT: A Generative Image-to-text Transformer for Vision and Language
JianFeng Wang, Zhengyuan Yang, Xiaowei Hu, Linjie Li, Kevin Lin, Zhe Gan, Zicheng Liu, Ce Liu, Lijuan Wang
Code Available — Be the first to reproduce this paper.
ReproduceCode
- github.com/microsoft/GenerativeImage2TextOfficialIn paperpytorch★ 579
Abstract
In this paper, we design and train a Generative Image-to-text Transformer, GIT, to unify vision-language tasks such as image/video captioning and question answering. While generative models provide a consistent network architecture between pre-training and fine-tuning, existing work typically contains complex structures (uni/multi-modal encoder/decoder) and depends on external modules such as object detectors/taggers and optical character recognition (OCR). In GIT, we simplify the architecture as one image encoder and one text decoder under a single language modeling task. We also scale up the pre-training data and the model size to boost the model performance. Without bells and whistles, our GIT establishes new state of the arts on 12 challenging benchmarks with a large margin. For instance, our model surpasses the human performance for the first time on TextCaps (138.2 vs. 125.5 in CIDEr). Furthermore, we present a new scheme of generation-based image classification and scene text recognition, achieving decent performance on standard benchmarks. Codes are released at https://github.com/microsoft/GenerativeImage2Text.
Tasks
Benchmark Results
| Dataset | Model | Metric | Claimed | Verified | Status |
|---|---|---|---|---|---|
| COCO Captions | GIT | BLEU-4 | 44.1 | — | Unverified |
| nocaps entire | GIT, Single Model | CIDEr | 123.39 | — | Unverified |
| nocaps in-domain | GIT, Single Model | CIDEr | 122.4 | — | Unverified |
| nocaps in-domain | GIT2, Single Model | CIDEr | 124.18 | — | Unverified |
| nocaps near-domain | GIT2, Single Model | CIDEr | 125.51 | — | Unverified |
| nocaps near-domain | GIT, Single Model | CIDEr | 123.92 | — | Unverified |
| nocaps out-of-domain | GIT2, Single Model | CIDEr | 122.27 | — | Unverified |
| nocaps out-of-domain | GIT, Single Model | CIDEr | 122.04 | — | Unverified |
| nocaps-XD entire | GIT | CIDEr | 123.39 | — | Unverified |
| nocaps-XD entire | GIT2 | CIDEr | 124.77 | — | Unverified |
| nocaps-XD in-domain | GIT2 | CIDEr | 124.18 | — | Unverified |
| nocaps-XD in-domain | GIT | CIDEr | 122.4 | — | Unverified |
| nocaps-XD near-domain | GIT2 | CIDEr | 125.51 | — | Unverified |
| nocaps-XD near-domain | GIT | CIDEr | 123.92 | — | Unverified |
| nocaps-XD out-of-domain | GIT2 | CIDEr | 122.27 | — | Unverified |
| nocaps-XD out-of-domain | GIT | CIDEr | 122.04 | — | Unverified |