SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.15303 · 2024

AEM: Attention Entropy Maximization for Multiple Instance Learning based Whole Slide Image Classification

arXiv · PDF · Open in the Atlas

Code that ran

12 of 12 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; 0 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 11 failures of our instrument; 0 no recorded run), measured 2026-11-23; 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/2406.15303.json · badge: /api/ran/2406.15303.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
dazhangyu123/adr canonical (classifier label)
classifier basis: census
12 ran · 0 no recorded run
FunctionStatusWhere it lives
getBorder Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
dazhangyu123/adr/wsi_core/AlgorithmUtils.py
pointer only (licence: NONE) · get_code("2342504240643c41")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dazhangyu123/adr 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.

getMask Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
dazhangyu123/adr/wsi_core/AlgorithmUtils.py
pointer only (licence: NONE) · get_code("101174eba8b3ee1d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dazhangyu123/adr 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.

get_pretrained_url Ran
ran; our contract draft was wrong, not the code
dazhangyu123/adr/models.py
pointer only (licence: NONE) · get_code("3666b7bb4f9ffa54")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dazhangyu123/adr 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.

initialize_df Ran
ran; our contract draft was wrong, not the code
dazhangyu123/adr/wsi_core/batch_process_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from BearCleverProud/HAG-MIL, is pointer only (licence: NONE) · get_code("2294c69b1f977ee2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dazhangyu123/adr 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.

isBlackPatch Ran
ran, violated the contract we drafted
dazhangyu123/adr/wsi_core/wsi_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from BearCleverProud/HAG-MIL, is pointer only (licence: NONE) · get_code("da36c66c0dc9829f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dazhangyu123/adr 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.

isBlackPatch_S Ran
ran; our contract draft was wrong, not the code
dazhangyu123/adr/wsi_core/wsi_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from BearCleverProud/HAG-MIL, is pointer only (licence: NONE) · get_code("9aaa29e4bf4b5c1f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dazhangyu123/adr 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.

isWhitePatch Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
dazhangyu123/adr/wsi_core/wsi_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from BearCleverProud/HAG-MIL, is pointer only (licence: NONE) · get_code("f8ae8348aecd8800")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dazhangyu123/adr 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.

pad_img Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
dazhangyu123/adr/wsi_core/SlideBase.py
pointer only (licence: NONE) · get_code("68bba5a544faaf0c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dazhangyu123/adr 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.

patching Ran
ran; our contract draft was wrong, not the code
dazhangyu123/adr/Step1_create_patches_fp.py
pointer only (licence: NONE) · get_code("6ca1f4cd53ffd7e6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dazhangyu123/adr 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.

resnet18 Ran
ran; our contract draft was wrong, not the code
dazhangyu123/adr/models.py
pointer only (licence: NONE) · get_code("d631c6718b6f954c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dazhangyu123/adr 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.

resnet50 Ran
ran; our contract draft was wrong, not the code
dazhangyu123/adr/models.py
pointer only (licence: NONE) · get_code("f267d2dc21e502aa")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dazhangyu123/adr 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.

segment Ran
ran; our contract draft was wrong, not the code
dazhangyu123/adr/Step1_create_patches_fp.py
pointer only (licence: NONE) · get_code("a63b7288bd08c89e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dazhangyu123/adr 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.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 6 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 6 later) and 6 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
patching 3 other papers
2 dated earlier, 1 later
2311.07125 (2023-11)
Attention-Challenging Multiple Instance Learning for Whole Slide Image Classification
2404.13222 (2024-04)
Vim4Path: Self-Supervised Vision Mamba for Histopathology Images
2602.01951 (2026-02)
Enabling Progressive Whole-slide Image Analysis with Multi-scale Pyramidal Network
segment 3 other papers
1 dated earlier, 2 later
2311.07125 (2023-11)
Attention-Challenging Multiple Instance Learning for Whole Slide Image Classification
2505.17982 (2025-05)
Few-Shot Learning from Gigapixel Images via Hierarchical Vision-Language Alignment and Modeling
2602.01951 (2026-02)
Enabling Progressive Whole-slide Image Analysis with Multi-scale Pyramidal Network
initialize_df 1 other paper
1 later
2602.01951 (2026-02)
Enabling Progressive Whole-slide Image Analysis with Multi-scale Pyramidal Network
isBlackPatch 1 other paper
1 later
2602.01951 (2026-02)
Enabling Progressive Whole-slide Image Analysis with Multi-scale Pyramidal Network
isBlackPatch_S 1 other paper
1 later
2602.01951 (2026-02)
Enabling Progressive Whole-slide Image Analysis with Multi-scale Pyramidal Network
isWhitePatch 1 other paper
1 later
2602.01951 (2026-02)
Enabling Progressive Whole-slide Image Analysis with Multi-scale Pyramidal Network

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-23.

Repositories linked to this paper

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

Abstract

Multiple Instance Learning (MIL) effectively analyzes whole slide images but faces overfitting due to attention over-concentration. While existing solutions rely on complex architectural modifications or additional processing steps, we introduce Attention Entropy Maximization (AEM), a simple yet effective regularization technique. Our investigation reveals the positive correlation between attention entropy and model performance. Building on this insight, we integrate AEM regularization into the MIL framework to penalize excessive attention concentration. To address sensitivity to the AEM weight parameter, we implement Cosine Weight Annealing, reducing parameter dependency. Extensive evaluations demonstrate AEM's superior performance across diverse feature extractors, MIL frameworks, attention mechanisms, and augmentation techniques. Here is our anonymous code: https://github.com/dazhangyu123/AEM.

For agents

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

get_harvested_code_for_paper("2406.15303")
get_code_for_paper("2406.15303")
have("2406.15303")

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

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

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

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

Connect an agent — have() is free.