SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.05205 · CVPR · 2024

CPLIP: Zero-Shot Learning for Histopathology with Comprehensive Vision-Language Alignment

Mohammed Bennamoun, Iyyakutti Ganapathi, Sajid Javed, Naoufel Werghi, Arif Mahmood, Fayaz Dharejo

arXiv · PDF · Open in the Atlas

Code that ran

7 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; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 5 failures of our instrument; 4 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/2406.05205.json · badge: /api/ran/2406.05205.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
iyyakuttiiyappan/CPLIP canonical (classifier label)
classifier basis: census
7 ran · 4 no recorded run
FunctionStatusWhere it lives
freeze_batch_norm_2d Ran
ran; our contract draft was wrong, not the code
iyyakuttiiyappan/CPLIP/models/utils.py
pointer only (licence: NONE); the stored copy get_code serves, from mahmoodlab/CONCH, is pointer only (licence: NOASSERTION) · get_code("9b5765523c6d17fd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, iyyakuttiiyappan/CPLIP 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_transforms_ctranspath Ran
ran; our contract draft was wrong, not the code
iyyakuttiiyappan/CPLIP/extract_embeddings.py
pointer only (licence: NONE); the stored copy get_code serves, from hanminghao/mscpt, is pointer only (licence: NONE) · get_code("c8ea5e13d55dab48")
How it ran

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

load_pretrained_bert Ran
ran; our contract draft was wrong, not the code
iyyakuttiiyappan/CPLIP/models/model.py
pointer only (licence: NONE) · get_code("318d553119497924")
How it ran

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

load_state_dict Ran
ran; our contract draft was wrong, not the code
iyyakuttiiyappan/CPLIP/models/factory.py
pointer only (licence: NONE); the stored copy get_code serves, from zqhang/PointAD, is pointer only (licence: NONE) · get_code("4b3a4d17e1df3140")
How it ran

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

save_hdf5 Ran
ran; our contract draft was wrong, not the code
iyyakuttiiyappan/CPLIP/extract_embeddings.py
pointer only (licence: NONE); the stored copy get_code serves, from olgarithmics/ICLR_CAMIL, is pointer only (licence: NONE) · get_code("c6bbc9c9564d7227")
How it ran

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

tokenize Ran
ran, honoured the contract we drafted
iyyakuttiiyappan/CPLIP/zeroshot_classification.py
pointer only (licence: NONE); the stored copy get_code serves, from hanminghao/mscpt, is pointer only (licence: NONE) · get_code("046182617bffcc33")
How it ran

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

zero_shot_classifier Ran
ran, honoured the contract we drafted
iyyakuttiiyappan/CPLIP/zeroshot_classification.py
pointer only (licence: NONE) · get_code("03c647e2405f98ba")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, iyyakuttiiyappan/CPLIP 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)
iyyakuttiiyappan/CPLIP/zeroshot_classification.py
pointer only (licence: NONE) · get_code("95fb3daa34181ec9")
How it ran

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

create_textual_gpt Not yet run
unverified (harvested, no recorded run)
iyyakuttiiyappan/CPLIP/models/model.py
pointer only (licence: NONE) · get_code("ea99866a0891dd48")
How it ran

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

load_checkpoint Not yet run
unverified (harvested, no recorded run)
iyyakuttiiyappan/CPLIP/models/factory.py
pointer only (licence: NONE) · get_code("33f0a869b0ef9c80")
How it ran

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

load_ctranspath Not yet run
unverified (harvested, no recorded run)
iyyakuttiiyappan/CPLIP/models/model.py
pointer only (licence: NONE) · get_code("fddbd4292e2ee2c6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, iyyakuttiiyappan/CPLIP 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 (2 with at least one paper dated earlier, 2 the same month, 5 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
load_state_dict 18 other papers
16 dated earlier, 1 the same month, 1 later
2301.07094 (2023-01)
Learning Customized Visual Models with Retrieval-Augmented Knowledge
2303.07240 (2023-03)
PMC-CLIP: Contrastive Language-Image Pre-training using Biomedical Documents
2303.14814 (2023-03)
WinCLIP: Zero-/Few-Shot Anomaly Classification and Segmentation
and 15 more not named here
freeze_batch_norm_2d 16 other papers
10 dated earlier, 1 the same month, 5 later · 3 only as an assembly brick
2102.05918 (2021-02)
Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
2303.07240 (2023-03)
PMC-CLIP: Contrastive Language-Image Pre-training using Biomedical Documents
2305.10415 (2023-05)
PMC-VQA: Visual Instruction Tuning for Medical Visual Question Answering
and 13 more not named here
get_transforms_ctranspath 1 other paper
1 later
2408.11505 (2024-08)
MSCPT: Few-shot Whole Slide Image Classification with Multi-scale and Context-focused Prompt Tuning
save_hdf5 1 other paper
1 later
2602.01951 (2026-02)
Enabling Progressive Whole-slide Image Analysis with Multi-scale Pyramidal Network
tokenize 1 other paper
1 later
2408.11505 (2024-08)
MSCPT: Few-shot Whole Slide Image Classification with Multi-scale and Context-focused Prompt Tuning

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

This paper proposes Comprehensive Pathology Language Image Pre-training (CPLIP), a new unsupervised technique designed to enhance the alignment of images and text in histopathology for tasks such as classification and segmentation. This methodology enriches visionlanguage models by leveraging extensive data without needing ground truth annotations. CPLIP involves constructing a pathology-specific dictionary, generating textual descriptions for images using language models, and retrieving relevant images for each text snippet via a pre-trained model. The model is then fine-tuned using a many-to-many contrastive learning method to align complex interrelated concepts across both modalities. Evaluated across multiple histopathology tasks, CPLIP shows notable improvements in zero-shot learning scenarios, outperforming existing methods in both interpretability and robustness and setting a higher benchmark for the application of visionlanguage models in the field. To encourage further research and replication, the code for CPLIP is available on GitHub at https://cplip.github.io/

For agents

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

get_harvested_code_for_paper("2406.05205")
get_code_for_paper("2406.05205")
have("2406.05205")

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

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

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

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

Connect an agent — have() is free.