{"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/distinguishing-neighborhood-representations","title":"Mitigating Oversmoothing Through Reverse Process of GNNs for Heterophilic Graphs","arxiv_id":"2403.10543","date":"2024-03-11","proceeding":null,"authors":["Moonjeong Park","Jaeseung Heo","Dongwoo Kim"],"abstract":"Graph Neural Network (GNN) resembles the diffusion process, leading to the over-smoothing of learned representations when stacking many layers. Hence, the reverse process of message passing can produce the distinguishable node representations by inverting the forward message propagation. The distinguishable representations can help us to better classify neighboring nodes with different labels, such as in heterophilic graphs. In this work, we apply the design principle of the reverse process to the three variants of the GNNs. Through the experiments on heterophilic graph data, where adjacent nodes need to have different representations for successful classification, we show that the reverse process significantly improves the prediction performance in many cases. Additional analysis reveals that the reverse mechanism can mitigate the over-smoothing over hundreds of layers. Our code is available at https://github.com/ml-postech/reverse-gnn.","url_abs":"https://arxiv.org/abs/2403.10543v2","url_pdf":"https://arxiv.org/pdf/2403.10543v2.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":"distinguishing-neighborhood-representations","repo_url":"https://github.com/ml-postech/reverse-gnn","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"graph-neural-network","task_name":"Graph Neural Network"}],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2403.10543","atlas_url":"https://app.syntology.ai/?focus=2403.10543","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2403.10543"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/ml-postech/reverse-gnn","reach":null}],"summary":{"ran":2,"ran_honours":1,"ran_draft_wrong":1,"unverified":4},"by_repo_kind":{"official":{"samples":8,"ran":4,"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":8,"samples":[{"code_sha256_prefix":"3ad606c7b21a06b0","entry":"SpectralNorm","repo":"ml-postech/reverse-gnn","repo_kind":"official","path":"src/model_resgnn_rep.py","file_url":"https://github.com/ml-postech/reverse-gnn/blob/HEAD/src/model_resgnn_rep.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":"3ad606c7b21a06b0"}},{"code_sha256_prefix":"516e5546283f358b","entry":"SpectralNormStateDictHook","repo":"ml-postech/reverse-gnn","repo_kind":"official","path":"src/model_resgnn_rep.py","file_url":"https://github.com/ml-postech/reverse-gnn/blob/HEAD/src/model_resgnn_rep.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":"516e5546283f358b"}},{"code_sha256_prefix":"5b76e67cc6742f27","entry":"cal_GSL","repo":"ml-postech/reverse-gnn","repo_kind":"official","path":"src/model_resgnn_rep.py","file_url":"https://github.com/ml-postech/reverse-gnn/blob/HEAD/src/model_resgnn_rep.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5b76e67cc6742f27"}},{"code_sha256_prefix":"5e520783d55fb4ef","entry":"spectral_norm_gnn","repo":"ml-postech/reverse-gnn","repo_kind":"official","path":"src/model_resgnn_rep.py","file_url":"https://github.com/ml-postech/reverse-gnn/blob/HEAD/src/model_resgnn_rep.py","link_basis":"first_harvest_node","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":"5e520783d55fb4ef"}},{"code_sha256_prefix":"1e050801dc7eacb6","entry":"SpectralNormLoadStateDictPreHook","repo":"ml-postech/reverse-gnn","repo_kind":"official","path":"src/model_resgnn_rep.py","file_url":"https://github.com/ml-postech/reverse-gnn/blob/HEAD/src/model_resgnn_rep.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":"1e050801dc7eacb6"}},{"code_sha256_prefix":"ff5b2b7a05fef288","entry":"iresgnn","repo":"ml-postech/reverse-gnn","repo_kind":"official","path":"src/model_resgnn_rep.py","file_url":"https://github.com/ml-postech/reverse-gnn/blob/HEAD/src/model_resgnn_rep.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":"ff5b2b7a05fef288"}},{"code_sha256_prefix":"88bc462f95388156","entry":"iresgnn_block","repo":"ml-postech/reverse-gnn","repo_kind":"official","path":"src/model_resgnn_rep.py","file_url":"https://github.com/ml-postech/reverse-gnn/blob/HEAD/src/model_resgnn_rep.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":"88bc462f95388156"}},{"code_sha256_prefix":"d230601565473312","entry":"minesweeper_plot","repo":"ml-postech/reverse-gnn","repo_kind":"official","path":"src/model_resgnn_rep.py","file_url":"https://github.com/ml-postech/reverse-gnn/blob/HEAD/src/model_resgnn_rep.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":"d230601565473312"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}