Abstract
EVA$^2$ (the Embedded Vision Accelerator Accelerator) is a hardware-algorithm co-design that reduces the energy consumption of mobile computer vision by up to 87%. By treating video as a sequence of related images rather than isolated frames, it utilizes "activation motion compensation" to skip the majority of expensive neural network layers, incrementally updating results only when the scene actually changes.
Introduction
Deep Convolutional Neural Networks (CNNs) have revolutionized vision, but their high power consumption makes them difficult to deploy on battery-constrained mobile and embedded devices. A major inefficiency in current CNN accelerators is that they treat every frame in a video stream as an independent image. In reality, live video is temporally redundant; the difference between consecutive frames is often just a slight shift in pixels. Recalculating millions of operations for nearly identical inputs is a massive waste of energy. While previous "delta networks" attempted to address this by calculating pixel-level changes, they struggle with camera motion and require significant memory.
Methodology
The researchers propose Activation Motion Compensation (AMC) and a corresponding hardware unit, EVA$^2$.
Activation Motion Compensation (AMC)
The CNN is split into a "Prefix" (early, computationally heavy layers) and a "Suffix" (later, task-specific layers).
- Key Frames: Occasionally, the system runs the full CNN and saves the output of the last Prefix layer as the "target activation."
- Predicted Frames: For most frames, the system skips the Prefix. It uses a motion estimation algorithm to determine how pixels moved since the last key frame and "warps" the saved activations to match the new frame. The Suffix then runs on these warped activations.
RFBME and Hardware Design
Standard optical flow is too expensive for mobile hardware. The authors developed Receptive Field Block Motion Estimation (RFBME), which estimates motion at the granularity of a neuron's receptive field, reusing calculations across overlapping tiles. The EVA$^2$ Hardware acts as a plug-in module for existing accelerators, featuring a warp engine for bilinear interpolation and a sparse activation buffer using run-length encoding (RLE) for efficiency.
Key Insights
Commutativity of Convolution and Translation
A core mathematical observation driving this work is that for small movements, shifting input pixels and then running a convolution is approximately equivalent to running the convolution and then shifting the output. This allows the system to "move" high-level features instead of re-extracting them from scratch.
Granularity and Sparsity
Because CNN layers have specific strides and receptive fields, motion estimation only needs to be accurate enough to align with those fields rather than being pixel-perfect. Furthermore, since CNN activations are mostly zeros, exploiting this sparsity allows the system to store saved activations in small, on-chip memory (eRAM), avoiding expensive off-chip DRAM access.
Experimental Results
The system was evaluated using the Google YouTube-BoundingBoxes (YTBB) dataset across three architectures: AlexNet, Faster16 (VGG-16 based), and FasterM (CNN-M). Synthesized on a 65 nm process, the results showed:
- Energy Efficiency: Average energy per frame was reduced by 54% for Faster16, 62% for FasterM, and 87% for AlexNet.
- Accuracy: These savings were achieved with less than 1% loss in vision task accuracy.
- Hardware Overhead: The EVA$^2$ unit is compact, occupying only 3.5% of the total area of a typical vision processing unit.
- Latency: Frame latency was reduced significantly, enabling higher frame rates on low-power hardware.
Conclusion and Future Work
While EVA$^2$ provides substantial gains for convolutional and pooling layers, it does not currently apply to non-spatial layers like fully-connected (FC) layers or recurrent structures like LSTMs. Future research may involve integrating motion vectors directly from hardware video decoders (e.g., H.264/H.265) to further reduce the computational load of the motion estimation step.
Summary updated