Next Article in Journal
Optimized Hybrid Ensemble Intrusion Detection for VANET-Based Autonomous Vehicle Security
Previous Article in Journal
Unified Distributed Machine Learning for 6G Intelligent Transportation Systems: A Hierarchical Approach for Terrestrial and Non-Terrestrial Networks
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Bijective Network-to-Image Encoding for Interpretable CNN-Based Intrusion Detection System

by
Omesh A. Fernando
1,*,
Joseph Spring
1 and
Hannan Xiao
2
1
Department of Computer Science, University of Hertfordshire, Hatfield AL10 9AB, UK
2
Department of Informatics, King’s College London, London WC2R 2LS, UK
*
Author to whom correspondence should be addressed.
Network 2025, 5(4), 42; https://doi.org/10.3390/network5040042
Submission received: 11 August 2025 / Revised: 5 September 2025 / Accepted: 15 September 2025 / Published: 25 September 2025
(This article belongs to the Special Issue AI-Based Innovations in 5G Communications and Beyond)

Abstract

As 5G and beyond networks grow in heterogeneity, complexity, and scale, traditional Intrusion Detection Systems (IDS) struggle to maintain accurate and precise detection mechanisms. A promising alternative approach to this problem has involved the use of Deep Learning (DL) techniques; however, DL-based IDS suffer from issues relating to interpretation, performance variability, and high computational overheads. These issues limit their practical deployment in real-world applications. In this study, CiNeT is introduced as a novel DL-based IDS employing Convolutional Neural Networks (CNN) within a bijective encoding–decoding framework between network traffic features (such as IPv6, IPv4, Timestamp, MAC addresses, and network data) and their RGB representations. This transformation facilitates our DL IDS in detecting spatial patterns without sacrificing fidelity. The bijective pipeline enables complete traceability from detection decisions to their corresponding network traffic features, enabling a significant initiative towards solving the ‘black-box’ problem inherent in Deep Learning models, thus facilitating digital forensics. Finally, the DL IDS has been evaluated on three datasets, UNSW NB-15, InSDN, and ToN_IoT, with analysis conducted on accuracy, GPU usage, memory utilisation, training, testing, and validation time. To summarise, this study presents a new CNN-based IDS with an end-to-end pipeline between network traffic data and their RGB representation, which offers high performance and enhanced interpretability through revisable transformation.
Keywords: convolutional neural network (CNN); lossless encoding and decoding; network traffic to images; images to network traffic; intrusion detection system (IDS); computational complexity; TensorFlow; PyTorch; 5G; B5G convolutional neural network (CNN); lossless encoding and decoding; network traffic to images; images to network traffic; intrusion detection system (IDS); computational complexity; TensorFlow; PyTorch; 5G; B5G

Share and Cite

MDPI and ACS Style

Fernando, O.A.; Spring, J.; Xiao, H. Bijective Network-to-Image Encoding for Interpretable CNN-Based Intrusion Detection System. Network 2025, 5, 42. https://doi.org/10.3390/network5040042

AMA Style

Fernando OA, Spring J, Xiao H. Bijective Network-to-Image Encoding for Interpretable CNN-Based Intrusion Detection System. Network. 2025; 5(4):42. https://doi.org/10.3390/network5040042

Chicago/Turabian Style

Fernando, Omesh A., Joseph Spring, and Hannan Xiao. 2025. "Bijective Network-to-Image Encoding for Interpretable CNN-Based Intrusion Detection System" Network 5, no. 4: 42. https://doi.org/10.3390/network5040042

APA Style

Fernando, O. A., Spring, J., & Xiao, H. (2025). Bijective Network-to-Image Encoding for Interpretable CNN-Based Intrusion Detection System. Network, 5(4), 42. https://doi.org/10.3390/network5040042

Article Metrics

Back to TopTop