All models

FR-MIL

A multiple instance learning aggregator that re-calibrates patch features to classify whole slide images.

Medical imaging · 81 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 (36 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
1.1M
Operations
81
Framework
PyTorch
Recurrent
No
Published
MICCAI 2022
Cited by
32 (as of 28 October 2026)
Authors
Philip Chikontwe, Soo Jeong Nam, Heounjeong Go 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
m16593
Graph hash
ca03edebf23a4500a12d1cbf59a9baab36b69a986df9b036f324bcfced38ab56
Skeleton hash
797f8dc4792998330ed1d844749727a4989c484839846939bf8c6a376829fd9f
Architecture hash
23eabf52630e53c05bdc922341c61f4260cf7a82c92fd94e6bc564b6637a7b61
Diagram SHA-256
5c67d5cd4f37563fb00e7d7f73c2e6b9b009bc709789ab5acb0e52d0197fce12
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

FR-MIL classifies whole slide images of tissue using multiple instance learning (MIL), which treats classification as a weakly supervised task with slide-level labels only. Where other MIL methods apply variants of attention to re-weight instance features, this paper looks at the data distribution and re-calibrates a bag using the statistics of its max-instance, or critical, feature.

An instance classifier in a max-pooling module scores the instance features and selects the max-instance. That feature is then subtracted from the bag's instance features. A position encoding module (PEM) applies a single 2D group convolution with kernel size 3 × 3 to the re-calibrated features to encode spatial information. Pooling is done by a single multi-head Transformer encoder that takes the max-instance feature as its query.

Training rests on the assumption that, in binary MIL, positive bags have larger feature magnitudes than negatives, and a feature loss pushes the two apart. Because that loss compares bags, the authors replace single-batch training with balanced-batch sampling, so positive and negative bags are used simultaneously. For CAMELYON16, the instance features come from a SimCLR ResNet18 encoder. On that dataset the paper reports a 3% accuracy improvement over DSMIL.

Key idea. FR-MIL re-calibrates the instance features of a whole slide image bag with its max-instance feature and trains with a feature magnitude loss over balanced positive and negative bags.

  • FR-MIL
  • FRMIL
  • feature re-calibration
  • multiple instance learning
  • whole slide image classification
  • histopathology
  • digital pathology
  • weakly supervised learning
  • CAMELYON16

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

Cite the paper

@misc{chikontwe2022featurerecalibrationbasedmultiple,
      title={Feature Re-calibration based Multiple Instance Learning for Whole Slide Image Classification}, 
      author={Philip Chikontwe and Soo Jeong Nam and Heounjeong Go and Meejeong Kim and Hyun Jung Sung and Sang Hyun Park},
      year={2022},
      eprint={2206.10878},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2206.10878}, 
}