{"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/maxcutpool-differentiable-feature-aware","title":"MaxCutPool: differentiable feature-aware Maxcut for pooling in graph neural networks","arxiv_id":"2409.05100","date":"2024-09-08","proceeding":null,"authors":["Carlo Abate","Filippo Maria Bianchi"],"abstract":"We propose a novel approach to compute the MAXCUT in attributed graphs, i.e., graphs with features associated with nodes and edges. Our approach works well on any kind of graph topology and can find solutions that jointly optimize the MAXCUT along with other objectives. Based on the obtained MAXCUT partition, we implement a hierarchical graph pooling layer for Graph Neural Networks, which is sparse, trainable end-to-end, and particularly suitable for downstream tasks on heterophilic graphs.","url_abs":"https://arxiv.org/abs/2409.05100v3","url_pdf":"https://arxiv.org/pdf/2409.05100v3.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":"maxcutpool-differentiable-feature-aware","repo_url":"https://github.com/ngmlgroup/maxcutpool","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2409.05100","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2409.05100"}},"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/ngmlgroup/maxcutpool","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":7},"by_repo_kind":{"official":{"samples":7,"ran":7,"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":"7b287b5a769fdd0f","entry":"eval_cut","repo":"ngmlgroup/maxcutpool","repo_kind":"official","path":"source/layers/ndp.py","file_url":"https://github.com/ngmlgroup/maxcutpool/blob/HEAD/source/layers/ndp.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7b287b5a769fdd0f"}},{"code_sha256_prefix":"21612b0356b35694","entry":"ndp","repo":"ngmlgroup/maxcutpool","repo_kind":"official","path":"source/layers/ndp.py","file_url":"https://github.com/ngmlgroup/maxcutpool/blob/HEAD/source/layers/ndp.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"21612b0356b35694"}},{"code_sha256_prefix":"178ea8d8fee146d5","entry":"reset_node_numbers","repo":"ngmlgroup/maxcutpool","repo_kind":"official","path":"source/layers/maxcutpool/utils.py","file_url":"https://github.com/ngmlgroup/maxcutpool/blob/HEAD/source/layers/maxcutpool/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"178ea8d8fee146d5"}},{"code_sha256_prefix":"6160d5df6f7b6877","entry":"sum_pool","repo":"ngmlgroup/maxcutpool","repo_kind":"official","path":"source/layers/sum_pool.py","file_url":"https://github.com/ngmlgroup/maxcutpool/blob/HEAD/source/layers/sum_pool.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6160d5df6f7b6877"}},{"code_sha256_prefix":"9a51386e12a367b6","entry":"sum_pool_neighbor_x","repo":"ngmlgroup/maxcutpool","repo_kind":"official","path":"source/layers/sum_pool.py","file_url":"https://github.com/ngmlgroup/maxcutpool/blob/HEAD/source/layers/sum_pool.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9a51386e12a367b6"}},{"code_sha256_prefix":"da4b9b45c0e51020","entry":"sum_pool_x","repo":"ngmlgroup/maxcutpool","repo_kind":"official","path":"source/layers/sum_pool.py","file_url":"https://github.com/ngmlgroup/maxcutpool/blob/HEAD/source/layers/sum_pool.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"da4b9b45c0e51020"}},{"code_sha256_prefix":"646276fb3a7e3cef","entry":"topk","repo":"ngmlgroup/maxcutpool","repo_kind":"official","path":"source/layers/maxcutpool/utils.py","file_url":"https://github.com/ngmlgroup/maxcutpool/blob/HEAD/source/layers/maxcutpool/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"646276fb3a7e3cef"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}