All models

DTFD-MIL

Two-tier attention-based multiple instance learning model that classifies pathology slides via pseudo-bags.

Medical imaging · 86 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (16 KB)

Open in a new tab

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

Parameters
789.3K
Operations
86
Framework
PyTorch
Recurrent
No
Published
CVPR 2022
Cited by
510 (as of 29 October 2026)
Authors
Hongrun Zhang, Yanda Meng, Yitian Zhao and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m15770
Graph hash
f94248d1932a0545c15613d79f8f4b9a60f41326b2f75c1d2a486e54293519b2
Skeleton hash
4b57f3f30148ae2e7c1f40f2cf8d31bb35f92a59365851fda0a8f7b3af53bc0d
Architecture hash
b69354cd3f57f3078b172005e62b1772cbe30316ceedd4e19fee6501b0791df5
Diagram SHA-256
a7127aa3ef127f4eca12c61efc14bc9da569ec59b38b8d003b4d7ccfb774be8d
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

DTFD-MIL classifies histopathology whole slide images (WSIs), where a slide is cut into hundreds or even thousands of patches and the only information for learning is the slide-level label. In multiple instance learning (MIL) terms the slide is a bag and its patches are instances, and the paper's concern is that a cohort offers a limited number of bags, each with a large number of instances. Its response is the pseudo-bag: the patches of a slide are randomly split into several smaller bags, each given the label of the original slide.

Two attention-based MIL models are stacked on that idea, each using the classic AB-MIL as its base. The Tier-1 model is applied to each pseudo-bag, a feature vector is distilled from each one, and the Tier-2 model takes those vectors to predict the label of the whole slide. The second tier answers a risk the paper names: a pseudo-bag from a positive slide may receive no positive patch and so be mislabeled. The slide label supervises both tiers during training.

The paper considers four strategies for distilling the pseudo-bag feature. To support them it derives an instance probability under attention-based MIL from the idea behind Grad-CAM. One strategy, aggregated feature selection (AFS), forwards the feature aggregated from all the instances in a pseudo-bag. The model works on patch features extracted by a backbone network, and the model sizes the paper reports leave out the ResNet-50 feature extraction.

Key idea. DTFD-MIL splits each slide into pseudo-bags, applies a first attention-based MIL model to each, and feeds features distilled from them to a second model that classifies the slide.

  • DTFD-MIL
  • Double-Tier Feature Distillation
  • multiple instance learning
  • MIL
  • whole slide image classification
  • WSI
  • histopathology
  • pseudo-bags
  • attention-based MIL

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{zhang2022dtfdmildoubletierfeaturedistillation,
      title={DTFD-MIL: Double-Tier Feature Distillation Multiple Instance Learning for Histopathology Whole Slide Image Classification}, 
      author={Hongrun Zhang and Yanda Meng and Yitian Zhao and Yihong Qiao and Xiaoyun Yang and Sarah E. Coupland and Yalin Zheng},
      year={2022},
      eprint={2203.12081},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2203.12081}, 
}