Skip to content
Open access

Feature-guided transformer approach for detecting distributed denial of service attacks

Aug 2026 · IAES International Journal of Artificial Intelligence (IJ-AI) · 0 citations · 29 references

TL;DR

A transformer-based classifier for DDoS detection on the CIC-DDoS2019 dataset demonstrates stable convergence and generalization across folds, highlighting the strength of attention mechanisms in capturing feature dependencies, while also pointing to future directions such as real-time deployment, explainability, and resilience to zero-day attacks.

Abstract

Distributed denial of service (DDoS) attacks continues to pose serious risks to modern networks, with their growing intensity making early detection both critical and challenging. Conventional machine learning (ML) models often struggle with the nonlinear and highly dynamic nature of attack traffic, which motivates the use of advanced architectures. In this study investigate a transformer-based classifier for DDoS detection on the CIC-DDoS2019 dataset. The workflow included preprocessing, feature scaling, and domain-guided feature selection. Logistic regression (LR) was employed as a baseline, achieving 92.1% accuracy and F1-score of 0.90, thereby revealing the limitations of linear models. The transformer, after hyperparameter tuning and 5-fold cross-validation, reached an average accuracy of 99.95% with precision, recall, and F1-scores all above 99.9%. The model demonstrated stable convergence and generalization across folds. These results highlight the strength of attention mechanisms in capturing feature dependencies, while also pointing to future directions such as real-time deployment, explainability, and resilience to zero-day attacks.

Read PDF

Similar papers

Aug 2026

An Interpretable Neural Network Approach for Improved Denial-of-Service Attack Classification in Cloud Environments

The proposed explainable framework effectively combines imbalance-aware learning, relation-aware feature modeling, spike-based classification, and causal explainability to deliver accurate, efficient, and interpretable DoS attack detection suitable for real-time cloud security applications.

G. Gowri, B. Kumar · 0 citations
Open access Aug 2026

A hybrid machine and deep learning model for detecting DDoS attacks

A hybrid model combining Machine Learning and Deep Learning algorithms is introduced to enhance the detection of DDoS attacks, showing promising results in DDoS attack detection scenarios.

E. Hossny, Amal M. Al-Eryani, F. Omara · 0 citations
Open access Jul 2026

Imbalanced intrusion detection method using parrot optimization and DDIM-enhanced hybrid CNN-transformer

An intrusion detection framework integrating improved parrot optimization, latent denoising diffusion implicit models (DDIM) and a hybrid CNN-Transformer, which outperforms other mainstream intelligent algorithms in global optimal solution seeking with swifter convergence.

Huanchi Luo, Gen Li, Yong Tang · 0 citations
Conference Open access 2025

Deep Learning–Based Real-Time Detection of Distributed Denial-of-Service Attacks in Network Traffic

A deep learning-based real-time detection framework of DDoS attacks in network traffic that combines both Convolutional Neural Networks (CNNs) and Long Short-Term Memory (LSTM) networks in order to identify discriminative spatial characteristics of traffic patterns and sequence dependencies in the flow of packets.

D. K., M. K · 0 citations
Open access Aug 2026

AN ENHANCED SYSTEM FOR DETECTION OF DENIAL OF SERVICE ATTACKS IN DISTRIBUTED SYSTEMS USING DEEP LEARNING

An enhanced detection framework leveraging deep learning architectures, specifically combining Convolutional Neural Networks (CNN) and Long Short-Term Memory (LSTM) networks to analyze network traffic patterns, is introduced, demonstrating remarkable capability in identifying zero-day attack variants while maintaining...

S. Muthukumar, A.K. Ashfauk Ahamed · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.