Data-Driven Neuromorphic DRAM-based CNN and RNN Accelerators

Tobi Delbruck, Shih-Chii Liu

TL;DR

This paper summarizes five years of research into building hardware accelerators that combine the energy-saving "data-driven" principles of Spiking Neural Networks (SNNs) with the practical scalability of standard Deep Neural Networks (DNNs). By exploiting spatial and temporal sparsity, the authors demonstrate CNN and RNN accelerators that achieve state-of-the-art efficiency while using affordable, high-capacity DRAM memory.

What Problem Does This Paper Address?

Deep Learning is power-hungry, largely because moving data between processors and memory consumes orders of magnitude more energy than the actual math. While Spiking Neural Networks (SNNs) are brain-inspired and inherently energy-efficient due to their sparsity (they only compute when a "spike" occurs), they face a major hardware hurdle: memory scaling.

Large-scale networks require massive amounts of memory. Static RAM (SRAM) is fast but expensive and physically large. Dynamic RAM (DRAM) is 20x cheaper and denser, making it the only viable choice for big models. However, DRAM is only efficient when accessing data in predictable, sequential "bursts." The unpredictable, asynchronous nature of SNN spikes leads to random memory access patterns that are up to 50x slower on DRAM (see Figure 3).

DRAM random access is significantly slower than sequential burst mode.

The authors tackle the challenge of how to gain the efficiency of neuromorphic "data-driven" computing while maintaining the predictable memory access patterns required by DRAM.

Methods

The authors present two primary architectures that exploit different types of sparsity:

  1. Spatial Sparsity (NullHop CNN Accelerator): Standard CNNs often use ReLU activation functions, which result in many zero-valued pixels. NullHop uses a Sparsity Map (SM) compression scheme—a bitmap marking non-zero pixels. The hardware skips over zero pixels entirely without wasting clock cycles, effectively "pruning" the computation on the fly.

    The NullHop architecture uses a sparsity map to skip zero-pixel MAC operations.
  2. Temporal Sparsity (DeltaRNN / EdgeDRNN): For Recurrent Neural Networks (RNNs), the authors utilize the Delta Network principle. Instead of updating every neuron at every timestep, the system only propagates changes (deltas) that exceed a certain threshold $\theta$. This mimics the temporal sparsity of SNNs but operates synchronously, which "plays nice" with DRAM by allowing for scheduled, predictable memory fetches.

Datasets

The paper references several standard benchmarks used to evaluate their hardware developments:

  • MNIST: Used for initial SNN training and backpropagation studies.
  • VGG-16 & GoogLeNet Inception-V3: Used to demonstrate that pre-trained large-scale ANNs can be converted into equivalent-accuracy SNNs.
  • ImageNet-scale networks: Used to measure activation sparsity across different layers (see Figure 4).
Activation sparsity increases significantly when moving from 32-bit floating-point to 16-bit fixed-point precision.

Key Insights and Ideas

  • The Brain is Ultra-Sparse: A "napkin estimate" of the human brain suggests an average spike rate of only ~1 Hz. While neurons receive input at much higher rates (~10 kHz), the actual output events are rare, saving massive amounts of energy.
  • Quantization Boosts Sparsity: Moving from 32-bit floating-point to 16-bit fixed-point precision doesn't just save memory; it actually increases activation sparsity to nearly 80% in some layers. This means 4/5 of the math can be skipped.
  • Stateless vs. Stateful Sparsity: The authors found that exploiting temporal sparsity in feedforward CNNs is rarely beneficial because the cost of storing and reading previous states outweighs the savings. However, for stateful RNNs, temporal sparsity is a "huge benefit" because the state space is smaller and memory-bound.
  • The DRAM Energy Wall: Even with perfect sparsity, accelerators are hitting a wall where DRAM energy consumption dominates the system. Future gains will likely require moving computation into the memory itself.

Key Results

  • NullHop (CNN): Achieved a core power efficiency of ~3 TOp/s/W in 28nm technology. By skipping zero activations, it reached an effective efficiency of 400% compared to non-sparse accelerators (meaning one physical MAC unit does the work of four).
  • EdgeDRNN (RNN): Implemented on a low-cost FPGA board, it achieved a mean throughput of 20.2 GOp/s and a power efficiency of 8 GOp/s/W.
  • Performance Comparison: EdgeDRNN outperformed the NVIDIA Jetson Nano and Intel Neural Compute Stick 2 by at least 4x in efficiency and 6x in speed for batch size 1. Remarkably, it achieved the same latency as a 92W Nvidia GTX 1080 GPU while consuming only 2.4W.
Comparison of CNN accelerators shows the trade-offs between throughput and power.

Limitations and Future Work

  • DRAM Bottleneck: The system-level efficiency is still heavily limited by the energy cost of DRAM access. While NullHop reaches 3 TOp/s/W at the core, this drops to 1.5 TOp/s/W when factoring in DDR3 DRAM.
  • Memory Bound RNNs: RNN accelerators are hitting an "efficiency wall" of a few hundred GOp/s/W due to their high memory-to-computation ratio.
  • Future Directions: The authors suggest that MRAM-based accelerators or "Processing-in-Memory" (PIM) architectures—where the memory itself performs the calculations—are the most promising paths to breaking current efficiency limits.

Summary updated

BibTeX
@inproceedings{delbruck2019data,
  author = {Tobi Delbruck and Shih-Chii Liu},
  title = {{Data-Driven Neuromorphic DRAM-based CNN and RNN Accelerators}},
  booktitle = {ACSSC},
  year = {2019},
  doi = {10.1109/ieeeconf44664.2019.9048865},
}
Figure