Introduction
In the era of big data, information often arrives as a continuous stream of interconnected entities, such as users in a social network or papers in a citation graph. Classifying these vertices in real-time is a critical task for applications ranging from recommendation systems to fraud detection. While linear models are computationally efficient, they often struggle to capture the complex, non-linear relationships inherent in graph data. Online Kernel Learning (OKL) addresses this by mapping data into high-dimensional feature spaces. However, traditional second-order OKL methods face the "curse of kernelization," where the number of support vectors grows with time, leading to prohibitive $O(T^3)$ total runtime.
This paper introduces AKSG (Adaptive Kernel Sampling for Graphs), a scalable second-order online kernel learning framework designed to overcome these challenges. By integrating randomized sketching with an adaptive exploration-exploitation strategy, AKSG achieves high accuracy with significantly reduced computational and labeling costs.
Methodology: OKSG and AKSG
The authors propose two primary algorithms based on a regularized least-squares objective, both utilizing a "sketching" technique to approximate the kernel matrix $K_t$. This approximation allows the algorithms to operate in $O(t^2)$ space and time per step, making them viable for large-scale streaming data.
Online Kernel Sampling for Graphs (OKSG)
OKSG focuses on exploitation through a confidence-based selective sampling strategy. It queries a label only when the model makes a prediction error or when its confidence in a prediction is below a certain threshold. This approach minimizes the expensive process of obtaining ground-truth labels while maintaining competitive performance.
Adaptive Kernel Sampling for Graphs (AKSG)
AKSG extends the OKSG framework by introducing an "explorative" component. It employs an aggressive update rule that prioritizes points with high predicted variance. By actively exploring uncertain regions of the feature space, AKSG learns a more robust representation more quickly than purely error-driven methods. The decision to sample is governed by a confidence score $\Theta_t = |f_t| - \frac{1}{2}a_t\tau_t$, which balances the predicted margin ($|f_t|$) against the point's uncertainty ($\tau_t$).
Experimental Evaluation
The proposed methods were evaluated on three diverse real-world graph datasets:
- Coauthor: An undirected graph of authors from DBLP, where the task is to classify authors into research topics.
- Cora: A citation network where nodes are scientific publications to be classified into seven domains.
- IMDB: A movie association graph where nodes are movies linked by shared actors, with the goal of genre classification.
Key Results and Insights
The experimental results demonstrate that AKSG and OKSG consistently outperform both first-order kernel methods (e.g., NOGD, FOGD) and linear baselines (GPA).
As shown in Figure 1, AKSG achieves superior accuracy while querying a smaller fraction of nodes compared to other second-order methods like Pros-KNOS. This efficiency is particularly evident in the IMDB dataset, where AKSG maintains a significantly lower error rate even at low query ratios.
A broader comparison in Figure 6 highlights that AKSG and OKSG not only achieve lower error rates than first-order methods but also do so with a manageable number of queries. The second-order updates, guided by the covariance matrix, allow for faster convergence in complex feature spaces. Furthermore, the authors established a tighter regret bound of $O(r \log T)$, where $r$ is the effective rank of the data. Since graph data often has a low effective rank, this theoretical result explains the practical efficiency of the AKSG framework.
Conclusion and Future Work
AKSG provides a powerful framework for real-time vertex classification on large graphs, bridging the gap between high-accuracy second-order kernel methods and computational scalability. While the current implementation uses a "one-vs-rest" scheme for multi-class tasks, future work could explore native multi-class formulations and adaptive kernel selection to further enhance performance. Additionally, developing "budgeted" versions that discard redundant support vectors could extend the method's applicability to infinite data streams.
Summary updated