WGCN: Graph Convolutional Networks with Weighted Structural Features

Yunxiang Zhao, Jianzhong Qi, Qingwei Liu, Rui ZhangSIGIR 2021 · DOI

Abstract

Graph structural information, such as topology and connectivity, provides essential guidance for Graph Convolutional Networks (GCNs) to learn effective node representations. However, existing GCN models often weight in- and out-neighbors equally or differentiate them globally, failing to account for local topological variations. We propose WGCN (Weighted Graph Convolutional Network), a model designed to explore directional structural information tailored to individual nodes. WGCN utilizes a direction and degree-aware Random Walk with Restart (DDRWR) algorithm to capture unique structural fingerprints, which are then used as weighted structural features. Furthermore, WGCN embeds graphs into a latent space to capture high-order dependencies and geometric relationships, employing an attention-based aggregation to differentiate between latent, in-, and out-neighbors. Experimental results on transductive node classification tasks demonstrate that WGCN consistently outperforms baseline models, achieving accuracy improvements of up to 17.07% on benchmark datasets.

Introduction

Graph Convolutional Networks (GCNs) have become the standard for modeling relational data. Despite their success, a significant limitation remains in how they handle directed edges and local structural nuances. Most current models treat all neighbors with equal importance or apply a global weighting strategy (e.g., assigning a fixed weight to all in-neighbors regardless of the node's specific context).

In reality, the importance of a neighbor is often contingent on a node's local topology. For instance, in a citation network, a highly cited "popular" paper might find its few outgoing references more representative of its specific niche than its thousands of incoming citations. Conversely, for a less-cited paper, its few incoming citations might be highly specific and relevant. WGCN addresses this by capturing "structural fingerprints" that allow the network to adapt its message-passing based on these local characteristics.

Methodology

WGCN introduces two primary innovations to the standard GCN architecture:

1. Direction and Degree Aware Random Walk with Restart (DDRWR)

To capture the local context of a node, WGCN employs DDRWR. Unlike standard random walks, this algorithm is guided by both edge direction and the relative in- and out-degrees of nodes. It generates a proximity vector—a structural fingerprint—that weights neighbors based on the observation that directions with smaller degrees often contain more similar nodes. These fingerprints are concatenated with original node content features, ensuring that the "shape" of the local network is treated as a first-class feature during learning.

2. Latent Geometrical Message Passing

Standard adjacency matrices often fail to capture high-order dependencies between nodes that are related but not directly connected. WGCN addresses this by embedding the graph into a latent space (using techniques such as Isomap). This geometric representation allows the model to categorize neighbors into four distinct classes: latent, in-neighbors, or out-neighbors, based on their relative positions in the latent space.

An attention-based geometrical aggregation mechanism is then applied. This allows the model to learn specific attention coefficients for different neighbor categories, enabling a more nuanced integration of information during the message-passing phase.

Experimental Evaluation

The model was evaluated across five public benchmark datasets categorized by their homophily levels:

  • Assortative (High Homophily): Cora-ML and Citeseer (citation networks where similar nodes tend to link).
  • Disassortative (Low Homophily): Chameleon, Squirrel, and Crocodile (Wikipedia page-link networks where links often connect nodes of different classes).

WGCN was compared against nine baseline models, including standard GCN, GAT, and DiGCN.

Key Results and Insights

  • Superior Accuracy: WGCN consistently outperformed all baselines. The most significant improvement was observed on the Squirrel dataset, where WGCN achieved a 17.07% increase in accuracy over the best-performing baseline.
  • Effectiveness on Disassortative Graphs: Traditional GCNs often struggle with Wikipedia-style datasets where high homophily is absent. WGCN’s ability to leverage structural features allowed it to maintain high performance even when node labels were not strongly correlated with direct links.
  • The Popularity Insight: The research verified that neighbors in the direction of a smaller degree are statistically more likely to share the same class as the target node. This pattern held true for over 50% of nodes across the five real-world datasets tested.
  • Computational Efficiency: While the model requires a pre-processing step to compute structural fingerprints and latent embeddings, the training time remains competitive with other modern spatial GNNs like GAT and Geom-GCN.

Conclusion and Future Work

WGCN demonstrates that incorporating local structural weighting and latent geometric relationships significantly enhances node representation learning, particularly in directed and disassortative graphs. While the current pre-processing steps are effective, future work will focus on developing acceleration technologies to improve scalability for massive graphs containing millions of nodes. Additionally, exploring the sensitivity of different embedding methods (such as Poincare or Struc2vec) remains a key area for optimizing the model for diverse data topologies.

Summary updated

BibTeX
@inproceedings{zhao2021wgcn,
  author = {Yunxiang Zhao and Jianzhong Qi and Qingwei Liu and Rui Zhang},
  title = {{WGCN: Graph Convolutional Networks with Weighted Structural Features}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2021},
  doi = {10.1145/3404835.3462834},
}
Figure