Introduction
Kernel methods are a cornerstone of non-parametric statistical learning, providing a robust framework for modeling complex, nonlinear relationships. However, their application to "Big Data" has traditionally been limited by significant computational overhead. For a dataset with $n$ samples, standard kernel methods require $O(n^2)$ space to store the Gram matrix and $O(n^3)$ time for training. At the scale of millions of samples, these requirements become prohibitive.
The Scalability Challenge
While randomized kernel methods, such as Random Fourier Features, can linearize the problem, they introduce a new bottleneck. Achieving state-of-the-art accuracy on complex tasks often requires a very large number of random features ($s$). When both $n$ and $s$ are large, the resulting feature matrix $Z \in \mathbb{R}^{n \times s}$ can exceed the memory capacity of even the largest high-performance computing (HPC) clusters.
Methodology: BlockADMM and Implicit Computation
To overcome these barriers, the proposed framework, BlockADMM, combines distributed optimization with randomization. The approach is built on several key innovations:
- Block-Splitting ADMM: A variant of the Alternating Direction Method of Multipliers (ADMM) that partitions data by both samples (rows) and features (columns). This dual partitioning allows for fine-grained control over memory usage and parallelization.
- Implicit Feature Computation: Rather than materializing and storing the massive feature matrix $Z$, the algorithm recomputes blocks of $Z$ on-the-fly from the raw input data during each iteration. This strategy trades redundant computation for a drastically reduced memory footprint, exploiting the fact that modern HPC systems are often I/O or memory-bound rather than CPU-bound.
- Hybrid Parallelism: The implementation leverages MPI for inter-node communication and OpenMP for intra-node multi-threading, ensuring scalability across diverse hardware architectures.
Experimental Results
The framework was evaluated on massive benchmarks, including the TIMIT speech recognition dataset (~2.2 million examples) and an expanded MNIST dataset (~8.1 million examples).
As shown in the figure above, increasing the number of random features is essential for reaching state-of-the-art accuracy on the TIMIT task. At approximately 528,000 features, the implicit feature matrix reaches a size of 8.7 Terabytes. The BlockADMM framework successfully handles this scale, achieving performance competitive with deep neural networks.
Furthermore, the framework demonstrates exceptional efficiency. On a binary MNIST task, the solver was approximately 600x faster than the standard LibSVM library (178 seconds versus 30 hours) while maintaining comparable accuracy. The algorithm also exhibits near-ideal strong and weak scaling, making it suitable for deployment on large-scale clusters.
Conclusion
By integrating implicit computation with distributed block-splitting optimization, this research demonstrates that kernel machines can be scaled to terabyte-sized problems. This framework, available via the libSkylark library, provides a versatile tool for high-performance non-parametric learning on massive datasets. Future work will explore asynchronous and stochastic variants to further reduce communication overhead and improve convergence rates.
Summary updated