Xiao Jue, Nie Hewang, Yi Zepu, Tang Xueming, Lu Songfeng
School of Cyber Science and Engineering, Huazhong University of Science and Technology, Wuhan 430074, China.
School of Cyber Science and Engineering, Huazhong University of Science and Technology, Wuhan 430074, China; Shenzhen Huazhong University of Science and Technology Research Institute, Shenzhen 518063, China.
Neural Netw. 2025 May;185:107199. doi: 10.1016/j.neunet.2025.107199. Epub 2025 Jan 27.
Federated Learning (FL) offers benefits in protecting client data privacy but also faces multiple security challenges, such as privacy breaches from unencrypted data transmission and poisoning attacks that compromise model performance, however, most existing solutions address only one of these issues. In this paper, we consider a more challenging threat model-the non-fully trusted model, wherein both malicious clients and honest-but-curious servers coexist. To this end, we propose a Federated Learning with Bilateral Defense via Blockchain (FedBASS) scheme that tackles both threats by implementing a dual-server architecture (Analyzer and Verifier), using CKKS encryption to secure client-uploaded gradients, and employing cosine similarity to detect malicious clients. Additionally, we address the problem of non-IID data by proposing a gradient compensation strategy based on dynamic clustering. To further enhance privacy during clustering, we propose a weakened differential privacy scheme augmented with shuffling. Moreover, in FedBASS, the communication process between servers is recorded on the blockchain to ensure the robustness and transparency of FedBASS and to prevent selfish behaviors by clients and servers. Finally, extensive experiments conducted on three datasets prove that FedBASS effectively achieves a balance among model fidelity, robustness, efficiency, privacy, and practicality.
联邦学习(FL)在保护客户端数据隐私方面具有优势,但也面临多种安全挑战,例如未加密数据传输导致的隐私泄露以及损害模型性能的中毒攻击。然而,大多数现有解决方案仅解决其中一个问题。在本文中,我们考虑一种更具挑战性的威胁模型——非完全可信模型,其中恶意客户端和诚实但好奇的服务器并存。为此,我们提出了一种基于区块链的双边防御联邦学习(FedBASS)方案,该方案通过实施双服务器架构(分析器和验证器)、使用CKKS加密来保护客户端上传的梯度以及采用余弦相似度来检测恶意客户端,从而应对这两种威胁。此外,我们通过提出一种基于动态聚类的梯度补偿策略来解决非独立同分布数据的问题。为了在聚类过程中进一步增强隐私保护,我们提出了一种通过洗牌增强的弱差分隐私方案。此外,在FedBASS中,服务器之间的通信过程记录在区块链上,以确保FedBASS的鲁棒性和透明度,并防止客户端和服务器的自私行为。最后,在三个数据集上进行的大量实验证明,FedBASS有效地在模型保真度、鲁棒性、效率、隐私性和实用性之间实现了平衡。