A one-dimensional convolutional neural network evaluated on flow-based network traffic achieved a 99.53 percent accuracy rate in binary anomaly detection and 99.12 percent accuracy in multi-class attack classification across Internet of Things data, according to an experimental investigation conducted by researcher Md. Alamgir Hossain and published in the EURASIP Journal on Information Security. The investigation systematically compared multiple deep learning architectures to address the growing operational vulnerabilities of connected systems, which have become prime targets for automated cyber threats due to rapid industrial expansion. Traditional defense mechanisms, including static signature-matching and rule-based intrusion detection frameworks, frequently fail to cope with high-volume, dynamic network flows or identify evolving attack vectors. By leveraging automated spatial feature extraction from standardized traffic flows, the study demonstrates that compact convolutional pipelines can accurately isolate malicious network packets from legitimate operations while minimizing computational overhead.
The proliferation of the Internet of Things across healthcare systems, industrial automation, smart utility networks, and municipal infrastructures has introduced severe security challenges, as connected hardware often operates with limited processing power and restricted memory capacity. In these heterogeneous environments, devices run disparate operating systems and rely on diverse communication protocols, making it difficult to establish a single, rigid security standard across entire deployments. When intrusions go undetected, consequences can range from localized service interruptions and substantial financial damages to catastrophic physical hazards in mission-critical installations. Conventional intrusion detection systems typically suffer from high false alarm rates and exhibit poor adaptability when confronted with zero-day exploits, polymorphic code, or encrypted command-and-control communication channels. Consequently, developing an intelligent and adaptive threat detection pipeline capable of continuously processing massive data streams in real time has emerged as a fundamental priority for modern network defense.
To evaluate intrusion behavior under realistic conditions, the investigation analyzed traffic patterns representing seven widespread attack families that exploit vulnerabilities in device protocols and authentication routines. These categorized cyber threats include brute force credential guessing, denial-of-service, distributed denial-of-service, Mirai botnet compromises, network spoofing, structured query language injection, and cross-site scripting vulnerabilities. Brute force attempts systematically probe administrative access by exhausting multiple credential combinations, whereas denial-of-service and distributed flooding campaigns saturate bandwidth and hardware resources to render services unavailable. Botnet infections recruit compromised hardware into coordinated offensive clusters, while spoofing manipulations forge media access control or internet protocol addresses to deceive authentication filters. Concurrently, application-layer threats such as database query manipulation and malicious script injections target web-enabled management consoles to seize remote operational control, demonstrating the necessity of an intrusion system capable of discerning diverse offensive footprints simultaneously.
The benchmark experiments utilized the CIC IoT-DIAD 2024 dataset, a comprehensive collection derived from 105 distinct physical IoT devices operating under both benign conditions and 33 specific attack scenarios. The raw traffic structure encompasses two specialized subdirectories containing packet-level metrics for hardware identification and flow-level metrics extracted via CICFlowMeter for behavioral intrusion detection. Across 84 recorded flow attributes, the dataset documents vital transmission statistics including flow duration, inter-arrival time distributions, packet size variations, byte rates, transmission control protocol flags, and source-destination port allocations. Rather than applying artificial data generation or oversampling strategies that alter natural network behavior, the study maintained the authentic class distribution found in live deployments. This deliberate design ensures that evaluating models learn to generalize across realistic proportions where routine traffic heavily outnumbers rare attack vectors.
Prior to training, the dataset underwent a systematic multi-phase preprocessing pipeline designed to eliminate numerical anomalies and ensure stable gradient descent throughout the learning iterations. Extreme and infinite numerical values generated during computational measurement anomalies were converted into missing values and subsequently removed alongside all incomplete records, ensuring high-quality baseline data. The numerical attributes were then normalized using standard scaling transformation, which subtracts the feature mean and divides by standard deviation to establish zero mean and unit variance across all input dimensions. Categorical attributes, including specific protocol designations, were converted into numerical integer values through label encoding. The processed dataset was partitioned into an eighty percent training allocation and a twenty percent reserved testing subset, with the training set standard scaling parameters applied uniformly to the testing data to prevent data leakage.
The proposed one-dimensional convolutional neural network architecture was engineered with sequential feature extraction layers designed to detect fine-grained local dependencies across flow attributes. The structural pipeline integrates three successive convolutional layers containing 64, 128, and 256 filters, respectively, each configured with a kernel size of three and coupled with rectified linear unit activation functions to introduce non-linearity. To downsample feature map dimensions, reduce computational complexity, and mitigate overfitting tendencies, max pooling layers with a pool size of two follow each convolution stage. Multi-dimensional outputs are collapsed by a flattening layer before feeding into dense layers, terminating in an activation-specific output stage. Binary anomaly classification utilized a single neuron with sigmoid activation, whereas multi-class attack identification employed a softmax activation layer spanning eight target classes. Optimization was conducted using the Nesterov-accelerated adaptive moment estimation algorithm with a batch size of 32 over up to 200 training epochs under early stopping supervision.
For rigorous baseline benchmarking, the convolutional framework was evaluated alongside long short-term memory recurrent models, simple recurrent neural networks, and multilayer perceptrons. The recurrent models incorporated four stacked sequence layers configured with 256, 128, 64, and 32 hidden units operating with hyperbolic tangent activations to regulate internal gradient flow, followed by a dense layer containing 64 neurons. The initial three recurrent layers were configured to return full hidden state sequences to enable hierarchical extraction, while the final layer condensed temporal summaries for classification. The multilayer perceptron structure consisted of four fully connected dense layers with matching neuron counts, each utilizing rectified linear units and accompanied by fifty percent dropout probability layers to prevent co-adaptation of neurons. All comparative models shared consistent optimization routines, loss functions, batch sizes, and early stopping protocols implemented in a cloud-accelerated graphics processing unit environment.
In the binary anomaly detection benchmark, the one-dimensional convolutional neural network demonstrated superior discriminative power, obtaining a 99.53 percent classification accuracy alongside an area under the receiver operating characteristic curve of 0.99985. The confusion matrix revealed that out of 82,998 test instances, the convolutional model correctly classified 45,949 attack flows and 36,659 benign flows, generating only 275 false positive alarms and 115 false negative oversights. The long short-term memory model attained closely comparable precision with an accuracy of 99.52 percent, correctly identifying 45,911 attacks and 36,686 benign samples while logging 313 false positives and 88 false negatives. The simple recurrent network achieved an accuracy of 99.25 percent, incurring 541 false positives, while the multilayer perceptron registered an accuracy of 98.78 percent alongside 961 false positives, confirming the higher vulnerability of feedforward dense networks to ambiguous classification boundaries.
When applied to multi-class classification across the eight distinct categories, the one-dimensional convolutional model led performance rankings with an overall accuracy of 99.12 percent, maintaining balanced recall and precision across high-volume categories. The model correctly categorized 36,550 benign events, 17,743 denial-of-service flows, 14,603 spoofing instances, and 10,073 distributed denial-of-service transmissions with minimal confusion between related categories. The long short-term memory network achieved second-tier accuracy at 98.98 percent, demonstrating high detection efficiency for volumetric floods but exhibiting slightly reduced performance on web attacks, where its F1-score reached 0.88402 for SQL injection and 0.89861 for cross-site scripting. The simple recurrent model and multilayer perceptron recorded multi-class accuracies of 98.43 percent and 97.20 percent, respectively, encountering notable classification confusion when attempting to separate web-based injection vectors from background behavioral anomalies.
Generalization and scalability assessments evaluated the one-dimensional convolutional architecture across four additional external benchmark repositories, comprising the TabularIoTAttack-2024, CICIoT2023, N-BaIoT, and CSE-CIC-IDS2018 datasets. Across all secondary corpora, the model maintained classification accuracies exceeding 98 percent with consistent precision and recall metrics, recording a minimal Hamming loss value of 0.00004. Notably, the network processed massive evaluations, including the N-BaIoT dataset with over one million flow records and the CSE-CIC-IDS2018 corpus containing over two million instances, without degradation in classification fidelity. In operational complexity analysis, the convolutional model required substantially lower processing overhead and training memory than recurrent counterparts, as avoiding sequential recurrent gates permitted rapid parallelized matrix transformations. This computational economy makes the lightweight convolutional framework well-suited for edge deployments where memory footprint and operational power are strictly bounded.
The study contextualizes the deployment of the proposed model within a broader defense-in-depth security framework, where it functions as an active traffic inspection layer complementing firewalls, cryptographic access controls, and security information event management platforms. Operating within edge appliances, the model enables local anomaly detection with minimal latency, supporting proactive zero-trust architectures through continuous verification. Nonetheless, the author highlights several unresolved operational challenges that require targeted future research, notably the requirement to optimize real-time inference latency under heavy enterprise network congestion. Furthermore, the inherent black-box characteristics of deep neural networks complicate interpretability, emphasizing the necessity of integrating explainable artificial intelligence techniques such as feature attribution maps. Future efforts must also examine adversarial robustness against evasion tactics, protocol heterogeneity across radio technologies including Bluetooth and near-field communication, and federated learning paradigms that allow collaborative, privacy-preserving model training across distributed environments.
Subject of Research: Deep learning models for real-time intrusion detection and traffic classification in Internet of Things networks
Article Title: Deep learning-based intrusion detection for IoT networks: a scalable and efficient approach
Article References: Hossain, M. A. (2025). Deep learning-based intrusion detection for IoT networks: a scalable and efficient approach. EURASIP Journal on Information Security, 2025(1), Article 28. https://doi.org/10.1186/s13635-025-00202-w
Image Credits: AI Generated
DOI: 10.1186/s13635-025-00202-w
Keywords: Internet of Things, Intrusion Detection System, Deep Learning, 1D Convolutional Neural Network, Long Short-Term Memory, Recurrent Neural Network, Multilayer Perceptron, CIC IoT-DIAD 2024, Network Security, Cyberattacks, Distributed Denial of Service, Denial of Service, SQL Injection, Cross-Site Scripting, Anomaly Detection, Flow-Based Traffic Analysis, Machine Learning, N-BaIoT
Cite Scienmag News
Blake Davidson. (November 19, 2026). One-Dimensional Convolutional Neural Network Detects IoT Intrusions With High Accuracy. Scienmag. https://scienmag.com/one-dimensional-convolutional-neural-network-detects-iot-intrusions-with-high-accuracy/
Blake Davidson. "One-Dimensional Convolutional Neural Network Detects IoT Intrusions With High Accuracy." Scienmag, 19 November 2026, https://scienmag.com/one-dimensional-convolutional-neural-network-detects-iot-intrusions-with-high-accuracy/. Accessed 6 December 2026.
Blake Davidson. "One-Dimensional Convolutional Neural Network Detects IoT Intrusions With High Accuracy." Scienmag. November 19, 2026. https://scienmag.com/one-dimensional-convolutional-neural-network-detects-iot-intrusions-with-high-accuracy/








