Por favor, use este identificador para citar o enlazar este ítem: https://hdl.handle.net/10259/11860
Título
Transformer-based classification of IoT network traffic with flow-to-window aggregation
Autor
Publicado en
Internet of Things. 2026, V. 36, art. 101879
Editorial
Elsevier
Fecha de publicación
2026-03
ISSN
2542-6605
DOI
10.1016/j.iot.2026.101879
Résumé
The explosive growth of the IoT has led to an increasingly complex and heterogeneous network traffic, posing major challenges for intrusion detection. Most existing machine learning and deep learning approaches model network traffic at the level of individual flows, which limits their ability to capture contextual relationships among concurrent communications. This paper introduces a Transformer-based framework for IoT intrusion detection that aggregates network flows into fixed-duration windows and treats each flow as a token within the input sequence. The self-attention mechanism captures contextual relationships among concurrent flows, enabling effective modeling of temporal dependencies without recurrence. Experiments conducted on the CICIoT2023 dataset show that the proposed model achieves a weighted F1-score of 97.9% and a macro ROC–AUC of 99.6% under temporally blocked cross-validation, while maintaining high computational efficiency. These results demonstrate that flow-to-window aggregation combined with self-attention provides a robust and scalable foundation for IoT network security, suitable for deployment in edge and smart-home environments.
Palabras clave
Internet of things (IoT)
Network traffic classification
Intrusion detection system (IDS)
Transformer
Self-attention
Deep learning
Materia
Internet de los objetos
Internet of things
Computación ubicua
Ubiquitous computing
Versión del editor
Aparece en las colecciones









