{"title":"Differential private federated learning with per-sample adaptive clipping and layer-wise gradient perturbation","authors":"Jiangyong Yuan, Yong Chen","doi":"10.1016/j.comnet.2025.111139","DOIUrl":null,"url":null,"abstract":"<div><div>In Federated Learning (FL), Differential Privacy Stochastic Gradient Descent (DPSGD) is typically applied on the client side to ensure sample-level privacy during local model training. Before updating the local model, this method clips gradients to a predefined value, limiting each sample's contribution. Therefore, carefully adjusting the gradient clipping threshold is crucial for achieving high accuracy of local models under DP constraints. However, there is no predetermined optimal clipping norm setting for different tasks and learning environments, necessitating further investigation to optimize it. Meanwhile, the tradeoff between privacy and accuracy remains a critical challenge. In this paper, we propose a differentially private federated learning framework, DP-PSAC-FL, that utilizes a per-sample adaptive clipping technique, employing an adaptive clipping threshold method instead of a fixed clipping threshold. This framework guarantees sample-level differential privacy, enhances global performance, and eliminates the need for hyperparameter adjustment of the clipping threshold. To further reduce the accuracy degradation caused by noise, we design a layer-wise gradient perturbation strategy. This approach selectively applies noise perturbation to random gradient layers, while keeping the remaining layers unaffected, thereby minimizing the impact of noise on overall performance and maintaining a better balance between privacy and accuracy. Extensive experiments on five real-life datasets demonstrate that our framework effectively balances privacy, model accuracy, and time efficiency.</div></div>","PeriodicalId":50637,"journal":{"name":"Computer Networks","volume":"261 ","pages":"Article 111139"},"PeriodicalIF":4.4000,"publicationDate":"2025-02-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Networks","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1389128625001070","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0
Abstract
In Federated Learning (FL), Differential Privacy Stochastic Gradient Descent (DPSGD) is typically applied on the client side to ensure sample-level privacy during local model training. Before updating the local model, this method clips gradients to a predefined value, limiting each sample's contribution. Therefore, carefully adjusting the gradient clipping threshold is crucial for achieving high accuracy of local models under DP constraints. However, there is no predetermined optimal clipping norm setting for different tasks and learning environments, necessitating further investigation to optimize it. Meanwhile, the tradeoff between privacy and accuracy remains a critical challenge. In this paper, we propose a differentially private federated learning framework, DP-PSAC-FL, that utilizes a per-sample adaptive clipping technique, employing an adaptive clipping threshold method instead of a fixed clipping threshold. This framework guarantees sample-level differential privacy, enhances global performance, and eliminates the need for hyperparameter adjustment of the clipping threshold. To further reduce the accuracy degradation caused by noise, we design a layer-wise gradient perturbation strategy. This approach selectively applies noise perturbation to random gradient layers, while keeping the remaining layers unaffected, thereby minimizing the impact of noise on overall performance and maintaining a better balance between privacy and accuracy. Extensive experiments on five real-life datasets demonstrate that our framework effectively balances privacy, model accuracy, and time efficiency.
期刊介绍:
Computer Networks is an international, archival journal providing a publication vehicle for complete coverage of all topics of interest to those involved in the computer communications networking area. The audience includes researchers, managers and operators of networks as well as designers and implementors. The Editorial Board will consider any material for publication that is of interest to those groups.