TANGLE
A pathology slide encoder pre-trained by aligning slide embeddings with gene expression profiles.
Medical imaging · 28 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
- 56.2M
- Operations
- 28
- Framework
- PyTorch
- Recurrent
- No
- Published
- CVPR 2024
- Cited by
- 50 (as of 26 October 2026)
- Authors
- Guillaume Jaume, Lukas Oldenburg, Anurag Vaidya and others
- Source
- GitHub: mahmoodlab/TANGLE
- 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
- m20728
- Graph hash
- 932b9e6166604902a2c2687abe7f378f96ccf52a5cf9082259926330f56dfb49
- Skeleton hash
- 607a74d8473bc955f0a4ed2acbca8f4120b37079053e5be9ed40cc9f6a780c65
- Architecture hash
- b229a9ff3e9aaf3c190b115e471d81159b52ce396b4fe648befe94aae29cc729
- Diagram SHA-256
- 545972f911990be26049ab72acad61600f379a9c2a1f85e8d8e7fb5b9e4b7b58
- 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
TANGLE is a pre-training method for pathology that learns one embedding for a whole histology slide by pairing the slide with its gene expression profile. Self-supervised learning has worked for small histology image patches, but the paper notes that scaling it to giga-pixel whole-slide images remains challenging. The authors' answer is to let gene expression profiles guide what the slide encoder learns.
The slide is cut into patches that a pretrained vision encoder turns into patch embeddings, and an attention-based multiple instance learning (ABMIL) module pools them into a slide embedding. The expression profile is encoded by a 3-layer MLP. A contrastive objective aligns the two embeddings, an approach the authors relate to the CLIP principle used in vision-language models. For the breast and lung cancer cohorts, the paper samples 2,048 patches per slide during pre-training.
Pre-training used slide and expression pairs from liver (6,597 pairs), breast (1,020) and lung (1,012), from two species. On three independent test datasets, the paper reports better few-shot performance than supervised and self-supervised baselines. The code repository also provides a pan-cancer model trained on all TCGA cohorts, called TANGLEv2, which was not part of the paper.
Key idea. Tangle pre-trains a slide encoder by aligning whole-slide image embeddings with gene expression embeddings through contrastive learning, using modality-specific encoders.
- tangle
- tanglev2
- slide representation learning
- computational pathology
- whole-slide image
- gene expression
- transcriptomics
- multimodal pre-training
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{jaume2024transcriptomicsguidedsliderepresentationlearning,
title={Transcriptomics-guided Slide Representation Learning in Computational Pathology},
author={Guillaume Jaume and Lukas Oldenburg and Anurag Vaidya and Richard J. Chen and Drew F. K. Williamson and Thomas Peeters and Andrew H. Song and Faisal Mahmood},
year={2024},
eprint={2405.11618},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2405.11618},
}