# Unknown Attack Detection in IoT Networks using Large Language Models: A Robust, Data-efficient Approach

Source: [Unknown Attack Detection in IoT Networks using Large Language Models: A Robust, Data-efficient Approach](<https://www.sota2.com/research/paper/698eb056c97a0b3e3b5e6945>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2026-02-14T05:00:14.824Z

Authors: Shan Ali, Feifei Niu, Paria Shirani, Lionel C. Briand

Published: 2026-02-12T17:15:39.000Z

## Abstract

The rapid evolution of cyberattacks continues to drive the emergence of unknown (zero-day) threats, posing significant challenges for network intrusion detection systems in Internet of Things (IoT) networks. Existing machine learning and deep learning approaches typically rely on large labeled datasets, payload inspection, or closed-set classification, limiting their effectiveness under data scarcity, encrypted traffic, and distribution shifts. Consequently, detecting unknown attacks in realistic IoT deployments remains difficult. To address these limitations, we propose SiamXBERT, a robust and data-efficient Siamese meta-learning framework empowered by a transformer-based language model for unknown attack detection. The proposed approach constructs a dual-modality feature representation by integrating flow-level and packet-level information, enabling richer behavioral modeling while remaining compatible with encrypted traffic. Through meta-learning, the model rapidly adapts to new attack types using only a small number of labeled samples and generalizes to previously unseen behaviors. Extensive experiments on representative IoT intrusion datasets demonstrate that SiamXBERT consistently outperforms state-of-the-art baselines under both within-dataset and cross-dataset settings while requiring significantly less training data, achieving up to \\num{78.8}\\% improvement in unknown F1-score. These results highlight the practicality of SiamXBERT for robust unknown attack detection in real-world IoT environments.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Unknown Attack Detection on IoT-23 (test)](<https://www.sota2.com/research/sota/unknown-attack-detection-on-iot-23-test.md>): Unknown attack detection; IoT-23 (test); W-F1: 0.657.

- [Unknown Attack Detection on IoT-23](<https://www.sota2.com/research/sota/unknown-attack-detection-on-iot-23.md>): Unknown attack detection; IoT-23; C&C-FD: 91.4.

- [Unknown Attack Detection on CICIoT 2023](<https://www.sota2.com/research/sota/unknown-attack-detection-on-ciciot-2023.md>): Unknown attack detection; CICIoT 2023; Backdoor Error: 0.266.

- [Known IoT Attack Detection on CICIoT 2023](<https://www.sota2.com/research/sota/known-iot-attack-detection-on-ciciot-2023.md>): Known IoT Attack Detection; CICIoT 2023; Precision: not recorded.

- [Known IoT Attack Detection on IoT-23](<https://www.sota2.com/research/sota/known-iot-attack-detection-on-iot-23.md>): Known IoT Attack Detection; IoT-23; Precision: not recorded.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2602.12183>)

[PDF](<https://arxiv.org/pdf/2602.12183.pdf>)
