PC-Conv: Unifying Homophily and Heterophily with Two-fold Filtering

Bingheng Li, Erlin Pan, Zhao Kang · DOI

Abstract

Graph Neural Networks (GNNs) typically rely on the homophily assumption, where connected nodes are expected to share similar features. However, this assumption fails in heterophilic graphs, leading to suboptimal performance. We present PC-Conv, a unified framework that integrates local homophilic aggregation with a global heterophilic heat kernel through a "two-fold filtering" mechanism. By leveraging Poisson-Charlier polynomials for efficient approximation, PC-Conv achieves state-of-the-art results across both homophilic and heterophilic benchmarks while maintaining linear computational complexity.

Introduction

Standard Graph Neural Networks, such as Graph Convolutional Networks (GCNs), primarily function as low-pass filters. While effective for homophilic graphs (e.g., citation networks), these models suffer from "over-smoothing" in heterophilic environments (e.g., fraud networks or chemical structures), where neighbors often belong to different classes. Existing solutions often specialize in one domain at the expense of the other. PC-Conv addresses this by treating homophily and heterophily as complementary signals that can be extracted and combined within a single, flexible architecture.

Methodology: Two-fold Filtering and PC-Conv

The core of the proposed approach is the Two-fold Filtering mechanism, which decomposes graph signals into two distinct components:

  1. Local Homophilic Aggregation: Utilizes a standard low-pass filter to capture immediate neighborhood similarities.
  2. Global Heterophilic Aggregation: Extends the graph heat equation to a "complementary graph" to capture long-distance structural patterns, allowing the model to identify similar nodes that are topologically distant.

To implement this efficiently, the authors introduce PC-Conv. They demonstrate that this complex two-fold filter can be exactly approximated using Poisson-Charlier (PC) polynomials. This mathematical formulation allows the model to learn multi-order information (up to the $K$-th order) with learnable weights ($\theta_k$), ensuring high expressiveness without the computational burden of traditional spectral methods.

Architecture of PC-Conv illustrating the integration of local and global signals through Two-fold Filtering.

Experiments and Results

The model, referred to as PCNet, was evaluated on a diverse set of benchmarks, including classic homophilic citation networks (Cora, Citeseer, PubMed) and various heterophilic webpage and social networks (Texas, Cornell, Actor, etc.).

PCNet consistently outperformed or matched state-of-the-art (SOTA) models. Notably, on heterophilic datasets like Texas and Cornell, PCNet achieved performance improvements of 10% to 20% over competitive baselines. The model's ability to learn complex filter shapes—such as "comb" or "band-pass" filters—contributes to its superior performance across varying graph types. Despite its mathematical depth, PC-Conv's complexity remains linear with respect to the number of edges, making it highly efficient.

Node classification accuracy across diverse datasets. PCNet (highlighted in red) achieves top performance on both homophilic and heterophilic tasks.

Conclusion

PC-Conv successfully bridges the gap between homophilic and heterophilic graph modeling. By combining local and global filtering through an efficient polynomial approximation, it provides a robust and scalable solution for relational data. Future research may explore more sophisticated homophilic signal modeling and further optimization of hyperparameters like the self-loop information factor $p$ and the Laplacian scaling factor $\eta$.

Summary updated

BibTeX
@inproceedings{li2024pc,
  author = {Bingheng Li and Erlin Pan and Zhao Kang},
  title = {{PC-Conv: Unifying Homophily and Heterophily with Two-fold Filtering}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i12.29246},
}
Figure