Robust Multiple Description Neural Video Codec with Masked Transformer for Dynamic and Noisy Networks

Xinyue Hu, Wei Ye, Jiaxiang Tang, Eman Ramadan, Zhi-Li ZhangarXiv 2024 · DOI

Abstract

Modern 5G networks offer high speeds but suffer from significant instability and packet loss. Traditional video codecs, which rely heavily on motion estimation and temporal dependencies, are prone to catastrophic error propagation in these environments. This paper presents NeuralMDC, a novel neural video codec that leverages Multiple Description Coding (MDC) and bidirectional masked transformers to achieve robust performance. By splitting latent representations into multiple independent streams and using a transformer to predict missing tokens from spatial and temporal context, NeuralMDC ensures graceful quality degradation. Experimental results demonstrate that NeuralMDC outperforms existing error-resilient codecs by up to 8x in visual quality during high-loss scenarios while achieving a 76.88% bitrate saving.

Introduction

While 5G networks promise gigabit throughput, they are notoriously unstable due to physical obstacles, tower handovers, and interference. These factors lead to massive fluctuations in throughput and high packet loss rates, sometimes reaching 80%. Standard video codecs like H.264/AVC or HEVC are "all-or-nothing" systems; they compress video into a single bitstream where frames depend heavily on previous ones via motion estimation. A single lost packet containing motion data can cause errors to propagate, leading to severe visual artifacts or total video stalls.

To address this, NeuralMDC revisits Multiple Description Coding (MDC). MDC splits a video into several sub-streams (descriptions). Receiving a single description provides a low-quality reconstruction, while receiving all descriptions yields high quality. While historically complex, NeuralMDC utilizes deep learning to make MDC practical and efficient for modern networks.

Proposed Method

NeuralMDC replaces the rigid engineering of traditional MDC with a flexible neural architecture consisting of three primary components:

  1. AutoEncoder Transform: Each video frame is independently mapped into a compressed "latent representation" using a CNN-based AutoEncoder (ELIC model).
  2. Source Information Splitting: Instead of a single bitstream, NeuralMDC splits the latent tokens into multiple non-overlapping descriptions. An interleaving mask ensures that each description contains a representative sample of the frame's energy, facilitating reconstruction even from partial data.
  3. Masked Spatial-Temporal Transformer: This component acts as the system's core. Inspired by MaskGIT, it uses a bidirectional transformer to model dependencies between tokens. At the encoder, it predicts token distributions based on previous frames to minimize bitrate. At the decoder, it treats lost packets as "masked" tokens, predicting their values using the spatial context of received tokens and the temporal context of the two preceding frames ($y_{t-1}, y_{t-2}$).
The end-to-end NeuralMDC architecture, illustrating the encoder's latent representation splitting into four streams and the decoder's use of a Masked Transformer to merge and reconstruct the frame.

Crucially, NeuralMDC avoids explicit motion vectors and residuals. By relying on the transformer's ability to infer missing parts from latent representations, the system avoids the catastrophic error propagation inherent in motion-compensated codecs.

Experimental Setup

The model was trained on the Vimeo-90K dataset using 256x256 crops. Evaluation was conducted on two standard high-quality benchmarks: UVG (Ultra Video Group) and MCL-JCV, both containing raw 1080p videos used to test compression efficiency and visual robustness.

Key Results and Insights

  • Superior Loss Resilience: NeuralMDC outperforms Grace (a state-of-the-art error-resilient neural codec) by 2 to 8 times in terms of PSNR and MS-SSIM during packet loss scenarios.
  • Bitrate Efficiency: The model achieves a 76.88% bitrate saving over Grace while maintaining superior visual quality.
  • Latency Advantage: Compared to high-performance codecs using Retransmission (RTX), NeuralMDC provides better quality whenever the network Round Trip Time (RTT) exceeds 10ms, making it ideal for low-latency 5G applications.
  • Graceful Degradation: Unlike traditional codecs that freeze under high loss, NeuralMDC maintains watchable video even at 50% packet loss by leveraging bidirectional context to "guess" missing information.
A visualization of the latent representation energy, which the interleaving mask samples to ensure each description is independently decodable.

Conclusion and Future Work

NeuralMDC demonstrates that moving away from fragile motion-compensated architectures toward transformer-based latent reconstruction significantly improves robustness in noisy networks. However, the current iterative decoding process (12 passes per frame) is computationally intensive. Future work will focus on optimizing the model for real-time performance on mobile hardware and extending the temporal window beyond two frames to further improve compression efficiency.

Summary updated

BibTeX
@misc{hu2024robust,
  author = {Xinyue Hu and Wei Ye and Jiaxiang Tang and Eman Ramadan and Zhi-Li Zhang},
  title = {{Robust Multiple Description Neural Video Codec with Masked Transformer for Dynamic and Noisy Networks}},
  year = {2024},
  eprint = {2412.07922},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.07922},
}
Figure