Partial Model Averaging in Federated Learning: Performance Guarantees and Benefits

Sunwoo Lee, Anit Kumar Sahu, Chaoyang He, Salman Avestimehr

Abstract

Federated Learning (FL) traditionally relies on periodic full-model averaging (e.g., FedAvg) to balance communication efficiency and model performance. However, local training on heterogeneous data leads to significant "model drift," where local updates diverge from the global objective. This paper proposes Partial Model Averaging, a strategy that synchronizes a distinct subset of parameters at every iteration. By maintaining a constant "tether" to the global model without increasing total data transfer, this method achieves smoother convergence and higher accuracy. We provide theoretical guarantees for non-convex optimization and demonstrate empirical gains of up to 2.2% on standard benchmarks.

Introduction: The Challenge of Model Drift

In Federated Learning, the standard "train locally, average occasionally" approach—epitomized by the FedAvg algorithm—is designed to save communication bandwidth. However, this introduces a critical bottleneck: model discrepancy. When local workers train independently on heterogeneous (non-IID) data for extended periods, their models drift into divergent regions of the parameter space. Averaging these "estranged" models often results in a global update that is distracted from the true objective, slowing convergence and degrading final performance.

Proposed Method: Partial Model Averaging

The authors propose a structural modification to the synchronization process called Partial Model Averaging. Unlike standard FedAvg, which averages the entire model every $\tau$ iterations, this framework partitions the model into $\tau$ subsets. At every single iteration, workers synchronize exactly one of these subsets.

Comparison of periodic averaging (a) and partial averaging (b) trajectories.

By the end of $\tau$ iterations, every parameter has been averaged once, matching the total communication volume of periodic averaging. However, because a portion of the model is synchronized at every step, the local models are effectively "tethered" to the global average, preventing them from wandering too far off-course. The authors provide rigorous proofs showing that this method achieves linear speedup for smooth, non-convex optimization in both IID and non-IID settings.

Experimental Evaluation

The framework was evaluated across several standard benchmarks:

  • Computer Vision: CIFAR-10, CIFAR-100, SVHN, and Fashion-MNIST.
  • NLP: Sentiment analysis on IMDB reviews using LSTMs.
  • Federated Benchmarks: FEMNIST, simulating real-world non-IID data distributions.

Data heterogeneity was controlled using Dirichlet distributions to simulate varying levels of "data messiness" across workers.

Key Insights: The Tethering Effect

The primary advantage of partial averaging is its ability to stabilize the training process. In traditional periodic averaging, model discrepancy—the distance between local models—spikes significantly just before an averaging step. Partial averaging maintains a low, stable level of discrepancy throughout the training process.

Model discrepancy (squared distance) over training iterations.

This stability leads to a smoother global loss curve. By keeping local models close together, the global model avoids the chaotic "spikes" in loss often seen in FedAvg, instead mimicking the stable behavior of standard Synchronous SGD while retaining communication efficiency. Furthermore, this approach is algorithm-agnostic and can be integrated into other FL methods like FedProx or SCAFFOLD.

Key Results and Performance

  • Accuracy Gains: On CIFAR-10 with 128 workers, partial averaging achieved up to a 2.2% increase in validation accuracy compared to periodic averaging within the same iteration budget.
  • Improved Convergence: Models reached target accuracy levels significantly faster, particularly in highly non-IID environments where model drift is most severe.
  • Scalability: The benefits were most pronounced when scaling to a large number of workers, addressing a major hurdle in large-scale federated systems.

Limitations and Future Outlook

While partial averaging does not increase the total volume of data transferred, it does increase the frequency of communication. In high-latency environments, such as mobile networks, the overhead of establishing frequent connections may offset the statistical gains.

Future research directions include:

  1. Smart Partitioning: Investigating if specific model layers benefit more from frequent synchronization.
  2. Adaptive Strategies: Developing methods that dynamically adjust subset sizes or communication intervals based on training progress.
  3. Privacy Implications: Assessing how frequent partial updates affect the privacy profile of federated systems compared to infrequent full updates.

Summary updated

BibTeX
@inproceedings{lee2023partial,
  author = {Sunwoo Lee and Anit Kumar Sahu and Chaoyang He and Salman Avestimehr},
  title = {{Partial Model Averaging in Federated Learning: Performance Guarantees and Benefits}},
  booktitle = {Neurocomputing},
  year = {2023},
  url = {https://openreview.net/forum?id=J9H6aibUF9},
}
Figure