A Streaming Accelerator for Deep Convolutional Neural Networks with Image and Feature Decomposition for Resource-limited System Applications

Yuan Du, Li Du, Yilei Li, Junjie Su, Mau-Chung Frank ChangarXiv 2017

Abstract

Deep convolutional neural networks (CNN) are widely used in modern artificial intelligence (AI) and smart vision systems but also limited by computation latency, throughput, and energy efficiency on a resource-limited scenario, such as mobile devices, internet of things (IoT), unmanned aerial vehicles (UAV), and so on. A hardware streaming architecture is proposed to accelerate convolution and pooling computations for state-of-the-art deep CNNs. It is optimized for energy efficiency by maximizing local data reuse to reduce off-chip DRAM data access. In addition, image and feature decomposition techniques are introduced to optimize memory access pattern for an arbitrary size of image and number of features within limited on-chip SRAM capacity. A prototype accelerator was implemented in TSMC 65 nm CMOS technology with 2.3 mm x 0.8 mm core area, which achieves 144 GOPS peak throughput and 0.8 TOPS/W peak energy efficiency.

Introduction

Deep Convolutional Neural Networks (CNNs) have become the standard for computer vision tasks. However, their deployment on edge platforms—such as mobile phones, UAVs, and IoT devices—is hindered by the "memory wall." A single inference pass requires massive data movement between off-chip DRAM and on-chip memory, which consumes significant power and exceeds the strict energy budgets of battery-powered devices. This paper presents a specialized hardware accelerator designed to minimize this bottleneck through maximized local data reuse and a novel decomposition strategy.

Hardware Architecture

The proposed system utilizes a streaming architecture to optimize the two most computationally intensive operations in CNNs: Convolution (CONV) and Pooling (POOL). The core of the design is a specialized column buffer that manages input data boundaries, allowing convolution computations to proceed continuously without stalling for incomplete data windows.

The top-level system architecture, highlighting the DRAM interface, buffer banks, and the CU engine array.

The compute engine consists of an array of 16 Convolutional Units (CUs). Each CU contains 9 Processing Engines (PEs) specifically tailored for 3x3 convolutions. To enhance energy efficiency, the hardware incorporates dynamic power-saving features, such as physically gating the clock and power to multipliers when the convolution stride skips specific pixels.

Image and Feature Map Decomposition

A primary challenge for edge AI is the limited capacity of on-chip SRAM. Modern CNN layers often exceed the available 128 KB of on-chip memory. To overcome this, the architecture introduces a mathematical decomposition technique for images and feature maps.

Illustration of the image decomposition and row buffer logic used to handle large inputs within limited SRAM.

By partitioning inputs and features into smaller, manageable chunks (e.g., dividing a single layer's input into nine distinct parts), the accelerator can process arbitrarily large neural networks without requiring a larger physical memory footprint. While this decomposition introduces a trade-off in terms of total computation time, it ensures that high-resolution models can run on ultra-compact hardware.

Implementation and Evaluation

The accelerator was verified using AlexNet as a primary case study to demonstrate the efficacy of the decomposition technique in overcoming memory bottlenecks. Furthermore, the design was validated on a Xilinx ZCU102 FPGA for a real-time face detection application.

Synthesized in TSMC 65nm CMOS technology, the prototype occupies a core area of just 1.84 mm². At a 500 MHz clock speed, it achieves a peak throughput of 144 GOPS. Energy efficiency is a standout metric, reaching 0.8 TOPS/W at 20 MHz (0.6V) and 0.3 TOPS/W at 500 MHz (1.0V). Power consumption scales from 7 mW to 425 mW, making it highly adaptable for various power-constrained scenarios.

Conclusion

This work demonstrates that through streaming data flow and intelligent image decomposition, it is possible to achieve high-throughput CNN acceleration on a tiny hardware footprint. By prioritizing data reuse and minimizing DRAM access, the proposed architecture provides a viable path for deploying sophisticated AI models on resource-limited edge devices.

Summary updated

BibTeX
@misc{du2017streaming,
  author = {Yuan Du and Li Du and Yilei Li and Junjie Su and Mau-Chung Frank Chang},
  title = {{A Streaming Accelerator for Deep Convolutional Neural Networks with Image and Feature Decomposition for Resource-limited System Applications}},
  year = {2017},
  eprint = {1709.05116},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1709.05116},
}
Figure