Minimizing Local Update Divergence in Federated Learning

You are reading version 1 of this direction, frozen 2026-10-04. The latest version is version 2.

Version 1 of 2737 papers796 conceptsfrozen 2026-10-04

In the ideal world of Federated Learning (FL), every participant (client) would have a dataset that perfectly represents the global population. In this scenario, the standard Federated Averaging (FedAvg) algorithm works beautifully: clients compute local updates, the server averages them, and the model converges to a global optimum.

However, real-world data is "messy." As John Nguyen and colleagues note in Where to Begin? On the Impact of Pre-Training and Initialization in Federated Learning, data is typically siloed across millions of devices with non-identical distributions (non-IID). This heterogeneity triggers a fundamental failure mode known as client drift.

The Intuition of Drift

Imagine two hikers (clients) trying to find the lowest point in a mountain range (the global loss minimum). They start at the same peak but are given different maps. Hiker A’s map only shows the eastern valley, while Hiker B’s map only shows the western valley.

If they communicate after every single step, they can stay together. But in FL, to save communication costs, clients perform many local updates before syncing. After 100 steps, Hiker A is deep in the eastern valley and Hiker B is deep in the western valley. When the "server" averages their positions, it places them on a high ridge between the two valleys—a point that is worse for both of them and far from the true global minimum.

As Rudrajit Das explains in Faster Non-Convex Federated Learning via Global and Local Momentum, these divergent local updates pull the global model in conflicting directions, leading to unstable training and poor convergence.

Correcting the Trajectory with Control Variates

One of the most effective ways to combat drift is to "nudge" local updates back toward the global goal. Aurélien Bellet and Aymeric Dieuleveut explore this in Differentially Private Federated Learning on Heterogeneous Data using SCAFFOLD.

SCAFFOLD introduces "control variates"—state variables that estimate the difference between the local gradient and the global gradient. By subtracting this estimated drift during local training, the algorithm ensures that even if a client has skewed data, its updates remain aligned with the global objective. Shuai Wang further unified this concept in Beyond ADMM: A Unified Client-variance-reduced Adaptive Federated Learning Framework, showing that many successful FL algorithms are essentially forms of client-variance reduction.

Gradient Alignment and Masking

Rather than just correcting the path, some researchers suggest filtering the updates themselves. Irene Tenison and Eugene Belilovsky proposed Gradient Masked Averaging (GMA) in Gradient Masked Averaging for Federated Learning.

GMA works on a simple principle: if clients disagree on the direction (the sign) of a gradient update for a specific parameter, that update is likely "noise" specific to a client's local distribution. By applying a soft mask based on sign agreement, GMA prioritizes features that generalize across the entire network. Similarly, Yatin Dandi and Martin Jaggi introduced GradAlign in Implicit Gradient Alignment in Distributed and Federated Learning, which explicitly penalizes misalignment between local gradients to improve generalization.

Knowledge Distillation as a Bridge

When weight averaging fails because models have drifted into entirely different regions of the parameter space, we can turn to Knowledge Distillation (KD). Instead of averaging the "brains" (weights) of the models, we average their "behavior" (outputs).

In Handling Data Heterogeneity in Federated Learning via Knowledge Fusion, Xiao Zhang and colleagues use FedKF to fuse knowledge from drifted local models into a global model using a proxy dataset (or synthetic data). This bypasses the "ridge" problem mentioned earlier; the global model learns to mimic the correct predictions of all clients simultaneously. Siran Zhao takes this further in Data-Free Knowledge Distillation via Generator-Free Data Generation for Non-IID Federated Learning, showing that clients can even synthesize their own training data from noise to facilitate this distillation without compromising privacy.

Seeking Flat Minima

A recent insight into client drift involves the geometry of the loss landscape. Barbara Caputo and Marco Ciccone argue in Improving Generalization in Federated Learning by Seeking Flat Minima that drift is most damaging when local models fall into "sharp" minima—narrow pits in the loss landscape that are highly specific to local data.

By using Sharpness-Aware Minimization (SAM), clients are forced to find "flat" minima—wide valleys where the loss doesn't change much if the data distribution shifts slightly. Flat minima are naturally more robust to the differences between clients, making the subsequent averaging process much more stable.

From Bottleneck to Blessing

While most research treats heterogeneity as a hurdle, Jiin Woo and Gauri Joshi offer a provocative counter-perspective in The Blessing of Heterogeneity in Federated Q-Learning. They demonstrate that in certain reinforcement learning contexts, agent diversity allows a group to explore a state space more effectively than any single agent could. By using Importance Averaging, they turn the "drift" of specialized agents into a collective strength, proving that with the right aggregation strategy, heterogeneity can actually accelerate learning.

Papers in this version

Showing 60 of 737 papers.

History & citationVersion 2 · 2026-10-04

Current · Permanent link

  1. Version 2 (latest) · 2026-10-04 · 706 papers
  2. Version 1 · 2026-10-04 · 737 papers
Cite this direction

Latest version (a living page):

@misc{lacuna_client_drift_data_heterogeneity_fd03fa70,
  title = {client drift (data heterogeneity)},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/client-drift-data-heterogeneity/rdr_fd03fa70cae74660b299208732c666f6},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-23},
}

This exact version (version 1, frozen text):

@misc{lacuna_minimizing_local_update_divergence_in_fe_fd03fa70_v1,
  title = {Minimizing Local Update Divergence in Federated Learning},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/minimizing-local-update-divergence-in-federated-learning/rdr_fd03fa70cae74660b299208732c666f6/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-23},
}