Selective sampling on graphs for classification

Quanquan Gu, Charu C. Aggarwal, Jialu Liu, Jiawei Han

Abstract

In many real-world applications, data points are interconnected in graph structures, such as social networks or citation indices. Traditional online learning methods often fail to exploit these relationships or require exhaustive labeling, which is costly. This paper introduces a second-order online learning framework for graph-structured data, featuring the Online Learning with Local and Global Consistency (OLLGC) algorithm and its active learning counterpart, Selective Sampling with LGC (SSLGC). By utilizing low-rank approximations of the graph Laplacian, these algorithms achieve high classification accuracy with significantly fewer label queries than traditional first-order methods.

Introduction

Real-world data, such as social networks or citation graphs, often exhibit homophily, where connected nodes are likely to share the same label. Traditional online learning assumes data arrives as independent and identically distributed (i.i.d.) vectors, ignoring these critical structural dependencies. Furthermore, existing graph-based online learning models typically require a label for every node to update the model, which is impractical given the high cost of data labeling.

This paper addresses the challenge of identifying "informative" nodes in a graph to minimize labeling costs while maintaining high predictive performance. The authors propose a selective sampling (active learning) framework that allows an algorithm to strategically choose which labels to query.

Methodology

The authors propose two primary algorithms based on the "Learning with Local and Global Consistency" (LLGC) model:

  1. OLLGC (Online Learning with Local and Global Consistency): A second-order online learning algorithm that functions like online ridge regression in the Hilbert space of graph functions. Unlike first-order methods like the Graph Perceptron (GPA), OLLGC maintains a covariance-like matrix to capture the curvature of the graph's manifold.
  2. SSLGC (Selective Sampling with LGC): This variant adds a decision rule to OLLGC. For each new node, it calculates a confidence score based on model variance. If uncertainty exceeds a time-decaying threshold ($t^{-\kappa}$), the label is queried; otherwise, the model relies on its own prediction.

To ensure scalability for massive graphs, the authors employ Low-rank Approximation. By using the top $d$ eigenvectors of the graph Laplacian instead of the full $n \times n$ matrix, computational complexity is reduced from $O(n^2)$ to $O(d^2)$.

Impact of rank $d$ on error rate and cumulative time. OLLGC and SSLGC significantly outperform the Graph Perceptron Algorithm (GPA) in accuracy, while low-rank approximation ensures computational efficiency.

Experimental Setup

The researchers evaluated their approach on four real-world graph benchmarks:

  • Coauthor: A DBLP-based graph of computer science authors.
  • Cora: A citation network of scientific publications.
  • IMDB: A graph of movies connected by shared actors.
  • PubMed: A large citation network of diabetes-related publications.

Key Results and Insights

Performance and Efficiency

OLLGC consistently outperformed the state-of-the-art Graph Perceptron Algorithm (GPA) across all datasets. For instance, on the Cora dataset, OLLGC achieved an error rate of approximately 0.075, compared to 0.117 for GPA. The second-order information allows the model to grasp the global graph structure much faster than first-order updates.

Label Efficiency

SSLGC demonstrated that high accuracy can be maintained with a fraction of the labels. On the IMDB dataset, SSLGC queried only approximately 20% of the total nodes (~3,453 out of 17,046) while remaining competitive with the full-label OLLGC. This suggests that once the labels of key "bridge" nodes are known, the labels of their neighbors become highly predictable.

Cumulative queried nodes over time on the IMDB dataset. SSLGC queries significantly fewer labels than OLLGC and GPA while maintaining competitive performance.

Handling Unbalanced Data

On the PubMed dataset, SSLGC actually outperformed the full-label OLLGC. The authors hypothesize that selective sampling prevents the model from being overwhelmed by majority classes in unbalanced data, leading to a more robust classifier.

Limitations and Future Work

The current framework operates in a transductive setting, requiring the entire graph structure to be known at the start. Future research will focus on inductive online learning, where nodes and edges arrive dynamically and the graph structure evolves over time. Additionally, automating the selection of the threshold parameter $\kappa$ remains an open challenge for optimizing the trade-off between label cost and accuracy.

Summary updated

BibTeX
@inproceedings{gu2013selective,
  author = {Quanquan Gu and Charu C. Aggarwal and Jialu Liu and Jiawei Han},
  title = {{Selective sampling on graphs for classification}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2013},
  doi = {10.1145/2487575.2487641},
}
Figure