SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.19547 · 2024

CLIPLoss and Norm-Based Data Selection Methods for Multimodal Contrastive Learning

arXiv · PDF · Open in the Atlas

Code that ran

14 of 19 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; 1 honoured the contract we drafted, 3 violated it and 1 has no contract verdict; 9 failures of our instrument; 5 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.19547.json · badge: /api/ran/2405.19547.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
ypwang61/VAS canonical (classifier label)
classifier basis: census
11 ran · 5 no recorded run
copy not recorded community
not in the paper's declared repositories
3 ran · 0 no recorded run
FunctionStatusWhere it lives
available_scales Ran
ran; our contract draft was wrong, not the code
ypwang61/VAS/scale_configs.py
pointer only (licence: NONE) · get_code("00dd429e9775e127")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ypwang61/VAS 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.

filter_by_given_uids Ran
ran, honoured the contract we drafted
ypwang61/VAS/baselines/vas.py
pointer only (licence: NONE) · get_code("b4ca49c3c0d1f7d0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ypwang61/VAS 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.

filter_by_score Ran
ran on a synthesized input
ypwang61/VAS/baselines/vas.py
pointer only (licence: NONE) · get_code("53deafe2a17c9bd5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ypwang61/VAS 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.

generate_p_from_clipscores Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ypwang61/VAS/cal_clipscores.py
pointer only (licence: NONE) · get_code("6b052976ecde8c23")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ypwang61/VAS 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_aggregate_scores Ran
ran; our contract draft was wrong, not the code
ypwang61/VAS/aggregate_scores.py
pointer only (licence: NONE) · get_code("83f216dbfcc79287")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ypwang61/VAS 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_fasttext_language Ran
ran; our contract draft was wrong, not the code
ypwang61/VAS/baselines/apply_filter.py
pointer only (licence: NONE) · get_code("61d5b2eae57f28be")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ypwang61/VAS 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_gcld3_language Ran
ran; our contract draft was wrong, not the code
ypwang61/VAS/baselines/apply_filter.py
pointer only (licence: NONE) · get_code("6cc97b780724c9b6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ypwang61/VAS 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_ranks Ran
ran, violated the contract we drafted
this paper's copy was not recorded; identical code first harvested from ypwang61/negcliploss_normsim
pointer only; the stored copy get_code serves, from ypwang61/negcliploss_normsim, is pointer only (licence: NONE) · get_code("f889070e0cb98b2f")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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_ranks_ratios Ran
ran, violated the contract we drafted
this paper's copy was not recorded; identical code first harvested from ypwang61/negcliploss_normsim
pointer only; the stored copy get_code serves, from ypwang61/negcliploss_normsim, is pointer only (licence: NONE) · get_code("2335a1161936c9fa")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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_scale_config Ran
ran; our contract draft was wrong, not the code
ypwang61/VAS/scale_configs.py
pointer only (licence: NONE) · get_code("673bbfe27cf768f1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ypwang61/VAS 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_small_ranks Ran
ran, violated the contract we drafted
this paper's copy was not recorded; identical code first harvested from ypwang61/negcliploss_normsim
pointer only; the stored copy get_code serves, from ypwang61/negcliploss_normsim, is pointer only (licence: NONE) · get_code("8ec35d035919e5bc")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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_vas_gpu Ran
ran; our contract draft was wrong, not the code
ypwang61/VAS/baselines/vas.py
pointer only (licence: NONE) · get_code("63f3d769047ceab6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ypwang61/VAS 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.

random_sample Ran
ran; our contract draft was wrong, not the code
ypwang61/VAS/cal_clipscores.py
pointer only (licence: NONE) · get_code("cfd8b1cf3644b321")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ypwang61/VAS 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.

setup_process_logging Ran
ran; our contract draft was wrong, not the code
ypwang61/VAS/resharder.py
pointer only (licence: NONE); the stored copy get_code serves, from eify/datacomp, is pointer only (licence: NOASSERTION) · get_code("28962743449aaadd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ypwang61/VAS 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.

download Not yet run
unverified (harvested, no recorded run)
ypwang61/VAS/baselines/utils.py
pointer only (licence: NONE) · get_code("bb98f2d1cb3c5ff8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ypwang61/VAS 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.

submit_to_firebase Not yet run
unverified (harvested, no recorded run)
ypwang61/VAS/evaluate.py
pointer only (licence: NONE) · get_code("6da3dc3e075307c6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ypwang61/VAS 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.

submit_to_slack Not yet run
unverified (harvested, no recorded run)
ypwang61/VAS/evaluate.py
pointer only (licence: NONE) · get_code("85c09d957a5f2bc8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ypwang61/VAS 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.

train_kmeans Not yet run
unverified (harvested, no recorded run)
ypwang61/VAS/baselines/image_based_clustering.py
pointer only (licence: NONE) · get_code("24e11664919d0016")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ypwang61/VAS 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.

worker_threadpool Not yet run
unverified (harvested, no recorded run)
ypwang61/VAS/baselines/utils.py
pointer only (licence: NONE) · get_code("fca45920dddd4939")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ypwang61/VAS 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 19 samples lifted from this paper's linked repositories, 19 carry a function identity and 0 do not. Of the 19 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 0 the same month, 0 later) and 15 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
get_ranks 1 other paper
1 dated earlier
2402.02055 (2024-02)
Variance Alignment Score: A Simple But Tough-to-Beat Data Selection Method for Multimodal Contrastive Learning
get_ranks_ratios 1 other paper
1 dated earlier
2402.02055 (2024-02)
Variance Alignment Score: A Simple But Tough-to-Beat Data Selection Method for Multimodal Contrastive Learning
get_small_ranks 1 other paper
1 dated earlier
2402.02055 (2024-02)
Variance Alignment Score: A Simple But Tough-to-Beat Data Selection Method for Multimodal Contrastive Learning
setup_process_logging 1 other paper
1 dated earlier
2304.14108 (2023-04)
DATACOMP: In search of the next generation of multimodal datasets

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

Data selection has emerged as a core issue for large-scale visual-language model pretaining (e.g., CLIP), particularly with noisy web-curated datasets. Three main data selection approaches are: (1) leveraging external non-CLIP models to aid data selection, (2) training new CLIP-style embedding models that are more effective at selecting high-quality data than the original OpenAI CLIP model, and (3) designing better metrics or strategies universally applicable to any CLIP embedding without requiring specific model properties (e.g., CLIPScore is one popular metric). While the first two approaches have been extensively studied, the third remains under-explored. In this paper, we advance the third approach by proposing two new methods. Firstly, instead of classical CLIP scores that only consider the alignment between two modalities from a single sample, we introduce surrogate-CLIPLoss (s-CLIPLoss), a CLIP loss-inspired method that adds the alignment between one sample and its contrastive pairs as an extra normalization term for better quality measurement. Secondly, when downstream tasks are known, we propose a new norm-based metric, NormSim, to measure the similarity between pretraining data and target data. We test our methods on the data selection benchmark, DataComp~\cite{gadre2023datacomp}. Compared to the best baseline using only OpenAI's CLIP-L/14, our methods achieve a 5.3\% improvement on ImageNet-1k and a 2.8\% improvement on 38 downstream evaluation tasks. Moreover, both s-CLIPLoss and NormSim are compatible with existing techniques. By combining our methods with the current best methods DFN and HYPE, we can boost average performance on downstream tasks by 0.9\%, achieving a new state-of-the-art on the DataComp-medium benchmark.

For agents

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

get_harvested_code_for_paper("2405.19547")
get_code_for_paper("2405.19547")
have("2405.19547")

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

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

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

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

Connect an agent — have() is free.