arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.06183cs.CVcs.LGeess.IV
收藏

低功耗CPU的自适应测试时间增强

Adaptive Test-Time Augmentation for Low-Power CPU

Politecnico di Torino(都灵理工大学)

Luca Mocerino, Roberto G. Rizzo, Valentino Peluso, Andrea Calimera, Enrico Macii

摘要:

卷积神经网络(ConvNets)使用少量可用数据进行离线训练,因此当移植到现场时可能会遭受大量准确性损失,其中在不可预测的外部条件下接收的不可见输入模式可能会误导模型。测试时增强(TTA)技术旨在减轻推理时的这种常见副作用,首先在同一输入样本的一组更改版本上运行多个前馈传递,然后通过聚合预测的共识计算主要结果。不幸的是,TTA在嵌入式CPU上的实现引入了延迟惩罚,限制了其在边缘应用程序中的采用。为了解决这个问题,我们提出了AdapTTA,TTA的自适应实现,动态控制前馈通道的数量,这取决于输入的复杂性。在商用ARM Cortex-A CPU上部署的用于图像分类的最先进ConvNets上的实验结果表明,AdapTTA实现了显着的延迟节省,从1.49倍到2.21倍,因此与静态TTA相比,具有更高的帧速率,仍然保持相同的准确性增益。

英文摘要:

Convolutional Neural Networks (ConvNets) are trained offline using the few available data and may therefore suffer from substantial accuracy loss when ported on the field, where unseen input patterns received under unpredictable external conditions can mislead the model. Test-Time Augmentation (TTA) techniques aim to alleviate such common side effect at inference-time, first running multiple feed-forward passes on a set of altered versions of the same input sample, and then computing the main outcome through a consensus of the aggregated predictions. Unfortunately, the implementation of TTA on embedded CPUs introduces latency penalties that limit its adoption on edge applications. To tackle this issue, we propose AdapTTA, an adaptive implementation of TTA that controls the number of feed-forward passes dynamically, depending on the complexity of the input. Experimental results on state-of-the-art ConvNets for image classification deployed on a commercial ARM Cortex-A CPU demonstrate AdapTTA reaches remarkable latency savings, from 1.49X to 2.21X, and hence a higher frame rate compared to static TTA, still preserving the same accuracy gain.

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

↑