Graph-based semi-supervised learning (SSL) is a powerful paradigm that leverages the geometric structure of unlabeled data—the "manifold"—to enhance predictions from limited labeled samples. The gold standard for this approach is Laplacian Regularized Least Squares (LapRLS). However, LapRLS faces a significant scalability hurdle: solving the system typically requires $O(n^3)$ time and $O(n^2)$ memory, where $n$ is the total number of samples. For modern datasets with hundreds of thousands of points, these requirements are prohibitive.
In this paper, presented at IJCAI-19, the authors introduce Nyström-PCG, a scalable framework that bridges the gap between theoretical optimality and practical efficiency. By combining Nyström subsampling with a specialized preconditioned conjugate gradient solver, they reduce computational complexity to $O(n\sqrt{n})$ and memory usage to $O(n)$ without sacrificing accuracy.
Methodology: Nyström-PCG
The Nyström-PCG algorithm rests on three primary pillars:
- Nyström Subsampling: Rather than utilizing the full $n \times n$ kernel matrix, the algorithm randomly selects a small subset of $s$ "centers" (where $s \ll n$). The authors prove that choosing $s \approx \sqrt{n}$ is sufficient to maintain the statistical learning rate of the full model, effectively shrinking the problem size.
- Preconditioned Conjugate Gradient (PCG): To accelerate convergence, the authors designed a novel preconditioner specifically for the LapRLS objective. This matrix accounts for both "ambient" regularization (standard kernel ridge regression) and "intrinsic" regularization (the graph structure), allowing the solver to reach high-quality solutions in $O(\log m)$ iterations.
- Memory-Efficient Operations: To maintain $O(n)$ space complexity, the algorithm performs matrix-vector multiplications in small blocks. This avoids the need to store full kernel or Laplacian matrices in RAM, enabling the processing of massive datasets on standard workstations.
Key Insights and Ideas
The "Optimal" Approximation
A core theoretical insight of this work is that full-graph accuracy does not require the full graph. The analysis demonstrates that with $O(\sqrt{m})$ labeled samples and $O(\log m)$ iterations, Nyström-PCG achieves the same optimal error bounds as exact LapRLS.
Balancing Regularization
The preconditioner is uniquely effective because it balances the ambient and intrinsic manifold regularizers. This balance ensures that the iterative solver remains stable and fast, even when the graph structure is complex.
Experimental Results
The authors evaluated Nyström-PCG against standard RLS and LapRLS across ten datasets, ranging from small-scale (e.g., space_ga) to massive (e.g., YearPrediction with ~463k samples).
- Accuracy Preservation: In nearly all experiments, the Root Mean Square Error (RMSE) of Nyström-PCG was statistically indistinguishable from the exact LapRLS solution, while significantly outperforming supervised RLS.
- Massive Speedups: On the
ijcnn1dataset (~50k points), standard LapRLS-CG took 2,154 seconds. Nyström-PCG achieved the same accuracy in just 4.186 seconds. - Unprecedented Scalability: On the largest datasets, standard LapRLS methods failed due to memory limitations. Nyström-PCG processed the
YearPredictiontask (463k samples) in approximately 116 seconds.
Conclusion and Future Work
Nyström-PCG provides a robust solution for large-scale manifold regularization. While the solver is now highly efficient, the authors note that graph construction ($O(n \log n)$) may become the next primary bottleneck for datasets with billions of points. Future research may explore advanced sampling techniques, such as leverage scores, to further refine performance on non-uniform data distributions.
Summary updated