Netinfo Security ›› 2024, Vol. 24 ›› Issue (2): 293-302.doi: 10.3969/j.issn.1671-1122.2024.02.012

Previous Articles     Next Articles

Federated Intrusion Detection Algorithm with Bilateral Correction Merging Gradient Difference

JIN Zhigang, DING Yu, WU Xiaodong()   

  1. School of Electrical and Information Engineering, Tianjin University, Tianjin 300072, China
  • Received:2023-12-28 Online:2024-02-10 Published:2024-03-06
  • Contact: WU Xiaodong E-mail:xdwu@tju.edu.cn

Abstract:

The increasingly diverse device composition and more flexible topology led to the testing of data heterogeneity and partial participation in federated intrusion detection systems, resulting in problems such as poor model generalization, over-fitting of local nodes, and catastrophic forgetting. In order to solve the above problems, this paper proposed a federated intrusion detection algorithm with bilateral correction merging gradient difference. The proposed algorithm used the gradient difference generated by node updates to correct the gradient’s update direction at both the server and the node. In the aggregation stage, the server fited the global gradient difference to correct the update direction of the global model, and used a momentum-like gradient update strategy to balance the global prior knowledge of each node and solve the problem of poor generalization. In the training stage, the node used local information, global information and historical information to correct the local model’s update direction to alleviate the problem of local over-fitting and catastrophic forgetting. The experiments by FedAvg(Federated Average) show that the proposed algorithm has excellent multi-class classification performance in a variety of federated scenarios. While protecting data privacy, the proposed algorithm effectively realizes network intrusion detection in complex federated environment.

Key words: intrusion detection, deep learning, federated learning, data heterogeneity

CLC Number: