[Paper Review] AnalogNet: Convolutional Neural Network Inference on Analog Focal Plane Sensor Processors
AnalogNet proposes a novel CNN inference framework for analog Focal Plane Sensor Processors (FPSPs), enabling high-speed, low-energy image processing by performing computations directly on the sensor chip. It achieves 96.9% accuracy on MNIST at 2260 FPS with only 0.7 mJ per frame, using a custom training method robust to analog computation noise.
We present a high-speed, energy-efficient Convolutional Neural Network (CNN) architecture utilising the capabilities of a unique class of devices known as analog Focal Plane Sensor Processors (FPSP), in which the sensor and the processor are embedded together on the same silicon chip. Unlike traditional vision systems, where the sensor array sends collected data to a separate processor for processing, FPSPs allow data to be processed on the imaging device itself. This unique architecture enables ultra-fast image processing and high energy efficiency, at the expense of limited processing resources and approximate computations. In this work, we show how to convert standard CNNs to FPSP code, and demonstrate a method of training networks to increase their robustness to analog computation errors. Our proposed architecture, coined AnalogNet, reaches a testing accuracy of 96.9% on the MNIST handwritten digits recognition task, at a speed of 2260 FPS, for a cost of 0.7 mJ per frame.
Motivation & Objective
- To enable efficient and accurate CNN inference on analog Focal Plane Sensor Processors (FPSPs), which integrate sensors and processors on the same chip.
- To address the challenge of limited memory and noisy analog computations inherent in FPSPs for deep learning workloads.
- To develop a training methodology that enhances network robustness to the approximate nature of analog computations.
- To demonstrate high frame-rate, low-energy inference on real hardware using a standard benchmark (MNIST).
Proposed method
- Designing a custom training process that incorporates noise modeling to improve network robustness to analog computation errors.
- Mapping standard CNN layers to FPSP-compliant code using optimized dataflow and computation scheduling on the SCAMP-5 FPSP.
- Utilizing the SCAMP-5 FPSP’s 256×256 array of processing elements (PEs) to perform parallel analog computations on image data in situ.
- Implementing a single-convolutional-layer CNN architecture tailored to the FPSP’s constraints, including limited memory and signal degradation.
- Applying noise-aware weight quantization and stochastic training techniques to improve resilience to analog hardware inaccuracies.
- Optimizing inference by minimizing data movement and leveraging the focal-plane processing model to reduce energy consumption.
Experimental results
Research questions
- RQ1Can standard CNNs be effectively mapped to analog FPSPs despite their limited memory and noisy analog arithmetic?
- RQ2How can training procedures be adapted to improve robustness to analog computation errors in FPSP-based inference?
- RQ3What performance and energy efficiency gains can be achieved by performing CNN inference directly on the focal plane compared to digital processors?
- RQ4To what extent do data loss and sparsity from multi-layer computation limit the scalability of CNNs on current FPSP hardware?
- RQ5Can FPSPs achieve real-time, low-power inference suitable for embedded and robotics applications?
Key findings
- AnalogNet achieved 96.9% test accuracy on the MNIST dataset using a single-convolutional-layer CNN on the SCAMP-5 FPSP.
- The system achieved a frame rate of 2260 FPS, significantly outperforming CPU, GPU, and VPU in terms of inference speed and energy efficiency.
- Energy consumption was measured at only 0.7 mJ per frame on the SCAMP-5, which includes all processing and data handling, making it more efficient than CPU, GPU, and VPU systems.
- The FPSP’s all-in energy cost was lower than the conservative lower bounds for CPU, GPU, and VPU, which exclude image capture and data transfer energy.
- Noise from repeated analog operations (e.g., division and multiplication) caused signal degradation and increased variance, with standard deviation rising from ~2 to ~6.3 in test cases.
- The study identified data loss and spatial sparsity from pooling as fundamental challenges for extending CNNs beyond a single convolutional layer on current FPSP hardware.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.