Papers
Topics
Authors
Recent
Search
2000 character limit reached

Federated Learning with Feedback Alignment

Updated 21 December 2025
  • FLFA is a federated learning technique that employs global weight feedback to align local client updates and mitigate drift in non-IID data settings.
  • It modifies the traditional backpropagation by substituting local weight transposes with fixed global matrices, leading to improvements in convergence and model accuracy.
  • Empirical results demonstrate robust gains, including up to a 20% boost in representation quality, with negligible computational cost and zero additional communication.

Federated Learning with Feedback Alignment (FLFA) refers to a class of techniques in federated learning (FL) where feedback alignment (FA) is incorporated into local model training to reduce the adverse effects of client data heterogeneity and local drift. FLFA achieves alignment of local client updates with the global objective by modifying the backpropagation procedure to use global model weights as fixed feedback matrices during backward passes. This yields robust empirical improvements in model accuracy, representation quality, and convergence with minimal additional computational and communication cost, especially under non-IID scenarios (Baek et al., 14 Dec 2025). FLFA should be contrasted with direct feedback alignment (DFA), which replaces local gradients with random fixed feedback matrices—a direction explored for resource-constrained federated learning (Colombo et al., 2024).

1. Federated Learning under Non-IID Data and Local Drift

In the canonical FL setup, NN clients each hold local datasets DiD_i of size ∣Di∣|D_i|; the global dataset has size ∣D∣=∑i∣Di∣|D| = \sum_i |D_i| and weights πi=∣Di∣/∣D∣\pi_i = |D_i| / |D|. Each client minimizes its local expected loss Ji(w)=E(x,y)∼Di[ℓ(w;x,y)]J_i(w) = \mathbb{E}_{(x,y)\sim D_i}[\ell(w; x, y)], while the server aims to minimize the weighted average objective J(w)=∑iπiJi(w)J(w) = \sum_i \pi_i J_i(w). The most established algorithm is FedAvg, where in each round rr, clients initialize wi(r,0)=Wrw_i^{(r,0)} = W^r (the global model), perform ss local SGD steps, and communicate their resulting updates to the server, which sets DiD_i0.

A central challenge in federated settings is data heterogeneity: when clients' data distributions are non-identically and independently distributed (non-IID), local updates divaricate, leading to "local drift." The degree of drift is quantified by

DiD_i1

where DiD_i2 is the update from client DiD_i3 and DiD_i4 is the mean update. Large DiD_i5 values impede global model convergence by causing update mismatch.

2. FLFA Algorithm: Incorporating Global Weight Feedback

The FLFA algorithm modifies the local backward pass on each client by using a fixed feedback matrix derived from current global model weights, rather than local weight transposes, in some or all layers. This process has negligible extra computation and incurs zero additional communication since the required global weights are already available at synchronization.

Let DiD_i6 denote the number of layers. For a given layer DiD_i7, client DiD_i8's local weight is DiD_i9, global weight is ∣Di∣|D_i|0, and the set of layers where FA is applied is denoted ∣Di∣|D_i|1. Forward activations and error signals are propagated as usual. In standard backpropagation (BP), error signals are given by

∣Di∣|D_i|2

with corresponding weight updates.

In FLFA, for layers ∣Di∣|D_i|3, the backward computation is

∣Di∣|D_i|4

where the feedback matrix ∣Di∣|D_i|5 is initialized to ∣Di∣|D_i|6 (current global weight at layer ∣Di∣|D_i|7 at round ∣Di∣|D_i|8) and adaptively scaled to maintain norm parity with ∣Di∣|D_i|9. Other layers use standard BP.

Adaptive Scaling: After each batch, the feedback matrices are rescaled:

∣D∣=∑i∣Di∣|D| = \sum_i |D_i|0

Server Aggregation: After ∣D∣=∑i∣Di∣|D| = \sum_i |D_i|1 local epochs, clients send their updated weights to the server, which computes a weighted average.

This FA insertion mitigates local drift by ensuring that all clients receive backward signals informed by the same global reference, aligning the directions of local updates even under severe heterogeneity (Baek et al., 14 Dec 2025).

3. Theoretical Foundations and Convergence

