[Paper Review] SC-DCNN: Highly-Scalable Deep Convolutional Neural Network using Stochastic Computing
This paper proposes SC-DCNN, the first comprehensive framework for implementing Deep Convolutional Neural Networks (DCNNs) using Stochastic Computing (SC), achieving ultra-low hardware footprint and high energy efficiency. By leveraging SC's ability to perform multiplications and additions with simple logic gates (AND and MUX), SC-DCNN designs optimized function blocks for inner products, pooling, and activation, jointly optimizes feature extraction units, and employs efficient weight storage—resulting in a LeNet5 implementation consuming only 17 mm² and 1.53 W while achieving 781,250 images/s throughput and 510,734 images/J energy efficiency.
With recent advancing of Internet of Things (IoTs), it becomes very attractive to implement the deep convolutional neural networks (DCNNs) onto embedded/portable systems. Presently, executing the software-based DCNNs requires high-performance server clusters in practice, restricting their widespread deployment on the mobile devices. To overcome this issue, considerable research efforts have been conducted in the context of developing highly-parallel and specific DCNN hardware, utilizing GPGPUs, FPGAs, and ASICs. Stochastic Computing (SC), which uses bit-stream to represent a number within [-1, 1] by counting the number of ones in the bit-stream, has a high potential for implementing DCNNs with high scalability and ultra-low hardware footprint. Since multiplications and additions can be calculated using AND gates and multiplexers in SC, significant reductions in power/energy and hardware footprint can be achieved compared to the conventional binary arithmetic implementations. The tremendous savings in power (energy) and hardware resources bring about immense design space for enhancing scalability and robustness for hardware DCNNs. This paper presents the first comprehensive design and optimization framework of SC-based DCNNs (SC-DCNNs). We first present the optimal designs of function blocks that perform the basic operations, i.e., inner product, pooling, and activation function. Then we propose the optimal design of four types of combinations of basic function blocks, named feature extraction blocks, which are in charge of extracting features from input feature maps. Besides, weight storage methods are investigated to reduce the area and power/energy consumption for storing weights. Finally, the whole SC-DCNN implementation is optimized, with feature extraction blocks carefully selected, to minimize area and power/energy consumption while maintaining a high network accuracy level.
Motivation & Objective
- To address the high power and hardware cost of deploying software-based DCNNs on embedded and mobile IoT devices.
- To explore Stochastic Computing (SC) as a novel paradigm for enabling ultra-low hardware footprint and high energy efficiency in DCNN accelerators.
- To design a comprehensive, bottom-up framework for SC-based DCNNs that optimizes function blocks, feature extraction, and weight storage for minimal area and power consumption.
- To maintain high network accuracy despite the inherent inaccuracy of stochastic arithmetic through joint optimization and error compensation.
Proposed method
- Representing real numbers in [-1, 1] as bit-streams using stochastic computing to enable low-complexity arithmetic via AND and MUX gates.
- Designing specialized hardware blocks for core DCNN operations: inner product (dot product), max pooling, average pooling, and activation functions (e.g., ReLU) in the SC domain.
- Proposing four joint-optimized feature extraction block architectures that combine basic function blocks with tailored configurations for input bit-stream length and logic compatibility.
- Introducing three weight storage optimization schemes—bit-slicing, weight grouping, and bit-reversal encoding—to minimize SRAM area and power consumption.
- Employing a bottom-up design methodology to explore the design space across function block types, pooling methods, and configuration parameters.
- Using experimental evaluation on LeNet5 to validate the framework’s performance, area, power, and energy efficiency across multiple configurations.
Experimental results
Research questions
- RQ1Can stochastic computing be effectively applied to implement DCNNs with significantly reduced hardware footprint and energy consumption?
- RQ2How can core DCNN operations—inner product, pooling, and activation—be efficiently and accurately realized in the stochastic computing domain?
- RQ3What are the optimal configurations of feature extraction blocks that balance accuracy, area, and power efficiency in SC-based DCNNs?
- RQ4How do different weight storage schemes impact the area and energy efficiency of SC-DCNNs?
- RQ5To what extent can SC-DCNN maintain high network accuracy despite the inherent approximation of stochastic arithmetic?
Key findings
- The SC-DCNN framework achieves a LeNet5 implementation with only 17 mm² area and 1.53 W power consumption, enabling ultra-compact deployment on embedded systems.
- The proposed SC-DCNN reaches a throughput of 781,250 images per second, demonstrating high computational efficiency for real-time inference.
- The framework achieves an area efficiency of 45,946 images/s/mm² and an energy efficiency of 510,734 images/J, significantly outperforming conventional GPU and CPU platforms.
- Compared to Nvidia Tesla C2075, SC-DCNN (No.11) achieves 15,625× higher throughput and 159,604× higher energy efficiency.
- Configurations using MUX-based feature extraction blocks achieve the lowest area and power, while APC-based blocks yield higher accuracy, enabling trade-offs based on application needs.
- The inaccuracy introduced by stochastic arithmetic is shown to compensate across layers, suggesting scalability to larger networks with further efficiency gains.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.