GTP (graph-transformer pathology)
A graph-transformer that classifies whole lung-tissue slides from a graph of their image patches.
Medical imaging · 227 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Medical imaging
- Parameters
- 139.7K
- Operations
- 227
- Framework
- PyTorch
- Recurrent
- No
- Published
- IEEE Transactions on Medical Imaging 2022
- Cited by
- 254 (as of 28 October 2026)
- Authors
- Yi Zheng, Rushin H. Gindra, Emily J. Green and others
- Source
- GitHub: vkola-lab/tmi2022
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m16983
- Graph hash
- a7e6146ef7b0b7748b53f798c45b9f7032abec5e3625c883cebc6da96076e07a
- Skeleton hash
- ca0ca368444061e44ca2737d5e70917d353c5a2d44ac4ebddbacd675c9266f40
- Architecture hash
- 0182035d10eef40d9903e2685b1553dfe1e1109ee698a1eb5635c3e7568324aa
- Diagram SHA-256
- fd3767889cd6e85482732c1aee6318aec1bbe81e126b6040c83f402c7c5d58f6
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
GTP, a graph-transformer for pathology images, classifies an entire whole slide image (WSI) of tissue rather than labeling small patches one at a time. The paper argues that patch-based methods add label noise by assuming every patch carries the slide's label, and miss slide-level information that matters for grading disease.
Each tissue patch becomes a node in a graph whose edges link it to at most 8 neighboring patches. Node features come from a feature extractor trained with contrastive learning on NLST data. The graph passes through graph convolution layers and then a mincut pooling layer that reduces thousands of nodes to hundreds, so that the transformer's self-attention fits in memory. The authors prefer mincut pooling to mean pooling because it can keep local information from neighboring nodes.
The authors selected 4,818 slides from CPTAC, NLST and TCGA. GTP is used to separate lung adenocarcinoma (LUAD) and squamous cell carcinoma (LSCC) from adjacent normal tissue. The paper reports a mean accuracy of 91.2% (plus or minus 2.5%) on this three-label task in five-fold cross-validation on CPTAC. On external test data from TCGA it reports a mean accuracy of 82.3% (plus or minus 1.0%). It also introduces GraphCAM, a graph-based saliency map that highlights the regions most associated with the predicted class.
Key idea. GTP fuses a graph of whole slide image patches with a vision transformer to predict slide-level disease grade, avoiding patch-level labels.
- gtp
- graph-transformer
- gtp-wsi
- whole slide image classification
- computational pathology
- lung cancer
- graphcam
- histopathology
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{zheng2022graphtransformerslideimageclassification,
title={A graph-transformer for whole slide image classification},
author={Yi Zheng and Rushin H. Gindra and Emily J. Green and Eric J. Burks and Margrit Betke and Jennifer E. Beane and Vijaya B. Kolachalama},
year={2022},
eprint={2205.09671},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2205.09671},
}