AIMech AI

SLSGD Secure Local Stochastic Gradient Descent with Trimmed Mean and Moving Average

Algorithms AIMech:SlsgdSecureLocalStochasticGradientDescentWithTrimmedMeanAndMovingAverage DRAFT
Aliases: SLSGD, Secure Local Stochastic Gradient Descent, Secure Local SGD
A Byzantine-resilient communication-efficient distributed on-device optimization algorithm proposed by Xie, Koyejo, and Gupta (ECML-PKDD 2019) that generalizes Federated Averaging and Local SGD to non-IID data, heterogeneous local iteration counts, and data-poisoned or compromised workers by aggregating sampled local models with a coordinate-wise b-trimmed mean and updating the global model via a server-side exponential moving average.
Identity Notes & Concept Scope Distinct from single-step synchronous Coordinate-Wise Median and Trimmed Mean Gradient Aggregation (AIMech:CoordinateWiseMedianAndTrimmedMeanByzantineRobustGradientAggregation, which aggregates single-step gradients without multi-step local SGD updates or server-side moving-average variance reduction) and from standard Federated Averaging / Local SGD (which corresponds to SLSGD Option I with b = 0 and alpha = 1). SLSGD (Xie et al., ECML-PKDD 2019, pp. 213-228 / arXiv:1903.06996, Algorithm 1, p. 6) samples a subset S_t of k workers in each global epoch t, runs H_t^i >= H_{min} heterogeneous local SGD iterations x_{t,h}^i <- x_{t,h-1}^i - gamma nabla f(x_{t,h-1}^i; z_{t,h}^i) from x_{t,0}^i = x_{t-1} on each device i in S_t, aggregates the resulting local models via coordinate-wise b-trimmed mean x_t' = Trmean_b({x_{t,H_t^i}^i : i in S_t}) = (1 / (k - 2b)) sum_{i=b+1}^{k-b} u_{i:k} (Option II, Definition 3), and updates the global model via the moving average x_t <- (1 - alpha) x_{t-1} + alpha x_t' (with alpha in (0, 1]).

Claims & Grounded Evidence

4 Claims
Mechanism #slsgd-two-level-trimmed-mean-model-aggregation-and-moving-average-update
In each global epoch t, SLSGD activates k randomly sampled devices S_t to perform H_t^i >= H_{min} local SGD steps and applies two levels of server-side defense: (1) Option II aggregates the pushed local models via the coordinate-wise b-trimmed mean x_t' = Trmean_b({x_{t,H_t^i}^i : i in S_t}) = (1/(k-2b)) sum_{i=b+1}^{k-b} u_{i:k}, and (2) updates the global model via a moving average x_t <- (1 - alpha) x_{t-1} + alpha x_t' that simultaneously dampens robust-aggregation error and local-update drift.
Scope #slsgd-non-iid-convergence-and-poisoning-error-bound-theorem
Whereas standard Local SGD / FedAvg (Option I with alpha = 1) suffers unbounded expected error under model replacement by q_1 poisoned workers (Proposition 1), Theorem 2 proves that for 2q <= 2b < k and step size gamma <= min(1/L, 2), SLSGD with Option II converges on L-smooth mu-lower-bounded Taylor functions at rate (1 - alpha + alpha(1 - gamma/2)^{H_{min}})^T [F(x_0) - F(x_*)] up to an error neighborhood O(V_1) + O(beta V_2) with beta = 1 + 1/(k-q) - 1/n + k(k+b)/(k-b-q)^2.
Limitation #slsgd-per-epoch-sampled-byzantine-minority-and-trimmed-variance-limitation
SLSGD requires that the number of poisoned workers q among the k sampled devices in each epoch satisfy 2q <= 2b < k, and increasing the trimming parameter b or decreasing the moving-average weight alpha trades off convergence speed against variance and poisoning tolerance through the factor k(k+b)/(k-b-q)^2.
Application #slsgd-on-device-federated-vision-and-language-modeling-application
Applied to attack-tolerant on-device distributed training of convolutional neural networks on balanced and unbalanced non-IID CIFAR-10 partitions and LSTM language models on WikiText-2 under label-flipping and label-permutation data poisoning.

⚠️ Curated Limitations & Negative Results

Artificial Intelligence Ontology (AIO) Grounding

Mapped AIO Classes
AIO Target Class Mapping Relation Mapping Rationale
AIO:FederatedLearning
Federated Learning
broad_match AIO:FederatedLearning is the broad decentralized on-device learning paradigm that SLSGD generalizes with trimmed-mean model aggregation and server-side moving-average updates.

Evidence Sources & Primary Literature

3 Sources
Source ID Publication / Document Type / Access Reference & Checksum
r535-primary-pdf
Cong Xie, Oluwasanmi Koyejo, Indranil Gupta
primary paper
full_text
ID: https://dblp.org/rec/conf/pkdd/XieKG19.xml
sha256:0e457aa62e92…
r535-arxiv-abs
Cong Xie, Oluwasanmi Koyejo, Indranil Gupta
primary paper
abstract_only
ID: https://arxiv.org/abs/1903.06996
sha256:6fdba080dca2…
r535-metadata-cr
Cong Xie, Oluwasanmi Koyejo, Indranil Gupta
primary paper
abstract_only
ID: https://dblp.org/rec/conf/pkdd/XieKG19.xml
sha256:cc894f0e1d8d…

Ontology & Grounding Topology

Open in interactive network graph →
CONCEPT KIND Algorithms AIMech:SlsgdSecureLocalStochasticGradientDescentWithTrimmedMeanAndMovingAverage SLSGD Secure Local... 4 claims · 3 sources AIO GROUNDING AIO:FederatedLearning (1)

Curation Provenance

Curator: Antigravity
Method: ai_assisted
Model: Gemini
Created: 2026-10-19T10:18:00Z
Updated: 2026-10-19T10:18:00Z
Source File: data/curated/SlsgdSecureLocalStochasticGradientDescentWithTrimmedMeanAndMovingAverage.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