TL;DR
Stochastic UnRolled Federated learning (SURF) brings algorithm unrolling into decentralized, server-less federated learning to dramatically cut down communication rounds. By embedding supermartingale-like descent constraints into meta-training, SURF guarantees provable convergence to a near-optimal region despite noisy mini-batches and asynchronous communications.
What Problem Does This Paper Address?
In decentralized (server-less) federated learning (FL), edge devices coordinate over peer-to-peer networks to train a shared machine learning model without a central coordinator. While eliminating the central server removes communication bottlenecks and single points of failure, classic algorithms like Decentralized Gradient Descent (DGD) typically require hundreds or thousands of communication rounds to converge—an immense burden for resource- and battery-constrained devices.
"Algorithm unrolling" (or Learning-to-Optimize, L2O) parameterizes the iterations of an optimization algorithm as layers in a neural network to learn faster update rules. However, existing unrolling methods face major hurdles:
- No theoretical convergence guarantees: Standard unrolled networks often behave like "black boxes" that can fail to generalize on unseen tasks or diverge under noise.
- Batch limits: Prior L2O techniques often assume access to full datasets or ignore the stochastic gradient noise induced by mini-batches.
- Decentralized topology: Standard unrolling architectures are not naturally structured for distributed peer-to-peer communication graphs.
Methods
SURF integrates stochastic mini-batches, graph-based distributed architectures, and constrained learning:
-
Stochastic Unrolling with Descent Constraints: Instead of hand-computing gradients, mini-batches are fed directly into the unrolled network layers to learn descent directions. To tame stochastic noise, SURF enforces a supermartingale-like descending constraint at every layer $l$: $$\mathbb{E}\big[\|\nabla f(W_l)\| - (1 - \epsilon)\|\nabla f(W_{l-1})\|\big] \le 0$$ This forces the expected gradient norm to decrease monotonically across layers.
-
Primal-Dual Constrained Training: Leveraging Constrained Learning Theory (CLT), the constrained objective is converted into an empirical dual saddle-point problem solved alternately via primal-dual gradient steps.
- GNN-Based Unrolled DGD (U-DGD):
- Communication: Aggregation across neighbors is parameterized by a learnable $K$-hop graph filter, requiring $K-1$ communication rounds per layer.
- Computation: A shared, localized multi-layer perceptron (MLP) takes the previous local weight estimate concatenated with the local mini-batch to predict the next update step.
- Theoretical Convergence: The authors prove that the trained unrolled optimizer converges almost surely infinitely often to a bounded near-optimal region (Theorem 2) and derive a finite-layer convergence rate (Theorem 3).
Datasets
The authors evaluate U-DGD on collaborative image classification:
- MNIST and CIFAR-10: Evaluated across a simulated network of 100 agents connected in a 3-regular graph, star graph, or random graph.
- Meta-Dataset Setup:
- Meta-training: 600 synthetic, class-imbalanced datasets (each containing 6,000 images; 45 training and 15 testing samples per agent).
- Meta-testing: 30 distinct in-distribution class-imbalanced datasets.
- Heterogeneous Splits: Dirichlet-distributed label skews with concentration parameters $\alpha \in \{0.3, 0.7, 1.0\}$.
Key Insights and Ideas
- Constraints Prevent "Last-Layer Cheating": Unconstrained unrolled optimizers often make negligible progress across initial layers and attempt a massive, erratic leap in the final layer. SURF’s descending constraints enforce steady, step-by-step progress, making intermediate representations meaningful and stable.
- Natural Robustness to Asynchrony: Because each layer is trained to strictly descend, the optimizer becomes intrinsically resilient to perturbations caused by delayed or asynchronous neighbor updates.
- Computation Shifting: The heavy computational cost of training the optimizer is offloaded offline to powerful servers during meta-training. At deployment, edge devices merely run a lightweight forward pass requiring very few communication rounds.
Key Results
- 10× Fewer Communication Rounds: On both MNIST and CIFAR-10, U-DGD achieved target accuracy in just 20 communication rounds, outperforming standard DGD and decentralized FedAvg with momentum (DFedAvgM) running for 200 rounds.
- Matches Centralized Accuracy: U-DGD matched the performance of centralized training (relative accuracy $\approx 1.0$) and significantly outpaced server-based benchmarks including FedAvg, SCAFFOLD, MOON, FedProx, and FedDyn.
- Resilience to Asynchrony and Drift: When up to 10 out of 100 agents suffered from communication desynchronization, SURF’s test accuracy dropped only slightly (from $\sim 96\%$ down to $\sim 87\%$), whereas unconstrained unrolling dropped below $78\%$. It also maintained superior robustness under severe non-IID client drift ($\alpha = 0.3$).
Limitations and Future Work
- Scalability to Large Models: The local perceptron takes the model parameters and mini-batch directly as input. As model dimensionality grows beyond linear/softmax classifiers (e.g., training deep backbones end-to-end), the unrolled layer parameters scale rapidly.
- Privacy Risks: Sharing model activations and feeding raw data into unrolled perceptrons could expose models to reconstruction or model-inversion attacks.
- Future Directions: Incorporating differential privacy, secure aggregation, dynamic loss reweighting for heterogeneous clients, and extending unrolled descent constraints to reinforcement learning and Neural ODEs.
Summary updated