{"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/exmap-leveraging-explainability-heatmaps-for","title":"ExMap: Leveraging Explainability Heatmaps for Unsupervised Group Robustness to Spurious Correlations","arxiv_id":"2403.13870","date":"2024-03-20","proceeding":"CVPR 2024 1","authors":["Rwiddhi Chakraborty","Adrian Sletten","Michael Kampffmeyer"],"abstract":"Group robustness strategies aim to mitigate learned biases in deep learning models that arise from spurious correlations present in their training datasets. However, most existing methods rely on the access to the label distribution of the groups, which is time-consuming and expensive to obtain. As a result, unsupervised group robustness strategies are sought. Based on the insight that a trained model's classification strategies can be inferred accurately based on explainability heatmaps, we introduce ExMap, an unsupervised two stage mechanism designed to enhance group robustness in traditional classifiers. ExMap utilizes a clustering module to infer pseudo-labels based on a model's explainability heatmaps, which are then used during training in lieu of actual labels. Our empirical studies validate the efficacy of ExMap - We demonstrate that it bridges the performance gap with its supervised counterparts and outperforms existing partially supervised and unsupervised methods. Additionally, ExMap can be seamlessly integrated with existing group robustness learning strategies. Finally, we demonstrate its potential in tackling the emerging issue of multiple shortcut mitigation\\footnote{Code available at \\url{https://github.com/rwchakra/exmap}}.","url_abs":"https://arxiv.org/abs/2403.13870v1","url_pdf":"https://arxiv.org/pdf/2403.13870v1.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":"exmap-leveraging-explainability-heatmaps-for","repo_url":"https://github.com/rwchakra/exmap","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2403.13870","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2403.13870"}},"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":[{"provenance":"deterministic:regex_extraction","url":"https://github.com/rwchakra/exmap","reach":{"status":"ok"}}],"summary":{"ran":3,"unverified":7},"by_repo_kind":{"official":{"samples":10,"ran":3,"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":10,"samples":[{"code_sha256_prefix":"f820d8c1fbf6e437","entry":"dfr_on_validation_eval","repo":"rwchakra/exmap","repo_kind":"official","path":"src/run_dfr.py","file_url":"https://github.com/rwchakra/exmap/blob/HEAD/src/run_dfr.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f820d8c1fbf6e437"}},{"code_sha256_prefix":"a36a0ef6f7969176","entry":"get_results","repo":"rwchakra/exmap","repo_kind":"official","path":"src/utils/common_utils.py","file_url":"https://github.com/rwchakra/exmap/blob/HEAD/src/utils/common_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a36a0ef6f7969176"}},{"code_sha256_prefix":"d43f7ae0491f10a7","entry":"local_groups_from_clusters","repo":"rwchakra/exmap","repo_kind":"official","path":"src/exmap/create_groups.py","file_url":"https://github.com/rwchakra/exmap/blob/HEAD/src/exmap/create_groups.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d43f7ae0491f10a7"}},{"code_sha256_prefix":"c7cc3fcb0dd172a3","entry":"dfr_on_validation_tune","repo":"rwchakra/exmap","repo_kind":"official","path":"src/run_dfr.py","file_url":"https://github.com/rwchakra/exmap/blob/HEAD/src/run_dfr.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c7cc3fcb0dd172a3"}},{"code_sha256_prefix":"26826ba13db05b5c","entry":"eigenDecomposition","repo":"rwchakra/exmap","repo_kind":"official","path":"src/exmap/eigen.py","file_url":"https://github.com/rwchakra/exmap/blob/HEAD/src/exmap/eigen.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"26826ba13db05b5c"}},{"code_sha256_prefix":"1fc9a58299731e17","entry":"feature_extraction","repo":"rwchakra/exmap","repo_kind":"official","path":"src/exmap/lrp.py","file_url":"https://github.com/rwchakra/exmap/blob/HEAD/src/exmap/lrp.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1fc9a58299731e17"}},{"code_sha256_prefix":"159088ba95d57c71","entry":"get_y_s","repo":"rwchakra/exmap","repo_kind":"official","path":"src/utils/common_utils.py","file_url":"https://github.com/rwchakra/exmap/blob/HEAD/src/utils/common_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"159088ba95d57c71"}},{"code_sha256_prefix":"4132383ada3be928","entry":"global_groups_from_clusters","repo":"rwchakra/exmap","repo_kind":"official","path":"src/exmap/create_groups.py","file_url":"https://github.com/rwchakra/exmap/blob/HEAD/src/exmap/create_groups.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4132383ada3be928"}},{"code_sha256_prefix":"c7bcd80029db8fec","entry":"modify_val_group_label_types","repo":"rwchakra/exmap","repo_kind":"official","path":"src/run_dfr.py","file_url":"https://github.com/rwchakra/exmap/blob/HEAD/src/run_dfr.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c7bcd80029db8fec"}},{"code_sha256_prefix":"390645426d40099b","entry":"prepare_logging","repo":"rwchakra/exmap","repo_kind":"official","path":"src/utils/logging_utils.py","file_url":"https://github.com/rwchakra/exmap/blob/HEAD/src/utils/logging_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"390645426d40099b"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}