{"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/eig-search-generating-edge-induced-subgraphs","title":"EiG-Search: Generating Edge-Induced Subgraphs for GNN Explanation in Linear Time","arxiv_id":"2405.01762","date":"2024-05-02","proceeding":null,"authors":["Shengyao Lu","Bang Liu","Keith G. Mills","Jiao He","Di Niu"],"abstract":"Understanding and explaining the predictions of Graph Neural Networks (GNNs), is crucial for enhancing their safety and trustworthiness. Subgraph-level explanations are gaining attention for their intuitive appeal. However, most existing subgraph-level explainers face efficiency challenges in explaining GNNs due to complex search processes. The key challenge is to find a balance between intuitiveness and efficiency while ensuring transparency. Additionally, these explainers usually induce subgraphs by nodes, which may introduce less-intuitive disconnected nodes in the subgraph-level explanations or omit many important subgraph structures. In this paper, we reveal that inducing subgraph explanations by edges is more comprehensive than other subgraph inducing techniques. We also emphasize the need of determining the subgraph explanation size for each data instance, as different data instances may involve different important substructures. Building upon these considerations, we introduce a training-free approach, named EiG-Search. We employ an efficient linear-time search algorithm over the edge-induced subgraphs, where the edges are ranked by an enhanced gradient-based importance. We conduct extensive experiments on a total of seven datasets, demonstrating its superior performance and efficiency both quantitatively and qualitatively over the leading baselines.","url_abs":"https://arxiv.org/abs/2405.01762v2","url_pdf":"https://arxiv.org/pdf/2405.01762v2.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":"eig-search-generating-edge-induced-subgraphs","repo_url":"https://github.com/sluxsr/EiG-Search","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=2405.01762","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2405.01762"}},"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/sluxsr/EiG-Search","reach":{"status":"ok"}}],"summary":{"ran":5,"unverified":1},"by_repo_kind":{"official":{"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":6,"samples":[{"code_sha256_prefix":"6563a9ca0658626d","entry":"acc","repo":"sluxsr/EiG-Search","repo_kind":"official","path":"Utils/metrics.py","file_url":"https://github.com/sluxsr/EiG-Search/blob/HEAD/Utils/metrics.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":"6563a9ca0658626d"}},{"code_sha256_prefix":"9ab493f7eb5d0868","entry":"detect_no2nh2","repo":"sluxsr/EiG-Search","repo_kind":"official","path":"Utils/datasets.py","file_url":"https://github.com/sluxsr/EiG-Search/blob/HEAD/Utils/datasets.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":"9ab493f7eb5d0868"}},{"code_sha256_prefix":"ca16e5a36654f00d","entry":"efidelity","repo":"sluxsr/EiG-Search","repo_kind":"official","path":"Utils/metrics.py","file_url":"https://github.com/sluxsr/EiG-Search/blob/HEAD/Utils/metrics.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":"ca16e5a36654f00d"}},{"code_sha256_prefix":"d5902229f5e89c0c","entry":"get_graph_data","repo":"sluxsr/EiG-Search","repo_kind":"official","path":"Utils/datasets.py","file_url":"https://github.com/sluxsr/EiG-Search/blob/HEAD/Utils/datasets.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":"d5902229f5e89c0c"}},{"code_sha256_prefix":"58f3b44f8cf24f25","entry":"nc_efidelity","repo":"sluxsr/EiG-Search","repo_kind":"official","path":"Utils/metrics.py","file_url":"https://github.com/sluxsr/EiG-Search/blob/HEAD/Utils/metrics.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":"58f3b44f8cf24f25"}},{"code_sha256_prefix":"2d824f63900d439b","entry":"get_dataset","repo":"sluxsr/EiG-Search","repo_kind":"official","path":"Utils/datasets.py","file_url":"https://github.com/sluxsr/EiG-Search/blob/HEAD/Utils/datasets.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":"2d824f63900d439b"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}