SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.11643 · CVPR · 2024

Morphological Prototyping for Unsupervised Slide Representation Learning in Computational Pathology

Guillaume Jaume, Richard Chen, Faisal Mahmood, Andrew Song, Drew Williamson, Tong Ding

arXiv · PDF · Open in the Atlas

Code that ran

6 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; 0 honoured the contract we drafted, 0 violated it and 2 have no contract verdict; 4 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/2405.11643.json · badge: /api/ran/2405.11643.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/panther canonical (classifier label)
classifier basis: census
3 ran · 1 no recorded run
mahmoodlab/Panther community
Papers with Code archive
3 ran · 1 no recorded run
mahmoodlab/uni marked official in Papers with Code
Papers with Code archive
0 ran · 1 no recorded run
FunctionStatusWhere it lives
DirNIWNet Ran
ran on a synthesized input
mahmoodlab/Panther/src/mil_models/PANTHER/layers.py
pointer only (licence: NOASSERTION) · get_code("a34e6703be943887")
How it ran

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

create_mlp Ran
ran; our contract draft was wrong, not the code
mahmoodlab/panther/src/mil_models/components.py
pointer only (licence: NOASSERTION) · get_code("6a1b7452867ef4f5")
How it ran

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

create_mlp_with_dropout Ran
ran on a synthesized input
mahmoodlab/panther/src/mil_models/components.py
pointer only (licence: NOASSERTION) · get_code("d231c6ad09c95f36")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, mahmoodlab/panther (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/Panther/src/mil_models/PANTHER/layers.py
pointer only (licence: NOASSERTION) · get_code("369ca48ec835bd84")
How it ran

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

mog_eval Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mahmoodlab/Panther/src/mil_models/PANTHER/layers.py
pointer only (licence: NOASSERTION) · get_code("681d9968238c8e7e")
How it ran

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

mog_eval Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mahmoodlab/panther/src/mil_models/PANTHER/networks.py
pointer only (licence: NONE); the stored copy get_code serves, from YuchengXing99/DPsurv, is pointer only (licence: NOASSERTION) · get_code("c91fc7771c0d59c0")
How it ran

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

PANTHERBase Not yet run
unverified (harvested, no recorded run)
mahmoodlab/Panther/src/mil_models/PANTHER/layers.py
pointer only (licence: NOASSERTION) · get_code("a4eaf17100c9474a")
How it ran

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

ProtoNet Not yet run
unverified (harvested, no recorded run)
mahmoodlab/uni/uni/downstream/eval_patch_features/protonet.py
pointer only (licence: NOASSERTION) · get_code("91f2d23a2b2148c0")
How it ran

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

predict_emb Not yet run
unverified (harvested, no recorded run)
mahmoodlab/panther/src/mil_models/components.py
pointer only (licence: NOASSERTION) · get_code("661e342ce59e6efe")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, mahmoodlab/panther (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 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 8 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 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_pkl
brick of this paper's assembly: helper
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.11618 (2024-05)
Transcriptomics-guided Slide Representation Learning in Computational Pathology
and 3 more not named here
mog_eval
brick of this paper's assembly: helper
1 other paper
1 later
2510.00053 (2025-10)
DPsurv: Dual-Prototype Evidential Fusion for Uncertainty-Aware and Interpretable Whole Slide Image 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

Representation learning of pathology whole-slide images (WSIs) has been has primarily relied on weak supervision with Multiple Instance Learning (MIL). However, the slide representations resulting from this approach are highly tailored to specific clinical tasks, which limits their expressivity and generalization, particularly in scenarios with limited data. Instead, we hypothesize that morphological redundancy in tissue can be leveraged to build a task-agnostic slide representation in an unsupervised fashion. To this end, we introduce PANTHER, a prototypebased approach rooted in the Gaussian mixture model that summarizes the set of WSI patches into a much smaller set of morphological prototypes. Specifically, each patch is assumed to have been generated from a mixture distribution, where each mixture component represents a morphological exemplar. Utilizing the estimated mixture parameters, we then construct a compact slide representation that can be readily used for a wide range of downstream tasks. By performing an extensive evaluation of PANTHER on subtyping and survival tasks using 13 datasets, we show that 1) PANTHER outperforms or is on par with supervised MIL baselines and 2) the analysis of morphological prototypes brings new qualitative and quantitative insights into model interpretability. The code is available at https://github.com/mahmoodlab/Panther.

For agents

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

get_harvested_code_for_paper("2405.11643")
get_code_for_paper("2405.11643")
have("2405.11643")

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

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

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

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

Connect an agent — have() is free.