IJCNIS Vol. 18, No. 6, 8 Dec. 2026
Cover page and Table of Contents: PDF (size: 1584KB)
PDF (1584KB), PP.57-76
Views: 0 Downloads: 0
Intrusion Detection, Kolmogorov–Arnold Networks, Swin Transformer, ConvNeXt, Explainable AI, Deep Learning, Cybersecurity, Cross-Dataset Generalisation, Real-Time Deployment.
Network intrusion detection systems (NIDS) remain a critical line of defence against escalating cyber threats. While deep learning methods have achieved competitive detection accuracy, existing approaches suffer from limited interpretability, suboptimal feature fusion, and reliance on conventional multi-layer perceptron (MLP) classifiers. This paper proposes HybridSwinKAN, a dual-branch architecture that synergistically integrates Swin Transformer with Group-Rational Kolmogorov–Arnold Networks (GR-KAN) for global feature extraction, ConvNeXt blocks for local pattern capture, a dual-attention gating fusion mechanism for adaptive branch integration, and a B-Spline KAN classification head for inherently interpretable decision-making. The principal novelty of this work is not the individual use of Swin, ConvNeXt, or KAN — each of which exists in prior art — but rather their joint, end-to-end integration through three coupled mechanisms that have not previously been combined: (i) replacing the standard MLP feed-forward sub-layer of every Swin block with GR-KAN, yielding a 3–4× parameter reduction in the FFN while introducing learnable rational activations; (ii) a content-dependent dual-attention gating module that produces a per-sample, per-dimension fusion weight between the global Swin–KAN branch and the local ConvNeXt branch; and (iii) a stacked B-Spline KAN classification head whose learned spline activations are directly visualisable, providing inherent (rather than post-hoc) interpretability. Extensive experiments on four benchmark datasets (NSL-KDD, UNSW-NB15, CIC-IDS2017, and Kaggle Malware) show that HybridSwinKAN attains competitive accuracy of 99.90 %, with F1-scores of up to 99.91 % and a Matthews Correlation Coefficient of 0.9985. To rigorously evaluate generalisation and rule out dataset-specific bias, we additionally conduct cross-dataset transfer experiments (training on one dataset and testing on another), 5-fold stratified cross-validation, and a deployment-feasibility study reporting per-sample latency, throughput, model size, and GPU memory footprint suitable for security operations centre (SOC) deployment. Comprehensive ablation studies, statistical significance testing (Wilcoxon, Friedman–Nemenyi), and multi-method explainability analysis (SHAP, Integrated Gradients, KAN visualisation) validate the contribution of each architectural component and provide actionable insights for security analysts.
Amr H. Abdelhaliem, Mohammed Tawfik, Islam S. Fathi, "HybridSwinKAN: Dual-Branch Swin–ConvNeXt Architecture with KAN for Explainable Network Intrusion Detection", International Journal of Computer Network and Information Security(IJCNIS), Vol.18, No.6, pp. 57-76, 2026. DOI:10.5815/ijcnis.2026.06.03
[1]A. L. Buczak and E. Guven, "A survey of data mining and machine learning methods for cyber security intrusion detection," IEEE Commun. Surveys Tuts., vol. 18, no. 2, pp. 1153–1176, 2nd Quart. 2016.
[2]J. Lánský, S. Ali, M. Mohammadi, M. K. Majeed, S. H. T. Karim, S. Rashidi, M. Hosseinzadeh, and A. M. Rahmani, "Deep learning-based intrusion detection systems: A systematic review," IEEE Access, vol. 9, pp. 101574–101599, 2021.
[3]R. Vinayakumar, M. Alazab, K. P. Soman, P. Poornachandran, A. Al-Nemrat, and S. Venkatraman, "Deep learning approach for intelligent intrusion detection system," IEEE Access, vol. 7, pp. 41525–41550, 2019.
[4]M. Tavallaee, E. Bagheri, W. Lu, and A. A. Ghorbani, "A detailed analysis of the KDD CUP 99 data set," in Proc. IEEE Symp. Comput. Intell. Secur. Defense Appl. (CISDA), 2009, pp. 1–6.
[5]N. Moustafa and J. Slay, "UNSW-NB15: A comprehensive data set for network intrusion detection systems," in Proc. MilCIS, 2015, pp. 1–6.
[6]I. Sharafaldin, A. H. Lashkari, and A. A. Ghorbani, "Toward generating a new intrusion detection dataset and intrusion traffic characterization," in Proc. ICISSP, 2018, pp. 108–116.
[7]S. J. Stolfo, W. Fan, W. Lee, A. Prodromidis, and P. K. Chan, "Cost-based modeling for fraud and intrusion detection: Results from the JAM project," in Proc. DARPA DISCEX, vol. 2, 2000, pp. 130–144.
[8]K. Wu, Z. Chen, and W. Li, "A novel intrusion detection model for a massive network using convolutional neural networks," IEEE Access, vol. 6, pp. 50850–50859, 2018.
[9]C. Yin, Y. Zhu, J. Fei, and X. He, "A deep learning approach for intrusion detection using recurrent neural networks," IEEE Access, vol. 5, pp. 21954–21961, 2017.
[10]Y. Imrana, Y. Xiang, L. Ali, and Z. Abdul-Rauf, "A bidirectional LSTM deep learning approach for intrusion detection," Expert Syst. Appl., vol. 185, art. 115524, Dec. 2021.
[11]A. Halbouni, T. S. Gunawan, M. H. Habaebi, M. Halbouni, M. Kartiwi, and R. Ahmad, "CNN-LSTM: Hybrid deep neural network for network intrusion detection system," IEEE Access, vol. 10, pp. 99837–99849, 2022.
[12]Z. Liu, Y. Wang, S. Vaidya, F. Ruehle, J. Halverson, M. Soljačić, T. Y. Hou, and M. Tegmark, "KAN: Kolmogorov–Arnold Networks," arXiv:2404.19756, 2024.
[13]M. Abd Elaziz, I. A. Fares, and A. O. Aseeri, "CKAN: Convolutional Kolmogorov–Arnold networks model for intrusion detection in IoT environment," IEEE Access, vol. 12, pp. 134837–134851, 2024.
[14]Z. Wang, A. Zainal, M. Md Siraj, F. A. Ghaleb, X. Hao, and S. Han, "An intrusion detection model based on convolutional Kolmogorov–Arnold networks," Sci. Rep., vol. 15, no. 1, art. 1917, Jan. 2025.
[15]W. Wang, Y. Sheng, J. Wang, X. Zeng, X. Ye, Y. Huang, and M. Zhu, "HAST-IDS: Learning hierarchical spatial-temporal features using deep neural networks to improve intrusion detection," IEEE Access, vol. 6, pp. 1792–1806, 2018.
[16]P. Sun, P. Liu, Q. Li, C. Liu, X. Lu, R. Hao, and J. Chen, "DL-IDS: Extracting features using CNN-LSTM hybrid network for intrusion detection system," Secur. Commun. Netw., vol. 2020, art. 8890306, pp. 1–11, Aug. 2020.
[17]M. Wang, K. Zheng, Y. Yang, and X. Wang, "An explainable machine learning framework for intrusion detection systems," IEEE Access, vol. 8, pp. 73127–73141, 2020.
[18]D. Gaspar, P. Silva, and C. Silva, "Explainable AI for intrusion detection systems: LIME and SHAP applicability on multi-layer perceptron," IEEE Access, vol. 12, pp. 30164–30175, 2024.
[19]S. M. Lundberg and S.-I. Lee, "A unified approach to interpreting model predictions," in Proc. NeurIPS, 2017, pp. 4765–4774.
[20]M. Sundararajan, A. Taly, and Q. Yan, "Axiomatic attribution for deep networks," in Proc. ICML, 2017, pp. 3319–3328.
[21]Z. Liu, Y. Lin, Y. Cao, H. Hu, Y. Wei, Z. Zhang, S. Lin, and B. Guo, "Swin Transformer: Hierarchical vision transformer using shifted windows," in Proc. IEEE/CVF ICCV, 2021, pp. 10012–10022.
[22]D. Yang, C. Wang, B. Pan, T. Song, W. Wu, and S. Yang, "Kolmogorov–Arnold Transformer," in Proc. ICLR, 2025.
[23]Z. Liu, H. Mao, C.-Y. Wu, C. Feichtenhofer, T. Darrell, and S. Xie, "A ConvNet for the 2020s," in Proc. IEEE/CVF CVPR, 2022, pp. 11976–11986.
[24]J. Demšar, "Statistical comparisons of classifiers over multiple data sets," J. Mach. Learn. Res., vol. 7, pp. 1–30, 2006.
[25]F. Demmese, G. Ayall, S. Paal, R. Thomas, and T. Spraker, "Machine-learning based fileless malware traffic classification using image visualization," in NSF PAGES/IEEE, 2023.
[26]I. Loshchilov and F. Hutter, "Decoupled weight decay regularization," in Proc. ICLR, 2019.
[27]A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, Ł. Kaiser, and I. Polosukhin, "Attention is all you need," in Proc. NeurIPS, 2017, pp. 5998–6008.
[28]A. Dosovitskiy et al., "An image is worth 16×16 words: Transformers for image recognition at scale," in Proc. ICLR, 2021.
[29]Y. Gorishniy, I. Rubachev, V. Khrulkov, and A. Babenko, "Revisiting deep learning models for tabular data," in Proc. NeurIPS, vol. 34, 2021, pp. 18932–18943.
[30]L. Daly Manocchio, S. Layeghy, W. W. Lo, G. K. Kulatilleke, M. Sarhan, and M. Portmann, "FlowTransformer: A transformer framework for flow-based network intrusion detection systems," Expert Syst. Appl., vol. 241, art. 122564, May 2024.
[31]F. Ullah, S. Ullah, G. Srivastava, and J. C.-W. Lin, "IDS-INT: Intrusion detection system using transformer-based transfer learning for imbalanced network traffic," Digital Commun. Netw., vol. 10, no. 1, pp. 190–204, Feb. 2024.
[32]C. M. K. Ho, K.-C. Yow, Z. Zhu, and S. Aravamuthan, "Network intrusion detection via flow-to-image conversion and vision transformer classification," IEEE Access, vol. 10, pp. 97780–97793, 2022.
[33]S. Woo, S. Debnath, R. Hu, X. Chen, Z. Liu, I. S. Kweon, and S. Xie, "ConvNeXt V2: Co-designing and scaling ConvNets with masked autoencoders," in Proc. IEEE/CVF CVPR, 2023, pp. 16133–16142.
[34]N. V. Chawla, K. W. Bowyer, L. O. Hall, and W. P. Kegelmeyer, "SMOTE: Synthetic minority over-sampling technique," J. Artif. Intell. Res., vol. 16, pp. 321–357, Jun. 2002.
[35]M. M. Hassan, A. Gumaei, A. Alsanad, M. Alrubaian, and G. Fortino, "A hybrid deep learning model for efficient intrusion detection in big data environment," Inf. Sci., vol. 513, pp. 386–396, 2020.
[36]F. Laghrissi, S. Douzi, K. Douzi, and B. Hssina, "Intrusion detection systems using long short-term memory (LSTM)," J. Big Data, vol. 8, no. 1, art. 65, 2021.
[37]M. Al-Qatf, Y. Lasheng, M. Al-Habib, and K. Al-Sabahi, "Deep learning approach combining sparse autoencoder with SVM for network intrusion detection," IEEE Access, vol. 6, pp. 52843–52856, 2018.
[38]F. Amiri, M. Rezaei Yousefi, C. Lucas, A. Shakery, and N. Yazdani, "Mutual information-based feature selection for intrusion detection systems," J. Netw. Comput. Appl., vol. 34, no. 4, pp. 1184–1199, 2011.
[39]M. Alalhareth and S.-C. Hong, "An improved mutual information feature selection technique for intrusion detection systems in the Internet of Medical Things," Sensors (MDPI), vol. 23, no. 10, art. 4971, 2023.
[40]N. Shone, T. N. Ngoc, V. D. Phai, and Q. Shi, "A deep learning approach to network intrusion detection," IEEE Trans. Emerg. Topics Comput. Intell., vol. 2, no. 1, pp. 41–50, Feb. 2018.
[41]S. Zavrak and M. İskefiyeli, "Anomaly-based intrusion detection from network flow features using variational autoencoder," IEEE Access, vol. 8, pp. 108346–108358, 2020.
[42]A. M. Alashjaee, "Deep learning for network security: An attention-CNN-LSTM model for accurate intrusion detection," Sci. Rep., vol. 15, art. 21856, 2025.
[43]D. V. Golubev and E. S. Novikova, "Image-based approach to intrusion detection in cyber-physical objects," Information (MDPI), vol. 13, no. 12, art. 553, 2022.
[44]F. P. Caforio, G. Andresini, G. Vessio, A. Appice, and D. Malerba, "Leveraging Grad-CAM to improve the accuracy of network intrusion detection systems," in Proc. 24th Int. Conf. Discovery Science (DS 2021), LNCS, vol. 12986, 2021, pp. 385–400.
[45]Y. Imrana, Y. Xiang, L. Ali, A. Noor, K. Sarpong, and M. A. Abdullah, "CNN-GRU-FF: A double-layer feature fusion-based network intrusion detection system using convolutional neural network and gated recurrent units," Complex Intell. Syst., vol. 10, no. 3, pp. 3353–3370, 2024.
[46]H. R. Sayegh, W. Dong, and A. M. Al-madani, "Enhanced intrusion detection with LSTM-based model, feature selection, and SMOTE for imbalanced data," Appl. Sciences (MDPI), vol. 14, no. 2, art. 479, Jan. 2024.