APPLYING TRANSFORMER ARCHITECTURE TO ENHANCE ATTACK DETECTION PERFORMANCE IN INTRUSION DETECTION SYSTEMS

Intrusion Detection Systems (IDS) are crucial in safeguarding network security against increasingly sophisticated threats. In this study, we propose a Transformer-based intrusion detection model to enhance attack recognition performance. The UNSW-NB15 dataset is utilized for model training and evaluation. The data preprocessing pipeline includes handling missing values, encoding categorical features, normalizing numerical features, and splitting stratified training and testing sets. The Transformer model has three layers, leveraging self- attention mechanisms to capture relationships between network features. Experimental results demonstrate that the model achieves an accuracy of 98.26% and an F1-score of 95.80%, outperforming traditional methods such as Random Forest. Notably, despite exhibiting a higher false alarm rate, the model significantly reduces the number of undetected attacks. The Transformer demonstrates superior performance and strong potential for real-time cybersecurity applications compared to previous studies. Future research directions include enhancing the model’s interpretability, optimizing its deployment in resource-constrained environments, and extending its capability to detect zero-day attacks. Keywords: Intrusion detection; transformer; UNSW-NB15; cybersecurity; self-attention

Authors

Publication Details

Journal
Vinh University Journal of Science
Published
2025-06-20
DOI
https://doi.org/10.56824/vujs.2025a045a
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

APPLYING TRANSFORMER ARCHITECTURE TO ENHANCE ATTACK DETECTION PERFORMANCE IN INTRUSION DETECTION SYSTEMS

Daniel Truong, Tzu-Hsiang Yen, Hoang Ngoc Ha, VU Thi Phuong
Vinh University Journal of Science
Network Security and Intrusion Detection
article

APPLYING TRANSFORMER ARCHITECTURE TO ENHANCE ATTACK DETECTION PERFORMANCE IN INTRUSION DETECTION SYSTEMS

Daniel Truong, Tzu-Hsiang Yen, Hoang Ngoc Ha, VU Thi Phuong
article en

Abstract

Intrusion Detection Systems (IDS) are crucial in safeguarding network security against increasingly sophisticated threats. In this study, we propose a Transformer-based intrusion detection model to enhance attack recognition performance. The UNSW-NB15 dataset is utilized for model training and evaluation. The data preprocessing pipeline includes handling missing values, encoding categorical features, normalizing numerical features, and splitting stratified training and testing sets. The Transformer model has three layers, leveraging self- attention mechanisms to capture relationships between network features. Experimental results demonstrate that the model achieves an accuracy of 98.26% and an F1-score of 95.80%, outperforming traditional methods such as Random Forest. Notably, despite exhibiting a higher false alarm rate, the model significantly reduces the number of undetected attacks. The Transformer demonstrates superior performance and strong potential for real-time cybersecurity applications compared to previous studies. Future research directions include enhancing the model’s interpretability, optimizing its deployment in resource-constrained environments, and extending its capability to detect zero-day attacks. Keywords: Intrusion detection; transformer; UNSW-NB15; cybersecurity; self-attention

Vinh University Journal of ScienceVol. 54(2A)
Openalex Percentile: Top 81%
Network Security and Intrusion Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.