TY - EJOU AU - Cui, Lijun AU - Niu, Yongjie AU - Sun, Yuxiang AU - Gu, Xiaokang AU - Guo, Jing AU - Xu, Pengfei TI - WiFi-Based Indoor Intrusion Detection via Two-Level Gait Feature Fusion Model T2 - Computers, Materials \& Continua PY - VL - IS - SN - 1546-2226 AB - Indoor intrusion detection is essential for various applications, including security systems and smart homes. Recently, WiFi-based detection has gained popularity due to its low cost and non-invasive nature. Current Channel State Information (CSI) based frameworks primarily use deep learning to extract gait signatures; however, their performance depends heavily on extensive labeled datasets. These methods struggle to differentiate between unlabeled and labeled data that exhibit similar features. To address this challenge, we propose a novel Two-level Feature Fusion model for Indoor Intrusion Detection (TFF-IID) utilizing commercial WiFi CSI. The model adopts a two-level structure to learn rich feature representations and introduces a Transformer with multi-head self-attention alongside a multi-scale convolution module to process sensor data. Additionally, it incorporates a self-supervised learning module to capture general normality patterns. Based on this architecture, TFF-IID achieves accurate intrusion detection using only CSI. Empirical evaluations on a private gait dataset demonstrate that TFF-IID achieves an intrusion detection accuracy of 73.5% and an F1-score of 76.2% across 10 unauthorized subjects. Moreover, cross-scenario assessments verify that the proposed model maintains high efficiency and robustness in environments characterized by diverse spatial layouts and multipath complexities. Furthermore, TFF-IID outperforms the best baseline by 19.7% and 25.7% in accuracy and F1-score, respectively. KW - Intrusion detection; transformer; feature fusion; WIFI signal; CSI; multi-scale convolution module DO - 10.32604/cmc.2026.079691