English

Scaling Language-Image Pre-training via Masking

Computer Vision and Pattern Recognition 2023-03-31 v2

Abstract

We present Fast Language-Image Pre-training (FLIP), a simple and more efficient method for training CLIP. Our method randomly masks out and removes a large portion of image patches during training. Masking allows us to learn from more image-text pairs given the same wall-clock time and contrast more samples per iteration with similar memory footprint. It leads to a favorable trade-off between accuracy and training time. In our experiments on 400 million image-text pairs, FLIP improves both accuracy and speed over the no-masking baseline. On a large diversity of downstream tasks, FLIP dominantly outperforms the CLIP counterparts trained on the same data. Facilitated by the speedup, we explore the scaling behavior of increasing the model size, data size, or training length, and report encouraging results and comparisons. We hope that our work will foster future research on scaling vision-language learning.

Keywords

Cite

@article{arxiv.2212.00794,
  title  = {Scaling Language-Image Pre-training via Masking},
  author = {Yanghao Li and Haoqi Fan and Ronghang Hu and Christoph Feichtenhofer and Kaiming He},
  journal= {arXiv preprint arXiv:2212.00794},
  year   = {2023}
}

Comments

Tech report; arXiv v2: update scaling results and add code repo

R2 v1 2026-06-28T07:19:51.156Z