Papers › ShortcutProbe: Probing Prediction Shortcuts for Learning Robust Models

ShortcutProbe: Probing Prediction Shortcuts for Learning Robust Models

20 May 2025arXiv:2505.13910archive 2025-07-28

Guangtao Zheng, Wenqian Ye, Aidong Zhang

Deep learning models often achieve high performance by inadvertently learning spurious correlations between targets and non-essential features. For example, an image classifier may identify an object via its background that spuriously correlates with it. This prediction behavior, known as spurious bias, severely degrades model performance on data that lacks the learned spurious correlations. Existing methods on spurious bias mitigation typically require a variety of data groups with spurious correlation annotations called group labels. However, group labels require costly human annotations and often fail to capture subtle spurious biases such as relying on specific pixels for predictions. In this paper, we propose a novel post hoc spurious bias mitigation framework without requiring group labels. Our framework, termed ShortcutProbe, identifies prediction shortcuts that reflect potential non-robustness in predictions in a given model's latent space. The model is then retrained to be invariant to the identified prediction shortcuts for improved robustness. We theoretically analyze the effectiveness of the framework and empirically demonstrate that it is an efficient and practical tool for improving a model's robustness to spurious bias on diverse datasets.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

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

Code

Syntology Ran 21 of 27 code samples harvested from 1 repository linked to this paper; 6 have no recorded run. Of those that ran: 1 ran · honoured contract; 6 ran · our draft was wrong; 14 ran with no contract checked.

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

gtzheng/shortcutprobe officialmentioned in paperpytorch 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

27 samples harvested; 21 ran; 1 honoured the contract we drafted; 6 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

1ran · honoured contract
6ran · our draft was wrong
14ran
6unverified

Licence: 27 of the 27 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 gtzheng/ShortcutProbe. “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.

ClassBalancedSampler gtzheng/ShortcutProbe/algorithms/shortcut_probe.py official repository ran no licence file found · pointer only · 6e663667ba7ed3f2 · report
EmbedDataset gtzheng/ShortcutProbe/algorithms/shortcut_probe.py official repository ran no licence file found · pointer only · a87713c5b6ae5b15 · report
GroupBalancedSampler gtzheng/ShortcutProbe/algorithms/shortcut_probe.py official repository ran no licence file found · pointer only · c468389298284a04 · report
IdxDataset gtzheng/ShortcutProbe/algorithms/shortcut_probe.py official repository ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · 4711b44eb7381e64 · report
JointDataset gtzheng/ShortcutProbe/algorithms/shortcut_probe.py official repository ran no licence file found · pointer only · fa1c55aa70701d1e · report
JointRandomSampler gtzheng/ShortcutProbe/algorithms/shortcut_probe.py official repository ran no licence file found · pointer only · a5207b840e3096a2 · report
MisDataset gtzheng/ShortcutProbe/algorithms/shortcut_probe.py official repository ran no licence file found · pointer only · 52fb87f5341104be · report
PredDataset gtzheng/ShortcutProbe/algorithms/shortcut_probe.py official repository ran no licence file found · pointer only · 2ee64f5afd17a5a3 · report
RandomSampler gtzheng/ShortcutProbe/algorithms/shortcut_probe.py official repository ran no licence file found · pointer only · 36087249bd727695 · report
RunningVariance gtzheng/ShortcutProbe/algorithms/shortcut_probe.py official repository ran no licence file found · pointer only · 4a0b5cf2bf60d9e7 · report
ShortcutSampler gtzheng/ShortcutProbe/algorithms/shortcut_probe.py official repository ran no licence file found · pointer only · f6cdc99333d7ac0c · report
SpuriousVectors gtzheng/ShortcutProbe/algorithms/shortcut_probe.py official repository ran fingerprinted no licence file found · pointer only · b3e59759edda6308 · report
SubsetDataset gtzheng/ShortcutProbe/algorithms/shortcut_probe.py official repository ran no licence file found · pointer only · 3be6f85f9a2c50c3 · report
bert_adamw_optimizer gtzheng/ShortcutProbe/algorithms/shortcut_probe.py official repository ran · our draft was wrong no licence file found · pointer only · abb051ad54c04456 · report
disentangle_pca gtzheng/ShortcutProbe/algorithms/shortcut_probe.py official repository ran · honoured contract no licence file found · pointer only · 227d71f4a9526c48 · report
extract_feature_info gtzheng/ShortcutProbe/algorithms/shortcut_probe.py official repository ran · our draft was wrong no licence file found · pointer only · ffd024417d2e0ee9 · report
get_split_indexes gtzheng/ShortcutProbe/algorithms/shortcut_probe.py official repository ran no licence file found · pointer only · 24df1f39ca418afa · report
init_optimizer gtzheng/ShortcutProbe/algorithms/shortcut_probe.py official repository ran · our draft was wrong no licence file found · pointer only · ad87b4581c72eb68 · report
init_scheduler gtzheng/ShortcutProbe/algorithms/shortcut_probe.py official repository ran · our draft was wrong no licence file found · pointer only · 97a6fbbb8298e7a0 · report
load_embeddings gtzheng/ShortcutProbe/algorithms/shortcut_probe.py official repository ran · our draft was wrong no licence file found · pointer only · 2a04614f7104524c · report
register_algorithm gtzheng/ShortcutProbe/algorithms/shortcut_probe.py official repository ran · our draft was wrong no licence file found · pointer only · 6f906e5668960d23 · report
Algorithm gtzheng/ShortcutProbe/algorithms/shortcut_probe.py official repository unverified no licence file found · pointer only · 9c581ceeab1e7194 · report
Classifier gtzheng/ShortcutProbe/algorithms/shortcut_probe.py official repository unverified no licence file found · pointer only · aa528f9aa86d7413 · report
Scaler gtzheng/ShortcutProbe/algorithms/shortcut_probe.py official repository unverified no licence file found · pointer only · 6a3dd1d39f936e97 · report
get_backbone gtzheng/ShortcutProbe/algorithms/shortcut_probe.py official repository unverified no licence file found · pointer only · 3db8286f1e2584d6 · report
prepare_data gtzheng/ShortcutProbe/algorithms/shortcut_probe.py official repository unverified no licence file found · pointer only · 0d22a2219be7c189 · report
shortcutprobe gtzheng/ShortcutProbe/algorithms/shortcut_probe.py official repository unverified no licence file found · pointer only · d99a2ddd28ee9061 · report

Tasks

Prediction

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

HOC

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