All models

IBMIL

IBMIL, a deconfounded multi-instance learning model for whole-slide pathology image classification.

Medical imaging · 20 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 (28 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
395.5K
Operations
20
Framework
PyTorch
Recurrent
No
Published
CVPR 2023
Cited by
147 (as of 26 October 2026)
Authors
Tiancheng Lin, Zhimiao Yu, Hongyu Hu and others
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
m17451
Graph hash
e1651ceecb8644554aaa77c0f14f621ffb820debca4c62d6a3eefb9b57882af7
Skeleton hash
7fd7c42a85f9eee1a6a420b4fbb4adc89498d85e2818a1ebdd02a5f4fe6141ce
Architecture hash
5480632cd731f2abd073021bbabf37e6db8df6058c2b21a7f51ef07e1eaf655a
Diagram SHA-256
5b11d31a4f2a38b2bea80c17984f1c05a7fbb8c6be8ed742accf2ff09b4e5f5c
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

IBMIL (Interventional Bag Multi-Instance Learning) is a training scheme for classifying whole-slide pathological images, which are handled with multi-instance learning because of their gigapixel resolution and slide-level labels. The paper argues that the context shared across a bag of patches can lead a model to learn spurious correlations between bags and labels, and treats that context as a confounder.

Usual practice trains a feature extractor and then an aggregator that pools patch features into a bag feature, and IBMIL adds a further stage of interventional training. To approximate the confounders, the bag features of the training set are clustered with K-means and each cluster is averaged into one entry of a confounder dictionary. The aggregator is then retrained with each bag feature concatenated to an attention-weighted sum of the dictionary entries, so the backdoor adjustment takes a single forward pass. The paper's default is 8 dictionary entries and a projection dimension of 128, the values this model uses. The aggregator in this model is ABMIL, a classic attention-based design in which a multi-layer perceptron predicts the attention scores.

The scheme does not depend on a particular feature extractor or aggregator, and the paper reports consistent gains over the methods it was added to on Camelyon16 and TCGA-NSCLC.

Key idea. IBMIL adds an interventional training stage, based on backdoor adjustment, that suppresses the bias bag context introduces in multi-instance learning on whole-slide images.

  • ibmil
  • interventional bag multi-instance learning
  • multiple instance learning
  • whole-slide image classification
  • wsi classification
  • computational pathology
  • causal intervention
  • backdoor adjustment
  • deconfounded mil

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

Cite the paper

@misc{lin2023interventionalbagmultiinstancelearning,
      title={Interventional Bag Multi-Instance Learning On Whole-Slide Pathological Images}, 
      author={Tiancheng Lin and Zhimiao Yu and Hongyu Hu and Yi Xu and Chang Wen Chen},
      year={2023},
      eprint={2303.06873},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2303.06873}, 
}