FlowTransformer: A transformer framework for flow-based network intrusion detection systems

计算机科学 变压器 联营 推论 机器学习 人工智能 数据挖掘 工程类 电压 电气工程
作者
Liam Daly Manocchio,Siamak Layeghy,Wai Weng Lo,Gayan K. Kulatilleke,Mohanad Sarhan,Marius Portmann
出处
期刊:Expert Systems With Applications [Elsevier BV]
卷期号:241: 122564-122564 被引量:159
标识
DOI:10.1016/j.eswa.2023.122564
摘要

This paper presents the FlowTransformer framework, a novel approach for implementing transformer-based Network Intrusion Detection Systems (NIDSs). FlowTransformer leverages the strengths of transformer models in identifying the long-term behaviour and characteristics of networks, which are often overlooked by most existing NIDSs. By capturing these complex patterns in network traffic, FlowTransformer offers a flexible and efficient tool for researchers and practitioners in the cybersecurity community who are seeking to implement NIDSs using transformer-based models. FlowTransformer allows the direct substitution of various transformer components, including the input encoding, transformer, classification head, and the evaluation of these across any flow-based network dataset. To demonstrate the effectiveness and efficiency of the FlowTransformer framework, we utilise it to provide an extensive evaluation of various common transformer architectures, such as GPT 2.0 and BERT, on three commonly used public NIDS benchmark datasets. We provide results for accuracy, model size and speed. A key finding of our evaluation is that the choice of classification head has the most significant impact on the model performance. Surprisingly, Global Average Pooling, which is commonly used in text classification, performs very poorly in the context of NIDS. In addition, we show that model size can be reduced by over 50%, and inference and training times improved, with no loss of accuracy, by making specific choices of input encoding and classification head instead of other commonly used alternatives.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
王道远发布了新的文献求助100
1秒前
孝择完成签到 ,获得积分10
2秒前
cdercder完成签到,获得积分0
3秒前
葱姜蒜辣椒香菜我全要完成签到,获得积分10
4秒前
舒适采梦完成签到 ,获得积分10
5秒前
kaifangfeiyao完成签到 ,获得积分10
5秒前
舒适采梦关注了科研通微信公众号
8秒前
科研猫完成签到,获得积分10
13秒前
微笑的巧蕊完成签到 ,获得积分10
22秒前
清爽的人英完成签到,获得积分10
23秒前
DL_zhai完成签到,获得积分10
26秒前
爱米粒725完成签到 ,获得积分10
32秒前
机智雅山完成签到 ,获得积分10
33秒前
学术文献互助完成签到,获得积分0
37秒前
lianxin完成签到 ,获得积分10
38秒前
小悦完成签到 ,获得积分10
39秒前
华理附院孙文博完成签到 ,获得积分10
39秒前
HuanChen完成签到 ,获得积分10
44秒前
abtitw完成签到,获得积分10
51秒前
黄景滨完成签到 ,获得积分10
53秒前
梁芯完成签到 ,获得积分10
55秒前
HuangShuting完成签到,获得积分10
55秒前
耍酷的冷雪完成签到,获得积分10
55秒前
Windsyang完成签到,获得积分10
56秒前
1分钟前
yhjyhjyhj完成签到 ,获得积分10
1分钟前
孤独晓绿完成签到,获得积分10
1分钟前
碧蓝复天发布了新的文献求助10
1分钟前
percy完成签到 ,获得积分10
1分钟前
蟑先生完成签到 ,获得积分10
1分钟前
lorentzh完成签到,获得积分10
1分钟前
神通广大的MOMO完成签到,获得积分10
1分钟前
LMF完成签到 ,获得积分10
1分钟前
十五完成签到 ,获得积分10
1分钟前
白白不喽完成签到 ,获得积分10
1分钟前
小金牛完成签到 ,获得积分10
1分钟前
1分钟前
陈总完成签到 ,获得积分10
1分钟前
Hello应助科研通管家采纳,获得10
1分钟前
1分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Rosenblum, Global Change Biology 800
自動車の空力技術 800
Essentials of Carbohydrate Chemistry and Biochemistry, 4th Edition 800
Organizational Behavior 510
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 化学工程 工程类 有机化学 物理 复合材料 生物化学 内科学 细胞生物学 基因 遗传学 免疫学 冶金 光电子学 癌症研究
热门帖子
关注 科研通微信公众号,转发送积分 7778408
求助须知:如何正确求助?哪些是违规求助? 9318783
关于积分的说明 20366079
捐赠科研通 7365532
什么是DOI,文献DOI怎么找? 3319203
关于科研通互助平台的介绍 2467152
邀请新用户注册赠送积分活动 2334630