SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2407.08216 · 2024

Multimodal contrastive learning for spatial gene expression prediction using histology images

arXiv · PDF · Open in the Atlas

Code that ran

8 of 9 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; 6 failures of our instrument; 1 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/2407.08216.json · badge: /api/ran/2407.08216.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
shizhiceng/mclstexp canonical (classifier label)
classifier basis: census
8 ran · 1 no recorded run
FunctionStatusWhere it lives
NB_loss Ran
ran; our contract draft was wrong, not the code
shizhiceng/mclstexp/baselines/His2ST/NB_module.py
pointer only (licence: NONE) · get_code("62871b7ee585cf51")
How it ran

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

ZINB_loss Ran
ran; our contract draft was wrong, not the code
shizhiceng/mclstexp/baselines/His2ST/NB_module.py
pointer only (licence: NONE) · get_code("01409d6c760c9feb")
How it ran

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

cross_entropy Ran
ran; our contract draft was wrong, not the code
shizhiceng/mclstexp/baselines/Bleep/models.py
pointer only (licence: NONE) · get_code("63e6e57b587c3aa8")
How it ran

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

find_matches Ran
ran; our contract draft was wrong, not the code
shizhiceng/mclstexp/evel_cscc.py
pointer only (licence: NONE) · get_code("576657ded1637110")
How it ran

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

find_matches Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
shizhiceng/mclstexp/evel_her2st.py
pointer only (licence: NONE) · get_code("fa4dd37d2a9647a4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, shizhiceng/mclstexp 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_R Ran
ran, honoured the contract we drafted
shizhiceng/mclstexp/evel_cscc.py
pointer only (licence: NONE) · get_code("7cdb01bb7f8f64bf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, shizhiceng/mclstexp 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_lr Ran
ran, honoured the contract we drafted
shizhiceng/mclstexp/utils.py
pointer only (licence: NONE); the stored copy get_code serves, from yjzhang96/UTI-VFI, is pointer only (licence: NONE) · get_code("7337f1f5ff01dcd0")
How it ran

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

intersect_section_genes Ran
ran; our contract draft was wrong, not the code
shizhiceng/mclstexp/hvg_cscc.py
pointer only (licence: NONE) · get_code("48fcf5eb5babda05")
How it ran

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

her2_pool_gene_list Not yet run
unverified (harvested, no recorded run)
shizhiceng/mclstexp/hvg_cscc.py
pointer only (licence: NONE) · get_code("7f0d0b449663bc7c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, shizhiceng/mclstexp 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 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 1 the same month, 1 later) and 7 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_lr 25 other papers
24 dated earlier, 1 the same month · 2 only as an assembly brick
1605.07148 (2016-05)
Backprop KF: Learning Discriminative Deterministic State Estimators
1606.00915 (2016-06)
DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFs
1904.01355 (2019-04)
FCOS: Fully Convolutional One-Stage Object Detection
and 22 more not named here
cross_entropy 6 other papers
5 dated earlier, 1 later
2103.00020 (2021-03)
Learning Transferable Visual Models From Natural Language Supervision
2203.03897 (2022-03)
Geodesic Multi-Modal Mixup for Robust Fine-Tuning
2306.01859 (2023-06)
Spatially Resolved Gene Expression Prediction from H&E Histology Images via Bi-modal Contrastive Learning
and 3 more not named here

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

In recent years, the advent of spatial transcriptomics (ST) technology has unlocked unprecedented opportunities for delving into the complexities of gene expression patterns within intricate biological systems. Despite its transformative potential, the prohibitive cost of ST technology remains a significant barrier to its widespread adoption in large-scale studies. An alternative, more cost-effective strategy involves employing artificial intelligence to predict gene expression levels using readily accessible whole-slide images (WSIs) stained with Hematoxylin and Eosin (H\&E). However, existing methods have yet to fully capitalize on multimodal information provided by H&E images and ST data with spatial location. In this paper, we propose \textbf{mclSTExp}, a multimodal contrastive learning with Transformer and Densenet-121 encoder for Spatial Transcriptomics Expression prediction. We conceptualize each spot as a "word", integrating its intrinsic features with spatial context through the self-attention mechanism of a Transformer encoder. This integration is further enriched by incorporating image features via contrastive learning, thereby enhancing the predictive capability of our model. Our extensive evaluation of \textbf{mclSTExp} on two breast cancer datasets and a skin squamous cell carcinoma dataset demonstrates its superior performance in predicting spatial gene expression. Moreover, mclSTExp has shown promise in interpreting cancer-specific overexpressed genes, elucidating immune-related genes, and identifying specialized spatial domains annotated by pathologists. Our source code is available at https://github.com/shizhiceng/mclSTExp.

For agents

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

get_harvested_code_for_paper("2407.08216")
get_code_for_paper("2407.08216")
have("2407.08216")

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

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

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

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

Connect an agent — have() is free.