Hardware/Software Co-Design With ADC-Less In-Memory Computing Hardware for Spiking Neural Networks

Marco Paul E. Apolinario, Adarsh Kumar Kosta, Utkarsh Saxena, Kaushik Roy · DOI

Spiking Neural Networks (SNNs) represent a bio-plausible approach to artificial intelligence, mimicking the discrete spike-based communication of biological neurons to achieve high energy efficiency. However, deploying SNNs on conventional von Neumann architectures like GPUs often results in significant inefficiencies due to the fundamental mismatch between spike-based processing and standard memory-processor data movement.

The ADC Bottleneck in In-Memory Computing

In-Memory Computing (IMC) has emerged as a promising solution, performing Matrix-Vector Multiplications (MVM) directly within memory crossbar arrays (e.g., ReRAM or SRAM). This approach mitigates the "von Neumann bottleneck" by processing data where it resides. However, IMC faces a significant "peripheral problem." While the computations within the crossbar are analog, the surrounding system is digital.

Standard In-Memory Computing (IMC) architecture highlighting the ADC-heavy peripheral circuits.

Bridging this gap typically requires High-Precision Analog-to-Digital Converters (HP-ADCs). These components are notoriously inefficient, often accounting for over 60% of total system energy and 81% of the chip area. Researchers from Purdue University have proposed a hardware/software co-design that eliminates these power-hungry ADCs entirely.

ADC-Less Hardware Design

The proposed architecture replaces HP-ADCs with simple 1-bit sense amplifiers (SAs). Instead of resolving the exact analog sum of a column, the hardware generates a binary signal based on whether the current exceeds a specific threshold.

Proposed ADC-less weight mapping using 1-bit sense amplifiers to replace high-precision ADCs.

To maintain functional parity with standard architectures, the design incorporates a specialized IAND (Spike-Element-Wise) block. This block handles residual connections—common in architectures like ResNets—using simple logic gates rather than multi-bit adders, ensuring the entire data path remains binary and efficient.

Hardware-Aware Training Pipeline

Replacing high-precision ADCs with 1-bit sensing introduces significant quantization noise. To compensate, the researchers developed a three-step hardware-aware training process:

  1. Full Precision Training: Initial model training using surrogate gradients or ANN-to-SNN conversion.
  2. Quantization-Aware Training: Re-training with 4-bit weights and 12-bit membrane potentials to align with hardware constraints.
  3. ADC-Less Fine-Tuning: The model is fine-tuned by exposing it to the specific 1-bit partial-sum mapping and weight-mapping schemes of the hardware, allowing the network to "learn" and adapt to the sensing errors.

Performance and Results

The ADC-less design was evaluated across various tasks, including CIFAR classification, neuromorphic gesture recognition (DVS128), and complex event-based optical flow estimation (MVSEC).

Key results include:

  • Efficiency: The design achieved a 2–7× energy reduction and 8.9–24.6× latency improvement compared to traditional IMC designs using 5-bit ADCs.
  • Comparison to Edge GPUs: For optical flow tasks, the architecture was 33–72× more energy-efficient than an NVIDIA Jetson TX2.
  • Accuracy Retention: Accuracy loss was minimal, with only a 1.2% to 2.4% drop on CIFAR-10. In some gesture recognition tasks, the ADC-less model even outperformed high-precision baselines due to the inherent regularization of quantization.

Conclusion

By exploiting the binary nature of SNNs and implementing a hardware-aware training loop, this co-design successfully removes the ADC bottleneck in IMC hardware. While challenges remain regarding crossbar size sensitivity and device non-idealities, this work paves the way for extremely low-power, high-speed neuromorphic hardware capable of handling complex real-world temporal tasks.

Summary updated

BibTeX
@misc{apolinario2022hardware,
  author = {Marco Paul E. Apolinario and Adarsh Kumar Kosta and Utkarsh Saxena and Kaushik Roy},
  title = {{Hardware/Software Co-Design With ADC-Less In-Memory Computing Hardware for Spiking Neural Networks}},
  year = {2022},
  eprint = {2211.02167},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.02167},
}
Figure