{"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/detecting-shortcuts-in-medical-images-a-case","title":"Detecting Shortcuts in Medical Images -- A Case Study in Chest X-rays","arxiv_id":"2211.04279","date":"2022-11-08","proceeding":null,"authors":["Amelia Jiménez-Sánchez","Dovile Juodelyte","Bethany Chamberlain","Veronika Cheplygina"],"abstract":"The availability of large public datasets and the increased amount of computing power have shifted the interest of the medical community to high-performance algorithms. However, little attention is paid to the quality of the data and their annotations. High performance on benchmark datasets may be reported without considering possible shortcuts or artifacts in the data, besides, models are not tested on subpopulation groups. With this work, we aim to raise awareness about shortcuts problems. We validate previous findings, and present a case study on chest X-rays using two publicly available datasets. We share annotations for a subset of pneumothorax images with drains. We conclude with general recommendations for medical image classification.","url_abs":"https://arxiv.org/abs/2211.04279v2","url_pdf":"https://arxiv.org/pdf/2211.04279v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"detecting-shortcuts-in-medical-images-a-case","repo_url":"https://github.com/ameliajimenez/shortcuts-chest-xray","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"detecting-shortcuts-in-medical-images-a-case","repo_url":"https://github.com/volesen/slicing-through-bias","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"image-classification","task_name":"Image Classification"},{"task_slug":"medical-image-classification","task_name":"Medical Image Classification"},{"task_slug":"image-classification","task_name":"image-classification"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2211.04279","atlas_url":"https://app.syntology.ai/?focus=2211.04279","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2211.04279"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/volesen/slicing-through-bias","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ameliajimenez/shortcuts-chest-xray","reach":null}],"summary":{"ran":5,"ran_draft_wrong":1,"ran_fixture":1,"unverified":1},"by_repo_kind":{"official":{"samples":2,"ran":2,"repositories":1},"listed":{"samples":6,"ran":5,"repositories":1}},"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":2,"samples":[{"code_sha256_prefix":"2379cfb76a515561","entry":"bootstrapped_brier_score","repo":"volesen/slicing-through-bias","repo_kind":"listed","path":"comorbidity_plot.py","file_url":"https://github.com/volesen/slicing-through-bias/blob/HEAD/comorbidity_plot.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2379cfb76a515561"}},{"code_sha256_prefix":"855d1152f9bc31db","entry":"extract_embeddings","repo":"volesen/slicing-through-bias","repo_kind":"listed","path":"embed.py","file_url":"https://github.com/volesen/slicing-through-bias/blob/HEAD/embed.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"855d1152f9bc31db"}},{"code_sha256_prefix":"a925c89a990e4ad6","entry":"get_pred","repo":"ameliajimenez/shortcuts-chest-xray","repo_kind":"official","path":"bin/test_model.py","file_url":"https://github.com/ameliajimenez/shortcuts-chest-xray/blob/HEAD/bin/test_model.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a925c89a990e4ad6"}},{"code_sha256_prefix":"6199dc6c884f8339","entry":"load_chexpert","repo":"volesen/slicing-through-bias","repo_kind":"listed","path":"load_chexpert.py","file_url":"https://github.com/volesen/slicing-through-bias/blob/HEAD/load_chexpert.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6199dc6c884f8339"}},{"code_sha256_prefix":"98beba4417329e63","entry":"predict","repo":"volesen/slicing-through-bias","repo_kind":"listed","path":"embed.py","file_url":"https://github.com/volesen/slicing-through-bias/blob/HEAD/embed.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"98beba4417329e63"}},{"code_sha256_prefix":"050da65d797a0b7f","entry":"summarize_clusters","repo":"volesen/slicing-through-bias","repo_kind":"listed","path":"comorbidity_plot.py","file_url":"https://github.com/volesen/slicing-through-bias/blob/HEAD/comorbidity_plot.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"050da65d797a0b7f"}},{"code_sha256_prefix":"266eb9acd1e4c6e4","entry":"test_epoch","repo":"ameliajimenez/shortcuts-chest-xray","repo_kind":"official","path":"bin/test_model.py","file_url":"https://github.com/ameliajimenez/shortcuts-chest-xray/blob/HEAD/bin/test_model.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"266eb9acd1e4c6e4"}},{"code_sha256_prefix":"7b2ebaa0e2b58283","entry":"load_nih","repo":"volesen/slicing-through-bias","repo_kind":"listed","path":"load_nih.py","file_url":"https://github.com/volesen/slicing-through-bias/blob/HEAD/load_nih.py","link_basis":"harvester_set","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":"7b2ebaa0e2b58283"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}