arXiv:2608.23286cs.LGAug 2026

Manuscript Offprint

arXiv:2608.23286

How Much Regularization Survives Averaging? Update Masking in Federated Learning

Wenhao Yan, Fu Kuroda, Yucheng Jin, Zhenke Chen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

1st1^{st} Wenhao Yan

2nd2^{nd} Fu Kuroda

Faculty of Science & Technology

Faculty of Science & Technology

Sophia University

Tokyo, Japan

wh_yan@eagle.sophia.ac.jp

3rd3^{rd} Yucheng Jin

4th4^{th} Zhenke Chen ∗^{*}

Technical R&D Department

Technical R&D Department

Shendian Energy Co., Ltd.

Shendian Energy Co., Ltd.

Lishui, China

Lishui, China

15010330370@163.com

f-kuroda-5a8@eagle.sophia.ac.jp

chanzzkk@gmail.com

Abstract—Federated learning on non-IID data seeks flat minima to generalize across clients, and existing methods borrow sharpness-aware minimization from centralized training. There is a second way to reach flat minima, in which the regularization comes for free from noise added to the parameter updates, and it has never been carried over to the federated setting as an implicit regularizer. We show the reason. Masking charges the optimizer for moving in sharp directions. We prove that when each client draws its own mask, federated averaging weakens that charge by exactly the cohort size, and that giving every client the same mask brings it back by a factor equal to the inverse gradient diversity of the cohort. In our experiment setting on CIFAR-10, that factor is 1.19 out of a possible 10. Turning off minibatch sampling raises it to 8.96, while changing data heterogeneity a thousandfold leaves it between 1.17 and 1.50. The configurations keeping the regularization train far too poorly to use.

Index Terms—federated learning, gradient diversity, implicit regularization, update masking

I. INTRODUCTION

Federated learning (FL) trains a shared model across clients that cannot pool their data [1]. When those clients hold non-identically distributed data, the aggregated model is required to exhibit generalization performance across distributions it never sees jointly. Consequently, extensive research has pursued flat minima as the way to facilitate that generalization. Notable works along this direction include FedSAM [2], FedSMOO [3], and FedGAMMA [4], importing sharpness-aware minimization from centralized training.

However, centralized training also offers a second route to flat minima, which has not been taken in FL as an implicit regularizer so far. Rather than explicitly perturbing the loss function, this kind of approaches operates directly on the update dynamics, including dropout, additive gradient noise, and most recently block-wise update masking, which discards entire parameter blocks randomly and rescales the survivors to stay unbiased, all of which induce an implicit curvature penalty through the variance of the perturbation. Masking is the sharpest instance, since discarding half of each update vector consistently outperforms most advanced dense optimizers in large language model (LLM) pre-training [5]. Dropout and additive noise do appear in FL, as a means of reducing client compute [6] and as a privacy mechanism [7] respectively, but not for the curvature penalty they induce. In this paper, we find that this phenomenon is not an oversight.

Our contributions are summarized as follows.

  1. We show that under FedAvg with independent per-client masks, the curvature penalty induced by masking is attenuated by exactly the cohort size, and we derive the resulting penalty.

  2. Synchronizing the mask across clients restores the penalty, by a factor equal to the reciprocal of the cohort's gradient diversity. That factor reaches the cohort size at peak, and drops below one when client updates cancel, then synchronizing hurts the model performance.

  3. Measuring that factor on CIFAR-10 with FedAvg, we find it near its lower bound. Minibatch sampling noise is what actually holds it there. Data heterogeneity does not.