Papers › OTSurv: A Novel Multiple Instance Learning Framework for Survival Prediction with...

OTSurv: A Novel Multiple Instance Learning Framework for Survival Prediction with Heterogeneity-aware Optimal Transport

25 Jun 2025arXiv:2506.20741archive 2025-07-28

Qin Ren, Yifan Wang, Ruogu Fang, Haibin Ling, Chenyu You

Survival prediction using whole slide images (WSIs) can be formulated as a multiple instance learning (MIL) problem. However, existing MIL methods often fail to explicitly capture pathological heterogeneity within WSIs, both globally -- through long-tailed morphological distributions, and locally through -- tile-level prediction uncertainty. Optimal transport (OT) provides a principled way of modeling such heterogeneity by incorporating marginal distribution constraints. Building on this insight, we propose OTSurv, a novel MIL framework from an optimal transport perspective. Specifically, OTSurv formulates survival predictions as a heterogeneity-aware OT problem with two constraints: (1) global long-tail constraint that models prior morphological distributions to avert both mode collapse and excessive uniformity by regulating transport mass allocation, and (2) local uncertainty-aware constraint that prioritizes high-confidence patches while suppressing noise by progressively raising the total transport mass. We then recast the initial OT problem, augmented by these constraints, into an unbalanced OT formulation that can be solved with an efficient, hardware-friendly matrix scaling algorithm. Empirically, OTSurv sets new state-of-the-art results across six popular benchmarks, achieving an absolute 3.6% improvement in average C-index. In addition, OTSurv achieves statistical significance in log-rank tests and offers high interpretability, making it a powerful tool for survival prediction in digital pathology. Our codes are available at https://github.com/Y-Research-SBU/OTSurv.

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

Code

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

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

y-research-sbu/otsurv officialmentioned in papermentioned on GitHubpytorchNOASSERTION 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

10 samples harvested; 3 ran; 1 honoured the contract we drafted; 7 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.

1ran · honoured contract
2ran · our draft was wrong
7unverified

Licence: 10 of the 10 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 y-research-sbu/otsurv. “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.

sigmoid_rampup y-research-sbu/otsurv/src/mil_models/otsurv_component/ot_attn.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · 3fb68ed6809a8085 · report
load_pkl y-research-sbu/otsurv/src/utils/file_utils.py official repository ran · our draft was wrong no licence file found · pointer only · 369ca48ec835bd84 · report
partial_ll_loss y-research-sbu/otsurv/src/utils/losses.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 4dd75c9172f12cfb · report
collate_fn_list y-research-sbu/otsurv/src/training/main_survival.py official repository unverified licence not identified · pointer only · c381715d8e412203 · report
df_sdir y-research-sbu/otsurv/src/utils/pandas_helper_funcs.py official repository unverified licence not identified · pointer only · 99d41e1333192c87 · report
linear_rampup y-research-sbu/otsurv/src/mil_models/otsurv_component/ot_attn.py official repository unverified licence not identified · pointer only · 069122bd5268cc56 · report
nll_loss y-research-sbu/otsurv/src/utils/losses.py official repository unverified no licence file found · pointer only · 15821d5a95c321e7 · report
replace_nan y-research-sbu/otsurv/src/mil_models/components.py official repository unverified licence not identified · pointer only · bcb725cf13db9ecc · report
series_diff y-research-sbu/otsurv/src/utils/pandas_helper_funcs.py official repository unverified licence not identified · pointer only · 25813e63e72777b3 · report
set_rho y-research-sbu/otsurv/src/mil_models/otsurv_component/ot_attn.py official repository unverified licence not identified · pointer only · 038288e1b90357fa · report

Tasks

Multiple Instance LearningSurvival Predictionwhole 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