TL;DR
Federated Learning (FL) models often suffer from severe performance disparities across heterogeneous clients, and existing fairness methods typically bridge this gap by sacrificing overall accuracy. FedEBA+ overcomes this trade-off by combining a principled, entropy-maximization client aggregation scheme with a dual model/gradient alignment update. The result is an algorithm that slashes performance variance across devices while simultaneously improving global model accuracy over state-of-the-art baselines.
What Problem Does This Paper Address?
In Federated Learning, decentralized clients collaborate with a central server to train a shared global model without exchanging raw data. However, real-world data across mobile devices or institutions is rarely identically distributed (non-IID). This heterogeneity causes standard algorithms like FedAvg to exhibit performance unfairness: the global model excels on some clients but performs poorly on others.
Previous attempts to enforce performance fairness—such as minimax optimization (AFL), reweighted objectives (q-FFL), or gradient projection (FedFV)—face a fundamental tension known as the fairness-accuracy trade-off. To reduce performance variance, they frequently "nerf" top-performing clients or slow down optimization, degrading the model's global test accuracy. FedEBA+ asks whether an FL algorithm can boost performance fairness without compromising global model capability.
Methods
FedEBA+ tackles the problem from both the aggregation stage and the client update stage:
-
Entropy-Based Aggregation (EBA):
Borrowing from the principle of maximum entropy (Jaynes, 1957), the authors formulate fair aggregation as selecting client weights $p_i$ that maximize entropy $H(p) = -\sum p_i \log p_i$ subject to performance target constraints. This physically grounded formulation avoids heuristic bias and yields a closed-form Boltzmann-like distribution: $$p_i = \frac{\exp(F_i(x)/\tau)}{\sum_j \exp(F_j(x)/\tau)}$$ Underperforming clients (higher loss $F_i(x)$) receive higher aggregation weights, pulling the global model toward their needs. Temperature $\tau$ controls weight concentration and can be dynamically annealed. -
Alignment Update Strategy:
By treating the maximum entropy objective as a Lagrangian penalty inside the standard FL objective, the authors derive a unified bi-variable update rule: $$\nabla L = (1-\alpha)\sum p_i \nabla F_i(x) + \alpha \nabla \tilde{f}(x)$$ where $\nabla \tilde{f}(x)$ represents an ideal target gradient, leveraged in two ways: -
Model Alignment (for accuracy): The server uses aggregated single-step local updates to approximate an unbiased global gradient, mitigating client drift caused by local multi-step SGD.
- Gradient Alignment (for fairness): If the angular disparity between client losses and a uniform target vector exceeds a threshold $\theta$, clients align their local gradients toward an ideal fair reference gradient.
Datasets
The authors evaluated FedEBA+ across five standard image classification benchmarks:
- MNIST (tested with a 2-layer MLP)
- Fashion-MNIST (2-layer MLP)
- CIFAR-10 (evaluated on both CNN and MLP architectures)
- CIFAR-100 (ResNet-18)
- Tiny-ImageNet (MobileNet-v2)
Note on Benchmarks: No new raw datasets were introduced. Instead, real datasets were partitioned into non-IID setups using two established protocols: label sharding (100 clients, each allocated 2 random shards out of 200) and Dirichlet distribution splits (using concentration parameter $\alpha \in \{0.1, 0.5, 1.0\}$), as well as synthetic noisy-label environments (symmetric label flip ratio $\epsilon = 0.5$).
Key Insights and Ideas
- Fairness through Maximum Entropy: Rather than arbitrarily penalizing high performers, maximizing entropy guarantees that client aggregation is as noncommittal and unbiased as possible with respect to unobserved data, inherently yielding a Pareto-optimal allocation.
- Lifting the Floor Without Lowering the Ceiling: In traditional fair FL, lower variance often comes from suppressing top-performing clients. FedEBA+ demonstrates that pulling underperforming clients up via targeted gradient alignment actually benefits overall generalization.
- Theoretical Parity with Vanilla FL: Despite introducing fairness constraints and reweighting, FedEBA+ maintains the state-of-the-art convergence rate of $\mathcal{O}(1/\sqrt{nKT} + 1/T)$ in non-convex settings—the same order as standard FedAvg.
- Orthogonality: The mechanism is complementary to existing FL enhancements; it seamlessly integrates with variance reduction (VARP), server momentum, and noise-robust local self-regularization (LSR).
Key Results
Compared against baselines including FedAvg, FedSGD, q-FFL, AFL, TERM, PropFair, FedMGDA+, and FedFV:
- Accuracy Gains: FedEBA+ improved global accuracy by ~4% on CIFAR-10 (72.75% vs. 67.79% for FedAvg) and ~2.5–3% on CIFAR-100 and Tiny-ImageNet (reaching 33.39% on CIFAR-100 and 64.05% on Tiny-ImageNet).
- Substantial Variance Reduction: On Fashion-MNIST, accuracy variance dropped to 43.41 (compared to 62.44 for FedAvg and 66.67 for q-FFL). On CIFAR-10, variance dropped to 68.71 (compared to 103.83 for FedAvg and 97.42 for q-FFL).
- Client Equity: On CIFAR-10, the accuracy of the worst 5% of clients surged from 45.00% (FedAvg) to 55.80%, while the best 5% client accuracy also rose from 85.13% to 86.93%, showing no compromise to top clients.
Limitations and Future Work
- Communication Overhead of Gradient Alignment: When setting the fair angle threshold $\theta < 90^\circ$, server-client exchange of initial losses and reference gradients introduces extra communication overhead (up to ~50% extra communication when $\theta = 0^\circ$). While setting $\theta = 90^\circ$ incurs zero extra overhead over FedAvg, it slightly limits maximum fairness gains.
- Future Directions: The authors highlight integrating communication compression (e.g., quantization, sparsification) into the gradient alignment step to unlock full fairness gains without bandwidth penalties. Testing beyond vision classification (e.g., NLP, sequential tasks) remains open for future research.
Summary updated