STEM (Stochastic Two-Sided Momentum for Federated Learning)
Algorithms AIMech:StemStochasticTwoSidedMomentumForFederatedLearning DRAFT
Aliases: STEM, Stochastic Two-Sided Momentum, STEM Federated Recursive Momentum
A federated non-convex stochastic optimization algorithm (Khanduri et al. 2021, Section 2, Algorithm 1, Equations 2-5) in which each client k in {1, ..., K} updates its local parameters x_{t+1}^{(k)} = x_t^{(k)} - eta_t d_t^{(k)} using a STORM-style recursive stochastic momentum estimator d_t^{(k)} = (1/b) sum_{xi in B_t^{(k)}} nabla f^{(k)}(x_t^{(k)}; xi) + (1 - a_t)(d_{t-1}^{(k)} - (1/b) sum_{xi in B_t^{(k)}} nabla f^{(k)}(x_{t-1}^{(k)}; xi)), and every I steps the server aggregates and broadcasts both the global model bar_x_t = (1/K) sum_{k=1}^K x_t^{(k)} and the global momentum direction bar_d_t = (1/K) sum_{k=1}^K d_t^{(k)}.
Identity Notes & Concept Scope
Distinct from single-node STORM (AIMech:StormStochasticRecursiveMomentumForNonconvexOptimization, Cutkosky & Orabona 2019), which operates on a single machine without periodic multi-step local updates or inter-client heterogeneity, from SlowMo (AIMech:SlowMoSlowMomentumForCommunicationEfficientDistributedSgd, Wang et al. 2020), which applies klassical Polyak momentum only at the outer server synchronization step with O(epsilon^{-2}) sample complexity, and from MIME (AIMech:MimeMimickingCentralizedStochasticAlgorithmsInFederatedLearning, Karimireddy et al. 2021), which holds server statistics fixed during local steps.
Claims & Grounded Evidence
4 Claims
Mechanism
#r432-sample-and-communication-complexity-tradeoff-curve-theorem
By setting the local update period I = O((T / K^2)^{nu / 3}) and minibatch size b = O((T / K^2)^{1/2 - nu / 2}) for any trade-off parameter nu in [0, 1], STEM achieves E||nabla f(bar_x_a)||^2 = O_tilde(1 / (K^{2 nu / 3} T^{1 - nu / 3})) (Theorem 3.1), simultaneously attaining near-optimal per-client sample complexity O_tilde(K^{-1} epsilon^{-3/2}) (total O_tilde(epsilon^{-3/2})) and communication complexity O_tilde(epsilon^{-1}) across the entire spectrum nu in [0, 1] without requiring large O(epsilon^{-1}) minibatches when nu = 1 (b = O(1), I = O((T / K^2)^{1/3}), Corollary 3.2).
Mechanism
#r432-fedavg-minibatch-local-step-tradeoff-comparison
In contrast, momentum-less FedAvg along the trade-off curve I = O((T / K^3)^{nu / 6}) and b = O((T / K^3)^{1/3 - nu / 3}) achieves only E||nabla f(bar_x_a)||^2 = O(1 / (K^{nu / 2} T^{2/3 - nu / 6})), requiring O(K^{-1} epsilon^{-2}) per-client samples and O(epsilon^{-3/2}) communication rounds for every nu in [0, 1] (Theorem 3.2, Corollary 3.3).
Limitation
#r432-two-gradient-evaluations-per-minibatch-and-dual-payload-limitation
Requires two stochastic gradient evaluations per local step on the same minibatch B_t^{(k)} (at x_t^{(k)} and x_{t-1}^{(k)}) under mean-squared smoothness, and doubles communication payload at synchronization rounds by transmitting both x_t^{(k)} and d_t^{(k)}.
Application
#r432-heterogeneous-cifar10-and-mnist-cnn-federated-training-application
Applied to federated non-IID training of convolutional neural networks on MNIST and CIFAR-10 across heterogeneous client partitions, outperforming FedAvg, SCAFFOLD, and server-only momentum baselines across varying minibatch sizes and local periods.
⚠️ Curated Limitations & Negative Results
- Requires mean-squared L-smoothness (evaluating gradients at x_t^{(k)} and x_{t-1}^{(k)} on the same stochastic minibatch).
- Full client participation is assumed in the base two-sided momentum reset.
Artificial Intelligence Ontology (AIO) Grounding
Mapped AIO Classes
| AIO Target Class | Mapping Relation | Mapping Rationale |
|---|---|---|
AIO:FederatedLearning
Federated Learning
|
narrow_match | STEM is a specialized federated optimization algorithm that synchronizes two-sided recursive momentum across clients and server. |
Evidence Sources & Primary Literature
3 Sources| Source ID | Publication / Document | Type / Access | Reference & Checksum |
|---|---|---|---|
r432-primary-pdf
|
Prashant Khanduri, Pranay Sharma, Haibo Yang, Mingyi Hong, Jia Liu, Ketan Rajawat, Pramod K. Varshney
|
primary paper
full_text
|
ID: https://proceedings.neurips.cc/paper/2021/hash/301ad0e3bd5cb1627a2044908a42fdc2-Abstract.html
sha256:c1390f141ee0…
|
r432-arxiv-abs
|
Prashant Khanduri, Pranay Sharma, Haibo Yang, Mingyi Hong, Jia Liu, Ketan Rajawat, Pramod K. Varshney
|
primary paper
abstract_only
|
ID: https://arxiv.org/abs/2106.10435
sha256:4d61bf09bd7e…
|
r432-metadata-cr
|
Prashant Khanduri, Pranay Sharma, Haibo Yang, Mingyi Hong, Jia Liu, Ketan Rajawat, Pramod K. Varshney
|
primary paper
abstract_only
|
ID: https://proceedings.neurips.cc/paper/2021/hash/301ad0e3bd5cb1627a2044908a42fdc2-Abstract.html
sha256:be042ce30d5e…
|
Ontology & Grounding Topology
Open in interactive network graph →Curation Provenance
Curator: Antigravity
Method: ai_assisted
Model: Gemini
Created: 2026-10-19T08:35:00Z
Updated: 2026-10-19T08:35:00Z
Source File:
data/curated/StemStochasticTwoSidedMomentumForFederatedLearning.yaml
· Schema:
curated_concept.yaml
Explore across X-Mech
Related computational & biological Mechs:
Embedding Map
Network Graph
ProteinTraitsMech (ESM-2 pLM)
DUFMech (Domain pLM)
TraitMech
CultureMech
All 14 X-Mech Repositories