Efficient Video Neural Network Processing Based on Motion Estimation

Haichao Wang, Jiangtao Wen, Yuxing Han · DOI

Abstract

Traditional video computer vision pipelines suffer from significant computational overhead due to redundant processing across consecutive frames and the high cost of Image Signal Processing (ISP). This paper introduces MEVC (Motion Estimation-based Video Convolution), a framework that reduces computational costs by over 70% without sacrificing accuracy. By bypassing the ISP to process raw Bayer-domain data and embedding sliding-window motion estimation directly into convolutional layers, MEVC exploits temporal redundancy and mathematical linearity to skip unnecessary calculations.

Introduction

Standard computer vision pipelines are hindered by two primary bottlenecks. First, the Front-End Bottleneck involves converting raw camera sensor data (Bayer pattern) into RGB images via an ISP. This process is computationally expensive and often discards valuable raw information. Second, the Back-End Bottleneck occurs because Video Convolutional Networks (VCNs) typically process every frame independently, ignoring the fact that consecutive frames are largely identical.

Comparison between the traditional RGB-based pipeline and the proposed ISP-free MEVC framework.

Previous attempts to reuse features across frames often resulted in significant accuracy drops because they could not effectively handle fine-grained motion. MEVC addresses these inefficiencies by aligning motion estimation with the spatial granularity of convolution.

Methodology

The MEVC framework is built upon several key technical innovations designed to bridge the gap between motion compensation and feature extraction.

Direct Bayer-Domain Processing

Instead of relying on human-friendly RGB images, the network is trained to operate directly on raw Bayer-domain data. This eliminates the latency and power consumption associated with the ISP while preserving the original signal integrity.

Sliding-Window Motion Estimation (ME)

Unlike traditional motion estimation used in video compression (which uses large, non-overlapping blocks), MEVC employs a "sliding window" approach. The block size and stride are matched exactly to the convolutional kernels (e.g., 3x3). This allows motion vectors to be calculated at a granularity that directly corresponds to the network's feature maps.

Linearity and Sparsity Exploitation

Because convolution is a linear operator, the convolution of a current block ($F_t$) can be expressed as the sum of the convolution of a matched block from a previous frame ($F_{t-1}$) and the convolution of the residual (the difference between the two blocks).

The MEVC architecture showing the temporal flow of MEConv layers and the internal logic of sliding-window motion estimation and compensation.

Since the residual map is mostly sparse (containing many zeros), the network can skip the vast majority of multiplications. To further optimize, the system employs early stopping during motion search and ignores residual values below a specific threshold.

Experimental Results

The researchers evaluated MEVC across several benchmarks, including semantic segmentation (Cityscapes, CamVid), depth estimation (NYU-Depth V2), and object detection (ImageNet-VID). To test real-world performance, they also introduced CityBayer, a new dataset of native Bayer-domain video sequences.

  • Efficiency: The framework achieved a reduction in GFLOPs (Giga Floating-point Operations) of over 70% across multiple tasks.
  • Accuracy: On the Cityscapes dataset using an HRNet-W48 backbone, MEVC maintained an mIoU of 78.98%, nearly identical to the 79.06% achieved by the full-cost RGB model.
  • Robustness: The system outperformed existing acceleration baselines like BlockCopy and TapLab, which typically suffer from 4-7% accuracy losses at similar acceleration ratios.

Conclusion and Future Work

MEVC demonstrates that modern deep learning models do not require RGB data to achieve high performance and can significantly benefit from native motion estimation. While the theoretical FLOPs reduction is massive, achieving real-time "wall-clock" speedups on current hardware remains a challenge, as standard libraries like cuDNN are optimized for dense rather than sparse convolutions. Future research will explore adapting these motion-reuse principles to Attention-based Video Transformers and developing specialized low-level kernels to unlock the full potential of sparse video processing.

Summary updated

BibTeX
@misc{wang2025efficient,
  author = {Haichao Wang and Jiangtao Wen and Yuxing Han},
  title = {{Efficient Video Neural Network Processing Based on Motion Estimation}},
  year = {2025},
  eprint = {2501.15119},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.15119},
}
Figure