Pseudo-Image Representation for CNN-Based Intrusion Detection

Published online: Aug 27, 2026 Full Text: PDF (1.27 MiB) DOI: https://doi.org/10.24138/jcomss-2026-0085
Cite this paper
Authors:
Hassene Chaibi, Amine Marref

Abstract

Convolutional Neural Networks (CNNs) have demonstrated strong potential for Intrusion Detection Systems (IDSs); however, their performance is highly dependent on input data representation. This paper presents a lightweight pseudo image transformation framework that converts network traffic into optimized two-dimensional layouts for CNN processing, focusing on data representation rather than architectural modifications. Evaluated on NSL-KDD and CIC-IDS2017 datasets, square and near-square formats are shown to enhance spatial feature extraction. In particular, an 11×11 base representation, upscaled to 64×64 using bicubic interpolation, achieves a precision of 99.2%, accelerates convergence, and remains robust under limited training data conditions. By avoiding complex hybrid architectures, the proposed approach reduces computational overhead while maintaining competitive performance, making it suitable for real-time, large-scale deployment. These results suggest that strategic data representation, rather than increased model complexity, can significantly improve CNN-based IDS performance.

Keywords

Convolutional Neural Networks (CNNs), Data Representation, Intrusion Detection Systems (IDSs), Pseudo Images, Cybersecurity, NSL-KDD, CIC-IDS2017
Creative Commons License 4.0
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.