Unbounded Gradients in Federated Learning with Buffered Asynchronous Aggregation

Mohammad Taha Toghani, César A. Uribe

Abstract

Federated Learning (FL) often faces efficiency bottlenecks due to "stragglers" in synchronous updates. Asynchronous methods like FedBuff address this by allowing updates without waiting for all clients, but their theoretical guarantees have traditionally relied on the unrealistic "bounded gradient" assumption. This work provides the first convergence analysis for FedBuff under the more realistic assumption of unbounded gradients, proving it achieves a sublinear convergence rate comparable to synchronous methods while offering superior practical speedups.

Introduction

Federated Learning (FL) enables decentralized training across multiple devices without raw data exchange. Standard synchronous approaches, such as FedAvg, require the server to wait for a quorum of clients, making the system vulnerable to slow devices or unstable connections. Asynchronous FL mitigates this by updating the model as soon as any client finishes. However, pure asynchrony introduces privacy risks and model "staleness."

FedBuff (Federated Learning with Buffered Asynchronous Aggregation) bridges these paradigms by using a buffer of size $K$. The server waits for $K$ asynchronous updates before performing a global update. While effective in practice, previous proofs of its convergence required the "bounded gradient" assumption—the notion that gradient norms never exceed a fixed constant—which rarely holds in modern deep learning.

The FedBuff Workflow

In FedBuff, clients download the current global model, perform local Stochastic Gradient Descent (SGD), and return the model difference ($\Delta$) to the server. The server maintains a buffer to collect these updates asynchronously. Once the buffer reaches size $K$, the updates are aggregated to update the global model using a server-side step size ($\beta$).

Comparison of Buffered Asynchronous and Synchronous FL workflows, highlighting how buffering manages client updates over time.

This buffering mechanism allows for secure aggregation, enhancing privacy while maintaining the throughput benefits of asynchronous execution. The buffer acts as a control mechanism: at $K=1$, the system is purely asynchronous, whereas larger $K$ values move closer to synchronous behavior while still avoiding the "straggler" problem.

Theoretical Contributions: Removing the Bounded Gradient Crutch

The primary contribution of this work is a rigorous convergence analysis for smooth, non-convex objective functions without assuming bounded gradients. Instead, the authors utilize standard assumptions: L-smoothness, bounded variance, bounded population diversity (data heterogeneity), and bounded staleness ($\tau$).

Comparison of FL algorithms, showing that this work is the first to support both buffered aggregation and asynchronous updates without requiring bounded gradients.

As shown in the table above, this work fills a critical gap in FL theory by providing convergence guarantees for FedBuff under more realistic conditions than prior literature, matching the iteration complexity of synchronous methods while supporting unbounded gradients.

Convergence and Efficiency

The paper derives a sublinear convergence rate for FedBuff: $$\mathcal{O}\left(\frac{1}{\sqrt{T}}\right) + \mathcal{O}\left(\frac{\tau^2}{T}\right)$$ where $T$ is the number of server updates. Crucially, the error term from staleness ($\tau$) vanishes faster than the main convergence term, meaning the impact of delays diminishes as training progresses.

In practice, this theoretical parity translates to significant wall-clock efficiency. Because the server does not wait for the slowest devices, FedBuff can achieve up to 3.3× faster training times compared to synchronous counterparts while maintaining the same level of accuracy.

Conclusion

By proving that FedBuff converges without the "bounded gradient" assumption, this research makes asynchronous federated learning theoretically sound for a wider range of deep learning architectures. The results confirm that buffered asynchrony is a robust, private, and highly efficient alternative to traditional synchronous federated learning.

Summary updated

BibTeX
@inproceedings{toghani2022unbounded,
  author = {Mohammad Taha Toghani and César A. Uribe},
  title = {{Unbounded Gradients in Federated Learning with Buffered Asynchronous Aggregation}},
  booktitle = {Allerton},
  year = {2022},
  doi = {10.1109/allerton49937.2022.9929409},
}
Figure