Distributed Learning with Random Features

Jian Li, Yong Liu, Weiping Wang · DOI

Abstract

In recent studies, the generalization properties for distributed learning and random features assumed the existence of the target concept over the hypothesis space. However, this strict condition is not applicable to the more common non-attainable case. In this paper, using refined proof techniques, we first extend the optimal rates for distributed learning with random features to the non-attainable case. Then, we reduce the number of required random features via data-dependent generating strategy, and improve the allowed number of partitions with additional unlabeled data. Theoretical analysis shows these techniques remarkably reduce computational cost while preserving the optimal generalization accuracy under standard assumptions. Finally, we conduct several experiments on both simulated and real-world datasets, and the empirical results validate our theoretical findings.

Introduction

Kernel methods are widely regarded as the "gold standard" for non-parametric learning, providing robust theoretical guarantees and high predictive accuracy. However, their practical application is often hindered by significant computational requirements—typically $O(N^2)$ memory and $O(N^3)$ time complexity. These costs make standard kernel methods prohibitive for modern large-scale datasets.

To address these bottlenecks, two primary strategies are often employed: Distributed Learning, which partitions data across multiple machines, and Random Features, which approximate the kernel to transform the problem into a more manageable linear one. While effective in practice, the theoretical understanding of these methods has often relied on idealized assumptions. A recent study, "Towards Sharp Analysis for Distributed Learning with Random Features," bridges this gap by providing a "sharp" theoretical analysis that accounts for the complexities of real-world data.

Addressing the "Non-Attainable" Case

Most existing theoretical frameworks for Kernel Ridge Regression (KRR) assume the attainable case, where the true target function is assumed to reside within the chosen Reproducing Kernel Hilbert Space (RKHS). In practice, this is rarely true; the target function is typically non-attainable relative to the chosen kernel.

Furthermore, previous theories imposed strict limits on the number of data partitions ($m$) allowed in distributed learning. It was believed that exceeding a certain number of partitions would lead to a significant drop in accuracy. This paper challenges these limitations, demonstrating that optimal convergence rates can be maintained even in the non-attainable case and with a much higher number of partitions than previously thought possible.

Technical Innovations

The authors analyze Distributed Kernel Ridge Regression with Random Features (DKRR-RF) through three key technical lenses:

  1. Refined Operator Analysis: By utilizing advanced concentration inequalities for self-adjoint operators, the authors improved estimates of the similarity between local empirical data and the global population. This refinement proves that the "partition limit" is significantly higher than earlier estimates suggested.
  2. Data-Dependent Sampling: Rather than relying on standard Monte Carlo sampling, which is independent of the data distribution, the authors propose using leverage scores. This strategy selects features that are most informative based on the actual data, allowing for a smaller number of features ($M$) to achieve optimal results.
  3. Semi-Supervised Integration: The method incorporates unlabeled data to help estimate the covariance structure. Since unlabeled data is often readily available, using it to stabilize distributed partitions allows for more aggressive parallelization without sacrificing accuracy.

Key Results and Empirical Validation

The theoretical analysis proves that DKRR-RF achieves the minimax optimal learning rate of $O(N^{-\frac{2r}{2r+\gamma}})$ in the non-attainable case. This result is significant as it makes kernel theory applicable to virtually any scenario where the kernel serves as an approximation.

Complexity analysis of DKRR-RF

The authors validated these findings using both synthetic and large-scale real-world datasets:

  • Simulated Spline Kernels: Used to test the limits of the theory by controlling problem difficulty parameters ($r$ and $\gamma$).
  • Large-Scale Benchmarks: Experiments on covtype (581k samples), SUSY (5M samples), and HIGGS (11M samples) demonstrated that the proposed method matches the accuracy of centralized KRR while drastically reducing training time and memory usage.

Conclusion

This work provides a more realistic theoretical foundation for large-scale kernel learning. By extending optimal rates to the non-attainable case and demonstrating the power of leverage scores and unlabeled data, the authors show that distributed learning with random features can be both highly efficient and theoretically sound. Future work may explore multi-round communication strategies to further mitigate "saturation" issues in simpler learning problems.

Reference: Li, J., Liu, Y., & Wang, W. (2022). Towards Sharp Analysis for Distributed Learning with Random Features. arXiv:1906.03155v5.

Summary updated

BibTeX
@inproceedings{li2023distributed,
  author = {Jian Li and Yong Liu and Weiping Wang},
  title = {{Distributed Learning with Random Features}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.24963/ijcai.2023/436},
}
Figure