Papers › TransMIL: Transformer based Correlated Multiple Instance Learning for Whole Slide...

TransMIL: Transformer based Correlated Multiple Instance Learning for Whole Slide Image Classification

2 Jun 2021NeurIPS 2021 12arXiv:2106.00908archive 2025-07-28

Zhuchen Shao, Hao Bian, Yang Chen, Yifeng Wang, Jian Zhang, Xiangyang Ji, Yongbing Zhang

Multiple instance learning (MIL) is a powerful tool to solve the weakly supervised classification in whole slide image (WSI) based pathology diagnosis. However, the current MIL methods are usually based on independent and identical distribution hypothesis, thus neglect the correlation among different instances. To address this problem, we proposed a new framework, called correlated MIL, and provided a proof for convergence. Based on this framework, we devised a Transformer based MIL (TransMIL), which explored both morphological and spatial information. The proposed TransMIL can effectively deal with unbalanced/balanced and binary/multiple classification with great visualization and interpretability. We conducted various experiments for three different computational pathology problems and achieved better performance and faster convergence compared with state-of-the-art methods. The test AUC for the binary tumor classification can be up to 93.09% over CAMELYON16 dataset. And the AUC over the cancer subtypes classification can be up to 96.03% and 98.82% over TCGA-NSCLC dataset and TCGA-RCC dataset, respectively. Implementation is available at: https://github.com/szc19990412/TransMIL.

PaperPDFConference PDFCode

In Syntology View this paper on Syntology, its page in Syntology's graph. That page lists the repositories linked to the paper, the abstract and the calls for agents.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, on Syntology's MCP service (how to connect):

Code

szc19990412/TransMIL officialmentioned in paperpytorchSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to Enabling Progressive Whole-slide Image Analysis with Multi-scale Pyramidal Network (arXiv:2602.01951; that paper's own run record: 63 ran (of which 2 constructed an object rather than computing a result; 43 with no instrument failure: 5 honoured, 4 violated, 34 with no contract checked; 20 where Syntology's instrument failed) · 13 unverified); nothing checks that they implement this paper's method. report
Xiyue-Wang/RetCCL mentioned on GitHubpytorchGPL-3.0Syntology: not harvested report
Ycblue/TransMIL mentioned on GitHubpytorchSyntology: not harvested report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

A paper named beside a repository with no sample linked to this paper is shown with that paper's own run record, not this paper's: “ran” means executed on a synthesized input, not that the code is correct, and “where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Papers are listed in arXiv-id order, at most three per repository.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

ClassificationImage ClassificationMultiple Instance LearningWeakly Supervised Classificationimage-classification

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Multiple Instance Learning CAMELYON16 TransMIL ACC 0.8837 #9 of 14 Archive leaderboard report
Multiple Instance Learning CAMELYON16 TransMIL AUC 0.9309 #9 of 14 Archive leaderboard report
Multiple Instance Learning TCGA TransMIL ACC 0.8835 #6 of 8 Archive leaderboard report
Multiple Instance Learning TCGA TransMIL AUC 0.9603 #6 of 8 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Absolute Position EncodingsAdamAttentionBPEDense ConnectionsDropoutLabel SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformer

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections