{"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/respect-the-model-fine-grained-and-robust-1","title":"Respect the model: Fine-grained and Robust Explanation with Sharing Ratio Decomposition","arxiv_id":"2402.03348","date":"2024-01-25","proceeding":null,"authors":["Sangyu Han","Yearim Kim","Nojun Kwak"],"abstract":"The truthfulness of existing explanation methods in authentically elucidating the underlying model's decision-making process has been questioned. Existing methods have deviated from faithfully representing the model, thus susceptible to adversarial attacks. To address this, we propose a novel eXplainable AI (XAI) method called SRD (Sharing Ratio Decomposition), which sincerely reflects the model's inference process, resulting in significantly enhanced robustness in our explanations. Different from the conventional emphasis on the neuronal level, we adopt a vector perspective to consider the intricate nonlinear interactions between filters. We also introduce an interesting observation termed Activation-Pattern-Only Prediction (APOP), letting us emphasize the importance of inactive neurons and redefine relevance encapsulating all relevant information including both active and inactive neurons. Our method, SRD, allows for the recursive decomposition of a Pointwise Feature Vector (PFV), providing a high-resolution Effective Receptive Field (ERF) at any layer.","url_abs":"https://arxiv.org/abs/2402.03348v2","url_pdf":"https://arxiv.org/pdf/2402.03348v2.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":"respect-the-model-fine-grained-and-robust-1","repo_url":"https://github.com/Sangyu-Han/SharingRatioDecomposition","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"decision-making","task_name":"Decision Making"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2402.03348","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2402.03348"}},"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":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Sangyu-Han/SharingRatioDecomposition","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_honours":1,"unverified":10},"by_repo_kind":{"listed":{"samples":11,"ran":1,"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":0,"samples":[{"code_sha256_prefix":"251e368f5f9b12f5","entry":"safe_divide","repo":"Sangyu-Han/SharingRatioDecomposition","repo_kind":"listed","path":"modules/layers.py","file_url":"https://github.com/Sangyu-Han/SharingRatioDecomposition/blob/HEAD/modules/layers.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"251e368f5f9b12f5"}},{"code_sha256_prefix":"33e7798cbdceb96f","entry":"cal_simmap_cbr","repo":"Sangyu-Han/SharingRatioDecomposition","repo_kind":"listed","path":"util.py","file_url":"https://github.com/Sangyu-Han/SharingRatioDecomposition/blob/HEAD/util.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":"33e7798cbdceb96f"}},{"code_sha256_prefix":"749b3c61b3663b4d","entry":"cal_simmap_input_cr","repo":"Sangyu-Han/SharingRatioDecomposition","repo_kind":"listed","path":"util.py","file_url":"https://github.com/Sangyu-Han/SharingRatioDecomposition/blob/HEAD/util.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":"749b3c61b3663b4d"}},{"code_sha256_prefix":"8aef1815e26420a0","entry":"cal_simmap_x","repo":"Sangyu-Han/SharingRatioDecomposition","repo_kind":"listed","path":"util.py","file_url":"https://github.com/Sangyu-Han/SharingRatioDecomposition/blob/HEAD/util.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":"8aef1815e26420a0"}},{"code_sha256_prefix":"45b3400cd186760f","entry":"conv1x1","repo":"Sangyu-Han/SharingRatioDecomposition","repo_kind":"listed","path":"modules/resnet.py","file_url":"https://github.com/Sangyu-Han/SharingRatioDecomposition/blob/HEAD/modules/resnet.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":"45b3400cd186760f"}},{"code_sha256_prefix":"e14e792923db61dd","entry":"conv3x3","repo":"Sangyu-Han/SharingRatioDecomposition","repo_kind":"listed","path":"modules/resnet.py","file_url":"https://github.com/Sangyu-Han/SharingRatioDecomposition/blob/HEAD/modules/resnet.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":"e14e792923db61dd"}},{"code_sha256_prefix":"65c3ef82157a96e7","entry":"enlarge_image","repo":"Sangyu-Han/SharingRatioDecomposition","repo_kind":"listed","path":"render.py","file_url":"https://github.com/Sangyu-Han/SharingRatioDecomposition/blob/HEAD/render.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":"65c3ef82157a96e7"}},{"code_sha256_prefix":"506e0e8c845fe9c2","entry":"make_layers","repo":"Sangyu-Han/SharingRatioDecomposition","repo_kind":"listed","path":"modules/vgg.py","file_url":"https://github.com/Sangyu-Han/SharingRatioDecomposition/blob/HEAD/modules/vgg.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":"506e0e8c845fe9c2"}},{"code_sha256_prefix":"641ea90c3a790631","entry":"repaint_corner_pixels","repo":"Sangyu-Han/SharingRatioDecomposition","repo_kind":"listed","path":"render.py","file_url":"https://github.com/Sangyu-Han/SharingRatioDecomposition/blob/HEAD/render.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":"641ea90c3a790631"}},{"code_sha256_prefix":"8a77bc582a4791c2","entry":"resnet18","repo":"Sangyu-Han/SharingRatioDecomposition","repo_kind":"listed","path":"modules/resnet.py","file_url":"https://github.com/Sangyu-Han/SharingRatioDecomposition/blob/HEAD/modules/resnet.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":"8a77bc582a4791c2"}},{"code_sha256_prefix":"db2fd24be9a8e381","entry":"vec2im","repo":"Sangyu-Han/SharingRatioDecomposition","repo_kind":"listed","path":"render.py","file_url":"https://github.com/Sangyu-Han/SharingRatioDecomposition/blob/HEAD/render.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":"db2fd24be9a8e381"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}