SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2404.09387 · 2024

RankCLIP: Ranking-Consistent Language-Image Pretraining

arXiv · PDF · Open in the Atlas

Code that ran

8 of 11 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, 0 violated it and 0 have no contract verdict; 8 failures of our instrument; 3 no recorded run), measured 2026-11-22; 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/2404.09387.json · badge: /api/ran/2404.09387.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
jam1ezhang/rankclip canonical (classifier label)
classifier basis: census
8 ran · 3 no recorded run
FunctionStatusWhere it lives
basic_clean Ran
ran; our contract draft was wrong, not the code
jam1ezhang/rankclip/pkgs/openai/tokenizer.py
pointer only (licence: NONE); the stored copy get_code serves, from ltpwy/MSCI, is pointer only (licence: NONE) · get_code("98f385d847636a3e")
How it ran

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

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

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

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jam1ezhang/rankclip 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_pairs Ran
ran; our contract draft was wrong, not the code
jam1ezhang/rankclip/pkgs/openai/tokenizer.py
pointer only (licence: NONE) · get_code("d919ae32e5e4e616")
How it ran

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

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

list_MLE Ran
ran; our contract draft was wrong, not the code
jam1ezhang/rankclip/rankclip/rank_losses.py
pointer only (licence: NONE) · get_code("510990172d8d5591")
How it ran

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

whitespace_clean Ran
ran; our contract draft was wrong, not the code
jam1ezhang/rankclip/pkgs/openai/tokenizer.py
pointer only (licence: NONE); the stored copy get_code serves, from ltpwy/MSCI, is pointer only (licence: NONE) · get_code("9542161e9640b858")
How it ran

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

build Not yet run
unverified (harvested, no recorded run)
jam1ezhang/rankclip/pkgs/openai/model.py
pointer only (licence: NONE) · get_code("27b459903dd9ce81")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jam1ezhang/rankclip 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_linear_probe_metrics Not yet run
unverified (harvested, no recorded run)
jam1ezhang/rankclip/rankclip/evaluate.py
pointer only (licence: NONE) · get_code("839f27352544a030")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jam1ezhang/rankclip 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_zeroshot_metrics Not yet run
unverified (harvested, no recorded run)
jam1ezhang/rankclip/rankclip/evaluate.py
pointer only (licence: NONE) · get_code("8718f0ef4c825c28")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jam1ezhang/rankclip 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 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 3 the same month, 3 later) and 6 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_pairs 258 other papers
131 dated earlier, 11 the same month, 108 later, 7 same year, order not determinable, 1 undated · 4 only as an assembly brick
1802.06474 (2018-02)
A Closed-form Solution to Photorealistic Image Stylization
1803.01128 (2018-03)
Seq2Sick: Evaluating the Robustness of Sequence-to-Sequence Models with Adversarial Examples
1809.00125 (2018-09)
Simple Fusion: Return of the Language Model
and 255 more not named here
whitespace_clean 231 other papers
112 dated earlier, 11 the same month, 100 later, 7 same year, order not determinable, 1 undated · 4 only as an assembly brick
1901.07441 (2019-01)
PadChest: A large chest x-ray image dataset with multi-label annotated reports
2107.06383 (2021-07)
How Much Can CLIP Benefit Vision-and-Language Tasks?
2108.10904 (2021-08)
SimVLM: Simple Visual Language Model Pretraining with Weak Supervision
and 228 more not named here
basic_clean 218 other papers
112 dated earlier, 11 the same month, 87 later, 7 same year, order not determinable, 1 undated · 4 only as an assembly brick
1901.07441 (2019-01)
PadChest: A large chest x-ray image dataset with multi-label annotated reports
2107.06383 (2021-07)
How Much Can CLIP Benefit Vision-and-Language Tasks?
2108.10904 (2021-08)
SimVLM: Simple Visual Language Model Pretraining with Weak Supervision
and 215 more not named here
build 1 other paper
1 dated earlier
2310.05862 (2023-10)
Better Safe than Sorry: Pre-training CLIP against Targeted Data Poisoning and Backdoor Attacks
get_logger 1 other paper
1 dated earlier
2310.05862 (2023-10)
Better Safe than Sorry: Pre-training CLIP against Targeted Data Poisoning and Backdoor Attacks

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-22.

Repositories linked to this paper

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

Abstract

Self-supervised contrastive learning models, such as CLIP, have set new benchmarks for vision-language models in many downstream tasks. However, their dependency on rigid one-to-one mappings overlooks the complex and often multifaceted relationships between and within texts and images. To this end, we introduce RankCLIP, a novel pre-training method that extends beyond the rigid one-to-one matching framework of CLIP and its variants. By extending the traditional pair-wise loss to list-wise, and leveraging both in-modal and cross-modal ranking consistency, RankCLIP improves the alignment process, enabling it to capture the nuanced many-to-many relationships between and within each modality. Through comprehensive experiments, we demonstrate the effectiveness of RankCLIP in various downstream tasks, notably achieving significant gains in zero-shot classifications over state-of-the-art methods, underscoring the importance of this enhanced learning process.

For agents

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

get_harvested_code_for_paper("2404.09387")
get_code_for_paper("2404.09387")
have("2404.09387")

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

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

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

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

Connect an agent — have() is free.