Distributed Kernel Ridge Regression with Communications

Shao-Bo Lin, Di Wang, Ding-Xuan Zhou

Abstract

This paper focuses on generalization performance analysis for distributed algorithms in the framework of learning theory. Taking distributed kernel ridge regression (DKRR) for example, we succeed in deriving its optimal learning rates in expectation and providing theoretically optimal ranges of the number of local processors. Due to the gap between theory and experiments, we also deduce optimal learning rates for DKRR in probability to essentially reflect the generalization performance and limitations of DKRR. Furthermore, we propose a communication strategy to improve the learning performance of DKRR and demonstrate the power of communications in DKRR via both theoretical assessments and numerical experiments.

Introduction: The Scalability Bottleneck in Distributed Learning

In the era of big data and privacy, moving all data to a central server is often unfeasible. Nonparametric Distributed Learning (NDL) addresses this by keeping data on local machines (e.g., hospitals or banks). The standard "divide-and-conquer" approach trains a model on each machine and averages the results.

However, there is a fundamental "bottleneck": if the data is split across too many machines ($m$), each machine possesses too little data to learn effectively. Theoretical limits show that once $m$ exceeds a certain threshold, the final averaged model loses its optimality. This paper introduces a communication strategy for Distributed Kernel Ridge Regression (DKRR) that breaks this threshold, allowing for massive parallelization without sacrificing accuracy.

MSE vs. Number of Local Machines for DKRR, KRR, and Local Approximation

Methodology: DKRR with Communications

The authors propose DKRR($\ell$), where $\ell$ represents the number of communication rounds. Instead of a one-shot average, the system employs a Newton-Raphson iteration strategy to refine the global model.

The process involves:

  1. Local Processing: Each machine computes a local estimator based on its subset $D_j$.
  2. Communication: Machines exchange "exclusive information," specifically gradients of the loss function.
  3. Iterative Refinement: A global machine synthesizes these gradients to update the model, which is then sent back to local machines for further refinement.
Flow of Training and Testing for DKRR with Communications

Technically, the analysis utilizes an integral operator approach and concentration inequalities for self-adjoint operators. This provides tighter performance bounds than previous studies, allowing for a more precise understanding of how communication rounds relax the constraints on the number of processors.

Key Insights

  • Analysis in Probability: Unlike previous work focusing on expectation (average error), this paper analyzes DKRR in probability. This better reflects "single-trial" performance, which is more relevant for real-world engineering.
  • The Communication Power-Up: Communicating gradients effectively "tricks" local machines into behaving as if they have access to a much larger portion of the global dataset.
  • Exponential Convergence: The error of the DKRR($\ell$) estimator converges exponentially fast with respect to the number of communication rounds. This means only a few rounds (small $\ell$) are needed to achieve significant improvements.

Experimental Results

The algorithm was evaluated using synthetic 1D and 3D datasets designed to test specific mathematical properties (Sobolev spaces).

  • Breaking the $m$ Barrier: In 1D experiments, standard DKRR performance began to degrade at $m \approx 40$ (Point B in the figure). By adding just 2 rounds of communication, the algorithm maintained optimal performance up to $m \approx 200$.
  • Optimal Learning Rates: The authors proved that DKRR with communications achieves the minimax optimal learning rate $|D|^{-2r/(2r+s)}$, where $|D|$ is the total data size.
  • Efficiency: For complex datasets, the time saved by using more machines far outweighs the cost of a few communication rounds.

Limitations and Future Directions

While the communication strategy is powerful, it introduces network latency and bandwidth overhead. In extremely slow networks, the cost of communication might negate the gains from distribution. Additionally, while raw data is not shared, the privacy implications of sharing gradients require further exploration. Future work includes extending this Newton-Raphson framework to other architectures, such as Deep Convolutional Neural Networks (CNNs).

Summary updated

BibTeX
@article{lin2020distributed,
  author = {Shao-Bo Lin and Di Wang and Ding-Xuan Zhou},
  title = {{Distributed Kernel Ridge Regression with Communications}},
  journal = {JMLR},
  year = {2020},
}
Figure