Towards a Transformer-Based Pre-trained Model for IoT Traffic Classification

Bruna Bazaluk, Mosab Hamdan, Mustafa Ghaleb, Mohammed S. M. Gismalla, Flavio S. Correa da Silva +1 more
7/26/2024
cs.NIcs.AI

No official code found. Best implementation: brunabazaluk/tabtransformer_iot_attacks (9 stars, MIT, last commit 2024-02-03).

Abstract

The classification of IoT traffic is important to improve the efficiency and security of IoT-based networks. As the state-of-the-art classification methods are based on Deep Learning, most of the current results require a large amount of data to be trained. Thereby, in real-life situations, where there is a scarce amount of IoT traffic data, the models would not perform so well. Consequently, these models underperform outside their initial training conditions and fail to capture the complex characteristics of network traffic, rendering them inefficient and unreliable in real-world applications. In this paper, we propose IoT Traffic Classification Transformer (ITCT), a novel approach that utilizes the state-of-the-art transformer-based model named TabTransformer. ITCT, which is pre-trained on a large labeled MQTT-based IoT traffic dataset and may be fine-tuned with a small set of labeled data, showed promising results in various traffic classification tasks. Our experiments demonstrated that the ITCT model significantly outperforms existing models, achieving an overall accuracy of 82%. To support reproducibility and collaborative development, all associated code has been made publicly available.

View on arXivView PDF

Code Implementations(1)

MIT
90Jupyter NotebookDec 11, 20232 years agoMIT

Similar Papers

Cite this paper

@article{bazaluk2024towards,
  title  = {Towards a Transformer-Based Pre-trained Model for IoT Traffic Classification},
  author = {Bruna Bazaluk and Mosab Hamdan and Mustafa Ghaleb and Mohammed S. M. Gismalla and Flavio S. Correa da Silva and Daniel Macêdo Batista},
  year   = {2024},
  eprint = {2407.19051},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.19051v1}
}

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/2407.19051.svg)](https://codeofpaper.com/paper/2407.19051)

Discussion