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

Tackling Hybrid Heterogeneity on Federated Optimization via Gradient Diversity Maximization

Dun Zeng, Zenglin Xu, Yu Pan, Qifan Wang, Xiaoying Tang · OpenReview

Abstract

Federated learning refers to a distributed machine learning paradigm in which data samples are decentralized and distributed among multiple clients. These samples may exhibit statistical heterogeneity, which refers to data distributions are not independent and identical across clients. Additionally, system heterogeneity, or variations in the computational power of the clients, introduces biases into federated learning. The combined effects of statistical and system heterogeneity can significantly reduce the efficiency of federated optimization. However, the impact of hybrid heterogeneity is not rigorously discussed. This paper explores how hybrid heterogeneity affects federated optimization by investigating server-side optimization. The theoretical results indicate that adaptively maximizing gradient diversity in server update direction can help mitigate the potential negative consequences of hybrid heterogeneity. To this end, we introduce a novel server-side gradient-based optimizer FedAWARE with theoretical guarantees provided. Intensive experiments in heterogeneous federated settings demonstrate that our proposed optimizer can significantly enhance the performance of federated learning across varying degrees of hybrid heterogeneity.

Introduction

Federated Learning (FL) is often a tale of two worlds. In the theoretical world, data heterogeneity—where different clients possess wildly different datasets—is frequently viewed as a "convergence killer." Standard measures like bounded gradient dissimilarity suggest that if clients are too divergent, the global model will struggle to converge or generalize poorly. In the practical world, however, the standard Federated Averaging (FedAvg) algorithm often performs surprisingly well.

This paper investigates this "unreasonable effectiveness" of FedAvg. The authors identify a gap between pessimistic FL theory and successful practice, introducing "Client Consensus Dynamics" to better explain convergence. They propose FedAWARE (Federated Adaptive Weighted AggREgator), an adaptive weighting strategy designed to accelerate convergence and boost generalization by maximizing gradient diversity.

The Challenge of Hybrid Heterogeneity

Standard FL theory often assumes a "worst-case scenario" for data heterogeneity, assuming its impact is uniform throughout training. However, empirical evidence shows that FedAvg handles real-world heterogeneity effectively. The authors argue that existing theory is too pessimistic because it assumes heterogeneity impacts the model equally at every step. They set out to find a more realistic measure of how heterogeneity affects training and how to optimize the server’s aggregation step to handle "client drift"—the tendency of local models to move away from the global optimum due to local data biases—more effectively.

FedAWARE: Adaptive Weighted Aggregation

FedAWARE introduces a novel approach to how the server combines updates from different clients:

  1. Moving-Averaged Updates: To address partial client participation, the server maintains a moving average of each client's local updates. This provides a "hallucinated" update for clients not active in the current round, ensuring the global update reflects the entire client population.
  2. Global Norm Minimization: Instead of simple weighting based on data size, FedAWARE treats client updates as vectors and solves a constrained minimization problem to find the "minimum-norm point" in the convex hull of these updates. This identifies the most "conservative" update that represents a consensus among all clients.
  3. The AWARE Extension: FedAWARE can serve as a "plug-in" module. Existing advanced algorithms (like FedYogi or FedAMS) can have their updates projected onto the direction suggested by AWARE to improve generalization.

Key Insights: Local Update Diversity (LUD)

A central contribution of this work is the concept of Local Update Diversity (LUD). LUD is defined as the ratio between local update norms and the global update norm. The authors discovered that higher diversity actually aids generalization. Intuitively, if the global model is guided by diverse local perspectives during the later stages of training, it converges toward a more robust solution that performs well across all clients.

Impact of Local Update Diversity on generalization and convergence performance.

As shown in the figure above, higher diversity (represented by higher Dirichlet parameters) correlates with improved test accuracy and more stable convergence. FedAWARE leverages this by stabilizing training dynamics and preventing the "spikes" or sudden drops in accuracy often seen in heterogeneous FL.

Empirical Performance

The researchers evaluated FedAWARE across diverse domains, including image classification (CIFAR-10, CIFAR-100) and text classification (AGNews), using extreme data heterogeneity (LDA parameter of 0.1).

Performance comparison of FedAWARE against state-of-the-art federated optimizers across multiple datasets.

Key results include:

  • Superior Accuracy: On CIFAR-10, FedAWARE achieved 59.78% accuracy, significantly outperforming FedAvg (42.78%) and specialized methods like FedProx.
  • The "Plug-in" Boost: When the AWARE module was integrated with FedAvgM, accuracy on CIFAR-100 increased from 31.04% to 40.66%—a massive nearly 10-point gain.
  • Faster Convergence: FedAWARE reaches stable accuracy levels in fewer communication rounds, reducing the energy and bandwidth costs inherent in FL.

Conclusion and Future Work

FedAWARE offers a powerful solution to the challenges of hybrid heterogeneity in federated learning. By maximizing gradient diversity and minimizing the global update norm, it achieves superior generalization and faster convergence.

The primary limitation is server-side storage, as the server must maintain moving-averaged updates for every client. Future work may explore layer-wise aggregation or client clustering to mitigate these memory requirements in massive-scale cross-device federated learning environments.

Summary updated

BibTeX
@inproceedings{zeng2025tackling,
  author = {Dun Zeng and Zenglin Xu and Yu Pan and Qifan Wang and Xiaoying Tang},
  title = {{Tackling Hybrid Heterogeneity on Federated Optimization via Gradient Diversity Maximization}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2025},
  url = {https://openreview.net/forum?id=VCD8D3xSTA},
}
Figure