FLFA's theoretical analysis rests on several key assumptions:

  • A1: Lipschitz gradients: ∣D∣=∑i∣Di∣|D| = \sum_i |D_i|2 for all ∣D∣=∑i∣Di∣|D| = \sum_i |D_i|3.
  • A2: Unbiased stochastic gradients: ∣D∣=∑i∣Di∣|D| = \sum_i |D_i|4, variance ∣D∣=∑i∣Di∣|D| = \sum_i |D_i|5.
  • A3: Bounded heterogeneity: ∣D∣=∑i∣Di∣|D| = \sum_i |D_i|6.
  • A4: Bounded FA approximation error: for the FA gradient ∣D∣=∑i∣Di∣|D| = \sum_i |D_i|7, ∣D∣=∑i∣Di∣|D| = \sum_i |D_i|8.

Main theoretical results include:

  • Lemma 1 (local decrease): Local objective decreases by

∣D∣=∑i∣Di∣|D| = \sum_i |D_i|9

  • Lemma 2 (global decrease): Analogous result for the global objective, with a similar form but joint dependencies on Ï€i=∣Di∣/∣D∣\pi_i = |D_i| / |D|0 and Ï€i=∣Di∣/∣D∣\pi_i = |D_i| / |D|1.
  • Convergence Outline: These bounds imply convergence to a neighborhood of a stationary point (Ï€i=∣Di∣/∣D∣\pi_i = |D_i| / |D|2), with neighborhood size controlled by Ï€i=∣Di∣/∣D∣\pi_i = |D_i| / |D|3 (FA error) and Ï€i=∣Di∣/∣D∣\pi_i = |D_i| / |D|4 (heterogeneity). Critically, setting feedback Ï€i=∣Di∣/∣D∣\pi_i = |D_i| / |D|5 ensures the global and local weights are well-aligned, minimizing Ï€i=∣Di∣/∣D∣\pi_i = |D_i| / |D|6 and further suppressing drift by reducing Ï€i=∣Di∣/∣D∣\pi_i = |D_i| / |D|7 between clients.

4. Empirical Results and Practical Considerations

FLFA was empirically validated on a diverse set of architectures (MobileNetV2, ResNet-50) and datasets (BloodMNIST, OrganCMNIST, OrganSMNIST, PathMNIST, Fashion-MNIST, CIFAR-10, CIFAR-100, ImageNet-100), with up to 200 participating clients and strong non-IID partitioning using the Dirichlet-πi=∣Di∣/∣D∣\pi_i = |D_i| / |D|8 scheme (e.g., πi=∣Di∣/∣D∣\pi_i = |D_i| / |D|9 for maximal heterogeneity).

The experimental protocol comprised:

  • 100 rounds (medical/FashionMNIST), 500 rounds (CIFAR-10), 5 local epochs per round.
  • Training with SGD, momentum Ji(w)=E(x,y)∼Di[â„“(w;x,y)]J_i(w) = \mathbb{E}_{(x,y)\sim D_i}[\ell(w; x, y)]0, learning rate Ji(w)=E(x,y)∼Di[â„“(w;x,y)]J_i(w) = \mathbb{E}_{(x,y)\sim D_i}[\ell(w; x, y)]1 (decayed), batch size Ji(w)=E(x,y)∼Di[â„“(w;x,y)]J_i(w) = \mathbb{E}_{(x,y)\sim D_i}[\ell(w; x, y)]2.
  • Randomly selecting Ji(w)=E(x,y)∼Di[â„“(w;x,y)]J_i(w) = \mathbb{E}_{(x,y)\sim D_i}[\ell(w; x, y)]3 of clients per round.

Key evaluation metrics included test accuracy, relative training time, drift (Ji(w)=E(x,y)∼Di[ℓ(w;x,y)]J_i(w) = \mathbb{E}_{(x,y)\sim D_i}[\ell(w; x, y)]4 per round), and representation quality (intra/inter-class variance and separability ratio).

