arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2501.17269cs.LG
收藏

面向受限平台的1-D CNN推理引擎

A 1-D CNN inference engine for constrained platforms

Saarland Informatics Campus (SIC)(萨尔兰信息学校园)

Ishwar Mudraje, Kai Vogelgesang, Thorsten Herfet

AI总结:

本文提出一种在样本间隔间交替卷积的1D-CNN推理方案,降低推理延迟并减少内存占用,在Arduino等受限设备上验证其相比TFLite延迟减少10%且内存减半。

摘要:

1D-CNN在各个领域用于时间序列分类,具有很高的准确度。大多数实现会在执行推理之前将传入的数据样本收集在缓冲区中。在通常是受限且单线程的边缘设备上,这种实现可能会干扰时间关键型任务。其中一个任务是样本采集。在这项工作中,我们提出了一种在样本间隔之间交替进行卷积操作的推理方案,这使我们能够降低推理延迟。此外,我们的方案非常适合将数据存储在环形缓冲区中,从而产生较小的内存占用。我们通过将我们的方法与TFLite的推理方法进行比较来证明这些改进,在几乎将内存使用量减半的同时,推理延迟减少了10%。我们的方法在常见的消费设备上是可行的,我们使用基于AVR的Arduino板和基于ARM的Arduino板进行了展示。

英文摘要:

1D-CNNs are used for time series classification in various domains with a high degree of accuracy. Most implementations collect the incoming data samples in a buffer before performing inference on it. On edge devices, which are typically constrained and single-threaded, such an implementation may interfere with time-critical tasks. One such task is that of sample acquisition. In this work, we propose an inference scheme that interleaves the convolution operations between sample intervals, which allows us to reduce the inference latency. Furthermore, our scheme is well-suited for storing data in ring buffers, yielding a small memory footprint. We demonstrate these improvements by comparing our approach to TFLite's inference method, giving a 10% reduction in the inference delay while almost halving the memory usage. Our approach is feasible on common consumer devices, which we show using an AVR-based Arduino board and an ARM-based Arduino board.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