SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.11618 · CVPR · 2024

Transcriptomics-guided Slide Representation Learning in Computational Pathology

Guillaume Jaume, Richard Chen, Faisal Mahmood, Andrew Song, Anurag Vaidya, Drew Williamson, Mass Brigham, Lukas Oldenburg, Thomas Peeters

arXiv · PDF · Open in the Atlas

Code that ran

15 of 17 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (5 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 5 have no contract verdict; 9 failures of our instrument; 2 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.11618.json · badge: /api/ran/2405.11618.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
mahmoodlab/tangle canonical (classifier label)
classifier basis: census
10 ran · 1 no recorded run
mahmoodlab/TANGLE community
Papers with Code archive
5 ran · 1 no recorded run
FunctionStatusWhere it lives
ABMILEmbedder Ran
ran on a synthesized input · constructed an object; no result was computed
mahmoodlab/TANGLE/core/models/mmssl.py
pointer only (licence: NOASSERTION) · get_code("4b8cd06d1b3f2f1d")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, mahmoodlab/TANGLE (NOASSERTION). 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.

ABMILEmbedder_MH Ran
ran on a synthesized input · constructed an object; no result was computed
mahmoodlab/TANGLE/core/models/mmssl.py
pointer only (licence: NOASSERTION) · get_code("b9ef1c4dffe4e7ba")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, mahmoodlab/TANGLE (NOASSERTION). 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.

BatchedABMIL Ran
ran on a synthesized input · constructed an object; no result was computed
mahmoodlab/TANGLE/core/models/mmssl.py
pointer only (licence: NOASSERTION) · get_code("632935273ac99ca3")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, mahmoodlab/TANGLE (NOASSERTION). 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.

MLP Ran
ran on a synthesized input · constructed an object; no result was computed
mahmoodlab/TANGLE/core/models/mmssl.py
pointer only (licence: NOASSERTION) · get_code("caf1ffd214ce1f37")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, mahmoodlab/TANGLE (NOASSERTION). 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.

ProjHead Ran
ran on a synthesized input · constructed an object; no result was computed
mahmoodlab/TANGLE/core/models/mmssl.py
pointer only (licence: NOASSERTION) · get_code("9d6c31fffb67a0e0")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, mahmoodlab/TANGLE (NOASSERTION). 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.

apply_random_mask Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mahmoodlab/tangle/core/loss/tangle_loss.py
pointer only (licence: NOASSERTION) · get_code("7cca15b9821296c4")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, mahmoodlab/tangle (NOASSERTION). 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.

calculate_metrics Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mahmoodlab/tangle/run_linear_probing.py
pointer only (licence: NOASSERTION) · get_code("dc22df19cd5e4ef3")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, mahmoodlab/tangle (NOASSERTION). 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.

collate_slide Ran
ran; our contract draft was wrong, not the code
mahmoodlab/tangle/core/utils/learning.py
pointer only (licence: NOASSERTION) · get_code("a014e3f1a7d5aba2")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, mahmoodlab/tangle (NOASSERTION). 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.

collate_tangle Ran
ran; our contract draft was wrong, not the code
mahmoodlab/tangle/core/utils/learning.py
pointer only (licence: NOASSERTION) · get_code("2e5d9d19ffa6e348")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, mahmoodlab/tangle (NOASSERTION). 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_and_split Ran
ran; our contract draft was wrong, not the code
mahmoodlab/tangle/run_linear_probing.py
pointer only (licence: NOASSERTION) · get_code("e0c8ee1b7aef6f88")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, mahmoodlab/tangle (NOASSERTION). 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_h5 Ran
ran, honoured the contract we drafted
mahmoodlab/tangle/core/dataset/dataset.py
pointer only (licence: NOASSERTION) · get_code("b5007322c2f2ec6e")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, mahmoodlab/tangle (NOASSERTION). 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_pkl Ran
ran; our contract draft was wrong, not the code
mahmoodlab/tangle/core/utils/learning.py
pointer only (licence: NONE); the stored copy get_code serves, from mahmoodlab/Panther, is pointer only (licence: NOASSERTION) · get_code("369ca48ec835bd84")
How it ran

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

read_config Ran
ran; our contract draft was wrong, not the code
mahmoodlab/tangle/extract_slide_embeddings_from_checkpoint.py
pointer only (licence: NOASSERTION) · get_code("e37cfb34afd06711")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, mahmoodlab/tangle (NOASSERTION). 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.

restore_model Ran
ran; our contract draft was wrong, not the code
mahmoodlab/tangle/extract_slide_embeddings_from_checkpoint.py
pointer only (licence: NOASSERTION) · get_code("6fbfbf2f5b75e23b")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, mahmoodlab/tangle (NOASSERTION). 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.

set_args Ran
ran; our contract draft was wrong, not the code
mahmoodlab/tangle/extract_slide_embeddings_from_checkpoint.py
pointer only (licence: NOASSERTION) · get_code("dbc2525b2c770e82")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, mahmoodlab/tangle (NOASSERTION). 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.

MMSSL Not yet run
unverified (harvested, no recorded run)
mahmoodlab/TANGLE/core/models/mmssl.py
pointer only (licence: NOASSERTION) · get_code("bae8b1daa1bb6af4")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, mahmoodlab/TANGLE (NOASSERTION). 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.

init_intra_wsi_loss_function Not yet run
unverified (harvested, no recorded run)
mahmoodlab/tangle/core/loss/tangle_loss.py
pointer only (licence: NOASSERTION) · get_code("0215414a4311e93e")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, mahmoodlab/tangle (NOASSERTION). 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, 2 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 1 the same month, 2 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
load_pkl 6 other papers
1 dated earlier, 2 the same month, 3 later
2403.06800 (2024-03)
MambaMIL: Enhancing Long Sequence Modeling with Sequence Reordering in Computational Pathology
2405.09851 (2024-05)
Region of Interest Detection in Melanocytic Skin Tumor Whole Slide Images -Nevus & Melanoma
2405.11643 (2024-05)
Morphological Prototyping for Unsupervised Slide Representation Learning in Computational Pathology
and 3 more not named here
init_intra_wsi_loss_function 1 other paper
1 later
2408.02859 (2024-08)
Multistain Pretraining for Slide Representation Learning in Pathology

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

Self-supervised learning (SSL) has been successful in building patch embeddings of small histology images (e.g., 224 × 224 pixels), but scaling these models to learn slide embeddings from the entirety of giga-pixel wholeslide images (WSIs) remains challenging. Here, we leverage complementary information from gene expression profiles to guide slide representation learning using multimodal pre-training. Expression profiles constitute highly detailed molecular descriptions of a tissue that we hypothesize offer a strong task-agnostic training signal for learning slide embeddings. Our slide and expression (S+E) pre-training strategy, called TANGLE, employs modalityspecific encoders, the outputs of which are aligned via contrastive learning. TANGLE was pre-trained on samples from three different organs: liver (n=6,597 S+E pairs), breast (n=1,020), and lung (n=1,012) from two different species (Homo sapiens and Rattus norvegicus). Across three independent test datasets consisting of 1,265 breast WSIs, 1,946 lung WSIs, and 4,584 liver WSIs, TANGLE shows significantly better few-shot performance compared to supervised and SSL baselines. When assessed using prototype-based classification and slide retrieval, TANGLE also shows a substantial performance improvement over all baselines. Code available at https://github.com/mahmoodlab/TANGLE.

For agents

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

get_harvested_code_for_paper("2405.11618")
get_code_for_paper("2405.11618")
have("2405.11618")

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

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

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

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

Connect an agent — have() is free.