This paper explores Google's Edge TPU for implementing a practical network intrusion detection system (NIDS) at the edge of IoT, based on a deep learning approach. While there are a significant number of related works that explore machine learning based NIDS for the IoT edge, they generally do not consider the issue of the required computational and energy resources. The focus of this paper is the exploration of deep learning-based NIDS at the edge of IoT, and in particular the computational and energy efficiency. In particular, the paper studies Google's Edge TPU as a hardware platform, and considers the following three key metrics: computation (inference) time, energy efficiency and the traffic classification performance. Various scaled model sizes of two major deep neural network architectures are used to investigate these three metrics. The performance of the Edge TPU-based implementation is compared with that of an energy efficient embedded CPU (ARM Cortex A53). Our experimental evaluation shows some unexpected results, such as the fact that the CPU significantly outperforms the Edge TPU for small model sizes.
翻译:本文探讨了谷歌在IoT边缘实施实用网络入侵探测系统(NIDS)的边缘,其基础是深层学习方法。虽然有大量相关工作为IoT边缘探索基于机器学习的NIDS,但一般不考虑所需的计算和能源资源问题。本文的重点是探索在IoT边缘深层基于学习的NIDS,特别是计算和能源效率。特别是,文件研究谷歌的Edge TPU作为硬件平台,并考虑了以下三个关键指标:计算(推断)时间、能源效率和交通分类性能。使用两种主要深层神经网络结构的不同规模模型来调查这三种指标。Edge TPU的运行表现与高能效嵌入式CPU(ARM Cortex A53)的性能进行了比较。我们的实验评估显示了一些出乎意料的结果,例如,CPU明显超越了小模型大小的Edge TPU。