{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2604-04518","title":"Reproducibility study on how to find Spurious Correlations, Shortcut Learning, Clever Hans or Group-Distributional non-robustness and how to fix them","arxiv_id":"2604.04518","date":"2026-04-06","proceeding":null,"authors":["Ole Delzer","Sidney Bender"],"abstract":"Deep Neural Networks (DNNs) are increasingly utilized in high-stakes domains like medical diagnostics and autonomous driving where model reliability is critical. However, the research landscape for ensuring this reliability is terminologically fractured across communities that pursue the same goal of ensuring models rely on causally relevant features rather than confounding signals. While frameworks such as distributionally robust optimization (DRO), invariant risk minimization (IRM), shortcut learning, simplicity bias, and the Clever Hans effect all address model failure due to spurious correlations, researchers typically only reference work within their own domains. This reproducibility study unifies these perspectives through a comparative analysis of correction methods under challenging constraints like limited data availability and severe subgroup imbalance. We evaluate recently proposed correction methods based on explainable artificial intelligence (XAI) techniques alongside popular non-XAI baselines using both synthetic and real-world datasets. Findings show that XAI-based methods generally outperform non-XAI approaches, with Counterfactual Knowledge Distillation (CFKD) proving most consistently effective at improving generalization. Our experiments also reveal that the practical application of many methods is hindered by a dependency on group labels, as manual annotation is often infeasible and automated tools like Spectral Relevance Analysis (SpRAy) struggle with complex features and severe imbalance. Furthermore, the scarcity of minority group samples in validation sets renders model selection and hyperparameter tuning unreliable, posing a significant obstacle to the deployment of robust and trustworthy models in safety-critical areas.","url_abs":"https://arxiv.org/abs/2604.04518","url_pdf":"https://arxiv.org/pdf/2604.04518","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":null,"mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2604.04518"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/kohpangwei/group_DRO","reach":null},{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/frederikpahde/rrclarc","reach":null}],"summary":{"ran_fixture":1,"unverified":22},"by_repo_kind":{"found_in_text":{"samples":23,"ran":1,"repositories":2}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"cac113ca87b9d9f3","entry":"acc_and_f1","repo":"kohpangwei/group_DRO","repo_kind":"found_in_text","path":"utils_glue.py","file_url":"https://github.com/kohpangwei/group_DRO/blob/HEAD/utils_glue.py","link_basis":"plan_row","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"cac113ca87b9d9f3"}},{"code_sha256_prefix":"621de5dd9c62c06d","entry":"accuracy","repo":"kohpangwei/group_DRO","repo_kind":"found_in_text","path":"utils.py","file_url":"https://github.com/kohpangwei/group_DRO/blob/HEAD/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"621de5dd9c62c06d"}},{"code_sha256_prefix":"fe49a67591e2b166","entry":"combine_and_mask","repo":"kohpangwei/group_DRO","repo_kind":"found_in_text","path":"dataset_scripts/dataset_utils.py","file_url":"https://github.com/kohpangwei/group_DRO/blob/HEAD/dataset_scripts/dataset_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fe49a67591e2b166"}},{"code_sha256_prefix":"c4c16e96906f44c1","entry":"convert_examples_to_features","repo":"kohpangwei/group_DRO","repo_kind":"found_in_text","path":"utils_glue.py","file_url":"https://github.com/kohpangwei/group_DRO/blob/HEAD/utils_glue.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c4c16e96906f44c1"}},{"code_sha256_prefix":"e2f8b1a98dec9723","entry":"crop_and_resize","repo":"kohpangwei/group_DRO","repo_kind":"found_in_text","path":"dataset_scripts/dataset_utils.py","file_url":"https://github.com/kohpangwei/group_DRO/blob/HEAD/dataset_scripts/dataset_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e2f8b1a98dec9723"}},{"code_sha256_prefix":"8ddc981d69ea3f87","entry":"extract_wnid","repo":"frederikpahde/rrclarc","repo_kind":"found_in_text","path":"datasets/imagenet.py","file_url":"https://github.com/frederikpahde/rrclarc/blob/HEAD/datasets/imagenet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"8ddc981d69ea3f87"}},{"code_sha256_prefix":"381380e09fd105f8","entry":"get_accs_for_epoch_across_batches","repo":"kohpangwei/group_DRO","repo_kind":"found_in_text","path":"analysis_utils.py","file_url":"https://github.com/kohpangwei/group_DRO/blob/HEAD/analysis_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"381380e09fd105f8"}},{"code_sha256_prefix":"a34ee1b3b27a6aab","entry":"get_efficientnet","repo":"frederikpahde/rrclarc","repo_kind":"found_in_text","path":"models/efficientnet.py","file_url":"https://github.com/frederikpahde/rrclarc/blob/HEAD/models/efficientnet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"a34ee1b3b27a6aab"}},{"code_sha256_prefix":"cb34892eb3e6a222","entry":"get_efficientnet_b0","repo":"frederikpahde/rrclarc","repo_kind":"found_in_text","path":"models/efficientnet.py","file_url":"https://github.com/frederikpahde/rrclarc/blob/HEAD/models/efficientnet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"cb34892eb3e6a222"}},{"code_sha256_prefix":"0d137e4287625df2","entry":"get_efficientnet_b4","repo":"frederikpahde/rrclarc","repo_kind":"found_in_text","path":"models/efficientnet.py","file_url":"https://github.com/frederikpahde/rrclarc/blob/HEAD/models/efficientnet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"0d137e4287625df2"}},{"code_sha256_prefix":"ced481b63e75a562","entry":"get_loss","repo":"frederikpahde/rrclarc","repo_kind":"found_in_text","path":"model_training/training_utils.py","file_url":"https://github.com/frederikpahde/rrclarc/blob/HEAD/model_training/training_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"ced481b63e75a562"}},{"code_sha256_prefix":"e0a13eb48a172c2d","entry":"get_optimizer","repo":"frederikpahde/rrclarc","repo_kind":"found_in_text","path":"model_training/training_utils.py","file_url":"https://github.com/frederikpahde/rrclarc/blob/HEAD/model_training/training_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"e0a13eb48a172c2d"}},{"code_sha256_prefix":"2c22c149a0985110","entry":"get_resnet18","repo":"frederikpahde/rrclarc","repo_kind":"found_in_text","path":"models/resnet.py","file_url":"https://github.com/frederikpahde/rrclarc/blob/HEAD/models/resnet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"2c22c149a0985110"}},{"code_sha256_prefix":"06ad82cc77eece0b","entry":"get_resnet34","repo":"frederikpahde/rrclarc","repo_kind":"found_in_text","path":"models/resnet.py","file_url":"https://github.com/frederikpahde/rrclarc/blob/HEAD/models/resnet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"06ad82cc77eece0b"}},{"code_sha256_prefix":"997028fdd788415d","entry":"get_resnet50","repo":"frederikpahde/rrclarc","repo_kind":"found_in_text","path":"models/resnet.py","file_url":"https://github.com/frederikpahde/rrclarc/blob/HEAD/models/resnet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"997028fdd788415d"}},{"code_sha256_prefix":"740913d7e078246b","entry":"get_vgg13","repo":"frederikpahde/rrclarc","repo_kind":"found_in_text","path":"models/vgg.py","file_url":"https://github.com/frederikpahde/rrclarc/blob/HEAD/models/vgg.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"740913d7e078246b"}},{"code_sha256_prefix":"08582c38903e9dc0","entry":"get_vgg16","repo":"frederikpahde/rrclarc","repo_kind":"found_in_text","path":"models/vgg.py","file_url":"https://github.com/frederikpahde/rrclarc/blob/HEAD/models/vgg.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"08582c38903e9dc0"}},{"code_sha256_prefix":"0d63c1c1b235a76e","entry":"get_vgg16_bn","repo":"frederikpahde/rrclarc","repo_kind":"found_in_text","path":"models/vgg.py","file_url":"https://github.com/frederikpahde/rrclarc/blob/HEAD/models/vgg.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"0d63c1c1b235a76e"}},{"code_sha256_prefix":"10e220982fed5f01","entry":"load_log","repo":"kohpangwei/group_DRO","repo_kind":"found_in_text","path":"analysis_utils.py","file_url":"https://github.com/kohpangwei/group_DRO/blob/HEAD/analysis_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"10e220982fed5f01"}},{"code_sha256_prefix":"26e3775d1e8a65d0","entry":"run_one_epoch","repo":"frederikpahde/rrclarc","repo_kind":"found_in_text","path":"model_training/train_model.py","file_url":"https://github.com/frederikpahde/rrclarc/blob/HEAD/model_training/train_model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"26e3775d1e8a65d0"}},{"code_sha256_prefix":"8a66892616008c7f","entry":"sanitize_df","repo":"kohpangwei/group_DRO","repo_kind":"found_in_text","path":"analysis_utils.py","file_url":"https://github.com/kohpangwei/group_DRO/blob/HEAD/analysis_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8a66892616008c7f"}},{"code_sha256_prefix":"3c241ecfe3749a6d","entry":"simple_accuracy","repo":"kohpangwei/group_DRO","repo_kind":"found_in_text","path":"utils_glue.py","file_url":"https://github.com/kohpangwei/group_DRO/blob/HEAD/utils_glue.py","link_basis":"plan_row","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3c241ecfe3749a6d"}},{"code_sha256_prefix":"7ef9ae2541d2ae3e","entry":"tokenize","repo":"kohpangwei/group_DRO","repo_kind":"found_in_text","path":"dataset_scripts/generate_multinli.py","file_url":"https://github.com/kohpangwei/group_DRO/blob/HEAD/dataset_scripts/generate_multinli.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7ef9ae2541d2ae3e"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":{"kind":"leaderboard_placements","source":"Syntology's leaderboard-shaped extractor over the paper's own arXiv-HTML tables: a model pointed at a cell, the number was read from that cell and checked against the board's metric, dataset, split and scale, and an independent check accepted the entry; not reviewed by the paper's authors or the archive's editors","extractor_model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","verifier_model":null,"prompt_sha":"fa63d4bb9d755694","coverage":{"sentence":"Syntology has checked 6,264 of the 9,581 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9581,"papers_checked":6264},"entries":[],"not_placed":{"boards":0,"rejected_by_independent_check":0,"refused_by_a_rule":0,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}