Communication-Efficient Distributed Online Learning with Kernels

Michael Kamp, Sebastian Bothe, Mario Boley, Michael Mock

TL;DR

This paper introduces a novel distributed online learning protocol that significantly reduces communication overhead for real-time services, especially when using powerful kernel-based models. It achieves this by dynamically synchronizing local learners only when necessary, offering a better trade-off between prediction accuracy and communication cost than existing methods.

What Problem Does This Paper Address?

In distributed online learning, multiple local learners process data streams and need to share information to maintain a high level of prediction accuracy, similar to a centralized system. However, constant communication between learners can be prohibitively expensive due to bandwidth limitations, latency, or battery constraints. Conversely, letting learners operate in complete isolation leads to a significant drop in service quality as the number of learners increases. Existing solutions often struggle to balance these competing demands, especially when using complex models like kernel-based methods, which can have large representations (support vector expansions) that are costly to communicate. This paper aims to bridge this gap by proposing a communication-efficient protocol that works well with these powerful, yet communication-intensive, kernelized learners.

Methods

The core of this work is a dynamic synchronization protocol. Unlike periodic protocols that synchronize at fixed intervals or continuous protocols that synchronize after every data point, this dynamic protocol synchronizes only when a measure of divergence between local models exceeds a predefined threshold. This divergence is calculated based on the difference between a local model and a reference model (typically the average of local models from the last synchronization).

To handle kernelized learners, which represent models as support vector expansions, the authors extend their protocol. A key challenge here is that the number of support vectors can grow over time, making communication expensive. To mitigate this, they incorporate model compression techniques (specifically, truncation of support vectors with small coefficients) which effectively bound the model size and the associated communication cost.

The paper also introduces a novel efficiency criterion for distributed online learning protocols. This criterion requires that the communication bound be linear in the number of learners and the loss bound of the serial algorithm (adaptivity), and that the protocol retains the loss bound of the serial algorithm (consistency).

Datasets

The paper uses the UCI SUSY dataset for an example illustration (Figure 1). It also mentions an experiment on financial data for stock price prediction using 32 learners (Figure 2).

Key Insights and Ideas

  • Dynamic synchronization is key: The core idea is that not all data points require communication. Synchronizing only when models diverge significantly offers a substantial communication saving without sacrificing much accuracy.
  • Kernel methods are powerful but costly: While kernel methods offer better predictive performance than linear models, their communication overhead can be a major bottleneck due to growing support vector expansions.
  • Model compression is crucial for kernel efficiency: Techniques like support vector truncation are essential to keep the communication cost manageable for kernelized learners, enabling them to meet the efficiency criterion.
  • A new efficiency criterion: The proposed criterion (adaptive and consistent) provides a more rigorous way to evaluate distributed learning protocols, going beyond just minimizing loss or communication in isolation.

Key Results

  • The proposed dynamic protocol, when combined with kernel methods and model compression, achieves a significantly better trade-off between cumulative error and cumulative communication compared to periodic protocols.
  • In an experiment on financial data, the dynamic protocol with kernel models reduced error by an order of magnitude and communication by over three orders of magnitude compared to periodic synchronization of non-linear models.
  • The paper theoretically shows that the dynamic protocol is adaptive and consistent for a class of algorithms with approximately loss-proportional convex updates, including those with model compression.
  • For linear models, the dynamic protocol is shown to be adaptive, retaining the loss bounds of Stochastic Gradient Descent.

Limitations and Future Work

  • Model size growth in kernel methods: Without model compression, the model size for kernelized learners can grow with time, preventing strict adaptivity according to the paper's definition.
  • Finding the right divergence threshold: Selecting an optimal divergence threshold for the dynamic protocol is a non-trivial task and influences the trade-off between service quality and communication.
  • Peak communication: The current efficiency metric focuses on total communication, not peak communication, which can be a concern in some distributed systems.
  • Future research directions:
    • Investigating the relationship between loss and model size for various model compression techniques to extend efficiency results.
  • Exploring alternative approaches for ensuring constant model size, such as random Fourier features.
  • Developing adaptive divergence thresholds for the dynamic protocol to allow for a more direct selection of the desired trade-off.
  • Addressing the issue of peak communication in distributed settings.

Summary updated

BibTeX
@inproceedings{kamp2016communication,
  author = {Michael Kamp and Sebastian Bothe and Mario Boley and Michael Mock},
  title = {{Communication-Efficient Distributed Online Learning with Kernels}},
  booktitle = {ECML/PKDD},
  year = {2016},
  doi = {10.1007/978-3-319-46227-1\_50},
}
Figure