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

P2M-DeTrack: Processing-in-Pixel-in-Memory for Energy-efficient and Real-Time Multi-Object Detection and Tracking

Gourav Datta, Souvik Kundu, Zihan Yin, Joe Mathai, Zeyu Liu, Zixu Wang, Mulin Tian, Shunlin Lu, Ravi Teja Lakkireddy, Andrew Schmidt, Wael Abd-Almageed, Ajey Jacob, Akhilesh R. Jaiswal, Peter A. BeerelVLSI-SoC 2022

Abstract

Today's high resolution, high frame rate cameras in autonomous vehicles generate a large volume of data that needs to be transferred and processed by a downstream processor or machine learning (ML) accelerator to enable intelligent computing tasks, such as multi-object detection and tracking. The massive amount of data transfer incurs significant energy, latency, and bandwidth bottlenecks, which hinders real-time processing. To mitigate this problem, we propose an algorithm-hardware co-design framework called Processing-in-Pixel-in-Memory-based object Detection and Tracking (P2M-DeTrack). P2M-DeTrack is based on a custom faster R-CNN-based model that is distributed partly inside the pixel array (front-end) and partly in a separate FPGA/ASIC (back-end). The proposed front-end in-pixel processing down-samples the input feature maps significantly with judiciously optimized strided convolution and pooling. Compared to a conventional baseline design that transfers frames of RGB pixels to the back-end, the resulting P2M-DeTrack designs reduce the data bandwidth between sensor and back-end by up to 24x. The designs also reduce the sensor and total energy per frame by 5.7x and 1.14x, respectively. Lastly, they reduce the sensing and total frame latency by an estimated 1.7x and 3x, respectively. We evaluate our approach on the multi-object object detection (tracking) task of the large-scale BDD100K dataset and observe only a 0.5% reduction in the mean average precision (0.8% reduction in the identification F1 score) compared to the state-of-the-art.

Introduction

In autonomous driving, cameras generate a firehose of high-resolution, high-frame-rate data. Traditionally, this raw data is sent to a separate processor (like a GPU or FPGA) for analysis. This transfer creates a massive "data wall" characterized by bandwidth bottlenecks, high latency, and energy inefficiency. While "in-sensor" computing exists, previous attempts were often limited to simple tasks or used non-standard materials. They also struggled with complex operations like overlapping strides, which are essential for detecting small objects in high-resolution images.

Methods: Algorithm-Hardware Co-Design

The P2M-DeTrack framework utilizes a split-architecture approach based on a customized Faster R-CNN model. The first four layers of the neural network—Convolution, Batch Normalization, ReLU, and Pooling—are embedded directly into the pixel array (front-end).

P2M-DeTrack hardware-algorithm co-design overview showing the split between front-end sensor and back-end FPGA.

In this front-end, synaptic weights are represented by transistor widths, and multiplications occur in the analog domain. Analog-to-Digital Converters (ADCs) are repurposed to perform ReLU and Batch Normalization. The back-end, typically an FPGA or ASIC, receives compressed feature maps and handles the Region Proposal Network and final classification. This design exploits column-parallel ADCs to process multiple rows and kernels simultaneously, supporting the overlapping strides necessary for high accuracy. The system was evaluated on the BDD100K dataset, which includes 100,000 high-resolution (720p) images and videos across diverse weather and lighting conditions.

Key Results and Discussion

P2M-DeTrack significantly outperforms standard off-chip baselines in efficiency while maintaining high accuracy. The system reduces data transfer bandwidth by up to 24x.

Comparison of normalized delay showing significant reductions in sensing and total latency with P2M-DeTrack.

As shown in the latency analysis, total frame latency improved by 3x, increasing throughput from ~9.6 FPS to ~17 FPS. Energy efficiency also saw marked improvements: sensing energy dropped by 5.7x, leading to a 14% reduction in total system energy. Crucially, these gains come with a negligible accuracy penalty: only a 0.5% drop in mean Average Precision (mAP) and a 0.8% drop in identification F1 score (IDF1) compared to state-of-the-art models.

Limitations and Future Work

Current limitations include fixed weights hard-coded by transistor widths, which limits flexibility. Future work aims to utilize Resistive RAM (RRAM) for reconfigurable weights and further optimize the back-end through pruning and quantization. Additionally, 3D chip stacking is proposed to mitigate the increased pixel area required by in-pixel transistors.

Summary updated

BibTeX
@inproceedings{datta2022p,
  author = {Gourav Datta and Souvik Kundu and Zihan Yin and Joe Mathai and Zeyu Liu and Zixu Wang and Mulin Tian and Shunlin Lu and Ravi Teja Lakkireddy and Andrew Schmidt and Wael Abd-Almageed and Ajey Jacob and Akhilesh R. Jaiswal and Peter A. Beerel},
  title = {{P2M-DeTrack: Processing-in-Pixel-in-Memory for Energy-efficient and Real-Time Multi-Object Detection and Tracking}},
  booktitle = {VLSI-SoC},
  year = {2022},
  url = {https://openreview.net/forum?id=VmrajICCBkK},
}
Figure