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

Bingheng Li, Erlin Pan, Zhao Kang

Introduction

Graph Neural Networks (GNNs) have traditionally relied on the assumption of homophily, where connected nodes share similar features or labels. In such scenarios, standard GNN layers act as low-pass filters, smoothing information across neighborhoods to improve classification. However, many real-world graphs exhibit heterophily, where edges connect dissimilar nodes (e.g., predator-prey relationships or fraudulent transactions). In these cases, simple smoothing can lead to "over-smoothing," where distinct class features become indistinguishable.

While specialized heterophilic GNNs exist, they often struggle to maintain performance on homophilic datasets. PC-Conv addresses this by introducing a "two-fold filtering" mechanism that adaptively handles both graph types within a single, unified architecture.

The Two-Fold Filtering Framework

The core innovation of PC-Conv is the integration of two distinct filtering paths to capture diverse structural patterns.

The PC-Conv architecture utilizes two-fold filtering and Poisson-Charlier polynomials to approximate complex graph filters.
  1. Low-Pass Filtering: This component handles homophilic signals by aggregating local neighborhood information, effectively smoothing features among similar nodes.
  2. Heterophilic Graph Heat Kernel: To address heterophily, the authors extend the graph heat equation. By utilizing a "complementary graph" perspective, this filter can push features of dissimilar neighbors apart while extracting global structural information from a distance.

To make the computation of the heat kernel (which involves expensive matrix exponentials) efficient, the authors employ Poisson-Charlier (PC) polynomials. These polynomials provide a high-precision approximation of the filter, allowing the model to capture multi-order information (neighbors of neighbors) without prohibitive costs.

Mathematical Expressivity and PCNet

The resulting convolution layer, PC-Conv, possesses a property termed Filter-Most-Expressive. Mathematically, it is proven that PC-Conv can approximate any real-valued filter function. By using learnable coefficients ($\theta_k$), the model can adaptively reshape its filter to be low-pass, high-pass, band-pass, or even more complex "comb" filters depending on the underlying data distribution.

This flexibility is realized in PCNet, a deep architecture that stacks PC-Conv layers. PCNet is designed to be robust to the "co-existence" of homophily and heterophily often found in real-world datasets, where local noise might be heterophilic but global structures remain informative.

Experimental Results

PCNet was evaluated against a suite of state-of-the-art GNNs across both homophilic (Cora, CiteSeer, PubMed) and heterophilic (Texas, Actor, Cornell) benchmarks.

Performance comparison of PCNet against various GNN baselines across homophilic and heterophilic datasets.

As shown in the results table, PCNet consistently achieves top-tier performance. Notably, on heterophilic datasets like Texas and Cornell, PCNet demonstrates significant accuracy improvements—sometimes exceeding 10-20% over traditional baselines. Beyond raw accuracy, the model exhibits high stability across different data splits and maintains computational efficiency, as the number of polynomial terms required for accurate approximation is often smaller than the neighborhood hops used in competing models.

Conclusion

PC-Conv represents a significant step toward universal GNNs. By unifying homophilic smoothing and heterophilic structural extraction through two-fold filtering and PC polynomial approximation, it overcomes the limitations of specialized models. Future work may involve refining the low-pass component with more sophisticated smoothing techniques and developing better metrics to characterize the complex mixtures of homophily and heterophily in modern graph data.

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