1 January 2026 in IEEE Transactions on Networking
29 April 2026 in IEEE Transactions on Computers
Neural-network-driven intelligent data plane (NNdriven IDP) is becoming an emerging topic. To be practically deployable in real-world networks, NN-driven IDP should satisfy three design goals: the generality to support various NNs models, the high performance with low latency and high throughput, and the transparency preserving the performance and functionality of data plane. However, it is challenging to simultaneously achieve both high performance and generality, and to accomplish lowoverhead transparency. In this paper, we propose KaleidoScope, a data plane co-processor meets all design goals. Our key insight is that traffic analysis demands differential requirements: packet-level analysis needs low latency performance; while flow-level tasks require high accuracy. We therefore present a hybrid granularity inference engine, which leverages distinct architectures to support different NNs models, achieving both high performance and generality. To further ensure low-overhead transparency and cooperate with hybrid granularity inference, we design a lightweight traffic monitor, feature extraction, and inference scheduling engine. We prototype KaleidoScope on both FPGA and ASIC platforms. On FPGA, Kaleidoscope achieves an inference latency as low as 256 ns and a throughput of 100 Gbps, with negligible impact on the data plane. On ASIC, it achieves over 1.1 Tbps throughput. The on-board tested NNs demonstrate state-of-the-art accuracy compared to existing work, highlighting the impact of generality on achieving high accuracy. Our code is open-source and available on GitHub: https://github.com/Kaleidoscope-arch/Kaleidoscope.