MobileNVC: Real-time 1080p Neural Video Compression on a Mobile Device

Ties van Rozendaal, Tushar Singhal, Hoang Le, Guillaume Sautiere, Amir Said, Krishna Buska, Anjuman Raha, Dimitris Kalatzis, Hitarth Mehta, Frank Mayer, Liang Zhang, Markus Nagel, Auke Wiggers

TL;DR

MobileNVC is the first neural video codec capable of streaming full-HD (1080p YUV420) video in real time on a commercial mobile device. By leveraging hardware-accelerated block warping, a highly parallelized GPU/NPU pipeline, and tailored 8-bit quantization, it slashes computational complexity by $10\times$ and delivers up to 48% BD-rate savings over previous mobile neural codecs.

What Problem Does This Problem Address?

While neural video codecs have recently caught up with—and sometimes surpassed—traditional standards like HEVC (H.265), they come with a massive computational hangover. Most state-of-the-art neural codecs rely on heavy floating-point operations and pixel-dense "warping" (optical flow) to track motion between frames. This makes them far too power-hungry and slow for resource-constrained mobile phones.

Previous attempts at mobile deployment either completely replaced warping with less efficient convolutional layers (which tanks compression performance) or could only handle lower-resolution 720p RGB video. MobileNVC bridges this gap, proving that high-fidelity, real-time 1080p neural video decoding is entirely feasible on modern mobile hardware.

Methods

The authors achieved this breakthrough through a clever combination of hardware-software co-design and quantization engineering:

  • Efficient Block-Based Warping: Instead of calculating motion vectors for every single pixel, MobileNVC uses an Overlapped Block Motion Compensation (OBMC) scheme. This maps perfectly to the dedicated hardware warping core available on the Snapdragon® 8 Gen 2 processor, eliminating runtime overhead while smoothing out blocky artifacts.
  • Streamlined Architecture: The network is built on a mean-scale hyperprior autoencoder framework optimized for the YUV 4:2:0 color space. To save extra compute, the motion encoder only processes the luminance (Y) channel.
Figure 2. Architecture of our P-frame model. Due to the overlap block-based warping, the motion vectors are lower dimensional leading to reduced compute. The flow encoder is further optimized by only using the Y-channel of the inputs. 2
  • Pipelined Inference: The decoding process is split across different hardware subsystems to maximize throughput. While the NPU runs the neural network layers, the mobile GPU concurrently handles parallel entropy decoding (scaled up to 512 threads via OpenCL), and the warping core handles motion compensation.
Figure 4. Pipelining of decoding stages. We show each stage and its inputs and outputs. Colors indicate on which component of the chip the stage runs: Neural networks (NN) on the neural accelerator, parallel entropy decoding (PEC) on the GPU, overlap block warping (Warp) on the warping kernel, and addition (ADD) on the CPU. Approximate runtime is indicated by the block width.
  • Smart 8-bit Quantization: Naively converting a neural codec from 32-bit floating-point (fp32) to 8-bit integer (int8) usually destroys compression performance. The authors discovered that the "mean" and "latent" parameters require sub-integer precision. They solved this by implementing a custom quantization grid with a tight step size ($1/5$ or $1/3$) and utilizing Quantization-Aware Training (QAT).

Datasets

The model was trained and evaluated using standard video compression benchmarks:

  • Training: Vimeo90k dataset.
  • Validation: Xiph-5N dataset.
  • Evaluation: HEVC-B test sequences, UVG-1k, and MCL-JVC.

Key Insights and Ideas

  • Don't Fight the Hardware, Use It: Previous mobile neural codecs avoided warping operations because they are slow on standard mobile CPUs/GPUs. MobileNVC flips this assumption by embracing block-based warping specifically because modern mobile chips now feature dedicated hardware warping cores.
  • The Quantization Bottleneck is Real: In mean-scale hyperpriors, the network's sensitivity to the quantization of the latent space is incredibly high. Aligning the quantization grids with sub-integer step sizes prevents "tie-break" rounding issues, which otherwise cause catastrophic rate-distortion drops.
  • GPU-Powered Entropy Coding: Moving entropy decoding from the CPU to a massively parallelized GPU implementation stabilizes the framerate and prevents the CPU from becoming a bottleneck.

Key Results

Tested on a commercial smartphone equipped with a Snapdragon 8 Gen 2 SoC, MobileNVC achieved impressive results:

  • Real-time Speed: Achieved an average decoding speed of 38.9 FPS at 1080p resolution.
  • Massive Efficiency Gains: Reduced the receiver-side computational complexity (MAC count) by 10$\times$ compared to the previous baseline, MobileCodec.
  • Superior Compression: Delivered 45% (fp32) to 48% (int8) BD-rate savings over MobileCodec, meaning it can maintain the same video quality at roughly half the bitrate.
Figure 1. Compression performance versus receiver compute (left) and corresponding rate-distortion curves (right). Bjøntegaard Delta-rate is calculated with H.265 (FFmpeg, preset fast) as reference. The kMACS/pixel are computed using a full-HD 1080 × 1920 input.

Limitations and Future Work

While the decoder (receiver side) is highly optimized for real-time mobile playback, the encoder (transmitter side) is currently unoptimized. The encoding pipeline runs sequentially at a sluggish ~3 FPS, meaning real-time on-device video recording/transmission is not yet supported.

Additionally, while MobileNVC vastly outperforms previous mobile neural codecs, it still trails behind the pure rate-distortion performance of reference software implementations of standard codecs like H.265 (HM). Closing this remaining efficiency gap while maintaining real-time mobile playback remains the next major frontier.

Summary updated

BibTeX
@inproceedings{rozendaal2024mobilenvc,
  author = {Ties van Rozendaal and Tushar Singhal and Hoang Le and Guillaume Sautiere and Amir Said and Krishna Buska and Anjuman Raha and Dimitris Kalatzis and Hitarth Mehta and Frank Mayer and Liang Zhang and Markus Nagel and Auke Wiggers},
  title = {{MobileNVC: Real-time 1080p Neural Video Compression on a Mobile Device}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2024},
  doi = {10.1109/wacv57701.2024.00427},
}
Figure