Live Demonstration: Digit Recognition on Pixel Processor Arrays

Laurie Bose, Jianing Chen, Stephen J. Carey, Piotr Dudek, Walterio W. Mayol-CuevasWorkshops @ CVPR 2019

Introduction

In traditional computer vision, a physical and computational "wall" exists between the sensor and the processor. Data must be captured, digitized, and transferred across a bus before intelligence can be applied, creating bottlenecks in latency and power consumption. This paper demonstrates a breakthrough in "focal-plane processing" by implementing a Convolutional Neural Network (CNN) directly on a Pixel Processor Array (PPA), specifically the SCAMP5 architecture. By performing image capture and inference on the same chip, the system achieves real-time recognition with extremely low power consumption (≤ 2W).

The SCAMP5 Architecture and CNN Implementation

The SCAMP5 is a programmable PPA featuring a 256x256 array where every pixel is paired with its own processing element, including 13 binary and 7 analog registers. Mapping a memory-intensive CNN onto this SIMD-based architecture required several key strategies:

  • Spatial Trade-offs: The PPA’s digital memory was divided into 4x4 blocks of processing elements. While this reduced spatial resolution, it increased the bit-depth and storage capacity for each "super-pixel," allowing the chip to manage intermediate neural network data.
  • Ternary Weights: To minimize computational costs, the CNN was trained using ternary weights (+1, 0, -1). This allowed the PPA to perform convolutions using simple addition and subtraction, executed in parallel across the array.
  • Hybrid Inference: The PPA handles the computationally heavy tasks—image capture, convolutions, and parallel max-pooling—while an onboard microcontroller performs the final, lightweight fully connected layer for classification.
Figure 1: The live demonstration setup using the SCAMP5 sensor to recognize digits written on a whiteboard.

Experimental Results and Insights

The system was evaluated using the MNIST dataset and live hand-drawn digits. The performance on the PPA hardware was remarkably close to software simulations, with only a 1.2% accuracy gap.

Figure 2: The system's multi-pane output showing the raw input (top-left), processed features (top-right), classification probabilities (bottom-left), and final result (bottom-right).

Key insights from the demonstration include:

  • Efficiency: The entire system operates within a power envelope of ≤ 2W, significantly lower than dedicated GPUs or high-end CPUs.
  • Hardware-Algorithm Co-design: The use of ternary weights demonstrates that edge AI models should be designed to "speak the language" of the sensor hardware rather than simply porting existing models.
  • Analog-Digital Synergy: Utilizing both analog and digital image copies allows for high-speed parallel operations that surpass traditional serial processors.

Limitations and Future Work

While successful, the researchers noted a performance gap due to the unique noise characteristics of the PPA’s analog components. Additionally, the 4x4 pixel grouping limits input resolution. Future work will focus on increasing memory density and scaling these focal-plane processing methods to more complex visual tasks and larger PPA architectures.

Summary updated

BibTeX
@inproceedings{bose2019live,
  author = {Laurie Bose and Jianing Chen and Stephen J. Carey and Piotr Dudek and Walterio W. Mayol-Cuevas},
  title = {{Live Demonstration: Digit Recognition on Pixel Processor Arrays}},
  booktitle = {Workshops @ CVPR},
  year = {2019},
  doi = {10.1109/cvprw.2019.00218},
}
Figure