FedVSSAM: Mitigating Flatness Incompatibility in Sharpness-Aware Federated Learning
Bingnan XiaoYuan GaoBingcong LiWei NiXin WangTony Quek
Bingnan Xiao
Yuan Gao
Bingcong Li
Wei Ni
Xin Wang
Tony Quek
+6
Under data heterogeneity, device-side sharpness-aware minimization (SAM) in federated learning searches for locally flat basins that conflict with the flat region preferred by the global objective, a failure mode the authors call flatness incompatibility. They attribute it to data heterogeneity and the friendly adversary phenomenon, amplified by local updates and partial device participation, which explains why improving local flatness alone yields limited global gains. Their method, FedVSSAM, builds a variance-suppressed adjusted direction used consistently in local flatness search, local descent, and the global update, anchoring perturbation and update directions to a more stable global direction rather than correcting an isolated local perturbation. They provide non-convex convergence guarantees and bound the mean-square deviation between the adjusted direction and the global gradient, with experiments showing it mitigates flatness incompatibility and outperforms baselines across diverse federated settings.

OpenReview ·
· May 3, 2026