SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2307.02249 · 2023

Rethinking Multiple Instance Learning for Whole Slide Image Classification: A Good Instance Classifier is All You Need

arXiv · PDF · Open in the Atlas

Code that ran

5 of 17 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 3 failures of our instrument; 12 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2307.02249.json · badge: /api/ran/2307.02249.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
miccaiif/ins canonical (classifier label)
classifier basis: census
5 ran · 12 no recorded run
FunctionStatusWhere it lives
alexnet Ran
ran; our contract draft was wrong, not the code
miccaiif/ins/alexnet.py
pointer only (licence: NONE); the stored copy get_code serves, from fukexue/FAST, is pointer only (licence: NONE) · get_code("1352df0a3319e2e7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, miccaiif/ins when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

alexnet_MNIST Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
miccaiif/ins/alexnet.py
pointer only (licence: NONE); the stored copy get_code serves, from fukexue/FAST, is pointer only (licence: NONE) · get_code("76bb126e7ce54fba")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, miccaiif/ins when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

make_layers_features Ran
ran; our contract draft was wrong, not the code
miccaiif/ins/alexnet.py
pointer only (licence: NONE); the stored copy get_code serves, from fukexue/FAST, is pointer only (licence: NONE) · get_code("71a8b60d245a6336")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, miccaiif/ins when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

statistics_slide Ran
ran, honoured the contract we drafted
miccaiif/ins/dataset_CAMELYON16.py
pointer only (licence: NONE) · get_code("1bc388dac6546418")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, miccaiif/ins when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

statistics_slide Ran
ran, honoured the contract we drafted
miccaiif/ins/dataset_CAMELYON16_BasedOnFeat.py
pointer only (licence: NONE) · get_code("3b052dcd80b3f5f9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, miccaiif/ins when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

concat_all_gather Not yet run
unverified (harvested, no recorded run)
miccaiif/ins/model.py
pointer only (licence: NONE) · get_code("73cecca9f3575f09")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, miccaiif/ins when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_bag_feats Not yet run
unverified (harvested, no recorded run)
miccaiif/ins/dataset_TCGA_LungCancer_return_bag.py
pointer only (licence: NONE) · get_code("bc432178498c4982")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, miccaiif/ins when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load_CAM16_end Not yet run
unverified (harvested, no recorded run)
miccaiif/ins/dataset_CAMELYON16.py
pointer only (licence: NONE) · get_code("545d4742a1782d41")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, miccaiif/ins when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load_CIFAR10 Not yet run
unverified (harvested, no recorded run)
miccaiif/ins/cifarm_pos_neg_bag.py
pointer only (licence: NONE) · get_code("f605004df6273833")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, miccaiif/ins when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load_CIFAR_batch Not yet run
unverified (harvested, no recorded run)
miccaiif/ins/cifarm_pos_neg_bag.py
pointer only (licence: NONE) · get_code("bf2f2ad10d09da4c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, miccaiif/ins when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load_TCGA Not yet run
unverified (harvested, no recorded run)
miccaiif/ins/dataset_TCGA_LungCancer_return_bag.py
pointer only (licence: NONE) · get_code("b366ddb5e4b6bf5f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, miccaiif/ins when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load_cam16_mil Not yet run
unverified (harvested, no recorded run)
miccaiif/ins/dataset_CAMELYON16_BasedOnFeat.py
pointer only (licence: NONE) · get_code("074a5d6638b10ac9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, miccaiif/ins when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load_pickle Not yet run
unverified (harvested, no recorded run)
miccaiif/ins/cifarm_pos_neg_bag.py
pointer only (licence: NONE) · get_code("c0233f1d95c36390")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, miccaiif/ins when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

t_SNE_vis Not yet run
unverified (harvested, no recorded run)
miccaiif/ins/compare_feats.py
pointer only (licence: NONE) · get_code("b0d0cf6761cd2020")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, miccaiif/ins when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

test Not yet run
unverified (harvested, no recorded run)
miccaiif/ins/train_bag_TCGA.py
pointer only (licence: NONE) · get_code("66b9367750d8eecd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, miccaiif/ins when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

test Not yet run
unverified (harvested, no recorded run)
miccaiif/ins/train_onlybag_feat_by_bagcls.py
pointer only (licence: NONE) · get_code("35c1fe27f6550518")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, miccaiif/ins when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

test Not yet run
unverified (harvested, no recorded run)
miccaiif/ins/train_onlybag_feat_by_bagcls_KI.py
pointer only (licence: NONE) · get_code("1da7ac9a76ad965f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, miccaiif/ins when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 5 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 1 the same month, 4 later) and 12 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
concat_all_gather 138 other papers
80 dated earlier, 3 the same month, 54 later, 1 same year, order not determinable · 33 only as an assembly brick
1710.09412 (2017-10)
mixup: BEYOND EMPIRICAL RISK MINIMIZATION
1905.04899 (2019-05)
CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Features
1905.12794 (2019-05)
Fashion IQ: A New Dataset Towards Retrieving Images by Natural Language Feedback
and 135 more not named here
alexnet 1 other paper
1 later
2409.19720 (2024-09)
FAST: A Dual-tier Few-Shot Learning Paradigm for Whole Slide Image Classification
alexnet_MNIST 1 other paper
1 later
2409.19720 (2024-09)
FAST: A Dual-tier Few-Shot Learning Paradigm for Whole Slide Image Classification
load_pickle 1 other paper
1 dated earlier
2002.05712 (2020-02)
Cross-Iteration Batch Normalization
make_layers_features 1 other paper
1 later
2409.19720 (2024-09)
FAST: A Dual-tier Few-Shot Learning Paradigm for Whole Slide Image Classification

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Weakly supervised whole slide image classification is usually formulated as a multiple instance learning (MIL) problem, where each slide is treated as a bag, and the patches cut out of it are treated as instances. Existing methods either train an instance classifier through pseudo-labeling or aggregate instance features into a bag feature through attention mechanisms and then train a bag classifier, where the attention scores can be used for instance-level classification. However, the pseudo instance labels constructed by the former usually contain a lot of noise, and the attention scores constructed by the latter are not accurate enough, both of which affect their performance. In this paper, we propose an instance-level MIL framework based on contrastive learning and prototype learning to effectively accomplish both instance classification and bag classification tasks. To this end, we propose an instance-level weakly supervised contrastive learning algorithm for the first time under the MIL setting to effectively learn instance feature representation. We also propose an accurate pseudo label generation method through prototype learning. We then develop a joint training strategy for weakly supervised contrastive learning, prototype learning, and instance classifier training. Extensive experiments and visualizations on four datasets demonstrate the powerful performance of our method. Codes are available at https://github.com/miccaiif/INS.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2307.02249")
get_code_for_paper("2307.02249")
have("2307.02249")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2307.02249.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2307.02249.svg)](https://syntology.ai/paper/2307.02249)

Connect an agent — have() is free.