IoT Malware Network Traffic Detection using Deep Learning and GraphSAGE Models

Nikesh Prajapati, Bimal Karki, Saroj Gopali, Akbar Siami Namin
7/14/2025
cs.AIcs.LG

No confident code implementation found for this paper.

Abstract

This paper intends to detect IoT malicious attacks through deep learning models and demonstrates a comprehensive evaluation of the deep learning and graph-based models regarding malicious network traffic detection. The models particularly are based on GraphSAGE, Bidirectional encoder representations from transformers (BERT), Temporal Convolutional Network (TCN) as well as Multi-Head Attention, together with Bidirectional Long Short-Term Memory (BI-LSTM) Multi-Head Attention and BI-LSTM and LSTM models. The chosen models demonstrated great performance to model temporal patterns and detect feature significance. The observed performance are mainly due to the fact that IoT system traffic patterns are both sequential and diverse, leaving a rich set of temporal patterns for the models to learn. Experimental results showed that BERT maintained the best performance. It achieved 99.94% accuracy rate alongside high precision and recall, F1-score and AUC-ROC score of 99.99% which demonstrates its capabilities through temporal dependency capture. The Multi-Head Attention offered promising results by providing good detection capabilities with interpretable results. On the other side, the Multi-Head Attention model required significant processing time like BI-LSTM variants. The GraphSAGE model achieved good accuracy while requiring the shortest training time but yielded the lowest accuracy, precision, and F1 score compared to the other models

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{prajapati2025malware,
  title  = {IoT Malware Network Traffic Detection using Deep Learning and GraphSAGE Models},
  author = {Nikesh Prajapati and Bimal Karki and Saroj Gopali and Akbar Siami Namin},
  year   = {2025},
  eprint = {2507.10758},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.10758v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.10758.svg)](https://codeofpaper.com/paper/2507.10758)

Discussion