NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Technology-Circuit-Algorithm Tri-Design for Processing-in-Pixel-in-Memory (P2M)

Md. Abdullah-Al Kaiser, Gourav Datta, Sreetama Sarkar, Souvik Kundu, Zihan Yin, Manas Garg, Ajey P. Jacob, Peter A. Beerel, Akhilesh R. Jaiswal · DOI

Abstract

Modern computer vision systems at the "extreme edge" are increasingly limited by the energy and bandwidth costs of moving high-resolution raw data from sensors to separate processing units. This paper proposes a holistic "tri-design" framework for Processing-in-Pixel-in-Memory ($P^2M$), a paradigm that embeds the first layer of a Convolutional Neural Network (CNN) directly into the camera's pixel array. By co-optimizing 3D-integration technology, analog circuit design, and hardware-aware algorithms, the researchers demonstrate a path toward drastically reducing data movement bottlenecks while maintaining high inference accuracy.

Introduction: The Data Movement Bottleneck

In traditional computer vision architectures, high-resolution sensors generate a massive volume of data that must be digitized and transmitted to a GPU or NPU for processing. This physical segregation creates a significant bottleneck: the energy required to move data often exceeds the energy required for the actual computation. While "near-sensor" or "in-sensor" processing at the chip periphery offers some relief, it does not eliminate the internal data transfer issues.

The authors target in-pixel processing, where computation occurs directly beneath the photodiode. The primary challenge of this approach is the "pitch constraint"—the difficulty of integrating complex weights and logic into the tiny area of a pixel without compromising image resolution or sensor performance.

The P2M Tri-Design Framework

To overcome these constraints, the paper introduces a three-pronged optimization strategy:

1. Technology: 3D Integration

The framework utilizes 3D stacking to maintain high pixel density. A Back-Side Illuminated (BI-CIS) sensor die is bonded to a dedicated "Weight Die." The researchers explore two bonding methods: Through-Silicon Vias (TSVs) and Copper-to-Copper (Cu-Cu) hybrid bonding. Cu-Cu bonding, in particular, allows for a much denser pixel pitch, enabling more complex weights to sit vertically beneath the pixels.

2. Circuit: Hybrid CMOS-RRAM

To facilitate reconfigurable weights within the pixel array, the authors employ Resistive RAM (RRAM). In this setup, the pixel's output voltage is modulated by the resistance state of the RRAM, effectively performing analog multiplication. Furthermore, the design re-purposes the sensor's existing Single-Slope Analog-to-Digital Converter (ADC). By utilizing up/down counting techniques during the conversion process, the ADC can perform non-linear operations like ReLU (activation) and Batch Normalization without additional dedicated hardware.

3. Algorithm: Hardware-Aware Training

Analog circuits are inherently non-linear and subject to noise, making them less predictable than digital logic. To bridge this gap, the authors replace ideal convolution functions in their training models with custom non-linear functions that mimic the actual circuit behavior. This "noise-aware training" allows the AI model to learn to compensate for hardware imperfections during the training phase, ensuring high accuracy during deployment.

Experimental Evaluation

The $P^2M$ framework was evaluated using two primary benchmarks:

  • Visual Wake Words (VWW): A dataset focused on tinyML applications, such as identifying the presence of a person in a frame.
  • BDD100K: A large-scale dataset for autonomous driving, used to test multi-object tracking and fine-grained feature extraction.

Key Results and Insights

The tri-design approach yielded significant improvements across several metrics:

  • Bandwidth and Energy Efficiency: By performing the first layer of convolution in-pixel, the system significantly reduces the volume of data sent to the back-end processor. The use of 3D integration for I/O is orders of magnitude more efficient than traditional LVDS or wireless transmission. Prior iterations of this research reported an 11x improvement in Energy-Delay Product (EDP) compared to traditional off-sensor processing.
  • Accuracy Retention: Despite the non-linearities of analog processing, the hardware-aware training proved highly effective. On the VWW dataset, increasing the convolution stride from 2 to 6 resulted in only a 1.28% drop in accuracy. On the complex BDD100K dataset, increasing the stride to 5 with 16 channels decreased mean Average Precision (mAP) by only 2.8%.
  • The Stride Advantage: Increasing the "stride" (skipping pixels during convolution) within the pixel array provides a massive reduction in bandwidth and energy, though it requires careful balancing to maintain accuracy for complex tasks like object tracking.

Limitations and Future Work

While the framework successfully models circuit non-linearity, non-deterministic analog noise remains a challenge for tasks requiring extreme precision. Future work will focus on developing more sophisticated non-linearity models that remain computationally efficient for training. Additionally, the researchers are exploring "Frame Skipping" (processing only frames with significant temporal changes) and "Sensor Fusion" (integrating layers for multiple sensor types, such as LiDAR and Image, on a single 3D-integrated chip) as the next frontiers for $P^2M$ technology.

Summary updated

BibTeX
@inproceedings{kaiser2023technology,
  author = {Md. Abdullah-Al Kaiser and Gourav Datta and Sreetama Sarkar and Souvik Kundu and Zihan Yin and Manas Garg and Ajey P. Jacob and Peter A. Beerel and Akhilesh R. Jaiswal},
  title = {{Technology-Circuit-Algorithm Tri-Design for Processing-in-Pixel-in-Memory (P2M)}},
  booktitle = {ACM Great Lakes Symposium on VLSI},
  year = {2023},
  doi = {10.1145/3583781.3590235},
}
Figure