Papers › Scaling Language-Image Pre-training via Masking

Scaling Language-Image Pre-training via Masking

1 Dec 2022CVPR 2023 1arXiv:2212.00794archive 2025-07-28

Yanghao Li, Haoqi Fan, Ronghang Hu, Christoph Feichtenhofer, Kaiming He

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.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2212.00794")

Code

Syntology Ran 10 of 14 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 2 ran · honoured contract; 5 ran · violated contract; 3 ran · our draft was wrong.

By repository: community (archive-listed): 14 samples from 1 repository, 10 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

facebookresearch/flip officialmentioned in papermentioned on GitHubjaxNOASSERTION report
ale9806/open_clip_with_biomedica mentioned on GitHubpytorchNOASSERTION report
lucidrains/CoCa-pytorch mentioned on GitHubpytorch report
lucidrains/mammut-pytorch mentioned on GitHubpytorchMIT report
mlfoundations/open_clip mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 10 ran; 2 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
5ran · violated contract
3ran · our draft was wrong
4unverified

Licence: 0 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from lucidrains/x-clip. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

identity lucidrains/x-clip/x_clip/x_clip.py community (archive-listed) ran · honoured contract MIT (permissive) · 7f1040f5e3991d5e · report
basic_clean lucidrains/x-clip/x_clip/tokenizer.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · 98f385d847636a3e · report
default lucidrains/x-clip/x_clip/x_clip.py community (archive-listed) ran · violated contract fingerprinted MIT (permissive) · 60fff7c3c400d7ff · report
default lucidrains/x-clip/x_clip/visual_ssl.py community (archive-listed) ran · violated contract MIT (permissive) · 1c0f269ae9673b08 · report
exists lucidrains/x-clip/x_clip/x_clip.py community (archive-listed) ran · violated contract MIT (permissive) · aa5486a3650902d8 · report
flatten lucidrains/x-clip/x_clip/visual_ssl.py community (archive-listed) ran · honoured contract fingerprinted MIT (permissive) · 4daa3e876f494d75 · report
get_mask_subset_with_prob lucidrains/x-clip/x_clip/mlm.py community (archive-listed) ran · violated contract MIT (permissive) · e33ada12822bb56c · report
mask_with_tokens lucidrains/x-clip/x_clip/mlm.py community (archive-listed) ran · violated contract fingerprinted MIT (permissive) · 5573a79bdc0a0a09 · report
prob_mask_like lucidrains/x-clip/x_clip/mlm.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 0a27e49623646a01 · report
whitespace_clean lucidrains/x-clip/x_clip/tokenizer.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · 9542161e9640b858 · report
all_gather_variable_dim lucidrains/x-clip/x_clip/distributed.py community (archive-listed) unverified MIT (permissive) · 1022a3b9a987f9af · report
get_default_aug lucidrains/x-clip/x_clip/visual_ssl.py community (archive-listed) unverified MIT (permissive) · ca29cb49bbe686d2 · report
get_pairs lucidrains/x-clip/x_clip/tokenizer.py community (archive-listed) unverified MIT (permissive) · b50994ad24f6d583 · report
pad_dim_to lucidrains/x-clip/x_clip/distributed.py community (archive-listed) unverified MIT (permissive) · 1a7818b5192e3dc5 · report

Tasks

Diversity

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

CLIPFLIPSPEED

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections