Image as a Foreign Language: BEIT Pretraining for Vision and Vision-Language Tasks

Wen Wang, Hangbo Bao, Li Dong, Johan Bjorck, Zhiliang Peng +6 more
2/14/2026

Abstract

A big convergence of language, vision, and multimodal pretraining is emerging. In this work, we introduce a general-purpose multimodal foundation model BEIT-3, which achieves excellent transfer performance on both vision and vision-language tasks. Specifically, we advance the big convergence from three aspects: backbone architecture, pretraining task, and model scaling up. We use Multiway Transformers for general-purpose modeling, where the modular architecture enables both deep fusion and modality-specific encoding. Based on the shared backbone, we perform masked “language” modeling on images (Imglish), texts (English), and image-text pairs (“parallel sentences”) in a unified manner. Experimental results show that BEIT-3 obtains remarkable performance on object detection (COCO), semantic segmentation (ADE20K), image classification (ImageNet), visual reasoning (NLVR2), visual question answering (VQAv2), image captioning (COCO), and cross-modal retrieval (Flickr30K, COCO).

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{wang2026image,
  title  = {Image as a Foreign Language: BEIT Pretraining for Vision and Vision-Language Tasks},
  author = {Wen Wang and Hangbo Bao and Li Dong and Johan Bjorck and Zhiliang Peng and Qiangbo Liu and Kriti Aggarwal and O. Mohammed and Saksham Singhal and Subhojit Som and Furu Wei},
  year   = {2026},
  doi    = {10.1109/CVPR52729.2023.01838},
  url    = {https://doi.org/10.1109/CVPR52729.2023.01838},
  journal = {CVPR 2023 2023}
}

Discussion