arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1907.11210cs.LGcs.CVeess.IV
收藏

HUGE2:一个高度非纠缠的边计算生成模型引擎

HUGE2: a Highly Untangled Generative-model Engine for Edge-computing

University of California(加利福尼亚大学)

Feng Shi, Ziheng Xu, Tao Yuan, Song-Chun Zhu

摘要:

生成模型作为深度学习的一个重要研究方向,近年来得到了广泛的研究。深度学习模型的两个研究分支,生成网络(GANs,VAE)和语义分割,高度依赖于上采样操作,特别是转置卷积和扩张卷积。然而,这两种类型的卷积在输入特征图或内核中分别插入零方面本质上不同于标准卷积。这种独特的性质严重降低了现有深度学习引擎或框架的性能,例如Darknet,Tensorflow和PyTorch,它们主要是为标准卷积开发的。深度学习领域的另一个趋势是将模型部署到边缘/嵌入式设备上,其中内存资源是稀缺的。在这项工作中,我们提出了一个用于边缘计算的高度解纠缠生成模型引擎或HUGE 2,用于通过分解内核并通过执行基本矩阵乘法解开这些较小的卷积来加速边缘计算平台上的这两个特殊卷积。我们提出的方法使用更小的内存占用,因此更少的内存访问,和数据访问模式也大大增加了缓存中已经获取的数据的可重用性,从而增加了缓存的本地化。我们的引擎在嵌入式CPU上实现了近5倍的加速,在嵌入式GPU上实现了约10倍的加速,并减少了50%以上的内存访问。

英文摘要:

As a type of prominent studies in deep learning, generative models have been widely investigated in research recently. Two research branches of the deep learning models, the Generative Networks (GANs, VAE) and the Semantic Segmentation, rely highly on the upsampling operations, especially the transposed convolution and the dilated convolution. However, these two types of convolutions are intrinsically different from standard convolution regarding the insertion of zeros in input feature maps or in kernels respectively. This distinct nature severely degrades the performance of the existing deep learning engine or frameworks, such as Darknet, Tensorflow, and PyTorch, which are mainly developed for the standard convolution. Another trend in deep learning realm is to deploy the model onto edge/ embedded devices, in which the memory resource is scarce. In this work, we propose a Highly Untangled Generative-model Engine for Edge-computing or HUGE2 for accelerating these two special convolutions on the edge-computing platform by decomposing the kernels and untangling these smaller convolutions by performing basic matrix multiplications. The methods we propose use much smaller memory footprint, hence much fewer memory accesses, and the data access patterns also dramatically increase the reusability of the data already fetched in caches, hence increasing the localities of caches. Our engine achieves a speedup of nearly 5x on embedded CPUs, and around 10x on embedded GPUs, and more than 50% reduction of memory access.

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

↑