Papers › Dual-stream Multiple Instance Learning Network for Whole Slide Image Classification...

Dual-stream Multiple Instance Learning Network for Whole Slide Image Classification with Self-supervised Contrastive Learning

17 Nov 2020CVPR 2021 1arXiv:2011.08939archive 2025-07-28

Bin Li, Yin Li, Kevin W. Eliceiri

We address the challenging problem of whole slide image (WSI) classification. WSIs have very high resolutions and usually lack localized annotations. WSI classification can be cast as a multiple instance learning (MIL) problem when only slide-level labels are available. We propose a MIL-based method for WSI classification and tumor detection that does not require localized annotations. Our method has three major components. First, we introduce a novel MIL aggregator that models the relations of the instances in a dual-stream architecture with trainable distance measurement. Second, since WSIs can produce large or unbalanced bags that hinder the training of MIL models, we propose to use self-supervised contrastive learning to extract good representations for MIL and alleviate the issue of prohibitive memory cost for large bags. Third, we adopt a pyramidal fusion mechanism for multiscale WSI features, and further improve the accuracy of classification and localization. Our model is evaluated on two representative WSI datasets. The classification accuracy of our model compares favorably to fully-supervised methods, with less than 2% accuracy gap across datasets. Our results also outperform all previous MIL-based methods. Additional benchmark results on standard MIL datasets further demonstrate the superior performance of our MIL aggregator on general MIL problems. GitHub repository: https://github.com/binli123/dsmil-wsi

PaperPDFConference PDFCodeCode Syntology ran

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

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2011.08939")

Code

Syntology Ran 4 of 6 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 4 ran · our draft was wrong.

By repository: official repository: 6 samples from 1 repository, 4 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

binli123/dsmil-wsi officialmentioned in papermentioned on GitHubpytorch report
Xiyue-Wang/RetCCL mentioned on GitHubpytorchGPL-3.0 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.

Code Syntology ran Syntology

6 samples harvested; 4 ran; 0 honoured the contract we drafted; 2 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

4ran · our draft was wrong
2unverified

Licence: 0 of the 6 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from binli123/dsmil-wsi. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

dropout_patches binli123/dsmil-wsi/train_tcga.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 0661fba29ff6b228 · report
get_bag binli123/dsmil-wsi/train_mil.py official repository ran · our draft was wrong MIT (permissive) · bea88ad293be0da1 · report
get_bag_feats binli123/dsmil-wsi/train_tcga.py official repository ran · our draft was wrong MIT (permissive) · 5c435c4bfad3459d · report
get_data binli123/dsmil-wsi/train_mil.py official repository ran · our draft was wrong MIT (permissive) · 5bcc734ab9dc940e · report
epoch_train binli123/dsmil-wsi/train_mil.py official repository unverified MIT (permissive) · 92b02ded267a7177 · report
train binli123/dsmil-wsi/train_tcga.py official repository unverified MIT (permissive) · f3e5d5f346f71eab · report

Tasks

ClassificationContrastive LearningGeneral ClassificationImage ClassificationMultiple Instance Learningimage-classificationwhole slide images

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Multiple Instance Learning CAMELYON16 DSMIL-LC ACC 0.8992 #10 of 14 Archive leaderboard report
Multiple Instance Learning CAMELYON16 DSMIL-LC AUC 0.9165 #10 of 14 Archive leaderboard report
Multiple Instance Learning CAMELYON16 DSMIL ACC 0.8682 #13 of 14 Archive leaderboard report
Multiple Instance Learning CAMELYON16 DSMIL AUC 0.8944 #13 of 14 Archive leaderboard report
Multiple Instance Learning Elephant DSMIL ACC 0.929 #2 of 2 Archive leaderboard report
Multiple Instance Learning Musk v1 DSMIL ACC 0.947 #2 of 2 Archive leaderboard report
Multiple Instance Learning Musk v2 DSMIL ACC 0.934 #1 of 2 Archive leaderboard report
Multiple Instance Learning TCGA DSMIL-LC ACC 0.9286 #3 of 8 Archive leaderboard report
Multiple Instance Learning TCGA DSMIL-LC AUC 0.9583 #3 of 8 Archive leaderboard report
Multiple Instance Learning TCGA DSMIL ACC 0.9190 #4 of 8 Archive leaderboard report
Multiple Instance Learning TCGA DSMIL AUC 0.9633 #4 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

Contrastive Learning

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