Bandwidth-Aware and Overlap-Weighted Compression for Communication-Efficient Federated Learning

Zichen Tang, Junlin Huang, Rudan Yan, Yuxin Wang, Zhenheng Tang, Shaohuai Shi, Amelie Chi Zhou, Xiaowen Chu · DOI

TL;DR

Federated Learning often gets bogged down by slow network connections and highly skewed local data. This paper introduces a novel framework that dynamically adjusts model compression based on each client's real-time bandwidth and applies an "overlap-aware" mask to prevent unique data features from being washed out during server aggregation. The result is up to a 13% boost in final model accuracy and over a $3\times$ speedup in convergence compared to standard compression methods.

What Problem Does This Paper Address?

Federated Learning (FL) allows multiple edge devices (clients) to collaboratively train a global machine learning model without sharing their raw, private data. However, transmitting massive model updates over the internet creates a severe communication bottleneck.

While data compression techniques like sparsification (sending only the most significant model updates) help reduce the size of these transfers, standard approaches apply the same compression ratio to every client. This uniform strategy fails to account for two real-world realities:

  1. System Heterogeneity (The Straggler Problem): Clients have vastly different network bandwidths. In synchronous FL, fast clients must sit idle waiting for the slowest client to finish uploading before the next round can begin.
  2. Data Heterogeneity (Non-IID Data): Client datasets are often highly skewed. When uniform compression is applied, unique and crucial updates from specific clients get heavily diluted during the server aggregation phase, severely degrading final model accuracy.

Methods

The authors propose a two-pronged framework to tackle both bandwidth and data imbalances simultaneously:

  1. Bandwidth-aware Compression Ratio Scheduling (BCRS): Instead of forcing a uniform compression ratio on everyone, BCRS benchmarks the communication time against the slowest client. It then assigns lower compression ratios to faster clients, allowing them to upload more non-zero parameters in the same timeframe. This effectively turns wasted waiting time into useful data transmission.
  2. Overlap-aware Parameter Weighted Average (OPWA): When models are highly compressed, many parameters are only updated by a single client (non-overlapped). Standard Federated Averaging (FedAvg) averages these updates across all participating clients, which severely dampens their signal. OPWA introduces a parameter-wise mask that amplifies the weights of these rarely-overlapped parameters, ensuring unique local features are preserved in the global model.
Figure 1: Timelines of different methods with FedAvg. Comm. represents communication, C1, C2, C3 represent three differ- ent clients. 𝐵1 > 𝐵2 > 𝐵3 for these clients.

Datasets

The framework was evaluated using the ResNet18 architecture across three standard image datasets:

  • CIFAR-10
  • CIFAR-100
  • SVHN

To simulate realistic, highly skewed data heterogeneity, the authors used a Dirichlet distribution ($\beta = 0.1$ and $0.5$) to partition the data across the clients. No new datasets were introduced.

Key Insights and Ideas

  • Wasted Time is Wasted Data: Traditional compression focuses solely on minimizing data size. BCRS shifts the focus to time equalization, realizing that high-bandwidth clients can send richer updates without delaying the training round.
  • The Dilution Dilemma: The authors discovered that at high compression levels (e.g., keeping only 1% of parameters), nearly 88% of the uploaded parameters are unique to a single client. Uniform averaging acts like an extremely low learning rate for these unique features, causing the global model to "forget" rare but important data characteristics.
Figure 3: Illustration of Parameter Overlap: Smaller magni- tude of less overlapped parameters compared to overlapped parameters after averaging. Param represents the model pa- rameters, C1, C2, and C3 represent different clients.

Key Results

  • Higher Accuracy: BCRS combined with OPWA achieved a maximum accuracy improvement of 13% over uncompressed FedAvg under severe data heterogeneity ($\beta=0.1$).
  • Massive Speedups: The proposed framework achieved a $2.02\times$ to $3.37\times$ speedup in reaching target accuracy compared to standard Top-K compression.
  • Drastic Time Reduction: To reach a benchmark 40% accuracy on CIFAR-10, standard Top-K compression required 281.3 seconds of communication time, while the BCRS algorithm achieved it in just 17.9 seconds.

Limitations and Future Work

  • Uplink Focus Only: The paper explicitly limits its scope to uplink (client-to-server) compression, noting that downlink compression remains a distinct challenge due to the partial client selection mechanism of FedAvg.
  • Sparsification Dependency: The current implementation primarily builds on magnitude-based sparsification (Top-K). While the authors note that OPWA is independent of the specific compression algorithm, deeper integration with other techniques like quantization is left for future exploration.

Summary updated

BibTeX
@inproceedings{tang2024bandwidth,
  author = {Zichen Tang and Junlin Huang and Rudan Yan and Yuxin Wang and Zhenheng Tang and Shaohuai Shi and Amelie Chi Zhou and Xiaowen Chu},
  title = {{Bandwidth-Aware and Overlap-Weighted Compression for Communication-Efficient Federated Learning}},
  booktitle = {ICPP},
  year = {2024},
  doi = {10.1145/3673038.3673142},
}
Figure