In vanilla Federated Averaging (FedAvg), a central server coordinates optimization across decentralized edge devices by acting as a stateless aggregator. In each round, it broadcasts a global model, collects local updates, computes their average, and immediately discards the individual client inputs. Because the server only needs to store the global model, its memory footprint remains constant—$O(1)$—relative to the total number of clients ($N$) in the network. This statelessness is what allows federated learning (FL) to scale to millions of mobile or IoT devices.
However, the messy realities of edge computing break the assumptions of vanilla FedAvg. Devices drop offline arbitrarily, local data distributions are highly heterogeneous (non-IID), networks operate asynchronously, and systems must defend against malicious poisoning attacks.
To solve these challenges, modern federated algorithms introduce per-client state. Whether it is caching historical updates to handle stragglers, maintaining personalized model replicas for non-IID data, or tracking control variates for variance reduction, the server is increasingly required to remember information about individual clients over time.
This creates a severe sustainability crisis: the server-side storage requirement shifts from constant to linear ($O(N)$). When the client pool scales into the millions and the underlying models contain billions of parameters, storing even a single historical vector per client requires petabytes of server memory, creating a critical infrastructure bottleneck.
The Root Cause: Why State Accumulates
To understand how to fix the server-side memory bottleneck, we must first look at why modern optimization, personalization, and security frameworks introduce per-client state in the first place.
1. Mitigating Asynchrony and Intermittent Availability
In large-scale networks, edge devices are frequently unavailable or slow. If the server simply ignores these "stragglers," the global model becomes heavily biased toward fast devices with stable connections.
To counteract this, algorithms like MIFA, proposed by Xinran Gu et al., and FedLaAvg, developed by Chaoyue Niu et al., maintain a persistent record or cache of the latest updates from inactive devices. When a device drops out, the server reuses its last known update to compute the global average. Similarly, in asynchronous frameworks like $CA^2FL$ (Yujia Wang et al.), the server caches client updates to calibrate the global model against stale updates. While this eliminates gradient bias and stabilizes convergence, keeping a central cache of high-dimensional updates for every participant introduces massive memory overhead.
2. Managing Data Heterogeneity and Personalization
When client data is highly non-IID, a single global model often performs poorly across different local distributions. Personalized Federated Learning (PFL) addresses this by maintaining unique model states, embeddings, or client-to-model mapping weights for each participant on the central server (Yutao Huang et al.; Zichen Ma et al.; Shutong Chen et al.).
For instance, Shangqian Gao et al. maintain unique device embeddings to generate personalized sub-networks via pruning. Even when personalization is framed around variance reduction rather than separate models—such as using per-client control variates to stabilize dual-drift or unbounded smoothness—the server must still store historical state variables for every participant over long periods of inactivity (Liguo Shen et al.; Michael Crawshaw).
3. Security, Auditing, and Unlearning
Modern systems must also support post-hoc operations like federated unlearning (forgetting a specific client's data contribution due to privacy regulations) or forensic auditing (tracing back malicious poisoning attacks).
To achieve exact or approximate unlearning without retraining the model from scratch, frameworks often require the server to store intermediate model updates or historical checkpoints across all training rounds (Yijing Lin et al.; Yann Fraboni). Similarly, tracing back backdoors or tracking temporal anomalies requires long-term auditing logs of per-client updates (Yuqi Jia et al.; Ka Ho Chow et al.), scaling server storage to hundreds of terabytes.
Mechanisms for Memory-Aware Scaling
To prevent the server from collapsing under $O(N)$ storage scaling, researchers have developed architectural patterns that either compress the per-client state or eliminate it entirely, returning the server to a constant or sublinear memory footprint.
From Explicit Storage to Functional Generation (Hypernetworks)
Instead of allocating a dedicated memory slot on the server for every client's personalized parameters, a more scalable approach leverages hypernetworks. A hypernetwork is a single, centralized neural network trained to output the weights of another network.
Naive Personalization:
[Server Memory] ──> [Client 1 Model] [Client 2 Model] ... [Client N Model] (O(N) Storage)
Hypernetwork Personalization:
[Server Memory] ──> [Single Hypernetwork] ──(Input: Client Metadata)──> [Generated Weights] (O(1) Storage)
In frameworks like PeFLL (Jonathan Scott et al.) and SemiPFL (Arvin Tashakori et al.), the server stores only the parameters of a single hypernetwork. When a client interacts with the server, the hypernetwork takes low-dimensional client metadata (like data distributions or light embeddings) and generates customized model weights on the fly. This collapses the server-side storage requirement from linear to constant relative to the client pool size, allowing personalization to scale seamlessly to millions of users.
Shared Server-Side Architectures
In Federated Split Learning (FSL), models are split vertically: clients hold the lower layers of a network, while the server holds the upper layers. Naive implementations of FSL require the server to maintain a distinct partial model state for every participating client to prevent updates from overwriting each other.
To break this bottleneck, Cong Shen et al. introduced a structural redesign. Instead of pinning separate states for each client, the server maintains a single shared model that sequentially processes updates from multiple clients. By utilizing auxiliary networks on the client side to handle local updates and decoupling the strict client-to-model mapping, the server-side storage requirement drops from linear to constant ($O(1)$), slashing central memory costs by up to 70% while maintaining competitive accuracy.
Low-Rank and Coded State Compression
When historical updates must be retained on the server (e.g., for momentum acceleration or unlearning verification), algorithms can exploit the underlying mathematical structure of neural network trajectories to compress the state.
- Subspace Projection: Gradients and model updates do not randomly explore the full high-dimensional parameter space; they typically live in a highly compact, low-dimensional subspace. Sheikh Shams Azam et al. exploit this property by replacing million-dimensional historical update vectors with compact scalar multipliers derived from look-back gradient projections, dramatically reducing the server's tracking burden.
- Coded Sharding: For federated unlearning, where intermediate states must be cached to allow roll-backs, the Sharding Eraser framework (Yijing Lin et al.) combines isolated client sharding with coded computing. By compressing and sharding the stored intermediate updates across a structured storage matrix, the authors reduce server-side storage overhead by 98% compared to storing raw intermediate checkpoints.
By shifting from naive, explicit tracking of individual device histories to functional generation, shared sequential processing, and low-rank subspace compression, modern federated learning architectures successfully neutralize the server-side memory bottleneck—ensuring that advanced optimization and personalization remain viable at true planetary scale.
Key Foundational Work
Personalized Cross-Silo Federated Learning on Non-IID Data (2021) — contributed 2 concept elements to this direction.
PFedAtt: Attention-based Personalized Federated Learning on Heterogeneous Clients (2021) — contributed 2 concept elements to this direction.
Fast Federated Learning in the Presence of Arbitrary Device Unavailability (2021) — contributed 1 concept elements to this direction.