Efficient Multi-Class Selective Sampling on Graphs

Peng Yang, Peilin Zhao, Zhen Hai, Wei Liu, Steven C. H. Hoi, Xiaoli Li

Abstract

Online graph classification is essential for processing massive, sequentially arriving data in networks like social media or citation databases. However, existing methods often rely on inefficient "one-vs-all" reductions for multi-class tasks and require expensive manual labeling. This paper introduces a unified multi-class framework and a novel selective sampling algorithm, MSG (Multi-class Selective Sampling on Graph). MSG queries only the most informative nodes by combining prediction margin and model uncertainty. By employing aggressive updates and low-rank Laplacian approximations, the framework achieves high accuracy with minimal labeling effort.

Introduction

Graph-based classification is a cornerstone of modern data science, used to categorize entities in diverse domains from biological networks to citation databases. As these networks grow, the need for online learning—processing nodes sequentially—becomes critical. Despite its importance, online graph classification faces three primary hurdles: the inefficiency of multi-class extensions (often handled via "one-vs-all" strategies), the high cost of acquiring ground-truth labels, and the computational complexity of updating models on massive graphs.

Methodology

The proposed framework adapts Graph Laplacian Regularized Least Squares (LapRLS) into a unified multi-class online setting. Two primary algorithms are developed:

CMOG: Conservative Multi-class Online learning on Graph

CMOG serves as a baseline online algorithm. It follows a conservative update rule, modifying model weights only when a prediction error occurs. While effective, it ignores the potential information in correctly predicted instances near the decision boundary.

MSG: Multi-class Selective Sampling on Graph

MSG is the core contribution, designed for active learning. It decides whether to query a node's label based on a confidence score ($\Theta_t$) that integrates:

  1. Prediction Margin: The difference between the scores of the top two predicted classes.
  2. Model Uncertainty: The inherent variance in the model's current state.

Unlike conservative methods, MSG uses an aggressive updating strategy. If the model predicts a label correctly but the confidence score is low, MSG still performs an update. This allows the model to refine the decision boundary more rapidly, leading to faster convergence and fewer total queries.

To ensure scalability, the authors utilize a rank-$d$ approximation of the graph Laplacian. This reduces the time complexity of sequential updates from $O(n^2)$ to $O(d^2)$, where $d \ll n$.

Experimental Evaluation

The performance of MSG and CMOG was evaluated against several baselines, including GPA, BBQ, and DGS, across four real-world datasets: Coauthor (DBLP), Cora, IMDB, and PubMed. These datasets range from approximately 1,700 to nearly 20,000 nodes.

Results

The experimental results highlight the superior efficiency of the MSG algorithm. Across all datasets, MSG achieved lower or comparable error rates to fully supervised methods while querying only a fraction of the available labels.

Performance comparison of MSG against baseline algorithms. MSG consistently achieves the lowest error rates with significantly fewer queried nodes across all four datasets.

Key findings include:

  • Label Efficiency: On the PubMed dataset, MSG achieved an error rate of 0.2158 while querying fewer than 5% of the nodes (936 out of 19,717).
  • Accuracy vs. Cost: On the Coauthor dataset, MSG (0.2956 error) outperformed the fully supervised CMOG (0.3096 error) while requiring only ~50% of the labels.
  • Scalability: A rank of $d=100$ for the Laplacian approximation was found to be the optimal balance between computational speed and predictive accuracy.

Discussion and Conclusion

The success of MSG stems from its unified multi-class approach and the combination of margin-based and uncertainty-based sampling. By optimizing a single multi-class model, updates to one class globally inform the others, creating a more robust system than independent binary classifiers. Furthermore, aggressive learning on low-confidence correct predictions allows the model to learn the decision boundary shape much faster.

While the current framework assumes undirected and connected graphs, future work could extend these principles to directed or dynamic, evolving graphs. The rapid convergence observed suggests that even more aggressive query reduction might be possible once the model reaches a stable phase.

Summary updated

BibTeX
@inproceedings{yang2016efficient,
  author = {Peng Yang and Peilin Zhao and Zhen Hai and Wei Liu and Steven C. H. Hoi and Xiaoli Li},
  title = {{Efficient Multi-Class Selective Sampling on Graphs}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2016},
}
Figure