Abstract
Traditional within-network classification often relies on the homophily hypothesis, which assumes that connected nodes share similar labels. This paper introduces a novel collective classification framework that moves beyond this assumption by leveraging local structural similarity. By employing a random walk-based similarity measure that incorporates node degree information, the proposed method achieves significant performance gains on networks where structural patterns are more informative than direct neighbor labels, such as molecular and biological graphs.
Introduction
In many real-world networks, labels are known for only a small fraction of nodes. Within-network classification aims to predict the missing labels by exploiting the network's topology. Most existing approaches are built upon the homophily hypothesis, which posits that connected nodes are likely to belong to the same class. However, in domains like proteomics or chemistry, this assumption frequently fails. For instance, a Carbon atom typically bonds with Oxygen rather than another Carbon, and specific protein motifs are defined by their structural neighborhood rather than the labels of adjacent nodes.
Existing methods often overlook the precise structural arrangement of a node's neighborhood or focus solely on physical proximity. This paper addresses these gaps by introducing a similarity measure based on structural equivalence rather than simple connectivity.
Methodology
The proposed framework consists of two primary components: an iterative Relaxation Labeling (RL) algorithm and a structural similarity measure based on random walks.
Relaxation Labeling Framework
The authors adapt the RL framework to update node class probabilities iteratively. Unlike standard versions, this approach utilizes complex similarity measures to propagate label information across the network, allowing for more nuanced classification than simple neighbor counting.
Random Walk Structure Similarity
The core innovation is the use of "marginalized graph kernels" to quantify node similarity. Parallel random walks are simulated starting from two different nodes. If the sequences of labels encountered are similar, the nodes are deemed structurally similar. To handle unlabeled nodes, label generation is treated as a stochastic process based on current probability estimates.
To ensure that nodes with different degrees are not erroneously classified as similar, the authors introduce a "dummy node" trick. As shown in Figure 1, dummy nodes are added to equalize degrees during the comparison process. This effectively penalizes similarity scores when node degrees do not match, ensuring that local connectivity patterns are preserved in the similarity metric.
Experimental Evaluation
The method was evaluated on five datasets: molecular/biological graphs (Mutagenicity, AIDS, Protein) and web graphs (Cornell, Texas).
Key Results
The proposed method, RL-RW-deg, was compared against several baselines from the NetKit-SRL toolkit.
- Performance on Molecular Data: RL-RW-deg significantly outperformed homophily-based methods on molecular datasets. On the Mutagenicity dataset (Figure 4), the method maintained an F1-score near 80 even with only 10% of labels, whereas other methods saw sharp declines.
- Robustness to Sparsity: A key strength of the structural approach is its performance in "cold-start" scenarios. Even with as little as 1% of nodes labeled, RL-RW-deg remained effective, showing remarkable stability across different labeling rates.
- Impact of Degree Information: The inclusion of node degree via the dummy node trick consistently improved accuracy, confirming that degree is a vital component of local structure.
Conclusion
This work demonstrates that structural similarity is a powerful alternative to homophily for within-network classification, particularly in scientific domains. While the computational complexity of $O(|V|^2)$ for pair-wise similarity may pose challenges for massive graphs, the method's robustness to sparse labeling makes it highly valuable for real-world applications. Future work may explore incorporating edge weights and improving convergence guarantees for the relaxation labeling process.
Summary updated