SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.08815 · CVPR · 2024

Efficient Vision-Language Pre-training by Cluster Masking

Andrew Owens, Zihao Wei, Zixuan Pan

arXiv · PDF · Open in the Atlas

Code that ran

11 of 17 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 4 violated it and 2 have no contract verdict; 5 failures of our instrument; 6 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2405.08815.json · badge: /api/ran/2405.08815.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking canonical (classifier label)
classifier basis: census
11 ran · 6 no recorded run
FunctionStatusWhere it lives
const_lr Ran
ran; our contract draft was wrong, not the code
zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking/training/scheduler.py
pointer only (licence: NONE); the stored copy get_code serves, from MediaBrain-SJTU/DISSect, is pointer only (licence: NONE) · get_code("04508bbd793cdfb9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

const_lr_cooldown Ran
ran; our contract draft was wrong, not the code
zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking/training/scheduler.py
pointer only (licence: NONE); the stored copy get_code serves, from MediaBrain-SJTU/DISSect, is pointer only (licence: NONE) · get_code("cc0d607a8934307d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

cosine_lr Ran
ran; our contract draft was wrong, not the code
zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking/training/scheduler.py
pointer only (licence: NONE); the stored copy get_code serves, from VivienLu/UCAT, is pointer only (licence: NONE) · get_code("932d44bbf8bd0e3f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_autocast Ran
ran on a synthesized input
zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking/training/precision.py
pointer only (licence: NONE); the stored copy get_code serves, from MediaBrain-SJTU/DISSect, is pointer only (licence: NONE) · get_code("94a4076103662faf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_default_params Ran
ran; our contract draft was wrong, not the code
zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking/training/params.py
pointer only (licence: NONE); the stored copy get_code serves, from explainableml/flair, is pointer only (licence: NONE) · get_code("575ba28efe232215")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

is_global_master Ran
ran, violated the contract we drafted
zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking/training/distributed.py
pointer only (licence: NONE); the stored copy get_code serves, from tileb1/simzss, is pointer only (licence: NONE) · get_code("7c29b374198bddcd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

is_local_master Ran
ran, violated the contract we drafted
zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking/training/distributed.py
pointer only (licence: NONE); the stored copy get_code serves, from tileb1/simzss, is pointer only (licence: NONE) · get_code("0377e309e95cfc3e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

is_master Ran
ran, violated the contract we drafted
zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking/training/distributed.py
pointer only (licence: NONE); the stored copy get_code serves, from tileb1/simzss, is pointer only (licence: NONE) · get_code("b092791002b40e8a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

prepare_inputs_for_generation Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking/open_clip/coca_model.py
pointer only (licence: NONE); the stored copy get_code serves, from WHU-USI3DV/TreeCLS, is pointer only (licence: NONE) · get_code("fb651d0a97fd4d3f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

register_pooler Ran
ran on a synthesized input
zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking/open_clip/hf_model.py
pointer only (licence: NONE); the stored copy get_code serves, from WHU-USI3DV/TreeCLS, is pointer only (licence: NONE) · get_code("2a377da4a76a2d44")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

remote_sync_fsspec Ran
ran, violated the contract we drafted
zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking/training/file_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from MediaBrain-SJTU/DISSect, is pointer only (licence: NONE) · get_code("5ef1e6fce93e5928")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

accuracy Not yet run
unverified (harvested, no recorded run)
zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking/training/zero_shot.py
pointer only (licence: NONE) · get_code("aafcff3ad1ccef6e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

gather_features Not yet run
unverified (harvested, no recorded run)
zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking/open_clip/loss.py
pointer only (licence: NONE); the stored copy get_code serves, from lxa9867/imagefolder, is pointer only (licence: NOASSERTION) · get_code("ddcbd45e940484ee")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_imagenet Not yet run
unverified (harvested, no recorded run)
zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking/training/data.py
pointer only (licence: NONE) · get_code("4ab095823c6ec0d7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

parse_args Not yet run
unverified (harvested, no recorded run)
zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking/training/params.py
pointer only (licence: NONE) · get_code("0cf1bb95320d3c1f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

remote_sync Not yet run
unverified (harvested, no recorded run)
zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking/training/file_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from MediaBrain-SJTU/DISSect, is pointer only (licence: NONE) · get_code("c8826eee91bf0f73")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

remote_sync_s3 Not yet run
unverified (harvested, no recorded run)
zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking/training/file_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from MediaBrain-SJTU/DISSect, is pointer only (licence: NONE) · get_code("0cf5fb2e3a3a9114")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zi-hao-wei/efficient-vision-language-pre-training-by-cluster-masking when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 15 are also present in other papers whose code we hold (10 with at least one paper dated earlier, 8 the same month, 15 later) and 2 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
gather_features 57 other papers
30 dated earlier, 1 the same month, 25 later, 1 same year, order not determinable · 1 only as an assembly brick
2206.01670 (2022-06)
Egocentric Video-Language Pretraining
2212.00638 (2022-12)
Finetune like you pretrain: Improved finetuning of zero-shot vision models
2301.07094 (2023-01)
Learning Customized Visual Models with Retrieval-Augmented Knowledge
and 54 more not named here
register_pooler 45 other papers
24 dated earlier, 20 later, 1 same year, order not determinable
2301.07094 (2023-01)
Learning Customized Visual Models with Retrieval-Augmented Knowledge
2302.03668 (2023-02)
Hard Prompts Made Easy: Gradient-Based Discrete Optimization for Prompt Tuning and Discovery
2303.14814 (2023-03)
WinCLIP: Zero-/Few-Shot Anomaly Classification and Segmentation
and 42 more not named here
prepare_inputs_for_generation 43 other papers
21 dated earlier, 21 later, 1 same year, order not determinable
2301.07094 (2023-01)
Learning Customized Visual Models with Retrieval-Augmented Knowledge
2303.14814 (2023-03)
WinCLIP: Zero-/Few-Shot Anomaly Classification and Segmentation
2305.07017 (2023-05)
An Inverse Scaling Law for CLIP Training
and 40 more not named here
accuracy 22 other papers
8 dated earlier, 13 later, 1 same year, order not determinable
2207.05333 (2022-07)
IDEA: Increasing Text Diversity via Online Multi-Label Recognition for Vision-Language Pre-training
2208.05592 (2022-08)
Patching open-vocabulary models by interpolating weights
2211.12914 (2022-11)
Open-vocabulary Attribute Detection
and 19 more not named here
cosine_lr 12 other papers
6 dated earlier, 1 the same month, 5 later
2203.17274 (2022-03)
Exploring Visual Prompts for Adapting Large-Scale Models
2209.00179 (2022-09)
Universal Vision-Language Dense Retrieval: Learning A Unified Representation Space for Multi-Modal Retrieval
2302.14042 (2023-02)
Knowledge-enhanced Visual-Language Pre-training on Chest Radiology Images
and 9 more not named here
is_global_master 10 other papers
4 dated earlier, 2 the same month, 4 later
2003.04297 (2020-03)
Improved Baselines with Momentum Contrastive Learning
2302.14042 (2023-02)
Knowledge-enhanced Visual-Language Pre-training on Chest Radiology Images
2308.05734 (2023-08)
AudioLDM 2: Learning Holistic Audio Generation with Self-supervised Pretraining
and 7 more not named here
is_master 9 other papers
4 dated earlier, 1 the same month, 4 later
2302.14042 (2023-02)
Knowledge-enhanced Visual-Language Pre-training on Chest Radiology Images
2304.14636 (2023-04)
PreNAS: Preferred One-Shot Learning Towards Efficient Neural Architecture Search
2308.05734 (2023-08)
AudioLDM 2: Learning Holistic Audio Generation with Self-supervised Pretraining
and 6 more not named here
is_local_master 8 other papers
3 dated earlier, 1 the same month, 4 later
2302.14042 (2023-02)
Knowledge-enhanced Visual-Language Pre-training on Chest Radiology Images
2308.05734 (2023-08)
AudioLDM 2: Learning Holistic Audio Generation with Self-supervised Pretraining
2311.17048 (2023-11)
Zero-shot Referring Expression Comprehension via Structural Similarity Between Images and Captions
and 5 more not named here
get_default_params 5 other papers
3 dated earlier, 2 later
2308.05734 (2023-08)
AudioLDM 2: Learning Holistic Audio Generation with Self-supervised Pretraining
2310.00108 (2023-10)
Practical Membership Inference Attacks Against Large-Scale Multi-Modal Models: A Pilot Study
2312.12856 (2023-12)
SkyScript: A Large and Semantically Diverse Vision-Language Dataset for Remote Sensing
and 2 more not named here
remote_sync 4 other papers
1 the same month, 3 later
2405.06640 (2024-05)
Linearizing Large Language Models
2406.17639 (2024-06)
Mitigate the Gap: Investigating Approaches for Improving Cross-Modal Alignment in CLIP
2409.01936 (2024-09)
Optimizing CLIP Models for Image Retrieval with Maintained Joint-Embedding Alignment
and 1 more not named here
remote_sync_fsspec 4 other papers
1 the same month, 3 later
2405.06640 (2024-05)
Linearizing Large Language Models
2406.17639 (2024-06)
Mitigate the Gap: Investigating Approaches for Improving Cross-Modal Alignment in CLIP
2409.01936 (2024-09)
Optimizing CLIP Models for Image Retrieval with Maintained Joint-Embedding Alignment
and 1 more not named here
remote_sync_s3 4 other papers
1 the same month, 3 later
2405.06640 (2024-05)
Linearizing Large Language Models
2406.17639 (2024-06)
Mitigate the Gap: Investigating Approaches for Improving Cross-Modal Alignment in CLIP
2409.01936 (2024-09)
Optimizing CLIP Models for Image Retrieval with Maintained Joint-Embedding Alignment
and 1 more not named here
const_lr 3 other papers
3 later
2409.01936 (2024-09)
Optimizing CLIP Models for Image Retrieval with Maintained Joint-Embedding Alignment
2411.19331 (2024-11)
Talking to DINO: Bridging Self-Supervised Vision Backbones with Language for Open-Vocabulary Segmentation
2507.12998 (2025-07)
Differential-informed Sample Selection Accelerates Multimodal Contrastive Learning
get_autocast 3 other papers
1 dated earlier, 2 later
2311.04219 (2023-11)
OtterHD: A High-Resolution Multi-modality Model
2409.01936 (2024-09)
Optimizing CLIP Models for Image Retrieval with Maintained Joint-Embedding Alignment
2507.12998 (2025-07)
Differential-informed Sample Selection Accelerates Multimodal Contrastive Learning
const_lr_cooldown 2 other papers
2 later
2409.01936 (2024-09)
Optimizing CLIP Models for Image Retrieval with Maintained Joint-Embedding Alignment
2507.12998 (2025-07)
Differential-informed Sample Selection Accelerates Multimodal Contrastive Learning

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

We propose a simple strategy for masking image patches during visual-language contrastive learning that improves the quality of the learned representations and the training speed. During each iteration of training, we randomly mask clusters of visually similar image patches, as measured by their raw pixel intensities. This provides an extra learning signal, beyond the contrastive training itself, since it forces a model to predict words for masked visual structures solely from context. It also speeds up training by reducing the amount of data used in each image. We evaluate the effectiveness of our model by pre-training on a number of benchmarks, finding that it outperforms other masking strategies, such as FLIP, on the quality of the learned representation.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2405.08815")
get_code_for_paper("2405.08815")
have("2405.08815")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2405.08815.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2405.08815.svg)](https://syntology.ai/paper/2405.08815)

Connect an agent — have() is free.