SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2412.09805 · NeurIPS · 2024

Making Classic GNNs Strong Baselines Across Varying Homophily: A Smoothness-Generalization Perspective

Jiawei Chen, Qiaoyu Tan, Sheng Zhou, Jiajun Bu, Meihan Liu, Liangcheng Li, Ming Gu ⋆♠, Zhuonan Zheng

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 6 functions out of this paper's own repositories and ran 1 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
galogm/IGNN canonical 1 of 6
FunctionStatusWhere it lives
gcn_norm Ran galogm/IGNN/ignn/modules/GCNConv.py
code served (permissive licence) · get_code("ed1c637003e09152")
eval_rocauc Not yet run galogm/IGNN/ignn/utils/common.py
code served (permissive licence) · get_code("163cabf2572117b5")
gcn_norm Not yet run galogm/IGNN/ignn/modules/GCNIncep.py
code served (permissive licence) · get_code("8ae8a5b920821a87")
get_logger Not yet run galogm/IGNN/ignn/utils/logging.py
code served (permissive licence) · get_code("7e68afef9ccd7352")
row_normalized_adjacency Not yet run galogm/IGNN/ignn/utils/common.py
code served (permissive licence) · get_code("791f0a4110d99b68")
scale Not yet run galogm/IGNN/benchmark/modules/mlp.py
code served (permissive licence) · get_code("3a5d6fc7958316f5")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Graph Neural Networks (GNNs) have achieved great success but are often considered to be challenged by varying levels of homophily in graphs. Recent empirical studies have surprisingly shown that homophilic GNNs can perform well across datasets of different homophily levels with proper hyperparameter tuning, but the underlying theory and effective architectures remain unclear. To advance GNN universality across varying homophily, we theoretically revisit GNN message passing and uncover a novel smoothness-generalization dilemma, where increasing hops inevitably enhances smoothness at the cost of generalization. This dilemma hinders learning in high-order homophilic neighborhoods and all heterophilic ones, where generalization is critical due to complex neighborhood class distributions that are sensitive to shifts induced by noise or sparsity. To address this, we introduce the Inceptive Graph Neural Network (IGNN) built on three simple yet effective design principles, which alleviate the dilemma by enabling distinct hop-wise generalization alongside improved overall generalization with adaptive smoothness. Benchmarking against 30 baselines demonstrates IGNN's superiority and reveals notable universality in certain homophilic GNN variants. Our code and datasets are available at https://github.com/galogm/IGNN.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2412.09805")
get_code_for_paper("2412.09805")
have("2412.09805")

Connect an agent — have() is free.