ParaDiS:可并行分布的可精简神经网络
ParaDiS: Parallelly Distributable Slimmable Neural Networks
摘要:
当几个有限的功率设备可用时,在减少处理延迟和通信负载的同时利用这些资源的最有效方法之一是并行运行几个神经子网络,并在处理结束时融合结果。然而,必须针对设备的每个特定配置(其特征在于设备的数量及其容量)专门训练子网络的这种组合,设备的每个特定配置可能在不同的模型部署上并且甚至在相同的部署内变化。在这项工作中,我们介绍了可并行分布的可瘦身(ParaDiS)神经网络,这些网络可以在各种设备配置之间并行拆分,而无需重新训练。ParaDiS网络的灵感来自于可在一个设备上即时适应资源的可精简网络,它由多个多设备分布式配置或交换机组成,这些配置或交换机之间可以共享参数。我们评估了MobileNet v1上的ParaDiS框架和ImageNet分类任务上的ResNet-50架构以及图像超分辨率任务的WDSR架构。我们表明,ParaDiS开关实现类似或更好的准确性比个别模型,即,相同结构的分布式模型单独训练。此外,我们表明,与不可分配的通用可瘦身网络相比,可分配的ParaDiS开关的准确性根本不会下降,或者仅在最坏的情况下下降最多1%。最后,一旦分布在几个设备上,ParaDiS的性能大大优于可精简的模型。
英文摘要:
When several limited power devices are available, one of the most efficient ways to make profit of these resources, while reducing the processing latency and communication load, is to run in parallel several neural sub-networks and to fuse the result at the end of processing. However, such a combination of sub-networks must be trained specifically for each particular configuration of devices (characterized by number of devices and their capacities) which may vary over different model deployments and even within the same deployment. In this work we introduce parallelly distributable slimmable (ParaDiS) neural networks that are splittable in parallel among various device configurations without retraining. While inspired by slimmable networks allowing instant adaptation to resources on just one device, ParaDiS networks consist of several multi-device distributable configurations or switches that strongly share the parameters between them. We evaluate ParaDiS framework on MobileNet v1 and ResNet-50 architectures on ImageNet classification task and WDSR architecture for image super-resolution task. We show that ParaDiS switches achieve similar or better accuracy than the individual models, i.e., distributed models of the same structure trained individually. Moreover, we show that, as compared to universally slimmable networks that are not distributable, the accuracy of distributable ParaDiS switches either does not drop at all or drops by a maximum of 1 % only in the worst cases. Finally, once distributed over several devices, ParaDiS outperforms greatly slimmable models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。