Greedy Shapley Client Selection for Communication-Efficient Federated Learning

Pranava Singhal, Shashi Raj Pandey, Petar Popovski

TL;DR

GreedyFed is a new client selection strategy for Federated Learning (FL) that uses a fast approximation of the Shapley Value to identify and prioritize the most helpful clients in every training round. By greedily selecting high-contributing clients, it achieves significantly faster convergence and higher accuracy than standard random sampling, especially in "messy" real-world scenarios with skewed data, slow hardware, and noisy privacy protections.

What Problem Does This Paper Address?

Federated Learning allows a central server to train a global model using data stored locally on thousands of edge devices (clients) without ever seeing their raw data. However, two major bottlenecks exist:

  1. Communication: Sending model updates back and forth is slow and expensive.
  2. Heterogeneity: In the real world, clients are not created equal. Some have massive datasets, others have tiny ones; some have powerful GPUs, while others are "stragglers" on slow connections; and some have data distributions that are wildly different from the global average.

Standard algorithms like FedAvg pick clients at random. While "fair," this is highly inefficient. If you only have a fixed budget of 100 communication rounds, wasting rounds on clients with poor-quality data or slow hardware can prevent the model from ever converging. The challenge is: How can the server intelligently pick the "best" subset of clients to maximize learning speed without knowing what's in their private datasets?

Methods

The authors propose GreedyFed, which treats client selection as a cooperative game. The core mechanism is the Shapley Value (SV)—a game-theoretic metric that quantifies the fair "contribution" of each player to a collective outcome.

Key components include:

  • Utility Function: The server measures a client's value by looking at how much their model update reduces the loss on a small, server-held validation set.
  • GTG-Shapley Integration: Calculating exact Shapley Values is computationally impossible for many clients ($O(2^N)$ complexity). GreedyFed integrates a fast Monte Carlo approximation called GTG-Shapley, which brings the complexity down to a tractable $O(\log M)$.
  • Two-Phase Selection:
    1. Round-Robin: Initially, the server cycles through all clients to get a baseline valuation for everyone.
  • Greedy Selection: Once everyone has been seen, the server simply picks the $M$ clients with the highest cumulative Shapley Values.
  • Cumulative Tracking: The algorithm maintains a running average (or exponential moving average) of each client's SV to handle the fact that not every client participates in every round.

Datasets

The researchers evaluated GreedyFed using three standard image classification benchmarks:

  • MNIST: Basic handwritten digits.
  • Fashion-MNIST (FMNIST): Clothing items.
  • CIFAR-10: More complex objects (airplanes, cats, etc.).

To simulate real-world difficulty, they applied Dirichlet distribution skews to the data (creating label imbalance), introduced stragglers (clients who only finish partial training), and added Gaussian noise to simulate differential privacy requirements.

Key Insights and Ideas

  • Greedy is Surprisingly Sufficient: Traditional reinforcement learning often requires "exploration" (picking unknown clients). The authors found that in FL, a client's value naturally decreases as the global model learns their specific data. This creates a "soft exploration" effect: once the top clients have contributed all they can, their SV drops, and GreedyFed naturally moves on to the next best set of clients.
  • Stability Over Speed: While speed is the headline, the stability of GreedyFed is a major win. In noisy or heterogeneous environments, standard methods show high variance (unstable training), whereas GreedyFed maintains a low standard deviation in accuracy.
  • Tractability: By using GTG-Shapley, the authors proved that game-theoretic valuation isn't just a theoretical curiosity—it can be implemented efficiently enough for real-world production systems.

Key Results

GreedyFed consistently outperformed baselines like FedAvg, FedProx, and even other SV-based methods like UCB.

  • Faster Convergence: As seen in Figure 1, GreedyFed (red line) climbs the accuracy curve much faster than random sampling (orange line) and stays close to the "Centralized" upper bound. Test Accuracy vs Communication Rounds on CIFAR-10
Test Accuracy vs Communication Rounds on CIFAR-10
  • Timing Constraints: On CIFAR-10 with a tight budget of 150 rounds, GreedyFed achieved 49.38% accuracy, while FedAvg lagged at 40.67%.
  • Robustness to Noise: In privacy-sensitive settings (high noise), GreedyFed's accuracy on FMNIST only dropped by 8%, compared to a massive 20% crash for FedAvg.
  • Straggler Resilience: Even when 90% of clients were "stragglers" (providing partial updates), GreedyFed only saw a 1% performance dip on FMNIST, whereas FedAvg and FedProx dropped by 6%.

Limitations and Future Work

  • Validation Data Dependency: The algorithm requires the server to hold a small, clean validation dataset. If this dataset is biased or doesn't represent the "Mavericks" (clients with unique, rare data), the Shapley Values might unfairly penalize those important outliers.
  • Distribution Mismatch: The authors acknowledge that future work needs to address scenarios where the server's validation data doesn't match the clients' local distributions.
  • Client Feedback: A promising direction is using these Shapley Values to provide feedback to clients, perhaps incentivizing high-value participants or allowing low-value ones to save battery by dropping out of rounds where they aren't needed.

Summary updated

BibTeX
@article{singhal2024greedy,
  author = {Pranava Singhal and Shashi Raj Pandey and Petar Popovski},
  title = {{Greedy Shapley Client Selection for Communication-Efficient Federated Learning}},
  journal = {IEEE Netw. Lett.},
  year = {2024},
  doi = {10.1109/lnet.2024.3363620},
}
Figure