28 January 2026 in IEEE Internet of Things Journal
Federated learning (FL), a promising paradigm for distributed machine learning, facilitates collaborative model training while preserving data locally for enhanced privacy. Nevertheless, its widespread application in edge computing scenarios is increasingly challenged by poisoning attacks, wherein malicious adversaries compromise model convergence through contamination of local datasets or model parameters. Currently, existing Byzantine-robust FL methods predominantly rely on idealized assumption of independent and identically distributed (IID) data or necessitate access to raw gradients—introducing significant privacy risks. To overcome these limitations, we propose privacy-preserving FL method against poisoning attacks on non-IID data (PFLAP). Inspired by community detection principles, we adaptively partition edge nodes with non-IID data into clusters exhibiting similar data distributions. Building upon this foundation, we develop a novel poisoning defense scheme that integrates scaled dot-product attention with linear homomorphic encryption, enabling detection of encrypted poisoning gradients. Security analysis proves that PFLAP provides rigorous privacy preservation, and extensive experiments demonstrate that compared with existing defense schemes, PFLAP improves accuracy by 8.57%–34.42% under highly non-IID settings, exhibits stronger resistance against both targeted and untargeted attacks, and reduces computational overhead by 6.1%–10.2% and communication overhead by 11.4%–17.4%.