Novel transformer-based model for NID in fog computing environment
Khalil M. Abdelnaby, Ahmed Y. Khedr, Aly M. Elsemary
Al-Ahliyya Amman University · Al-Azhar University
Key points
From the paper's conclusion- The results of the conducted experiments reveal that the model achieves 100% accuracy, precision, recall, and F1-score on NSL-KDD dataset while it demonstrates 99.60% accuracy in binary classification and 95.37% in multiclass classification on IoT-20 dataset.
Abstract
In fog computing, efficient and accurate network intrusion detection (NID) is critical due to the unique security challenges of distributed architectures. This research proposes a novel Transformer-based framework for NID, leveraging advanced Transformer architectures to improve feature extraction and intrusion classification. The proposed model is intended to detect different types of attack related to the attack categories including Denial-of-Service, Probe, Remote-to-Local, and User-to-Root. The proposed model utilized both the NSL-KDD and IoT-20 datasets. The results of the conducted experiments reveal that the model achieves 100% accuracy, precision, recall, and F1-score on NSL-KDD dataset while it demonstrates 99.60% accuracy in binary classification and 95.37% in multiclass classification on IoT-20 dataset. To ensure the robustness and overfitting mitigation, the model utilized cross-validation, regularization, and adversarial testing. In addition, the inclusion of the IoT-20 dataset ensures relevance to contemporary network security challenges, while attention mechanisms and explainable AI techniques enhance interpretability and practical applicability. This study highlights the transformative potential of Transformer-based models for NID in fog computing, offering a robust, scalable, and interpretable solution for securing distributed architectures.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Transformer-Based Intrusion Detection on the NSL-KDD Benchmark: A Performance Assessment Against Conventional ClassifiersElectronics · 2026
- A multi-stage framework for scalable and context-aware intrusion detection in IoT-cloud systems using deep latent modeling and graph-based attack classificationComputers & Electrical Engineering · 2026
- A novel deep learning framework with temporal attention convolutional networks for intrusion detection in IoT and IIoT networksScientific Reports · 2025
- Interpretable intrusion detection for IoT environments using a self-attention-based explainable AI frameworkScientific Reports · 2025
- An enhanced deep learning framework for intrusion classification enterprise network using multi-branch CNN-attention architectureScientific Reports · 2025
- SecureRiskNet: An Advanced AI-Driven Framework for Intelligent Security Risk Detection in Heterogeneous Cloud-Fog Computing NetworksInternational Journal of Computational Intelligence Systems · 2026