{"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/svarm-iq-efficient-approximation-of-any-order","title":"SVARM-IQ: Efficient Approximation of Any-order Shapley Interactions through Stratification","arxiv_id":"2401.13371","date":"2024-01-24","proceeding":null,"authors":["Patrick Kolpaczki","Maximilian Muschalik","Fabian Fumagalli","Barbara Hammer","Eyke Hüllermeier"],"abstract":"Addressing the limitations of individual attribution scores via the Shapley value (SV), the field of explainable AI (XAI) has recently explored intricate interactions of features or data points. In particular, extensions of the SV, such as the Shapley Interaction Index (SII), have been proposed as a measure to still benefit from the axiomatic basis of the SV. However, similar to the SV, their exact computation remains computationally prohibitive. Hence, we propose with SVARM-IQ a sampling-based approach to efficiently approximate Shapley-based interaction indices of any order. SVARM-IQ can be applied to a broad class of interaction indices, including the SII, by leveraging a novel stratified representation. We provide non-asymptotic theoretical guarantees on its approximation quality and empirically demonstrate that SVARM-IQ achieves state-of-the-art estimation results in practical XAI scenarios on different model classes and application domains.","url_abs":"https://arxiv.org/abs/2401.13371v3","url_pdf":"https://arxiv.org/pdf/2401.13371v3.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":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"svarm-iq-efficient-approximation-of-any-order","repo_url":"https://github.com/kolpaczki/svarm-iq","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=2401.13371","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2401.13371"}},"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/kolpaczki/svarm-iq","reach":{"status":"ok"}}],"summary":{"ran":6},"by_repo_kind":{"official":{"samples":6,"ran":6,"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":6,"samples":[{"code_sha256_prefix":"81ce2ec6b56cf50a","entry":"get_all_errors","repo":"kolpaczki/svarm-iq","repo_kind":"official","path":"utils_experiment.py","file_url":"https://github.com/kolpaczki/svarm-iq/blob/HEAD/utils_experiment.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":"81ce2ec6b56cf50a"}},{"code_sha256_prefix":"8351a2e1cd1498dc","entry":"get_approximation_error","repo":"kolpaczki/svarm-iq","repo_kind":"official","path":"utils_experiment.py","file_url":"https://github.com/kolpaczki/svarm-iq/blob/HEAD/utils_experiment.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":"8351a2e1cd1498dc"}},{"code_sha256_prefix":"38c0b111226555db","entry":"get_precision_at_k","repo":"kolpaczki/svarm-iq","repo_kind":"official","path":"utils_experiment.py","file_url":"https://github.com/kolpaczki/svarm-iq/blob/HEAD/utils_experiment.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":"38c0b111226555db"}},{"code_sha256_prefix":"0ee89625729d9dba","entry":"get_superpixels","repo":"kolpaczki/svarm-iq","repo_kind":"official","path":"precompute_cnn.py","file_url":"https://github.com/kolpaczki/svarm-iq/blob/HEAD/precompute_cnn.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":"0ee89625729d9dba"}},{"code_sha256_prefix":"449d15c2c93d244c","entry":"mask_image","repo":"kolpaczki/svarm-iq","repo_kind":"official","path":"precompute_cnn.py","file_url":"https://github.com/kolpaczki/svarm-iq/blob/HEAD/precompute_cnn.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"449d15c2c93d244c"}},{"code_sha256_prefix":"487a195a230dcf4d","entry":"mask_superpixels","repo":"kolpaczki/svarm-iq","repo_kind":"official","path":"precompute_cnn.py","file_url":"https://github.com/kolpaczki/svarm-iq/blob/HEAD/precompute_cnn.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":"487a195a230dcf4d"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}