Papers › ProtoMIL: Multiple Instance Learning with Prototypical Parts for Whole-Slide Image...

ProtoMIL: Multiple Instance Learning with Prototypical Parts for Whole-Slide Image Classification

24 Aug 2021arXiv:2108.10612archive 2025-07-28

Dawid Rymarczyk, Adam Pardyl, Jarosław Kraus, Aneta Kaczyńska, Marek Skomorowski, Bartosz Zieliński

Multiple Instance Learning (MIL) gains popularity in many real-life machine learning applications due to its weakly supervised nature. However, the corresponding effort on explaining MIL lags behind, and it is usually limited to presenting instances of a bag that are crucial for a particular prediction. In this paper, we fill this gap by introducing ProtoMIL, a novel self-explainable MIL method inspired by the case-based reasoning process that operates on visual prototypes. Thanks to incorporating prototypical features into objects description, ProtoMIL unprecedentedly joins the model accuracy and fine-grained interpretability, which we present with the experiments on five recognized MIL datasets.

PaperPDFCodeCode 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="2108.10612")

Code

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

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

apardyl/protomil officialmentioned in paperpytorchMIT 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

17 samples harvested; 2 ran; 0 honoured the contract we drafted; 15 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.

2ran · our draft was wrong
15unverified

Licence: 0 of the 17 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 apardyl/protomil. “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.

conv1x1 apardyl/protomil/base_models/resnet_features.py official repository ran · our draft was wrong MIT (permissive) · d9def42110729a85 · report
conv3x3 apardyl/protomil/base_models/resnet_features.py official repository ran · our draft was wrong MIT (permissive) · fac5364e2f53c6db · report
class_select apardyl/protomil/weight_loss.py official repository unverified MIT (permissive) · a2baed860d74a722 · report
cross_entropy_with_weights apardyl/protomil/weight_loss.py official repository unverified MIT (permissive) · 87c31863e6ac3ca7 · report
densenet121_features apardyl/protomil/base_models/densenet_features.py official repository unverified MIT (permissive) · d5149ec5f0e567e9 · report
densenet169_features apardyl/protomil/base_models/densenet_features.py official repository unverified MIT (permissive) · cf20cbc234ba341a · report
densenet201_features apardyl/protomil/base_models/densenet_features.py official repository unverified MIT (permissive) · 3803a12204298d72 · report
lenet5_features apardyl/protomil/base_models/lenet_features.py official repository unverified MIT (permissive) · 3a1dad638e0c10ce · report
log_sum_exp apardyl/protomil/weight_loss.py official repository unverified MIT (permissive) · d90a16e645700743 · report
noop_features apardyl/protomil/base_models/noop_features.py official repository unverified MIT (permissive) · d9c53a230276d331 · report
resnet18_features apardyl/protomil/base_models/resnet_features.py official repository unverified MIT (permissive) · cb5dd5a8608ef68e · report
resnet_forward_impl apardyl/protomil/datasets/camelyon_resnet.py official repository unverified MIT (permissive) · 5175a4ce1a025b40 · report
small_resnet18_bottleneck_features apardyl/protomil/base_models/small_resnet_features.py official repository unverified MIT (permissive) · db4cf62626820858 · report
small_resnet18_features apardyl/protomil/base_models/small_resnet_features.py official repository unverified MIT (permissive) · c4a2a18ed874eb3d · report
vgg11_bn_features apardyl/protomil/base_models/vgg_features.py official repository unverified MIT (permissive) · f80fd95528cbadc0 · report
vgg11_features apardyl/protomil/base_models/vgg_features.py official repository unverified MIT (permissive) · 82ea1f1bdcfa7b9e · report
vgg13_features apardyl/protomil/base_models/vgg_features.py official repository unverified MIT (permissive) · 15e9e467f0e328d1 · report

Tasks

Image ClassificationMultiple Instance Learningimage-classification

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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