SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2307.04189 · CVPR · 2023

Histopathology Whole Slide Image Analysis with Heterogeneous Graph Representation Learning

Lequan Yu, Fernando Cendra, Lan Ma, Tsai Chan, Guosheng Yin

arXiv · PDF · Open in the Atlas

Code that ran

3 of 6 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 0 have no contract verdict; 3 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/2307.04189.json · badge: /api/ran/2307.04189.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
HKU-MedAI/WSI-HGNN canonical (classifier label)
classifier basis: census
3 ran · 3 no recorded run
FunctionStatusWhere it lives
get_training_and_testing_sets Ran
ran; our contract draft was wrong, not the code
HKU-MedAI/WSI-HGNN/get_graph.py
pointer only (licence: NONE) · get_code("5ae45fd5040f881b")
How it ran

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

mask_message Ran
ran; our contract draft was wrong, not the code
HKU-MedAI/WSI-HGNN/explainers/hgnn_explainer.py
pointer only (licence: NONE) · get_code("ea5f237f3ffa8604")
How it ran

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

xml_read_labels Ran
ran; our contract draft was wrong, not the code
HKU-MedAI/WSI-HGNN/baselines/GTNMIL/src/tile_WSI.py
pointer only (licence: NONE) · get_code("8ce93d785861725e")
How it ran

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

BRCA_trainval Not yet run
unverified (harvested, no recorded run)
HKU-MedAI/WSI-HGNN/get_graph.py
pointer only (licence: NONE) · get_code("f08b424b54eed786")
How it ran

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

COAD_trainval Not yet run
unverified (harvested, no recorded run)
HKU-MedAI/WSI-HGNN/get_graph.py
pointer only (licence: NONE) · get_code("bfbecac0e182887c")
How it ran

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

apply_weights Not yet run
unverified (harvested, no recorded run)
HKU-MedAI/WSI-HGNN/models/HEATNet2.py
pointer only (licence: NONE) · get_code("cf4323aa8e448c99")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, HKU-MedAI/WSI-HGNN 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 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 5 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
xml_read_labels 1 other paper
1 dated earlier
2205.09671 (2022-05)
A graph-transformer for whole slide image classification

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

Graph-based methods have been extensively applied to whole slide histopathology image (WSI) analysis due to the advantage of modeling the spatial relationships among different entities. However, most of the existing methods focus on modeling WSIs with homogeneous graphs (e.g., with homogeneous node type). Despite their successes, these works are incapable of mining the complex structural relations between biological entities (e.g., the diverse interaction among different cell types) in the WSI. We propose a novel heterogeneous graph-based framework to leverage the inter-relationships among different types of nuclei for WSI analysis. Specifically, we formulate the WSI as a heterogeneous graph with "nucleus-type" attribute to each node and a semantic similarity attribute to each edge. We then present a new heterogeneous-graph edge attribute transformer (HEAT) to take advantage of the edge and node heterogeneity during massage aggregating. Further, we design a new pseudo-label-based semantic-consistent pooling mechanism to obtain graph-level features, which can mitigate the over-parameterization issue of conventional cluster-based pooling. Additionally, observing the limitations of existing association-based localization methods, we propose a causal-driven approach attributing the contribution of each node to improve the interpretability of our framework. Extensive experiments on three public TCGA benchmark datasets demonstrate that our framework outperforms the state-of-the-art methods with considerable margins on various tasks. Our codes are available at https://github.com/HKU-MedAI/WSI-HGNN.

For agents

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

get_harvested_code_for_paper("2307.04189")
get_code_for_paper("2307.04189")
have("2307.04189")

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

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

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

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

Connect an agent — have() is free.