Few-Shot Learning for IoT Intrusion Detection: An Attention-Based Siamese Network Approach
The Internet of Things (IoT) has garnered significant attention from both industries and the research community. The diverse nature of IoT devices makes them a prime target for cybercriminals. An intelligent intrusion detection system (IDS) can quickly identify multiple types of cyberattacks within an IoT system. However, operational efficiency and safety become challenging issues when managing limited labeled data in IoT networks. This article proposes a novel cyberattack detection scheme using few-shot learning (FSL). The proposed scheme employs a self-attention mechanism with a Siamese network that learns to recognize normal and malicious network traffic patterns through FSL. The Siamese network architecture facilitates efficient sample comparison by learning a shared representation. Incorporating an attention mechanism further enhances its ability to focus on discriminative features, improving attack detection accuracy for rapidly evolving intrusion patterns. The effectiveness of the proposed framework is evaluated through extensive experiments on the latest Edge-IIoTset dataset. The experimental findings demonstrate that the proposed IDS achieved the best accuracy of 99.75% with the complete dataset. In a few-shot performance evaluation, the designed architecture achieved the best accuracy of 78.69%, 81.19%, and 81.83% for 1 shot, 5 shots, and 10 shots, respectively.
Authors
- Muhammad Shahbaz Khan (ORCID: https://orcid.org/0000-0002-7166-6681)
- Shahid Latif (ORCID: https://orcid.org/0000-0002-6368-2729)
- Wadii Boulila (ORCID: https://orcid.org/0000-0003-2133-0757)
- Djamel Djenouri (ORCID: https://orcid.org/0000-0001-9333-9860)
- Jawad Ahmad (ORCID: https://orcid.org/0000-0001-6289-8248)
Institutions
- Prince Mohammad bin Fahd University (SA)
- Prince Sultan University (SA)
- University of the West of England (GB)
- Edinburgh Napier University (GB)
Publication Details
- Journal
- Procedia Computer Science
- Published
- 2025-01-01
- DOI
- https://doi.org/10.1016/j.procs.2025.09.581
- Citations
- 1
- Primary Topic
- Network Security and Intrusion Detection
- Type
- article
- Field-Weighted Citation Impact
- 1.49