arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.08376cs.DCcs.CV
收藏

变体并行:面向物联网设备分布式推理的轻量级深度卷积模型

Variant Parallelism: Lightweight Deep Convolutional Models for Distributed Inference on IoT Devices

Technical University of Munich(慕尼黑工业大学);Sharif University of Technology(谢里夫理工大学)

Navidreza Asadi, Maziar Goudarzi

AI总结:

针对物联网分布式推理中模型并行通信开销大、类别并行子模型受限且均不容错的问题,提出变体并行方法,通过生成并同时训练多个轻量变体模型,在显著降低参数量、MACs和响应时间的同时保持高准确率与可用性。

摘要:

在资源受限的物联网设备间分布模型时,通常采用两种主要技术来满足实时推理限制:(1)模型并行(MP)和(2)类别并行(CP)。在MP中,设备之间传输庞大的中间数据(比输入大几个数量级)会带来巨大的通信开销。虽然CP解决了这个问题,但它在子模型数量上存在限制。此外,这两种方案都不具备容错能力,这在部署于边缘设备时是一个问题。我们提出变体并行(VP),这是一种基于集成学习的深度学习分布方法,其中生成主模型的不同变体,并可部署在独立的机器上。我们围绕原始模型设计了一系列更轻量的模型,并同时训练它们,以提高相对于单一模型的准确率。我们在六个常见的中等规模物体识别数据集上的实验结果表明,与MobileNetV2相比,我们的模型参数量可减少5.8-7.1倍,乘加运算(MACs)减少4.3-31倍,对原子输入的响应时间缩短2.5-13.2倍,同时达到相当或更高的准确率。我们的技术可以轻松生成基础架构的多个变体。每个变体仅返回2k个输出,其中1 <= k <=(类别数/2),表示Top-k类别,而不是MP所需的大量浮点值。由于每个变体都提供全类别预测,因此在发生故障时,与MP和CP相比,我们的方法保持了更高的可用性。

英文摘要:

Two major techniques are commonly used to meet real-time inference limitations when distributing models across resource-constrained IoT devices: (1) model parallelism (MP) and (2) class parallelism (CP). In MP, transmitting bulky intermediate data (orders of magnitude larger than input) between devices imposes huge communication overhead. Although CP solves this problem, it has limitations on the number of sub-models. In addition, both solutions are fault intolerant, an issue when deployed on edge devices. We propose variant parallelism (VP), an ensemble-based deep learning distribution method where different variants of a main model are generated and can be deployed on separate machines. We design a family of lighter models around the original model, and train them simultaneously to improve accuracy over single models. Our experimental results on six common mid-sized object recognition datasets demonstrate that our models can have 5.8-7.1x fewer parameters, 4.3-31x fewer multiply-accumulations (MACs), and 2.5-13.2x less response time on atomic inputs compared to MobileNetV2 while achieving comparable or higher accuracy. Our technique easily generates several variants of the base architecture. Each variant returns only 2k outputs 1 <= k <= (#classes/2), representing Top-k classes, instead of tons of floating point values required in MP. Since each variant provides a full-class prediction, our approach maintains higher availability compared with MP and CP in presence of failure.

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

↑