Introduction
Traditional computer vision systems suffer from a significant "data tax." Sensors capture light, convert it to digital signals, and transmit them to a central processor (CPU or GPU). This data movement creates bottlenecks in latency, power consumption, and bandwidth, which are critical for high-speed robotics and battery-constrained edge devices.
In the paper "Fully Embedding Fast Convolutional Networks on Pixel Processor Arrays," researchers from the Universities of Bristol and Manchester present a solution: running a complete Convolutional Neural Network (CNN) entirely within the vision sensor itself. By embedding CNN weights directly into the "pixels" of a Pixel Processor Array (PPA), they achieved MNIST digit recognition at over 3,000 frames per second with 93% accuracy, completely bypassing external processors.
Hardware Architecture: The SCAMP-5 PPA
The core of this research is the SCAMP-5, a PPA featuring a 256x256 array of Processing Elements (PEs). Unlike standard sensors, each PE in the SCAMP-5 is a miniature computer capable of light capture, analog and digital storage, and basic arithmetic.
Each PE communicates with its immediate neighbors (North, East, West, South), enabling efficient spatial data movement. This architecture allows for Single Instruction, Multiple Data (SIMD) processing, where a single command is executed simultaneously across all 65,536 PEs.
Methodology and Key Innovations
To fully embed a CNN on such hardware, the researchers introduced several key innovations:
- In-Pixel Weight Storage: Weights are stored directly in the local memory of the PEs rather than being transmitted as instructions. This drastically reduces the overhead of weight loading during inference.
- Computation Blocks: The 256x256 array is partitioned into smaller blocks (e.g., 32x32 pixels). Each block is assigned a specific convolutional filter, allowing the sensor to compute multiple convolutions in parallel across the image.
- Extreme Weight Quantization: Due to the limited memory of each PE (13 bits digital, 7 analog registers), the team employed binary weights (+1, -1) for convolutional layers and ternary weights (+1, 0, -1) for the final classification layer.
- Digital Pixel Stacking: To mitigate noise in analog computations, a "pixel stacking" method was developed. Activations are iteratively shifted and summed digitally at the array's edge, ensuring high precision for the final output.
Key Insights: Spatial Parallelism
The primary advantage of the PPA approach is Spatial Parallelism. While a GPU processes data sequentially through its cores, the PPA processes the entire image spatially. By duplicating the input image across the array, multiple filters can be applied simultaneously in a single instruction cycle.
This transformation of the pixel array into a distributed memory bank for weights allows the SIMD architecture to function as a high-throughput parallel convolution engine.
Performance and Results
The researchers evaluated their system using the MNIST dataset of handwritten digits. The results demonstrate the potential of on-sensor AI:
- Throughput: The 2-layer network achieved a peak speed of 3,676 classifications per second.
- Accuracy: Despite extreme quantization and analog noise, the system maintained 93-94% accuracy.
- Efficiency: The SCAMP-5 chip demonstrated an efficiency of 535 GOPS/W. While peak power was ~1.25W, typical 30 FPS operation is estimated to consume only 10-20 mW.
Limitations and Future Outlook
While promising, the current implementation faces hardware-related constraints. The SCAMP-5 is manufactured on an older 180nm process; modern silicon would offer significantly more memory per PE. Additionally, deeper networks like ResNet are currently limited by the memory required to store intermediate feature maps. Future work will focus on optimizing data movement across the array—currently a major bottleneck—and scaling the architecture to more complex real-world object detection tasks.
Summary updated