Papers › Mitigating Shortcut Learning via Feature Disentanglement in Medical Imaging: A Benchmark Study

Mitigating Shortcut Learning via Feature Disentanglement in Medical Imaging: A Benchmark Study

17 Feb 2026arXiv:2602.18502added by Syntology

Sarah Müller, Philipp Berens

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Although deep learning models in medical imaging often achieve excellent classification performance, they can rely on shortcut learning, exploiting spurious correlations or confounding factors that are not causally related to the target task. This poses risks in clinical settings, where models must generalize across institutions, populations, and acquisition conditions. Feature disentanglement is a promising approach to mitigate shortcut learning by separating task-relevant information from confounder-related features in latent representations. In this study, we systematically evaluated feature disentanglement methods for mitigating shortcuts in medical imaging, including adversarial learning and latent space splitting based on dependence minimization. We assessed classification performance and disentanglement quality using latent space analyses across one artificial and two medical datasets with natural and synthetic confounders. We also examined robustness under varying levels of confounding and compared computational efficiency across methods. We found that shortcut mitigation methods improved classification performance under strong spurious correlations during training. Latent space analyses revealed differences in representation quality not captured by classification metrics, highlighting the strengths and limitations of each method. Model reliance on shortcuts depended on the degree of confounding in the training data. The best-performing models combine data-centric rebalancing with model-centric disentanglement, achieving stronger and more robust shortcut mitigation than rebalancing alone while maintaining similar computational efficiency. The project code is publicly available at https://github.com/berenslab/medical-shortcut-mitigation.

PaperPDFCode 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="2602.18502")

Code

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

By repository: found in paper text by Syntology: 12 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.

berenslab/medical-shortcut-mitigation found in paper text by Syntology report

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

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

12unverified

Licence: 0 of the 12 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 berenslab/medical-shortcut-mitigation. “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.

compute_contingency_and_examples_from_labels berenslab/medical-shortcut-mitigation/src/shortcut/utils.py found in paper text by Syntology unverified MIT (permissive) · f26234a89ba11bec · report
extract_argument_keys berenslab/medical-shortcut-mitigation/src/shortcut/config.py found in paper text by Syntology unverified MIT (permissive) · 45ad2e86a6f8caa7 · report
extract_epoch berenslab/medical-shortcut-mitigation/src/shortcut/evaluation/aggregate_epochs.py found in paper text by Syntology unverified MIT (permissive) · e6d1708dda25d1d0 · report
flatten berenslab/medical-shortcut-mitigation/src/shortcut/config.py found in paper text by Syntology unverified MIT (permissive) · e0d2ff890c92b27e · report
flatten_list berenslab/medical-shortcut-mitigation/src/shortcut/utils.py found in paper text by Syntology unverified MIT (permissive) · 797a7d17ce5b8687 · report
get_criterion berenslab/medical-shortcut-mitigation/src/shortcut/criterion.py found in paper text by Syntology unverified MIT (permissive) · d0f1cf7101a32e07 · report
get_mean_epoch berenslab/medical-shortcut-mitigation/src/shortcut/evaluation/aggregate_epochs.py found in paper text by Syntology unverified MIT (permissive) · ba3e37a95dd31982 · report
load_epoch_times berenslab/medical-shortcut-mitigation/src/shortcut/evaluation/measure_compute_time.py found in paper text by Syntology unverified MIT (permissive) · 4a21195997a6a6b4 · report
nest_dict berenslab/medical-shortcut-mitigation/src/shortcut/config.py found in paper text by Syntology unverified MIT (permissive) · db1d257707c615ac · report
plot_data_overview berenslab/medical-shortcut-mitigation/src/shortcut/utils.py found in paper text by Syntology unverified MIT (permissive) · 170b7a6188f312ff · report
prepare_config_for_benchmarking berenslab/medical-shortcut-mitigation/src/shortcut/evaluation/measure_compute_time.py found in paper text by Syntology unverified MIT (permissive) · 205c9e57716f9722 · report
run_training berenslab/medical-shortcut-mitigation/src/shortcut/evaluation/measure_compute_time.py found in paper text by Syntology unverified MIT (permissive) · 5ac524479b74f0a7 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2602.18502, was issued in February 2026, after that date, so the archive has no leaderboard rows for it.

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