Deep Guard: A Novel Transformer-Based Framework for Real-Time Threat Detection in Heterogeneous Cyber Environments

With evolving cyber threats in Internet of Things (IoT) and Industrial IoT (IIoT) networks, challenges with heterogeneous data and dynamic attack patterns cannot be addressed using traditional intrusion detection systems (IDS). We present DeepGuard, a novel deep learning framework for these challenges. DeepGuard enhances detection in space heterogeneous environments by utilizing a transformer architecture augmented with Adaptive Multi-Head Attention (AMHA), implements temporal encoding, and anomaly-aware learning. We propose an algorithm that varies attention mechanisms with the event entropy level, which enables the model to give more attention to underlying patterns while filtering out noise. Specifically, the temporal encoding allows the model to express inter-event dependencies among samples practically, and the anomaly-aware loss function based on the inter-event dependencies makes the detection model sensitive to uncommon attack patterns, leading to its strong generalization capability on unseen threats. We implement the framework on the TON_IoT dataset, where DeepGuard achieves 98.54% accuracy and 98.88% AUC, and outperforms existing models in the other three metrics, including accuracy, precision, and recall. This shows the model's robustness, generalizability, and applicability to work on the interface model alone online and on a large scale. It is more suited for deployment in the modern-day IoT and IIoT environments, considering the complexity of attack patterns and the imbalanced nature of the data. In the future, we plan to optimize this model for deployment on edge devices and to implement federated learning for privacy-preserving distributed training.

Authors

Institutions

Publication Details

Journal
International Journal of Computational and Experimental Science and Engineering
Published
2025-05-23
DOI
https://doi.org/10.22399/ijcesen.2394
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Deep Guard: A Novel Transformer-Based Framework for Real-Time Threat Detection in Heterogeneous Cyber Environments

N. Divya, M. Sree Vani, K R Pradeep, K. Shailaja et al.
International Journal of Computational and Experimental Science and Engineering
Network Security and Intrusion Detection
article

Deep Guard: A Novel Transformer-Based Framework for Real-Time Threat Detection in Heterogeneous Cyber Environments

N. Divya, M. Sree Vani, K R Pradeep, K. Shailaja, B.N. Lakshmi, M Varaprasad Rao
article en

Abstract

With evolving cyber threats in Internet of Things (IoT) and Industrial IoT (IIoT) networks, challenges with heterogeneous data and dynamic attack patterns cannot be addressed using traditional intrusion detection systems (IDS). We present DeepGuard, a novel deep learning framework for these challenges. DeepGuard enhances detection in space heterogeneous environments by utilizing a transformer architecture augmented with Adaptive Multi-Head Attention (AMHA), implements temporal encoding, and anomaly-aware learning. We propose an algorithm that varies attention mechanisms with the event entropy level, which enables the model to give more attention to underlying patterns while filtering out noise. Specifically, the temporal encoding allows the model to express inter-event dependencies among samples practically, and the anomaly-aware loss function based on the inter-event dependencies makes the detection model sensitive to uncommon attack patterns, leading to its strong generalization capability on unseen threats. We implement the framework on the TON_IoT dataset, where DeepGuard achieves 98.54% accuracy and 98.88% AUC, and outperforms existing models in the other three metrics, including accuracy, precision, and recall. This shows the model's robustness, generalizability, and applicability to work on the interface model alone online and on a large scale. It is more suited for deployment in the modern-day IoT and IIoT environments, considering the complexity of attack patterns and the imbalanced nature of the data. In the future, we plan to optimize this model for deployment on edge devices and to implement federated learning for privacy-preserving distributed training.

International Journal of Computational and Experimental Science and EngineeringVol. 11(2)
National Institute Of Veterinary Epidemiology And Disease Informatics (IN)
Openalex Percentile: Top 88%
Network Security and Intrusion Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.