Communication Bounds for the Distributed Experts Problem

Zhihao Jia, Qi Pang, Trung Tran, David Woodruff, Zhihao Zhang, Wenting Zheng

In the world of online machine learning, the "experts problem" is a classic framework. Imagine you have $n$ financial advisors (experts) giving you stock tips every day. You want to pick the best one, but you only find out how well they did at the end of each day. Your goal is to minimize regret—the difference between your total earnings and the earnings of the single best expert in hindsight.

But what happens when the data used to evaluate these experts is too large to be stored on a single computer? What if the "cost" of an expert is spread across dozens of different servers? This scenario is known as the Distributed Experts Problem. A new paper from researchers at Carnegie Mellon University and the University of Pittsburgh provides the first communication-efficient roadmap for solving it, achieving near-optimal regret while drastically cutting down data transfer.

The Communication Bottleneck

In a standard setup, a central coordinator has access to all the data. In the distributed version, the costs of $n$ experts are split across $s$ servers. To make a decision, the coordinator needs to know the "aggregate" cost of an expert—for example, the sum or the maximum of its costs across all servers.

The naive solution is for every server to send every cost to the coordinator every day. However, if you have thousands of experts and hundreds of servers over a long time horizon ($T$), the communication costs become astronomical, scaling at $O(n s T)$.

The core challenge is: How can the coordinator pick the best expert without seeing all the raw data?

To tackle this, the authors analyze two primary communication models:

  1. Message-passing: Private two-way channels exist between the coordinator and individual servers.
  2. Broadcast: A shared channel where all servers hear what the coordinator broadcasts.

Methods: The DEWA Family

The authors propose a family of algorithms called DEWA (Distributed Exponential Weight Algorithms). The core philosophy is that the coordinator doesn't need exact costs to learn effectively; it just needs good enough estimates.

  • DEWA-S (Summation): Instead of sending every cost, servers send a signal to the coordinator with a probability proportional to the local cost. This creates an unbiased estimator of the total cost—akin to taking a smart statistical poll instead of a full census.
  • DEWA-M (Maximum): Designed for the broadcast model, servers only speak up if their local cost for an expert is higher than the current maximum known by the coordinator. By processing servers in a random order, the number of updates drops exponentially from $s$ to roughly $\log(s)$.
  • DEWA-L ($\ell_p$ Norm): This variant uses a clever property of exponential distributions to embed $\ell_p$ norms into an $\ell_\infty$ (maximum) problem. This mathematical trick allows the efficient DEWA-M protocol to solve much more complex aggregation problems.
  • The "-P" Variants: To move from algorithms that work "on average" to those that work "with high probability," the authors run multiple instances of these algorithms in parallel, treating them as "meta-experts."
Theoretical upper bounds for the DEWA algorithm family.

Key Insights and Optimality

One of the standout features of the DEWA protocols is how they leverage sparsity. If only one server has the relevant data for an expert, DEWA-M can find it almost instantly without bothering the other $s-1$ servers. Furthermore, the paper introduces a hyperparameter ($b_e$) that allows users to explicitly trade off communication for accuracy. If a system has a strict data cap, it can communicate less and accept slightly higher regret.

Crucially, the authors didn't just design a fast algorithm; they proved its optimality. They established a theoretical lower bound showing that, given certain memory constraints on the servers, no algorithm can significantly beat the communication efficiency of their DEWA protocols.

Theoretical lower bounds for the distributed experts problem.

Experimental Results

The researchers evaluated their work using both synthetic datasets (Gaussian and Bernoulli distributions to test dense vs. sparse costs) and the HPO-B (Hyperparameter Optimization Benchmark), a real-world dataset where machine learning models act as "experts" and datasets act as "servers."

The results demonstrated massive savings: On the HPO-B benchmark, DEWA-S used only ~7% of the communication required by the standard Exponential Weights Algorithm (EWA) while achieving nearly identical regret. Additionally, their approach outperformed "Distributed Exp3" (a common bandit-style algorithm), proving that their targeted sampling method is far more efficient than simply picking one random expert to observe.

Limitations and Future Work

While groundbreaking, the study has a few constraints that open doors for future research:

  • Memory Bounds: The theoretical lower bounds rely on the assumption that servers have limited memory ($M$). While realistic for many edge-computing scenarios, it is a specific constraint.
  • Adversarial Models: The upper bounds hold against "strong adaptive adversaries" (who change their strategy based on the algorithm's actions), but the lower bounds were proven against "oblivious adversaries" (who set their strategy in advance). Closing this theoretical gap remains an open problem.
  • Network Topology: The current study focuses on a star-shaped network (coordinator-server). Future research could explore peer-to-peer distributed experts where no central coordinator exists.

Paper Citation: Jia, Z., Pang, Q., Tran, T., Woodruff, D., Zhang, Z., & Zheng, W. (2024). Communication Bounds for the Distributed Experts Problem. 38th Conference on Neural Information Processing Systems (NeurIPS 2024).

Summary updated

BibTeX
@inproceedings{jia2024communication,
  author = {Zhihao Jia and Qi Pang and Trung Tran and David Woodruff and Zhihao Zhang and Wenting Zheng},
  title = {{Communication Bounds for the Distributed Experts Problem}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=HyxjSi3SzF},
}
Figure