Grace: Loss-Resilient Real-Time Video through Neural Codecs

  • Yihua Cheng ,
  • Ziyi Zhang ,
  • Hanchen Li ,
  • Anton Arapin ,
  • Yue Zhang ,
  • Qizheng Zhang ,
  • Yuhan Liu ,
  • Kuntai Du ,
  • Xu Zhang ,
  • ,
  • Amrita Mazumdar ,
  • Nick Feamster ,
  • Junchen Jiang

USENIX Symposium on Networked Systems Design and Implementation (NSDI) |

In real-time video communication, retransmitting lost packets over high-latency networks is not viable due to strict latency requirements. To counter packet losses without retransmission, two primary strategies are employed—encoder-based forward error correction (FEC) and decoder-based error concealment. The former encodes data with redundancy before transmission, yet determining the optimal redundancy level in advance proves challenging. The latter reconstructs video from partially received frames, but dividing a frame into independently coded partitions inherently compromises compression efficiency, and the lost information cannot be effectively recovered by the decoder without adapting the encoder.

We present a loss-resilient real-time video system called Grace, which preserves the user’s quality of experience (QoE) across a wide range of packet losses through a new neural video codec. Central to Grace’s enhanced loss resilience is its joint training of the neural encoder and decoder under a spectrum of simulated packet losses. In lossless scenarios, Grace achieves video quality on par with conventional codecs (e.g., H.265). As the loss rate escalates, Grace exhibits a more graceful, less pronounced decline in quality, consistently outperforming other loss-resilient schemes. Through extensive evaluation on various videos and real network traces, we demonstrate that Grace reduces undecodable frames by 95% and stall duration by 90% compared with FEC, while markedly boosting video quality over error concealment methods. In a user study with 240 crowdsourced participants and 960 subjective ratings, Grace registers a 38% higher mean opinion score (MOS) than other baselines.