[Paper Review] A Distributed Algorithm for Training Nonlinear Kernel Machines
This paper proposes a distributed algorithm for training nonlinear kernel machines using a re-formulated Nyström approximation that avoids computing the pseudo-inverse of the kernel matrix. By leveraging gradient-based optimization with AllReduce-based communication on Hadoop, the method achieves efficient, scalable training—demonstrated to outperform P-packsvm on MNIST8m (8779s vs. 12880s) with higher accuracy using 200 nodes.
This paper concerns the distributed training of nonlinear kernel machines on Map-Reduce. We show that a re-formulation of Nyström approximation based solution which is solved using gradient based techniques is well suited for this, especially when it is necessary to work with a large number of basis points. The main advantages of this approach are: avoidance of computing the pseudo-inverse of the kernel sub-matrix corresponding to the basis points; simplicity and efficiency of the distributed part of the computations; and, friendliness to stage-wise addition of basis points. We implement the method using an AllReduce tree on Hadoop and demonstrate its value on a few large benchmark datasets.
Motivation & Objective
- To enable scalable, efficient distributed training of nonlinear kernel machines on commodity clusters using Map-Reduce.
- To address the high computational and storage costs of exact kernel matrix computation in large-scale kernel methods.
- To develop a method that avoids expensive pseudo-inverse computations and supports incremental addition of basis points.
- To design a communication-efficient, iterative optimization framework compatible with Hadoop's AllReduce for large-scale data.
- To demonstrate superior performance on benchmark datasets compared to existing parallel solvers like P-packsvm.
Proposed method
- Re-formulate the Nyström approximation for kernel machines to avoid computing the pseudo-inverse of the basis kernel matrix.
- Use gradient-based optimization (e.g., L-BFGS) to train the model, with function, gradient, and Hessian computed via distributed matrix-vector products.
- Implement the optimization using an AllReduce tree on Hadoop to minimize communication overhead across iterations.
- Select basis points via distributed K-means clustering when the number is small, otherwise use random sampling.
- Structure the optimization to support stage-wise addition of basis points, enabling incremental model refinement.
- Map the optimization to the statistical query model, ensuring compatibility with iterative Map-Reduce frameworks.
Experimental results
Research questions
- RQ1Can a re-formulated Nyström approximation enable efficient, scalable training of nonlinear kernel machines in a distributed setting?
- RQ2How can the computational cost of pseudo-inverse operations be avoided in kernel machine training with basis points?
- RQ3Can gradient-based optimization with AllReduce communication achieve better performance than existing iterative solvers on large-scale datasets?
- RQ4How does the performance of the proposed method compare to P-packsvm in terms of training time and test accuracy on large datasets?
- RQ5To what extent can basis points be adaptively added in a stage-wise fashion without retraining from scratch?
Key findings
- The proposed method achieved a test accuracy of 0.9963 on the MNIST8m dataset (8 million examples) using 200 nodes, outperforming P-packsvm in both accuracy and speed.
- Training time was reduced to 8779 seconds on Hadoop with AllReduce, compared to 12880 seconds for P-packsvm on an MPI cluster with 512 nodes.
- The method avoids the computationally expensive SVD operations required by other low-rank kernel approximation methods, making it more scalable for large-scale problems.
- The AllReduce-based implementation enables efficient communication with only matrix-vector products, minimizing latency in iterative optimization.
- The approach supports incremental basis point addition, enabling efficient model adaptation without full retraining.
- The method demonstrates near-linear speed-up in total training time, indicating effective load balancing and low communication bottlenecks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.