Mixed-Signal Charge-Domain Acceleration of Deep Neural networks through Interleaved Bit-Partitioned Arithmetic

Soroush Ghodrati, Hardik Sharma, Sean Kinzer, Amir Yazdanbakhsh, Kambiz Samadi, Nam Sung Kim, Doug Burger, Hadi Esmaeilzadeh

TL;DR

BIHIWE is a novel mixed-signal accelerator that slashes the energy and area overhead of deep learning hardware by reformulating high-bitwidth vector dot-products into parallel, low-bitwidth analog operations. By executing these operations in the charge domain using switched-capacitor circuits, it accumulates results over multiple cycles and amortizes the costly overhead of Analog-to-Digital (A/D) conversions, delivering massive efficiency gains over state-of-the-art digital accelerators and GPUs with negligible accuracy loss.

What Problem Does This Paper Address?

As Deep Neural Networks (DNNs) grow more pervasive, traditional digital accelerators (like GPUs and TPUs) are facing severe efficiency bottlenecks due to data movement and the power walls of digital logic. Mixed-signal (analog-digital) accelerators offer a low-power alternative by performing Multiply-Accumulate (MACC) operations using analog circuit phenomena.

However, traditional mixed-signal designs suffer from three major flaws:

  1. Limited Encoding Range: Analog signals have a restricted dynamic range, making high-precision math difficult.
  2. Susceptibility to Noise: Thermal noise and process variations degrade computational accuracy.
  3. Conversion Overheads: Converting data between the digital and analog domains via Digital-to-Analog (D/A) and Analog-to-Digital (A/D) converters is incredibly expensive in terms of energy and silicon area. When every single MACC unit requires its own converters, the overhead quickly cancels out the efficiency benefits of analog computing.

Methods

The authors introduce BIHIWE (Bit-Partitioned and Interleaved Hierarchy of Wide Acceleration through Electrical Charge) to solve these challenges through a hardware-software co-design approach:

  • Mathematical Bit-Partitioning & Interleaving: Instead of processing full 8-bit values in the analog domain, BIHIWE splits operands into lower-bitwidth chunks (e.g., 2-bit partitions). It then rearranges the vector dot-product so that bit-partitions of the same significance from different vector elements are grouped and processed together spatially. This allows the hardware to factor out the power-of-two bit-shifts into the digital domain, enabling a large group of low-bitwidth analog MACCs to share a single A/D converter.
Wide, interleaved, and bit-partitioned mathematical formulation.
  • Charge-Domain Switched-Capacitor Circuits: BIHIWE implements these low-bitwidth MACCs using switched-capacitor circuits. Computations take place in the charge domain, where partial results are accumulated as electrical charge directly inside parallel capacitors over multiple clock cycles. This temporal accumulation means the hardware doesn't need to perform an A/D conversion after every single cycle, drastically reducing conversion frequency.
Low-bitwidth switched-capacitor MACC design.
  • Hierarchically Clustered 3D Architecture: The accelerator logic die is vertically stacked underneath 3D DRAM (Hybrid Memory Cube) to provide the massive memory bandwidth required to feed its high-density analog compute cores. The cores are organized into a 2D systolic array of Mixed-Signal Wide Aggregators (MS-WAGGs).
Hierarchically clustered architecture of BIHIWE.
  • Algorithmic Noise Mitigation: To counter analog non-idealities (thermal noise, incomplete charge transfer, and PVT variations), the authors mathematically modeled these errors and integrated them into a PyTorch-based training framework. By running a brief fine-tuning pass (a few epochs), the neural network learns to inherently compensate for the hardware's imperfections.

Datasets

The architecture was rigorously evaluated using ten diverse, real-world DNN benchmarks spanning multiple tasks:

  • Image Classification & Object Detection: AlexNet, CIFAR-10, GoogLeNet, ResNet-18, ResNet-50, VGG-16, VGG-19, and YOLOv3 (evaluated using the ImageNet and CIFAR-10 datasets).
  • Language Modeling: PTB-RNN and PTB-LSTM (evaluated using the Penn TreeBank dataset).

Key Insights and Ideas

  • Bit-Rearrangement Preserves Integrity: Unlike prior analog accelerators that truncate numbers or alter the underlying mathematics to fit hardware limitations, BIHIWE proves that exact bit-level restructuring can map high-precision math onto low-precision analog blocks without losing mathematical integrity.
  • Capacitors as Natural Buffers: Using capacitors to gradually accumulate charge over time acts as an analog storage mechanism. This effectively delays the need for digital conversion, bypassing the traditional mixed-signal energy trap.
  • Embrace Noise, Don't Fight It: Instead of over-engineering analog circuits to be perfectly precise (which costs significant area and power), BIHIWE shifts the burden to software. Letting the neural network adapt to hardware noise via fine-tuning allows the analog components to remain small, simple, and highly efficient.

Key Results

  • vs. Digital 3D Accelerators (TETRIS): BIHIWE achieves a 4.9× speedup and a 2.4× energy reduction under an iso-power budget.
  • vs. Modern GPUs (RTX 2080 Ti & Titan Xp): Running 8-bit execution, BIHIWE delivers 33.1× and 66.5× higher Performance-per-Watt, respectively.
  • vs. Other Accelerators: It outperforms Google's TPU by 4.5× in peak power efficiency, and beats alternative analog memristive designs (ISAAC and PipeLayer) by 3.6× and 9.6×, respectively.
  • Accuracy Preservation: Across all ten benchmarks, the final accuracy loss after the hardware-aware fine-tuning pass was kept below 0.5%, with some networks (like CIFAR-10 and ResNet-50) recovering their ideal accuracy entirely.

Limitations and Future Work

  • Chip-Specific Fine-Tuning: Because the mitigation strategy relies on software fine-tuning to counter physical variations, networks may need to be calibrated or fine-tuned specifically for individual chips or specific manufacturing technology nodes.
  • Circuit Non-Linearity: The charge-sharing mechanism introduces a mathematical non-linearity (as seen in the circuit equations). While mitigated by sizing the input capacitors significantly larger than the weight capacitors ($3C_X \gg |w|C_W$), this places a physical constraint on how small the components can scale.
  • Static Scheduling Dependency: The architecture relies on a compiler-driven, statically scheduled bus to maximize data reuse and avoid complex dynamic routing hardware. This works perfectly for standard dense DNNs but might face under-utilization challenges with highly irregular or dynamic workloads.

Summary updated

BibTeX
@inproceedings{ghodrati2020mixed,
  author = {Soroush Ghodrati and Hardik Sharma and Sean Kinzer and Amir Yazdanbakhsh and Kambiz Samadi and Nam Sung Kim and Doug Burger and Hadi Esmaeilzadeh},
  title = {{Mixed-Signal Charge-Domain Acceleration of Deep Neural networks through Interleaved Bit-Partitioned Arithmetic}},
  booktitle = {PACT},
  year = {2020},
  doi = {10.1145/3410463.3414634},
}
Figure