AIMech AI

FedSAM and FedASAM (Sharpness-Aware Minimization and Server Stochastic Weight Averaging for Federated Learning)

Algorithms AIMech:FedSamAndFedAsamSharpnessAwareMinimizationAndStochasticWeightAveragingForFederatedLearning DRAFT
Aliases: FedSAM, FedASAM, Federated Sharpness-Aware Minimization, Federated Adaptive Sharpness-Aware Minimization
A sharpness-aware federated optimization framework (Caldarola, Caputo, & Ciccone 2022, Sections 3-4, Equations 1-5, Algorithm 1) that mitigates sharp-landscape misalignment across statistically heterogeneous clients by replacing local client SGD with Sharpness-Aware Minimization (FedSAM, perturbing local weights by epsilon^hat_k(w) = rho * grad L_k(w) / ||grad L_k(w)||_2, Equation 3) or Adaptive Sharpness-Aware Minimization (FedASAM, using scale-invariant normalization operator T_w^i = diag(|w|) so epsilon^tilde_k(w) = rho * T_w^2 grad L_k(w) / ||T_w grad L_k(w)||_2, Equation 5), combined on the server side with cyclic-learning-rate Stochastic Weight Averaging (SWA, w_SWA <- (w_SWA * n_models + w^{t+1}) / (n_models + 1) every c rounds starting at fraction s of total rounds, Algorithm 1).
Identity Notes & Concept Scope Distinct from centralized SAM (AIMech:SharpnessAwareMinimization, Foret et al. 2021) and centralized SWA (AIMech:StochasticWeightAveraging, Izmailov et al. 2018), which operate on a single centralized model without cross-client parameter averaging or heterogeneous client drift; and distinct from FedSpeed (AIMech:FedSpeedProxCorrectionAndGradientPerturbationForFederatedLearning, Sun et al. 2023), which combines a local proximal regularizer and prox-correction momentum variable g^hat_i^t with unnormalized extra-gradient perturbation rather than scale-invariant ASAM and server-side cyclic SWA.

Claims & Grounded Evidence

4 Claims
Mechanism #r454-local-sam-and-scale-invariant-asam-perturbation-mechanism
Drives each participating client k toward wider, lower-curvature basins (measured by reduced maximum Hessian eigenvalue lambda_max and trace Tr(H)) by evaluating local gradients at the adversarially perturbed point w + epsilon^hat_k(w) under Euclidean ball radius rho (FedSAM, Equation 3) or parameter-scale-normalized radius ||T_w^{-1} epsilon||_2 <= rho (FedASAM, Equations 4-5), reducing the loss barrier when heterogeneous client models are averaged on the server.
Scope #r454-server-side-cyclic-swa-aggregation-scope
Integrates server-side Stochastic Weight Averaging (SWA) after an initial warmup fraction s of total communication rounds by cycling the server-broadcast learning rate between alpha_1 and alpha_2 over cycle length c and updating the running average w_SWA <- (w_SWA * n_models + w^{t+1}) / (n_models + 1) at the minimum of each cycle without increasing client-server communication cost.
Limitation #r454-two-forward-backward-passes-per-local-step-limitation
Doubles the local per-minibatch backpropagation cost on participating clients because each local step requires one gradient evaluation to compute the ascent perturbation epsilon^hat_k(w) and a second gradient evaluation at w + epsilon^hat_k(w).
Application #r454-heterogeneous-federated-vision-generalization-application
Applied to heterogeneous cross-device federated vision benchmarks including CIFAR-10, CIFAR-100, Federated Extended MNIST (FEMNIST), and Landmarks-User-160k using GroupNorm-equipped ResNet and MobileNetV2 architectures.

⚠️ Curated Limitations & Negative Results

Artificial Intelligence Ontology (AIO) Grounding

Mapped AIO Classes
AIO Target Class Mapping Relation Mapping Rationale
AIO:FederatedLearning
Federated Learning
narrow_match FedSAM and FedASAM are federated learning optimization methods that combine client-side sharpness-aware minimization with server-side stochastic weight averaging.

Evidence Sources & Primary Literature

3 Sources
Source ID Publication / Document Type / Access Reference & Checksum
r454-primary-pdf
Debora Caldarola, Barbara Caputo, Marco Ciccone
primary paper
full_text
ID: https://doi.org/10.1007/978-3-031-20050-2_38
sha256:729ea4595a15…
r454-arxiv-abs
Debora Caldarola, Barbara Caputo, Marco Ciccone
primary paper
abstract_only
ID: https://arxiv.org/abs/2203.11834
sha256:cdc3282809a3…
r454-metadata-cr
Debora Caldarola, Barbara Caputo, Marco Ciccone
primary paper
abstract_only
ID: https://doi.org/10.1007/978-3-031-20050-2_38
sha256:f1e4e31eab3d…

Ontology & Grounding Topology

Open in interactive network graph →
CONCEPT KIND Algorithms AIMech:FedSamAndFedAsamSharpnessAwareMinimizationAndStochasticWeightAveragingForFederatedLearning FedSAM and FedASAM... 4 claims · 3 sources AIO GROUNDING AIO:FederatedLearning (1)

Curation Provenance

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