cs.NIOct 3, 2026

RepTC: Representation-Aware Optimization for Efficient Traffic Classification on Edge IoT Devices

Authors: Adel Chehade, Edoardo Ragusa, Paolo Gastaldo, Rodolfo Zunino

Organizations: Department of Naval, Electrical, Electronic and Telecommunications Engineering (DITEN), University of Genoa, 16126 Genoa, Italy

Abstract

Traffic classification (TC) is crucial to secure Internet of Things (IoT) networks, whose edge nodes often operate under privacy, bandwidth, and energy constraints. Yet, encrypted payloads and limited computing power make accurate, real-time TC a challenging task. Existing learning-based TC approaches often fix the input configuration a priori, even though it directly influences both predictive performance and computational cost. This paper presents RepTC, a representation-aware hardware-constrained strategy that addresses session-level TC through joint model and input optimization. The method co-optimizes network architecture, session length, and header preprocessing; this enables joint control of model complexity, input scale, and data representation within a unified resource-constrained design space. The proposed approach enforces microcontroller-class constraints on memory, model size, and computation, and yields compact models deployable on low-power edge devices. A gateway monitors traffic by aggregating sessions and either performs inference locally or offloads to a low-power edge node. Both scenarios are validated on heterogeneous embedded hardware, including a Raspberry Pi 3B+, STM32 Nucleo-F401RE, and XIAO ESP32-C3, spanning Cortex-A, Cortex-M, and RISC-V processor architectures; measured inference latency ranges from 0.63 to 18.59 ms, with MCU-side inference energy between 0.50 and 1.41 mJ per session. RepTC yields configurations that achieve high accuracy on a variety of established benchmarks: 96.21% on ISCX VPN-nonVPN, 99.62% on USTC-TFC2016, and 99.97% on Edge-IIoTset; at the same time, model size and computational requirements were reduced by up to three orders of magnitude compared with state-of-the-art methods. The results show that representation-aware optimization can improve efficiency while preserving competitive classification performance.

Figures & tables

Explore similar work

CardsList
  1. Self-organizing Architecture of Receptron Units: a Hardware-Aware Framework for Edge Intelligence

    Jul 22, 2026Stefano Radice, Ludovico Casaccia, Riccaro Emanuele Beccalli +2Shallow Neural NetworksNeuromorphic Computing

  2. Pruned Traffic Trees: Native Semantic Compression with a Protocol-Structured Model Family for Encrypted Traffic Classification

    Aug 22, 2026Yuantu Luo, Jun Tao, Xiangyu Xu +2Encrypted Traffic ClassificationEncrypted Network Traffic Analysis

  3. Adaptive AI: Energy Efficient Multi-exit TinyML on Intelligent Vision Systems at the Edge

    Sep 14, 2026Luca Crupi, Lorenzo Lamberti, Alessandro Giusti +1Efficient Neural Network InferenceEnergy-Efficient ML