In the standard blueprint for Federated Learning (FL), a central server coordinates thousands or even millions of edge devices to train a shared model. While the data stays on the devices, the server is often expected to perform increasingly complex tasks: correcting for data heterogeneity, managing intermittent participation, and personalizing models for specific users.
The "hidden tax" of these advanced features is server-side state. Many state-of-the-art algorithms require the server to store a unique model replica, a gradient cache, or a participation history for every single client. As researchers like Yutao Huang and Lingyang Chu point out in Personalized Cross-Silo Federated Learning on Non-IID Data, this $O(N)$ memory scaling—where $N$ is the number of clients—is a dealbreaker for massive-scale deployments. To reach millions of devices, the research direction has shifted toward "stateless" or "memory-efficient" architectures that decouple the server's complexity from the population size.
The Memory Wall of Variance Reduction
The primary reason servers become "stateful" is to combat client drift. When data is non-IID (not identically and independently distributed), local updates pull the global model in divergent directions. Traditional variance reduction techniques fix this by keeping track of historical gradients for each client to "nudge" the global update back on track.
However, storing a full gradient vector for a million clients is practically impossible for most infrastructure. Shiqiang Wang and Mingyue Ji address this in their work on FedAU, which tackles participation bias without the massive memory overhead of traditional variance reduction. Instead of storing individual updates, they use adaptive weighting based on participation history, achieving state-of-the-art accuracy while remaining feasible for resource-constrained servers.
Stateless Feedback Loops
A clever way to eliminate per-client state is to use the global aggregate as a proxy for individual error. In standard compressed communication, the server usually needs to remember the "error" it hasn't received yet from each client to ensure convergence.
Tomàs Ortega and colleagues introduced CAFe (Compressed Aggregate Feedback) in Communication Compression for Distributed Learning without Control Variates to break this dependency. By using the previous global aggregate to estimate feedback, CAFe allows the server to remain "stateless." This not only saves memory but also enhances privacy: if the server doesn't store individual client states, it becomes much harder to track a specific device's contribution over time.
Anchor Clients and Representative Sampling
If you cannot afford to track everyone, can you track a representative few? This is the intuition behind FedAMD, proposed by Feijie Wu and Song Guo in Accelerating Federated Learning via Sampling Anchor Clients with Large Batches.
FedAMD splits the active client pool into two groups:
- Anchors: A small subset that provides a stable "global direction" using large-batch gradients.
- Miners: The remaining clients who perform fast, small-batch local updates to accelerate training.
By focusing the "state" requirements on a few anchors rather than the entire population, the system achieves faster convergence ($O(1/\epsilon)$) without the linear memory bottleneck.
Shifting Personalization to the Edge
Personalization—tailoring the model to a specific user's habits—is perhaps the most state-heavy task in FL. Traditional methods like FedAMP Yutao Huang use attentive message passing between client replicas on the server. While effective for organizational silos, it fails at the edge.
The emerging solution is to move the "identity" of the client back to the device. Jonathan Scott and Christoph H. Lampert propose PeFLL Personalized Federated Learning by Learning to Learn, which uses a hypernetwork to generate custom weights. Crucially, the client-specific descriptors are stored locally. The server manages the hypernetwork, but it doesn't need to "remember" the millions of unique embeddings that define individual users.
Why This Works: The Intuition of Shared Context
The common thread across these papers is the realization that individual history is often a redundant proxy for shared context.
Whether it is Chaoyue Niu's use of cached "latest" gradients in FedLaAvg to handle intermittent availability, or Haris Vikalo's use of stochastic processes to estimate missing updates, the goal is the same: replace expensive, per-client storage with smart estimation and global aggregates.
By treating the server as a coordinator of a flow rather than a warehouse of client data, these researchers are enabling Federated Learning to scale from small-scale experiments to the massive, messy reality of the global edge.