• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science ›› 2025, Vol. 47 ›› Issue (11): 1984-1995.

• Computer Network and Znformation Security • Previous Articles     Next Articles

A federated learning secure aggregation algorithm based on one-class support vector machine

ZHU Hai,MIAO Xianghua,GUO Shifan,QING Yegui,SHANG You   

  1. (1.Faculty of Information Engineering and Automation,Kunming University of Science and Technology,Kunming 650504;
    2.Yunnan Key Laboratory of Computer Technology Application,Kunming 650504,China)
  • Received:2024-04-01 Revised:2024-07-21 Online:2025-11-25 Published:2025-12-08

Abstract: Federated learning has garnered significant attention in academia as it enables users to participate in model training without uploading their data. However, federated learning also faces various security challenges from malicious participants, such as Byzantine attacks and label flipping attacks. Existing defense methods exhibit diminished effectiveness under unevenly distributed data. To address these issues, this paper proposes a secure aggregation algorithm  in federated learning based on the one-class support vector machine (OC-SVM). This algorithm extracts appropriate feature parameters using OC-SVM and determines a threshold to separate normal data from anomalous data. Owing to its ability to construct an optimal hyperplane, the algorithm can effectively distinguish between normal and anomalous data. Moreover, it can select a more suitable threshold under different data conditions, demonstrating strong generalization capability and robustness. Through a series of experiments comparing the proposed algorithm with four different defense algorithms, the results show that, in environments with varying proportions of malicious clients and regardless of whether the data distribution is uniform or not, the proposed algorithm can effectively defend against attacks.


Key words: federated learning, Byzantine attack, label flipping attack, one-class support vector machine