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

通过基于PIM的架构设计实现高效的胶囊网络处理

Enabling Highly Efficient Capsule Networks Processing Through A PIM-Based Architecture Design

University of Houston(休斯顿大学);University of Sydney(悉尼大学);Pacific Northwest National Laboratory(太平洋西北国家实验室);Capital Normal University(首都师范大学)

Xingyao Zhang, Shuaiwen Leon Song, Chenhao Xie, Jing Wang, Weigong Zhang, Xin Fu

摘要:

近年来,CNN在图像处理任务中取得了巨大的成功,例如,图像识别和目标检测。遗憾的是,传统的CNN的分类被发现是容易被误导的日益复杂的图像特征,由于池操作的使用,因此无法保持准确的位置和姿态信息的对象。为了解决这一挑战,一种新的神经网络结构,称为胶囊网络,它通过胶囊引入等方差,以显着提高图像分割和目标检测的学习能力。由于需要执行大量矩阵运算,CapsNet通常在现代GPU平台上加速,这些GPU平台为常见的深度学习任务提供高度优化的软件库。然而,基于我们在现代GPU上的性能表征,CapsNets由于其路由过程的特殊程序和执行特征而表现出低效率,包括大量不可共享的中间变量和密集的同步,这些都很难在软件层面进行优化。为了解决这些挑战,我们提出了一个混合计算架构设计命名为\textit{PIM-CapsNet}。它保留了GPU的片上计算能力,用于加速CapsNet中的CNN类型的层,同时采用片外内存加速解决方案进行流水线处理,通过利用当今3D堆栈内存的内存处理能力,有效解决路由过程的低效率问题。利用路由过程固有的并行化特性,我们的设计通过最小化数据移动和最大化内存中的并行处理来实现CapsNet推理效率的分层改进。

英文摘要:

In recent years, the CNNs have achieved great successes in the image processing tasks, e.g., image recognition and object detection. Unfortunately, traditional CNN's classification is found to be easily misled by increasingly complex image features due to the usage of pooling operations, hence unable to preserve accurate position and pose information of the objects. To address this challenge, a novel neural network structure called Capsule Network has been proposed, which introduces equivariance through capsules to significantly enhance the learning ability for image segmentation and object detection. Due to its requirement of performing a high volume of matrix operations, CapsNets have been generally accelerated on modern GPU platforms that provide highly optimized software library for common deep learning tasks. However, based on our performance characterization on modern GPUs, CapsNets exhibit low efficiency due to the special program and execution features of their routing procedure, including massive unshareable intermediate variables and intensive synchronizations, which are very difficult to optimize at software level. To address these challenges, we propose a hybrid computing architecture design named \textit{PIM-CapsNet}. It preserves GPU's on-chip computing capability for accelerating CNN types of layers in CapsNet, while pipelining with an off-chip in-memory acceleration solution that effectively tackles routing procedure's inefficiency by leveraging the processing-in-memory capability of today's 3D stacked memory. Using routing procedure's inherent parallellization feature, our design enables hierarchical improvements on CapsNet inference efficiency through minimizing data movement and maximizing parallel processing in memory.

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

↑