A Transformer-Based Framework for DDoS Attack Detection via Temporal Dependency and Behavioral Pattern Modeling
Yi Li, Xingzhou Deng, Ang Yang, Jing Gao
Dalian Neusoft University of Information · Dalian Maritime University
Key points
From the paper's conclusion- This study provides a new solution for real-time DDoS detection and holds significant practical implications for cybersecurity systems.
Abstract
With the escalating global cyber threats, Distributed Denial of Service (DDoS) attacks have become one of the most disruptive and prevalent network attacks. Traditional DDoS detection systems face significant challenges due to the unpredictable nature, diverse protocols, and coupled behavioral patterns of attack traffic. To address this issue, this paper proposes a novel approach for DDoS attack detection by leveraging the Transformer architecture to model both temporal dependencies and behavioral patterns, significantly improving detection accuracy. We utilize the global attention mechanism of the Transformer to effectively capture long-range temporal correlations in network traffic, and the model’s ability to process multiple traffic features simultaneously enables it to identify nonlinear interactions. By reconstructing the CIC-DDoS2019 dataset, we strengthen the representation of attack behaviors, enabling the model to capture dynamic attack patterns and subtle traffic anomalies. This approach represents a key contribution by applying Transformer-based self-attention mechanisms to accurately model DDoS attack traffic, particularly in handling complex and dynamic attack patterns. Experimental results demonstrate that the proposed method achieves 99.9% accuracy, with 100% precision, recall, and F1 score, showcasing its potential for high-precision, low-false-alarm automated DDoS attack detection. This study provides a new solution for real-time DDoS detection and holds significant practical implications for cybersecurity systems.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Deep Learning Utilization for DDoS Attack Detection with Federated Learning: A Case Study on the CICDDoS2019 DatasetEngineering Technology & Applied Science Research · 2026
- Cloud-based DDoS detection using hybrid feature selection with deep reinforcement learning (DRL)Scientific Reports · 2025
- Understanding Statistical and Temporal Representations for Large-Scale IoT DDoS Detection Through Ablation-Driven AnalysisJournal of Computing Theories and Applications · 2026
- Capacity‐Scalable Attention‐Fused Hybrid Deep Network With Selective SHAP for DDoS Detection in Software‐Defined NetworksJournal of Electrical and Computer Engineering · 2026
- EDCRAN: an enhanced dual-channel residual attention network for real-time DDoS attack detection in IoTPeerJ Computer Science · 2026
- Adaptive multi-view transformer ensemble for intrusion detection: Addressing data imbalance and enhancing attack classificationInternet of Things · 2026