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.
- 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.
- 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.
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