A Consistency Principle for Federated Learning

Yan Sun, Dacheng TaoarXiv 2026

TL;DR

In federated learning, even if two clients start from the exact same model, their averaged updates can point away from the global optimum if they use incompatible local rules or out-of-date states. Instead of trying to force all local models to look identical, this paper introduces a unifying Consistency Principle: local computations only need to agree in ways that preserve the specific global operation—update, objective, or constraint—that eventually consumes them. This lens unifies five distinct algorithmic challenges and clarifies when fixing local discrepancies is actually worth the bandwidth.

What Problem Does This Paper Address?

Federated learning (FL) saves bandwidth and preserves privacy by letting devices—like hospitals or phones—train locally for several steps before averaging their updates on a central server. The classic headache here is client drift: because each device has different data, their local training paths wander apart, muddying the averaged update.

However, drift is just one symptom of a deeper issue. What happens when clients rescale their own gradients (like in Adam), compute local adversarial perturbations, sit idle for hundreds of rounds while holding onto stale dual variables, or pass messages over a sparse peer-to-peer network? Naive averaging breaks down in all of these scenarios, sometimes silently changing the mathematical objective being solved. Yet, forcing every local quantity to be identical is counterproductive—at a true global optimum, individual client gradients can be large and point in opposite directions to cancel each other out! The authors ask: How do we formally define what needs to agree across clients, and what should be left free to differ?

Methods

Rather than proposing a single new optimizer, the authors synthesize a unifying theoretical framework (revisiting a doctoral thesis) and apply it across five published case studies.

They define a reference operation (what an omniscient, globally informed step would do) and measure the consistency residual—decomposing the error of the federated implementation into systematic bias and sampling variance. A correction is justified only if reducing this discrepancy tightens a bound on optimization or generalization error at an acceptable communication cost.

Table 1. Five interpretations of consistency. Each observable has a specified reference point in the training round. Proxy measurements inherit the sampling and staleness of the messages used to compute them.

Using this common mathematical language, they analyze five mechanisms:

  1. Relaxed Initialization (FedInit): Reverses a fraction of a client's historical drift before local training begins, giving clients room to move toward a closer upload agreement.
  2. Amended Local Adaptivity (FedLADA): Blends local Adam-style preconditioned steps with a shared global historical direction so heterogeneous coordinate scalings don't skew the stationary point.
  3. Shared Sharpness Perturbations (FedSMOO): Sharpness-Aware Minimization (SAM) seeks flat loss landscapes by maximizing loss inside a small radius before taking a gradient step. FedSMOO aligns these inner perturbations across clients so they flatten the shared global loss rather than separate local ones.
  4. Virtual Dual Updates (A-FedPD): In primal-dual consensus methods, absent clients end up with stale multipliers. A-FedPD uses the active cohort's average movement to keep sleeping clients' dual states current on the server.
  5. Decentralized Mixing: Analyzes how graph connectivity (spectral gap) governs how quickly past local updates mix in peer-to-peer FL without a central server.

Datasets

No new benchmarks are introduced. The paper pairs a synthetic 20-dimensional quadratic benchmark (where the exact global optimum and direction biases can be computed in closed form) with existing vision evaluations on CIFAR-10, CIFAR-100, and Tiny-ImageNet, partitioned across clients using Dirichlet distributions to simulate varying levels of data heterogeneity.

Key Insights and Ideas

  • Initial disagreement can improve final agreement: Intuitively, starting clients at the exact same weights seems most "consistent." Yet in FedInit, intentionally pushing clients apart at the start of a round (opposite to their past drift) allows them to land much closer together at upload time!
Figure 1. Two clients with local minima at −1 and +1. Left, a larger initial separation can lead to closer endpoints after local training (d = 0.5, K = 1, η = 0.05). Right, separate worst-case perturbations raise the loss above the shared worst case near the point of gradient cancellation (ρ = 0.4). Both panels plot closed-form expressions.
  • Order of operations changes the objective: In SAM, letting each client pick its own worst-case weight perturbation ($\Phi_{\text{loc}}$) vs. finding one shared perturbation for the deployed model ($\Phi_{\text{sh}}$) changes the objective itself. Near a global minimum where opposing client gradients cancel out, independent local perturbations artificially inflate the perceived worst-case loss.
  • Smaller model divergence $\neq$ better accuracy: Measuring how close client models are at the end of training can be a misleading proxy. In one CIFAR-10 sweep, tuning an initialization parameter in the wrong direction ($\beta = -0.10$) actually shrunk terminal model divergence (from $0.855$ to $0.815$), while test accuracy plummeted by over $5$ percentage points. What matters is consistency at the operation consuming the state, not raw parameter proximity.
  • Weak peer-to-peer graphs can waste new data: In decentralized FL, adding more clients (each bringing fresh training examples) improved accuracy on a fully connected graph, but stalled or decreased accuracy on a ring topology because weak mixing couldn't absorb the growing population's disagreement.

Key Results

  • Isolating Adaptive Bias: In the 20D quadratic test, purely local curvature scaling pointed updates toward the wrong center, leaving 45.36% of the initial loss gap unresolved after 100 rounds. Blending in just $50\%$ shared scaling cut that remaining gap down to 5.85%, and $100\%$ shared scaling solved it to machine precision ($<10^{-12}$).
  • Vision Accuracy Gains: Under strong data heterogeneity (Dirichlet $0.1$, $10\%$ participation), targeted consistency corrections consistently beat baselines: FedInit boosted FedAvg by +3.42 percentage points (pp) on CIFAR-10 ($75.95\%$) without adding a single byte of communication; FedSMOO improved over MoFedSAM by +1.63 pp on CIFAR-100; and A-FedPD outperformed FedDyn by +1.61 pp on CIFAR-10.
  • Communication Efficiency: Although FedLADA transmits more vectors per round than SCAFFOLD ($5$ vs. $4$ model-sized messages), it reached $84\%$ test accuracy on CIFAR-10 in nearly half the rounds ($598$ vs. $1,177$), translating to 36.5% fewer total bytes transferred.

Limitations and Future Work

The theoretical guarantees apply to synchronous rounds, shared global models, and fixed, undirected peer-to-peer graphs—sometimes relying on idealized assumptions like shrinking perturbation radii or exact local subproblem solves. Extending the consistency principle to personalized models (where only parts of a network should agree), unseen target domains, directed/time-varying graphs, or differential privacy alters the reference operation and remains open. Finally, the authors pose a compelling systems question for future work: under a strict byte and compute budget, can pre-measuring specific discrepancies on audit rounds reliably tell practitioners which correction to deploy?

Summary updated

BibTeX
@misc{sun2026consistency,
  author = {Yan Sun and Dacheng Tao},
  title = {{A Consistency Principle for Federated Learning}},
  year = {2026},
  eprint = {2611.39510},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.39510},
}
Figure