Knowledge Rumination for Client Utility Evaluation in Heterogeneous Federated Learning

Xiaorui Jiang, Yu Gao, Hengwei Xu, Qi Zhang, Yong Liao, Pengyuan Zhou

TL;DR

FedHist is a novel asynchronous federated learning (AFL) framework that tackles the twin challenges of data heterogeneity (Non-IID) and gradient staleness. By "ruminating" on historical gradients to evaluate client utility and dynamically amplifying gradient norms, it achieves up to a 2x speedup in convergence and superior accuracy compared to state-of-the-art methods.

What Problem Does This Paper Address?

Federated Learning (FL) allows multiple devices (clients) to train a shared model without ever sharing their raw data. While powerful, standard synchronous FL suffers from the "straggler effect"—the whole process moves only as fast as the slowest device.

Asynchronous FL (AFL) solves this by letting the server update the model as soon as any client finishes. However, this introduces two major headaches:

  1. Gradient Staleness: By the time a slow client finishes its update, the global model has already moved on. These "stale" updates can pull the global model in the wrong direction, leading to divergence.
  2. Non-IID Data: Real-world data is rarely distributed evenly. If a client has a very different data distribution than others, its updates can cause "client drift," making the global model biased or unstable.

As shown in Figure 1, these issues often lead to suboptimal local optima or complete training failure.

Problem illustration of K-async FL

Methods

The authors propose FedHist (Federated Historical Learning), which introduces three key components to the AFL workflow (illustrated in Figure 2):

  • Enhancement of Gradient Stability (EGS): To combat client drift, the server maintains a buffer of historical global gradients. When a client submits an update, EGS finds a historical gradient that is least similar (minimizing cosine similarity) to the new update and fuses them. This "cross-aggregation" injects diversity and stabilizes the local update.
  • History-Aware Aggregation (HAA): This is the "rumination" part. The server uses past updates to calculate a "predicted unbiased gradient." It then evaluates how useful each client's historical updates were compared to this ideal. Clients that consistently provide high-utility updates—even if they are slow—are given higher weights in future rounds, promoting fairness.
  • Intelligent $\ell_2$-Norm Amplification (INA): The authors observed that aggregating many gradients often shrinks the overall magnitude ($\ell_2$-norm) of the update, which slows down convergence. INA rescales the final aggregated gradient so its magnitude matches the average magnitude of the individual client updates, keeping the training momentum high.
Fig. 2. The overall framework of FedHist. It comprises three components: EGS, HAA, and INA.

Datasets

The researchers evaluated FedHist using three standard computer vision benchmarks:

  • CIFAR-10 & CIFAR-100: Standard datasets for object recognition.
  • Fashion-MNIST (FMNIST): A dataset of clothing articles.

To simulate real-world conditions, they used a Dirichlet distribution ($Dir_N(\beta)$) to create varying levels of data heterogeneity (Non-IIDness) across clients, where a smaller $\beta$ value represents a more difficult, heterogeneous environment.

Key Insights and Ideas

  • Knowledge Rumination: The core philosophical shift is treating historical data not just as old news, but as a baseline for "hindsight" evaluation. By re-examining how past updates performed, the server can make much smarter decisions about current weights.
  • Magnitude Matters: While most AFL research focuses on the direction of gradient updates to handle staleness, FedHist highlights that the magnitude (the $\ell_2$-norm) is equally critical for maintaining convergence speed.
  • Fairness via Utility: Instead of just penalizing slow clients (which might have unique, valuable data), FedHist rewards clients based on the utility of their data, ensuring that "valuable stragglers" still contribute effectively to the global model.

Key Results

FedHist consistently outperformed baselines like FedAvg, FedProx, and MOON across all tests:

  • Higher Accuracy: On CIFAR-10 with high heterogeneity ($\beta=0.3$), FedHist achieved significantly higher test accuracy (~57%) compared to baselines which hovered between 51% and 54%.
  • Faster Convergence: FedHist reached target accuracy levels 1.8x to 2.0x faster than FedAvg. As seen in Figure 3, its convergence curves are not only steeper but also smoother.
  • Robustness to Staleness: Even when the ratio of total clients to active clients ($N/K$) was high (meaning updates were very stale), FedHist maintained its performance lead.
Performance of FedHist and baselines on CIFAR-10

Limitations and Future Work

  • Server Overhead: Maintaining a buffer of historical gradients ($G$ and $L$) requires extra memory on the server. While the authors argue this is manageable for modern servers, it could be a constraint for extremely large-scale deployments.
  • Hyperparameter Tuning: The framework introduces new parameters (like the fusion constant $\alpha$ and utility weight $\lambda$) that may require careful tuning depending on the specific task and network conditions.
  • Communication Costs: While FedHist reduces the number of rounds to converge, the paper does not explicitly detail the computational energy trade-off on the server side for performing the similarity calculations and utility evaluations in every round.

Summary updated

BibTeX
@misc{jiang2023knowledge,
  author = {Xiaorui Jiang and Yu Gao and Hengwei Xu and Qi Zhang and Yong Liao and Pengyuan Zhou},
  title = {{Knowledge Rumination for Client Utility Evaluation in Heterogeneous Federated Learning}},
  year = {2023},
  eprint = {2312.10425},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.10425},
}
Figure