Abstract
Vertex classification is a fundamental task in graph analysis, typically addressed through spectral embedding methods like Adjacency Spectral Embedding (ASE). However, these methods are highly sensitive to the choice of embedding dimension ($d$), a parameter that is notoriously difficult to estimate in the presence of noise or data contamination. This paper introduces a Sparse Representation Classifier (SRC) for graphs that eliminates the need for explicit dimension selection. By representing a test vertex as a sparse linear combination of training vertices, SRC provides a robust and theoretically consistent framework for vertex classification, particularly in "contaminated" networks where traditional spectral methods often fail.
The Dimension Dilemma in Spectral Methods
The standard approach to vertex classification involves projecting nodes into a low-dimensional Euclidean space using ASE, followed by a traditional classifier like k-Nearest Neighbors. The success of this method hinges on selecting the "correct" dimension $d$. Choosing $d$ too small results in the loss of critical structural information, while choosing $d$ too large introduces excessive noise.
In practice, researchers often use scree plots of eigenvalues to find an "elbow" that signifies the optimal dimension. However, real-world graphs are frequently "contaminated"—edges may be missing (occlusion) or incorrectly recorded (linkage reversion). This noise shifts the eigenvalues and obscures the elbow, making automated dimension selection unreliable.
The Sparse Representation Classifier (SRC)
To address these challenges, the authors adapt the Sparse Representation Classifier (SRC), originally developed for face recognition, to the domain of graph data. Unlike ASE, which requires an explicit embedding step, SRC operates directly on the adjacency matrix columns.
The SRC process involves three primary steps:
- Normalization: Adjacency columns of training vertices are scaled to have a unit $\ell_2$ norm. This step is crucial for handling networks with varying node degrees.
- Sparse Recovery: The connectivity pattern of a test vertex is modeled as a sparse linear combination of the training vertices. This is achieved by solving an $\ell_1$-minimization problem, typically using efficient algorithms like Orthogonal Matching Pursuit (OMP).
- Classification: The test vertex is assigned to the class that results in the smallest reconstruction error—essentially, which group of training nodes best explains the test node's connections?
By focusing on sparse reconstruction rather than global spectral properties, SRC replaces the sensitive dimension parameter $d$ with a much more stable sparsity level $s$.
Robustness to Contamination
The primary advantage of SRC is its resilience to data degradation. In simulations involving Stochastic Blockmodels (SBM), the authors compared SRC against ASE-based classifiers under varying levels of contamination ($p$).
As shown in the figure above, as the contamination level increases, the clusters in the spectral embedding space begin to overlap and lose their distinct structure, significantly increasing the error rate for ASE-based methods. In contrast, SRC maintains stable performance even when a large portion of the graph is occluded. The paper proves that SRC is theoretically consistent for SBMs, meaning the classification error approaches zero as the graph size increases, provided the classes are sufficiently distinct.
Key Results and Validation
The method was evaluated on several real-world datasets, including the C. elegans neural connectome and political blog networks. In the C. elegans dataset, ASE-based classifiers exhibited a "hump" in performance, where accuracy peaked at a specific dimension before degrading. SRC, however, remained consistently accurate across a wide range of sparsity levels, demonstrating its practical utility in scenarios where the true underlying dimension is unknown.
Furthermore, the authors found that $\ell_2$ normalization of the adjacency columns significantly improves SRC's performance, helping to account for nodes with very different degrees. While SRC can struggle if class connectivity patterns are too highly correlated, it remains a superior tool for real-world graphs where noise is the rule rather than the exception.
Conclusion
The Sparse Representation Classifier offers a robust alternative to traditional spectral methods for vertex classification. By bypassing the dimension dilemma, SRC provides a more stable and reliable tool for analyzing noisy, real-world networks. While computational scaling for massive graphs remains a future challenge, SRC represents a significant step forward in robust graph signal processing.
Reference: Chen, L., Shen, C., Vogelstein, J., & Priebe, C. E. (2015). Robust Vertex Classification. arXiv:1311.5954v2 [stat.ML].
Summary updated