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

On the Power of Adaptive Weighted Aggregation in Heterogeneous Federated Learning and Beyond

Dun Zeng, Zenglin Xu, Shiyu Liu, Yu Pan, Qifan Wang, Xiaoying Tang

TL;DR

This paper bridges the gap between federated learning theory and practice by showing that Federated Averaging (FedAvg) can actually handle extreme client heterogeneity if the aggregation strategy is adaptive. The authors introduce FedAWARE, a simple plug-in module that uses global norm minimization to find optimal aggregation weights, resulting in faster convergence and significantly more stable generalization across diverse datasets.

What Problem Does This Paper Address?

In Federated Learning (FL), a central server coordinates multiple clients to train a model without sharing their raw data. The standard algorithm, FedAvg, is widely used because it's simple and communication-efficient. However, there is a nagging contradiction in the field:

  1. Theory says: FedAvg should fail or perform poorly when clients have very different data (heterogeneity), often predicting unstable "spikes" in accuracy.
  2. Practice says: FedAvg often works surprisingly well in real-world heterogeneous tasks.

The authors argue that current theoretical measures for heterogeneity (like "bounded gradient dissimilarity") are too pessimistic—they assume the worst-case scenario happens throughout the entire training process. This paper aims to provide a more realistic theoretical framework and a practical algorithm to harness the power of client diversity rather than just suffering from it.

Methods

The authors introduce two key concepts and a new algorithm:

  • Client Consensus Dynamics: A new measure that tracks the cumulative norm of aggregated local updates. They prove that if this measure is kept small through smart aggregation, the negative impacts of heterogeneity are mitigated.
  • Local Update Diversity (LUD): A metric to quantify how much individual client updates diverge from the global update. They find that higher LUD during training actually correlates with better final model generalization.
  • FedAWARE (Federated Adaptive Weighted AggREgator): Instead of using static weights (like the number of samples per client), FedAWARE adaptively calculates weights by solving a minimum-norm problem. It treats client updates as vectors and finds a point in their convex hull that is closest to the origin.
  • It uses moving-averaged local updates to handle clients that aren't participating in every round.
  • It employs the Frank-Wolfe algorithm to solve the weight optimization efficiently, even for models with millions of parameters.
  • It can be used as a plug-in extension for other advanced FL algorithms (like FedYogi or FedAMS) by projecting their update directions onto the "AWARE" direction.

Datasets

The researchers evaluated their approach on three distinct tasks using Dirichlet distributions ($Dir(0.1)$) to simulate extreme data heterogeneity:

  • CIFAR-10: Image classification using a 5-layer CNN.
  • CIFAR-100: Image classification using a ResNet-18 architecture (with Group Normalization).
  • AGNews: Text classification by fine-tuning a pretrained GPT-2 (Pythia-70M) model.

Key Insights and Ideas

  • The "Pessimism" of Current Theory: Traditional FL theory assumes heterogeneity is a constant tax on performance. This paper shows that FedAvg only encounters severe heterogeneity in small fractions of the training process, explaining why it works better than expected.
  • Diversity as a Feature, Not a Bug: While heterogeneity usually slows down convergence, the authors show that "Local Update Diversity" is actually beneficial for generalization. FedAWARE works by actively enlarging this diversity.
  • Weighting Matters: Most FL research focuses on how clients update locally. This paper shows that how the server combines those updates is equally critical. By minimizing the global update norm, the server can "steer" the model toward a more robust solution.
Figure 1: Training dynamics of FedAvg on Non-IID partitioned CIFAR-10 task. We use Dirichlet distribu- tion to allocate clients’ data as described in Section 5. Dir(0.1) indicates the most heterogeneous FL setting.

Key Results

  • Superior Performance: FedAWARE consistently outperformed standard baselines. On CIFAR-10, it achieved 59.78% accuracy, compared to FedAvg's 42.78%.
  • Stabilizing Generalization: FedAWARE effectively solved the "spikes" problem, where test accuracy fluctuates wildly during training.
  • Effective Plug-in: When added to other algorithms, the boost was significant. For example, adding the AWARE module to FedAvgM (FedAvg with Momentum) increased its CIFAR-10 accuracy from 50.07% to 59.58%.
Figure 2: Training dynamics of raw algorithms. The training loss indicates the convergence speed on training datasets, while the test accuracy indicates the generalization stability against heterogeneous clients.

Limitations and Future Work

  • Storage Overhead: The algorithm requires the server to store a "local momentum" vector for every client. While servers typically have high capacity, this could be a bottleneck in systems with millions of clients.
  • Potential Mitigations: The authors suggest only applying AWARE to the last few layers of a neural network (which contain the most crucial information) or clustering similar clients to reduce storage needs.
  • Theoretical Causal Links: While the correlation between LUD and generalization is strong empirically, the authors note that the exact causal relationship needs further exploration through algorithmic stability analysis.

Summary updated

BibTeX
@inproceedings{zeng2025power,
  author = {Dun Zeng and Zenglin Xu and Shiyu Liu and Yu Pan and Qifan Wang and Xiaoying Tang},
  title = {{On the Power of Adaptive Weighted Aggregation in Heterogeneous Federated Learning and Beyond}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2025},
  url = {https://openreview.net/forum?id=VCD8D3xSTA},
}
Figure