Highlights from results:

  • Test accuracy: FLFA improved on all baselines—e.g., FedAvg +2.47% (BloodMNIST), +6.45% (FMNIST); advanced baselines (FedRS, FedLC) gain +1–2%.
  • Overhead: Computational overhead is negligible (Ji(w)=E(x,y)∼Di[â„“(w;x,y)]J_i(w) = \mathbb{E}_{(x,y)\sim D_i}[\ell(w; x, y)]5), with zero added communication.
  • Drift reduction: FLFA consistently reduced local drift Ji(w)=E(x,y)∼Di[â„“(w;x,y)]J_i(w) = \mathbb{E}_{(x,y)\sim D_i}[\ell(w; x, y)]6 versus BP, especially in early rounds.
  • Representation: ~20% improvement in separability ratio on CIFAR-10 with FedAvg+FLFA.
  • Robustness: Effective even under extreme data skew, low client participation (5%), and deep local training (15 epochs).
  • Ablations: Using random feedback or dropping adaptive scaling degrades performance; single-layer FA often suffices; best gains achieved by choosing FA layers by lowest gradient cosine similarity.

FLFA's core innovation—using the current global model weights as feedback matrices—differs fundamentally from methods such as direct feedback alignment (DFA), which employs fixed random matrices. DFA is beneficial for resource-limited settings (low-precision, TinyML) but struggles to match BP's accuracy on high-dimensional tasks and convolutional architectures (Colombo et al., 2024).

Related empirical strategies:

  • Random Feedback (DFA): Not effective on convolutional networks in federated contexts.
  • Single-layer versus Multi-layer FA: Single FA layer is often sufficient; optimal layer selection depends on gradient cosine similarity statistics.
  • Adaptive Feedback Scaling: Necessary for stable training; omitting scaling harms performance.
  • Representation Learning Effects: FA improves latent representation separability beyond overall accuracy increases.

6. Symbol Table

Symbol Definition
Ji(w)=E(x,y)∼Di[ℓ(w;x,y)]J_i(w) = \mathbb{E}_{(x,y)\sim D_i}[\ell(w; x, y)]7 Client Ji(w)=E(x,y)∼Di[ℓ(w;x,y)]J_i(w) = \mathbb{E}_{(x,y)\sim D_i}[\ell(w; x, y)]8's weight at round Ji(w)=E(x,y)∼Di[ℓ(w;x,y)]J_i(w) = \mathbb{E}_{(x,y)\sim D_i}[\ell(w; x, y)]9, layer J(w)=∑iπiJi(w)J(w) = \sum_i \pi_i J_i(w)0, step J(w)=∑iπiJi(w)J(w) = \sum_i \pi_i J_i(w)1
J(w)=∑iπiJi(w)J(w) = \sum_i \pi_i J_i(w)2 Global weight at layer J(w)=∑iπiJi(w)J(w) = \sum_i \pi_i J_i(w)3, round J(w)=∑iπiJi(w)J(w) = \sum_i \pi_i J_i(w)4
J(w)=∑iπiJi(w)J(w) = \sum_i \pi_i J_i(w)5 Feedback matrix for client J(w)=∑iπiJi(w)J(w) = \sum_i \pi_i J_i(w)6, layer J(w)=∑iπiJi(w)J(w) = \sum_i \pi_i J_i(w)7
J(w)=∑iπiJi(w)J(w) = \sum_i \pi_i J_i(w)8 Pre-activation, activation at layer J(w)=∑iπiJi(w)J(w) = \sum_i \pi_i J_i(w)9
rr0 Error signal at layer rr1 for client rr2
rr3 Element-wise (Hadamard) product
rr4 Derivative of nonlinearity
rr5 Learning rate
rr6 Number of local steps
rr7 Number of local epochs
rr8 Lipschitz gradient constant, gradient noise bound, heterogeneity bound, FA error

All symbols and workflow steps align directly with those stated in the original framework description (Baek et al., 14 Dec 2025).

7. Summary and Implications

FLFA provides an effective, efficient modification to the federated learning process, leveraging global model weights as fixed feedback matrices in the backward pass to align local updates, suppress local drift, and robustly improve convergence and downstream accuracy. Its minimal compute and communication overhead make it conducive for practical deployment, especially in highly heterogeneous and large-scale federated environments. Empirical and theoretical analyses confirm that FA—when instantiated with global weights and adaptive scaling—offers significant benefits over both standard BP and direct/random feedback methods. Representative benchmarks demonstrate consistent gains across modalities, architectural choices, and data regimes (Baek et al., 14 Dec 2025).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (2)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Federated Learning with Feedback Alignment (FLFA).