Enabling Highly Efficient Capsule Networks Processing Through A PIM-Based Architecture Design
arXiv:1911.03451
Abstract
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.
To appear in the 2020 26th International Symposium on High-Performance Computer Architecture (HPCA 2020)
References in corpus (13)
- Very Deep Convolutional Networks for Large-Scale Image Recognition
- Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks
- cuDNN: Efficient Primitives for Deep Learning
- EMNIST: an extension of MNIST to handwritten letters
- Capsule Network Performance on Complex Data
- High-Throughput CNN Inference on Embedded ARM big.LITTLE Multi-Core Processors
- Capsule Networks against Medical Imaging Data Challenges
- CapsNet comparative performance evaluation for image classification
- Novel Deep Learning Model for Traffic Sign Detection Using Capsule Networks
- Dense and Diverse Capsule Networks: Making the Capsules Learn Better
- Optimally Scheduling CNN Convolutions for Efficient Memory Access
- ORIGAMI: A Heterogeneous Split Architecture for In-Memory Acceleration of Learning
- Capsule Neural Network based Height Classification using Low-Cost Automotive Ultrasonic Sensors