YodaNN: An Architecture for Ultralow Power Binary-Weight CNN Acceleration

Renzo Andri, Lukas Cavigelli, Davide Rossi, Luca Benini

Introduction

The rapid advancement of Convolutional Neural Networks (CNNs) has revolutionized computer vision, yet their deployment on Internet of Things (IoT) end-nodes remains constrained by a "CNN power wall." Standard hardware like GPUs and mobile CPUs consume power in the range of Watts, whereas IoT devices typically operate within a milliwatt (mW) budget. The primary bottlenecks are the computational cost of multi-bit multiplications and the energy-intensive movement of weights from memory to the processor.

YodaNN is a specialized ASIC accelerator designed to overcome these challenges. By leveraging binary-weight networks and a custom latch-based memory architecture, it achieves an unprecedented energy efficiency of 61.2 TOp/s/W—outperforming previous state-of-the-art designs by over 30x while maintaining a sub-milliwatt power profile.

Architecture and Methodology

YodaNN is optimized specifically for Binary-Weight CNNs, such as BinaryConnect, where weights are constrained to +1 or -1. This constraint allows for several architectural innovations:

  • Binary Arithmetic: Traditional, area-heavy 12-bit multipliers are replaced with simple multiplexers and 2’s complement units within the Sum-of-Product (SoP) blocks.
  • Latch-Based Standard Cell Memory (SCM): To enable "near-threshold" operation, YodaNN utilizes SCM for on-chip storage instead of traditional SRAM. While SCM has a larger physical footprint, it remains functional down to 0.6V, where energy efficiency is maximized.
  • Weight-Shifting Dataflow: To minimize data movement, the architecture employs a sliding window approach. Rather than shifting image data through memory, it circularly shifts binary weights within a dedicated Filter Bank.
  • Flexibility: The design supports variable kernel sizes (1x1 to 7x7) and includes a Scale-Bias unit for per-channel batch normalization and activation.
The hardware architecture of the YodaNN accelerator, highlighting the FilterBank, ImageBank, and Sum-of-Product (SoP) units.

Evaluation and Benchmarks

The architecture was validated across a range of benchmarks to demonstrate its versatility:

  • Small-scale Recognition: Evaluated using CIFAR-10 and SVHN datasets.
  • Large-scale Networks: Performance was tested on heavy-duty models including AlexNet, ResNet-18/34, and VGG-13/19 using the ImageNet dataset.

Analysis of Efficiency and Area

A key insight from the YodaNN design is that the multiplier is the primary bottleneck in traditional architectures. Moving from 12-bit fixed-point weights to binary weights allowed the researchers to shrink the Filter Bank area by 14.9x and the SoP units by 5.3x.

Area breakdown comparison showing the significant reduction in silicon area for SoP and FilterBank units when moving from fixed-point (Q2.9) to binary weights.

Furthermore, the decision to use SCM instead of SRAM enabled voltage scaling down to 0.6V. This trade-off—sacrificing area density for low-voltage stability—yielded a 6x improvement in energy efficiency compared to nominal 1.2V operation. However, as the compute core became more efficient, I/O power emerged as a new dominant factor, accounting for over 30% of total power in some configurations.

Performance Results and Limitations

YodaNN demonstrates exceptional performance metrics:

  • Peak Throughput: 1.5 TOp/s at 1.2V.
  • Extreme Efficiency: 61.2 TOp/s/W at 0.6V, a 32x improvement over prior art.
  • Power Consumption: Only 895 µW at 0.6V, ideal for battery-powered devices.
  • Real-World Speed: Processes ResNet-34 at 16.8 FPS (1.2V) or 2.5 FPS in ultra-low-power mode (0.6V).

Despite these gains, the architecture is strictly optimized for binary weights (+1/-1) and cannot fall back to high-precision weights if required by an application. Additionally, the lower density of SCM compared to SRAM results in a larger physical chip footprint, potentially impacting manufacturing costs. Future work will likely focus on addressing I/O bottlenecks to further reduce the power overhead of streaming sensor data.

Summary updated

Abstract

Convolutional neural networks (CNNs) have revolutionized the world of computer vision over the last few years, pushing image classification beyond human accuracy. The computational effort of today's CNNs requires power-hungry parallel processors or GP-GPUs. Recent developments in CNN accelerators for system-on-chip integration have reduced energy consumption significantly. Unfortunately, even these highly optimized devices are above the power envelope imposed by mobile and deeply embedded applications and face hard limitations caused by CNN weight I/O and storage. This prevents the adoption of CNNs in future ultralow power Internet of Things end-nodes for near-sensor analytics. Recent algorithmic and theoretical advancements enable competitive classification accuracy even when limiting CNNs to binary (+1/-1) weights during training. These new findings bring major optimization opportunities in the arithmetic core by removing the need for expensive multiplications, as well as reducing I/O bandwidth and storage. In this paper, we present an accelerator optimized for binary-weight CNNs that achieves 1.5 TOp/s at 1.2 V on a core area of only 1.33 million gate equivalent (MGE) or 1.9 mm <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sup> and with a power dissipation of 895 μW in UMC 65-nm technology at 0.6 V. Our accelerator significantly outperforms the state-of-the-art in terms of energy and area efficiency achieving 61.2 TOp/s/[email protected] V and 1.1 TOp/s/[email protected] V, respectively.
BibTeX
@article{andri2018yodann,
  author = {Renzo Andri and Lukas Cavigelli and Davide Rossi and Luca Benini},
  title = {{YodaNN: An Architecture for Ultralow Power Binary-Weight CNN Acceleration}},
  journal = {IEEE Trans. Comput. Aided Des. Integr. Circuits Syst.},
  year = {2018},
  doi = {10.1109/tcad.2017.2682138},
}
Figure