Papers › AdvMIL: Adversarial Multiple Instance Learning for the Survival Analysis on Whole-Slide Images

AdvMIL: Adversarial Multiple Instance Learning for the Survival Analysis on Whole-Slide Images

13 Dec 2022arXiv:2212.06515archive 2025-07-28

Pei Liu, Luping Ji, Feng Ye, Bo Fu

The survival analysis on histological whole-slide images (WSIs) is one of the most important means to estimate patient prognosis. Although many weakly-supervised deep learning models have been developed for gigapixel WSIs, their potential is generally restricted by classical survival analysis rules and fully-supervised learning requirements. As a result, these models provide patients only with a completely-certain point estimation of time-to-event, and they could only learn from the labeled WSI data currently at a small scale. To tackle these problems, we propose a novel adversarial multiple instance learning (AdvMIL) framework. This framework is based on adversarial time-to-event modeling, and integrates the multiple instance learning (MIL) that is much necessary for WSI representation learning. It is a plug-and-play one, so that most existing MIL-based end-to-end methods can be easily upgraded by applying this framework, gaining the improved abilities of survival distribution estimation and semi-supervised learning. Our extensive experiments show that AdvMIL not only could often bring performance improvement to mainstream WSI survival analysis methods at a relatively low computational cost, but also enables these methods to effectively utilize unlabeled data via semi-supervised learning. Moreover, it is observed that AdvMIL could help improving the robustness of models against patch occlusion and two representative image noises. The proposed AdvMIL framework could promote the research of survival analysis in computational pathology with its novel adversarial MIL paradigm.

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="2212.06515")

Code

Syntology Ran 0 of 15 code samples harvested from 1 repository linked to this paper; 15 have no recorded run.

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

liupei101/advmil officialmentioned in papermentioned on GitHubpytorchMIT 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

15 samples harvested; 0 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.

15unverified

Licence: 0 of the 15 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 liupei101/advmil. “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.

D_input_constructor liupei101/advmil/model_stats.py official repository unverified MIT (permissive) · 3bdef6f68f5e39ae · report
Model_Zoo liupei101/advmil/model/backbone.py official repository unverified MIT (permissive) · 57113a306fd5f9e7 · report
collate_MIL_graph liupei101/advmil/dataset/GraphBatchWSI.py official repository unverified MIT (permissive) · 51c8dd813a5c2578 · report
get_hop_dims liupei101/advmil/model/model_utils.py official repository unverified MIT (permissive) · d007b9f5f20178c1 · report
load_backbone liupei101/advmil/model/backbone.py official repository unverified MIT (permissive) · 5a8d62b0d3d40685 · report
load_backbone_param liupei101/advmil/model/backbone.py official repository unverified MIT (permissive) · 4e2c176445471e59 · report
loss_reg_l1 liupei101/advmil/loss/utils.py official repository unverified MIT (permissive) · 96ef08c5692a223b · report
make_efficient_mlp_layer liupei101/advmil/model/model_utils.py official repository unverified MIT (permissive) · 0e4e4f4949f86e19 · report
make_noise_mlp_layer liupei101/advmil/model/model_utils.py official repository unverified MIT (permissive) · 31e8a2a68582e09e · report
posemb_sincos_2d liupei101/advmil/model/backbone_utils.py official repository unverified MIT (permissive) · a81a27cc1f5ac5c9 · report
prepare_dataset liupei101/advmil/dataset/utils.py official repository unverified MIT (permissive) · 6c12bc9946ecffcb · report
rank_loss liupei101/advmil/loss/utils.py official repository unverified MIT (permissive) · ee234d25e6f3ff5a · report
recon_loss liupei101/advmil/loss/utils.py official repository unverified MIT (permissive) · a7bdd3621350a41c · report
sequence2square liupei101/advmil/model/backbone_utils.py official repository unverified MIT (permissive) · 2da5595b8297945e · report
square2sequence liupei101/advmil/model/backbone_utils.py official repository unverified MIT (permissive) · 8d269c3586d4d722 · report

Tasks

Multiple Instance LearningPrognosisRepresentation LearningSurvival Analysiswhole slide images

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