NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Data-Aware Gradient Compression for FL in Communication-Constrained Mobile Computing

Rongwei Lu, Yutong Jiang, Yinan Mao, Chen Tang, Bin Chen, Laizhong Cui, Zhi Wang · DOI

TL;DR

This paper tackles the communication bottleneck in Federated Learning (FL) for mobile devices, especially in non-IID (non-independently and identically distributed) data scenarios. They introduce DAGC, a novel data-aware gradient compression method that adapts compression ratios based on worker data volume, significantly speeding up training and improving accuracy compared to uniform compression.

What Problem Does This Paper Address?

Federated Learning (FL) allows training models across many distributed devices (like smartphones) without centralizing their data, preserving privacy. However, a major hurdle is the limited communication bandwidth between these devices and the central server, especially in mobile environments where data usage can be costly. Gradient compression techniques help by reducing the size of the model updates sent over the network.

The problem arises in non-IID settings, where each device's data is different. A "one-size-fits-all" compression approach, which applies the same compression level to all devices, performs poorly here. This is because devices with more data (large workers) have different needs than those with less data (small workers). Applying aggressive compression to large workers can discard valuable information, slowing down convergence, while being too conservative for small workers might waste bandwidth. The paper aims to bridge this gap by creating an adaptive compression strategy that accounts for individual worker data volumes.

Methods

The authors propose DAGC (Data-Aware Gradient Compression), a framework with two main components:

  • DAGC-R (for Relative Compressors): This method adapts compression ratios for relative compressors (like Top-k). It formulates the problem of assigning compression ratios to workers as an $n$-variable chi-squared nonlinear optimization problem, constrained by a fixed communication budget. DAGC-R assigns more conservative compression to workers with larger data volumes.
  • DAGC-A (for Absolute Compressors): Designed for resource-constrained mobile devices, this method uses absolute compressors (like hard-thresholding). It's computationally less demanding and also adapts compression thresholds based on worker data volume. DAGC-A is derived from a similar optimization problem but for absolute thresholds.

Both methods are built upon theoretical analysis of distributed SGD with error feedback (D-EF-SGD) under non-uniform compression, deriving convergence rates and identifying key factors that influence performance in communication-constrained, non-IID scenarios.

Datasets

The paper uses the following datasets for evaluation:

  • Fashion-MNIST (FMNIST): Used with a Logistic regression model.
  • Speech Commands (SCs): Used with an LSTM model.
  • Flickr: A real-world dataset used with a VGG11s model.
  • CIFAR-10, CIFAR-100: Used with CNN, VGG11, and ResNet18 models.

The non-IID scenarios were simulated using two types:

  1. Artificial non-IID data partition: Data is partitioned using a Dirichlet distribution.
  2. Real-world datasets: The Flickr dataset is used, with data divided by subcontinent.

Key Insights and Ideas

  • Data volume matters: The core insight is that simply applying uniform compression in non-IID FL is suboptimal. The volume of data a worker possesses significantly impacts how compression should be applied.
  • Large workers need less aggressive compression: Counter-intuitively, workers with more data benefit from less aggressive compression (higher compression ratio for relative compressors, lower threshold for absolute compressors) to retain crucial information for faster convergence.
  • Theoretical foundation for adaptation: The paper provides a theoretical framework by deriving convergence rates for non-uniform compression, showing how compression ratios directly influence model convergence and robustness in non-IID settings.
  • DAGC-R and DAGC-A offer practical solutions: The proposed DAGC-R and DAGC-A algorithms translate these theoretical insights into practical, computationally efficient methods for both relative and absolute compression techniques.

Key Results

  • Speedup: DAGC-R achieved up to 25.43% speedup (fewer training iterations) compared to uniform compression on real-world non-IID datasets. DAGC-A achieved up to 16.65% speedup.
  • Accuracy: DAGC consistently outperformed uniform compression strategies and other state-of-the-art methods like ACCORDION, especially in scenarios with highly imbalanced data volume distributions and restricted communication. For instance, on artificially partitioned non-IID datasets, accuracy was enhanced by a substantial 3.14%.
  • Scalability: Experiments with larger models (ResNet18, VGG11) and datasets (CIFAR-100) demonstrated that DAGC maintains its superior performance, indicating good scalability.
  • Robustness: DAGC showed better robustness to non-IID conditions and communication constraints compared to uniform compression.

Limitations and Future Work

  • Computational constraints: While DAGC-A is designed to be computationally lighter, the optimization process for DAGC-R still involves an $n$-variable optimization problem, which might be a consideration for extremely resource-constrained devices.
  • Downstream communication: The paper focuses solely on optimizing upstream communication (client to server). Optimizing downstream communication (server to client) is mentioned as beyond the scope of this work.
  • Future work: The authors suggest exploring more sophisticated adaptive strategies and potentially extending the data-aware approach to other aspects of FL, such as model selection or client sampling. The theoretical analysis could also be extended to more complex network architectures or heterogeneous hardware.

Summary updated

BibTeX
@article{lu2025data,
  author = {Rongwei Lu and Yutong Jiang and Yinan Mao and Chen Tang and Bin Chen and Laizhong Cui and Zhi Wang},
  title = {{Data-Aware Gradient Compression for FL in Communication-Constrained Mobile Computing}},
  journal = {IEEE Trans. Mobile Computing},
  year = {2025},
  doi = {10.1109/tmc.2024.3504284},
}
Figure