RRT-MIL
AB-MIL for pathology slides with a regional transformer that re-embeds patch features online.
Medical imaging · 105 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
- 2.7M
- Operations
- 105
- Framework
- PyTorch
- Recurrent
- No
- Published
- CVPR 2024
- Cited by
- 112 (as of 27 October 2026)
- Authors
- Wenhao Tang, Fengtao Zhou, Sheng Huang and others
- Source
- GitHub: DearCaat/RRT-MIL
- 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
- m19693
- Graph hash
- d67d5532adf9c390c027eb96d15036b4137607692390bf14ae411c20a6c61445
- Skeleton hash
- 1e3c0f63cf913dd28edca217ad54352700d1c332e54761523147e3e5d0f1f642
- Architecture hash
- 4a3661cf9c4c2c6b4227c094ac041c8dc5e8225e3bfbd3e31d4c471c21c72138
- Diagram SHA-256
- c6f186de9a0d7fb8d88f986e0564eefb2c34e6c73ba89349377eb74af174c336
- 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
RRT-MIL (R²T-MIL in the paper) is AB-MIL enhanced with R²T, the Re-embedded Regional Transformer. The paper's starting point is that multiple instance learning in computational pathology typically requires an offline instance feature extractor, such as a pre-trained ResNet or a foundation model. That approach cannot fine-tune the features within the specific downstream task.
R²T re-embeds the instance features online, capturing fine-grained local features and establishing connections across different regions. It is a portable module that can be integrated into mainstream MIL models. In the README's example the encoder goes before the aggregation module, with epeg_k=15 and crmsa_k=3, the two hyperparameters the README calls primary.
The paper reports that feature re-embedding improves MIL models based on ResNet-50 features to the level of foundation model features. The repository notes that, because of code refactoring, it cannot fully reproduce the results in the paper.
Key idea. The paper built R²T, a portable transformer module that re-embeds instance features online and can be integrated into mainstream MIL models in computational pathology.
- RRT-MIL
- R2T-MIL
- Re-embedded Regional Transformer
- R2T
- feature re-embedding
- multiple instance learning
- computational pathology
- whole slide image
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{tang2024featurereembeddingfoundationmodellevel,
title={Feature Re-Embedding: Towards Foundation Model-Level Performance in Computational Pathology},
author={Wenhao Tang and Fengtao Zhou and Sheng Huang and Xiang Zhu and Yi Zhang and Bo Liu},
year={2024},
eprint={2402.17228},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2402.17228},
}