arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.16535cs.LG
收藏

TinyTNAS:面向TinyML时间序列分类的无GPU、时间限制、硬件感知的神经架构搜索

TinyTNAS: GPU-Free, Time-Bound, Hardware-Aware Neural Architecture Search for TinyML Time Series Classification

Indian Institute of Technology Kharagpur(印度理工学院卡拉格普尔分校)

Bidyut Saha, Riya Samanta, Soumya K. Ghosh, Ram Babu Roy

AI总结:

本文提出TinyTNAS,一种面向TinyML时间序列分类的无GPU、时间限制的硬件感知多目标神经架构搜索工具,在CPU上10分钟内即可搜索出在RAM、FLASH、MAC和延迟上大幅降低且保持高精度的最优模型。

摘要:

在这项工作中,我们提出了TinyTNAS,一种专为TinyML时间序列分类设计的新型硬件感知多目标神经架构搜索(NAS)工具。与依赖GPU能力的传统NAS方法不同,TinyTNAS在CPU上高效运行,使其适用于更广泛的应用场景。用户可以定义对RAM、FLASH和MAC操作的约束,以在这些参数内发现最优的神经网络架构。此外,该工具允许有时间限制的搜索,确保在用户指定的持续时间内找到最佳模型。通过在基准数据集UCI HAR、PAMAP2、WISDM、MIT BIH和PTB Diagnostic ECG Database上进行实验,TinyTNAS展现了最先进的准确率,同时大幅减少了RAM、FLASH、MAC使用量和延迟。例如,在UCI HAR数据集上,TinyTNAS在保持卓越准确率的同时,RAM使用量减少了12倍,MAC操作减少了144倍,FLASH内存减少了78倍,延迟降低了149倍。类似地,在PAMAP2和WISDM数据集上,它实现了RAM使用量减少6倍、MAC操作减少40倍、FLASH减少83倍以及延迟降低67倍,同时保持卓越的准确率。值得注意的是,搜索过程在CPU环境下10分钟内即可完成。这些结果突显了TinyTNAS为资源受限的TinyML应用有效优化神经网络架构的能力,确保了效率和性能。TinyTNAS的代码可在GitHub仓库中获取,访问地址为https://github.com/BidyutSaha/TinyTNAS.git。

英文摘要:

In this work, we present TinyTNAS, a novel hardware-aware multi-objective Neural Architecture Search (NAS) tool specifically designed for TinyML time series classification. Unlike traditional NAS methods that rely on GPU capabilities, TinyTNAS operates efficiently on CPUs, making it accessible for a broader range of applications. Users can define constraints on RAM, FLASH, and MAC operations to discover optimal neural network architectures within these parameters. Additionally, the tool allows for time-bound searches, ensuring the best possible model is found within a user-specified duration. By experimenting with benchmark dataset UCI HAR, PAMAP2, WISDM, MIT BIH, and PTB Diagnostic ECG Databas TinyTNAS demonstrates state-of-the-art accuracy with significant reductions in RAM, FLASH, MAC usage, and latency. For example, on the UCI HAR dataset, TinyTNAS achieves a 12x reduction in RAM usage, a 144x reduction in MAC operations, and a 78x reduction in FLASH memory while maintaining superior accuracy and reducing latency by 149x. Similarly, on the PAMAP2 and WISDM datasets, it achieves a 6x reduction in RAM usage, a 40x reduction in MAC operations, an 83x reduction in FLASH, and a 67x reduction in latency, all while maintaining superior accuracy. Notably, the search process completes within 10 minutes in a CPU environment. These results highlight TinyTNAS's capability to optimize neural network architectures effectively for resource-constrained TinyML applications, ensuring both efficiency and high performance. The code for TinyTNAS is available at the GitHub repository and can be accessed at https://github.com/BidyutSaha/TinyTNAS.git.

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

↑