{"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/learning-personalized-scoping-for-graph","title":"Mixture of Scope Experts at Test: Generalizing Deeper Graph Neural Networks with Shallow Variants","arxiv_id":"2409.06998","date":"2024-09-11","proceeding":null,"authors":["Gangda Deng","Hongkuan Zhou","Rajgopal Kannan","Viktor Prasanna"],"abstract":"Heterophilous graphs, where dissimilar nodes tend to connect, pose a challenge for graph neural networks (GNNs). Increasing the GNN depth can expand the scope (i.e., receptive field), potentially finding homophily from the higher-order neighborhoods. However, GNNs suffer from performance degradation as depth increases. Despite having better expressivity, state-of-the-art deeper GNNs achieve only marginal improvements compared to their shallow variants. Through theoretical and empirical analysis, we systematically demonstrate a shift in GNN generalization preferences across nodes with different homophily levels as depth increases. This creates a disparity in generalization patterns between GNN models with varying depth. Based on these findings, we propose to improve deeper GNN generalization while maintaining high expressivity by Mixture of scope experts at test (Moscat). Experimental results show that Moscat works flexibly with various GNNs across a wide range of datasets while significantly improving accuracy. Our code is available at (https://github.com/Hydrapse/moscat).","url_abs":"https://arxiv.org/abs/2409.06998v3","url_pdf":"https://arxiv.org/pdf/2409.06998v3.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":"learning-personalized-scoping-for-graph","repo_url":"https://github.com/hydrapse/moscat","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"node-classification","task_name":"Node Classification"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2409.06998","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2409.06998"}},"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/Hydrapse/moscat","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/hydrapse/moscat","reach":{"status":"ok"}}],"summary":{"ran":6,"ran_draft_wrong":4},"by_repo_kind":{"official":{"samples":10,"ran":10,"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":"e695f997248dabc6","entry":"add_labels","repo":"Hydrapse/moscat","repo_kind":"official","path":"utils/training.py","file_url":"https://github.com/Hydrapse/moscat/blob/HEAD/utils/training.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":"e695f997248dabc6"}},{"code_sha256_prefix":"ab9208705a2cf4e3","entry":"bit2float","repo":"Hydrapse/moscat","repo_kind":"official","path":"utils/binary_converter.py","file_url":"https://github.com/Hydrapse/moscat/blob/HEAD/utils/binary_converter.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":"ab9208705a2cf4e3"}},{"code_sha256_prefix":"46b10932fd0e80d7","entry":"check_dist","repo":"hydrapse/moscat","repo_kind":"official","path":"run_moscat.py","file_url":"https://github.com/hydrapse/moscat/blob/HEAD/run_moscat.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"46b10932fd0e80d7"}},{"code_sha256_prefix":"298f0011b3d1aa13","entry":"count_peaks","repo":"hydrapse/moscat","repo_kind":"official","path":"run_moscat.py","file_url":"https://github.com/hydrapse/moscat/blob/HEAD/run_moscat.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"298f0011b3d1aa13"}},{"code_sha256_prefix":"bf2445ab4773ff1b","entry":"float2bit","repo":"Hydrapse/moscat","repo_kind":"official","path":"utils/binary_converter.py","file_url":"https://github.com/Hydrapse/moscat/blob/HEAD/utils/binary_converter.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":"bf2445ab4773ff1b"}},{"code_sha256_prefix":"b67bb2b4af39ea0e","entry":"get_best_hop","repo":"Hydrapse/moscat","repo_kind":"official","path":"run_moscat.py","file_url":"https://github.com/Hydrapse/moscat/blob/HEAD/run_moscat.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":"b67bb2b4af39ea0e"}},{"code_sha256_prefix":"aea32371d97aa82f","entry":"get_degree","repo":"hydrapse/moscat","repo_kind":"official","path":"run_gnn.py","file_url":"https://github.com/hydrapse/moscat/blob/HEAD/run_gnn.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"aea32371d97aa82f"}},{"code_sha256_prefix":"7f3c6c9b68fb9298","entry":"load_facebook100","repo":"Hydrapse/moscat","repo_kind":"official","path":"utils/load_data.py","file_url":"https://github.com/Hydrapse/moscat/blob/HEAD/utils/load_data.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":"7f3c6c9b68fb9298"}},{"code_sha256_prefix":"d4e6fd9f6cd8a3ad","entry":"load_twitch_gamer","repo":"Hydrapse/moscat","repo_kind":"official","path":"utils/load_data.py","file_url":"https://github.com/Hydrapse/moscat/blob/HEAD/utils/load_data.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d4e6fd9f6cd8a3ad"}},{"code_sha256_prefix":"43de78014bf56777","entry":"remainder2bit","repo":"Hydrapse/moscat","repo_kind":"official","path":"utils/binary_converter.py","file_url":"https://github.com/Hydrapse/moscat/blob/HEAD/utils/binary_converter.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":"43de78014bf56777"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}