SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2407.15362 · 2024

A Multimodal Knowledge-enhanced Whole-slide Pathology Foundation Model

arXiv · PDF · Open in the Atlas

Code that ran

9 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; 7 failures of our instrument; 2 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/2407.15362.json · badge: /api/ran/2407.15362.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
cassie07/pathomics canonical (classifier label)
classifier basis: census
8 ran · 2 no recorded run
innse/mstar canonical (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
FunctionStatusWhere it lives
SNN_Block Ran
ran; our contract draft was wrong, not the code
cassie07/pathomics/PathOmics/model_and_training_utils/PathOmics_Survival_model.py
pointer only (licence: NONE); the stored copy get_code serves, from mahmoodlab/MMP, is pointer only (licence: NOASSERTION) · get_code("10482673211edd0c")
How it ran

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

ce_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
cassie07/pathomics/PathOmics/model_and_training_utils/Customized_Loss.py
pointer only (licence: NONE) · get_code("e733788b8a808833")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cassie07/pathomics 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_all_wsi_paths Ran
ran; our contract draft was wrong, not the code
innse/mstar/Feature_extract/extract_feature.py
pointer only (licence: NOASSERTION) · get_code("fc129128ac4a376e")
How it ran

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

l1_reg_all Ran
ran, honoured the contract we drafted
cassie07/pathomics/PathOmics/model_and_training_utils/Customized_Loss.py
pointer only (licence: NONE) · get_code("05a9975c33ba8db9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cassie07/pathomics 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_feature Ran
ran, honoured the contract we drafted
cassie07/pathomics/PathOmics/data_loading_utils/load_files.py
pointer only (licence: NONE) · get_code("c2b9c2e3fa86851e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cassie07/pathomics 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_gene_family_info Ran
ran; our contract draft was wrong, not the code
cassie07/pathomics/PathOmics/data_loading_utils/load_files.py
pointer only (licence: NONE) · get_code("96268127967cee34")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cassie07/pathomics 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_genomics_z_score Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
cassie07/pathomics/PathOmics/data_loading_utils/load_files.py
pointer only (licence: NONE) · get_code("d1a8f2f159c6b0ff")
How it ran

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

nll_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
cassie07/pathomics/PathOmics/model_and_training_utils/Customized_Loss.py
pointer only (licence: NONE); the stored copy get_code serves, from JJ-ZHOU-Code/RobustMultiModel, is pointer only (licence: NONE) · get_code("62ede8fe77ab4913")
How it ran

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

resnet50_baseline Ran
ran; our contract draft was wrong, not the code
cassie07/pathomics/PathOmics/split_tiles_utils/Customized_resnet.py
pointer only (licence: NONE) · get_code("de40933a79db0071")
How it ran

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

extracted_feature Not yet run
unverified (harvested, no recorded run)
cassie07/pathomics/PathOmics/split_tiles_utils/helper.py
pointer only (licence: NONE) · get_code("c7320a8d58c55f8b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cassie07/pathomics 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_pretrained_weights Not yet run
unverified (harvested, no recorded run)
cassie07/pathomics/PathOmics/split_tiles_utils/Customized_resnet.py
pointer only (licence: NONE) · get_code("42ebcfb93d93ecfb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cassie07/pathomics 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, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 3 the same month, 2 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
SNN_Block 4 other papers
3 dated earlier, 1 the same month · 1 only as an assembly brick
2304.06819 (2023-04)
Modeling Dense Multimodal Interactions Between Biological Pathways and Histology for Survival Prediction
2306.08330 (2023-06)
Multimodal Optimal Transport-based Co-Attention Transformer with Global Structure Consistency for Survival Prediction
2311.09115 (2023-11)
HEALNet: Multimodal Fusion for Heterogeneous Biomedical Data
and 1 more not named here
load_pretrained_weights 4 other papers
1 dated earlier, 1 the same month, 2 later
2309.07400 (2023-09)
HIGT: Hierarchical Interaction Graph-Transformer for Whole Slide Image Analysis
2407.06508 (2024-07)
A Clinical Benchmark of Public Self-Supervised Pathology Foundation Models
2602.01951 (2026-02)
Enabling Progressive Whole-slide Image Analysis with Multi-scale Pyramidal Network
and 1 more not named here
resnet50_baseline 3 other papers
1 dated earlier, 1 the same month, 1 later
2309.07400 (2023-09)
HIGT: Hierarchical Interaction Graph-Transformer for Whole Slide Image Analysis
2407.06508 (2024-07)
A Clinical Benchmark of Public Self-Supervised Pathology Foundation Models
2602.01951 (2026-02)
Enabling Progressive Whole-slide Image Analysis with Multi-scale Pyramidal Network
nll_loss 1 other paper
1 dated earlier
2306.08330 (2023-06)
Multimodal Optimal Transport-based Co-Attention Transformer with Global Structure Consistency for Survival Prediction

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

Remarkable strides in computational pathology have been made in the task-agnostic foundation model that advances the performance of a wide array of downstream clinical tasks. Despite the promising performance, there are still several challenges. First, prior works have resorted to either vision-only or image-caption data, disregarding pathology reports with more clinically authentic information from pathologists and gene expression profiles which respectively offer distinct knowledge for versatile clinical applications. Second, the current progress in pathology FMs predominantly concentrates on the patch level, where the restricted context of patch-level pretraining fails to capture whole-slide patterns. Even recent slide-level FMs still struggle to provide whole-slide context for patch representation. In this study, for the first time, we develop a pathology foundation model incorporating three levels of modalities: pathology slides, pathology reports, and gene expression data, which resulted in 26,169 slide-level modality pairs from 10,275 patients across 32 cancer types, amounting to over 116 million pathological patch images. To leverage these data for CPath, we propose a novel whole-slide pretraining paradigm that injects the multimodal whole-slide context into the patch representation, called Multimodal Self-TAught PRetraining (mSTAR). The proposed paradigm revolutionizes the pretraining workflow for CPath, enabling the pathology FM to acquire the whole-slide context. To the best of our knowledge, this is the first attempt to incorporate three modalities at the whole-slide context for enhancing pathology FMs. To systematically evaluate the capabilities of mSTAR, we built the largest spectrum of oncological benchmark, spanning 7 categories of oncological applications in 15 types of 97 practical oncological tasks.

For agents

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

get_harvested_code_for_paper("2407.15362")
get_code_for_paper("2407.15362")
have("2407.15362")

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

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

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

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

Connect an agent — have() is free.