计算机与现代化 ›› 2023, Vol. 0 ›› Issue (04): 123-126.

• 信息安全 • 上一篇    

结合粒子群优化和LightGBM的入侵检测方法

  

  1. (国网江苏省电力有限公司苏州供电分公司,江苏 苏州 215004)
  • 出版日期:2023-05-09 发布日期:2023-05-09
  • 作者简介:潘裕庆(1976—),男,江苏苏州人,高级工程师,学士,研究方向:计算机应用,网络通信,E-mail: 13862159678@163.com; 张苏宁(1973—),女,江苏南通人,高级工程师,研究方向:软件智能化,信息安全,E-mail: 13646207157@163.com;冯仁君(1989—),男,江苏盐城人,工程师,硕士,研究方向:网络安全,智能化信息系统,E-mail: frj1989@126.com; 通信作者:景栋盛(1981—),男,江苏苏州人,高级工程师,硕士,研究方向:软件智能化,信息安全,E-mail: jds19810119@163.com。
  • 基金资助:
    江苏省高等学校自然科学研究项目重大项目(17KJA520004)

Intrusion Detection Method Based on Particle Swarm Optimization Combined with LightGBM

  1. (Suzhou Power Supply Branch, State Grid Jiangsu Electric Power Limited Company, Suzhou 215004, China)
  • Online:2023-05-09 Published:2023-05-09

摘要: 随着互联网的发展,人们在享受互联网带来的诸多便利之外,同时也面临着许多威胁,如蠕虫、木马等。为了抵御上述恶意攻击,入侵检测系统应运而生。通过检测当前网络中的异常情况,入侵检测系统能有效检测各项攻击进而采取对应措施。然而,传统的机器学习算法在入侵检测模型中准确率并不高,为此,提出一种基于粒子群优化和LightGBM的入侵检测方法,使用LightGBM方法搭建入侵检测模型,采用粒子群算法优化LightGBM的参数。实验表明,本文提出的方法能够有效提升效果,准确率达98.61%、精确率达98.25%、召回率达99.17%、F1值达98.70%。

关键词: 入侵检测, 粒子群优化, LightGBM, 网络安全, 决策树

Abstract: With the development of the Internet, people enjoy the many conveniences it brings, but also face many threats, such as worms and Trojan horses. To defend against these malicious attacks, intrusion detection systems have been created. By detecting anomalies in the current network, intrusion detection systems can effectively detect attacks and take countermeasures. However, the accuracy of traditional machine learning algorithms in intrusion detection models is not high. Based on this, this paper proposes an intrusion detection model based on particle swarm optimization and LightGBM, specifically, an intrusion detection model is constructed by using the LightGBM method and a particle swarm algorithm is used to optimize the parameters of LightGBM. Experiments show that the method proposed in this paper can effectively improve the accuracy of the model, with 98.61% of accuracy, 98.25% of precision, 99.17% of recall rate and 98.70% of F1 score.

Key words: intrusion detection, particle swarm optimization, LightGBM, network security, decision tree