Skip to main content
QUICK REVIEW

[Paper Review] Reparo: Loss-Resilient Generative Codec for Video Conferencing

Tianhong Li, Vibhaalakshmi Sivaraman|arXiv (Cornell University)|May 23, 2023
Generative Adversarial Networks and Image SynthesisComputer Science3 citations
TL;DR

Reparo is a generative video codec that reconstructs lost video frames in real time using deep learning, eliminating the need for retransmissions or forward error correction (FEC). By learning a compact codebook of visual tokens and generating missing content from context and world knowledge, Reparo achieves higher video quality and near-zero video freezes compared to FEC-based systems like VP9+Tambur, especially under heavy packet loss.

ABSTRACT

Packet loss during video conferencing often results in poor quality and video freezing. Retransmitting lost packets is often impractical due to the need for real-time playback, and using Forward Error Correction (FEC) for packet recovery is challenging due to the unpredictable and bursty nature of Internet losses. Excessive redundancy leads to inefficiency and wasted bandwidth, while insufficient redundancy results in undecodable frames, causing video freezes and quality degradation in subsequent frames. We introduce Reparo -- a loss-resilient video conferencing framework based on generative deep learning models to address these issues. Our approach generates missing information when a frame or part of a frame is lost. This generation is conditioned on the data received thus far, considering the model's understanding of how people and objects appear and interact within the visual realm. Experimental results, using publicly available video conferencing datasets, demonstrate that Reparo outperforms state-of-the-art FEC-based video conferencing solutions in terms of both video quality (measured through PSNR, SSIM, and LPIPS) and the occurrence of video freezes.

Motivation & Objective

  • Address the challenge of video freezing and quality degradation in real-time video conferencing due to bursty packet loss.
  • Overcome the limitations of traditional FEC, which requires bandwidth overhead and suffers from unpredictable loss patterns.
  • Eliminate dependency on retransmissions and one-way communication by enabling autonomous receiver-side reconstruction of lost data.
  • Develop a constant-bitrate, one-way video codec that maintains high quality under varying network conditions using generative modeling.
  • Enable efficient adaptation to target bitrates without frame dependency or variable bitrate fluctuations.

Proposed method

  • Learn a codebook of visual tokens representing patches in video conferencing frames using a neural network, capturing object shapes, appearances, and spatial relationships.
  • Encode each frame into a set of token indices, which are transmitted over the network, reducing dependency on temporal continuity.
  • At the receiver, reconstruct missing tokens using a generative model conditioned on received tokens and learned world knowledge of human appearance and scene structure.
  • Decode the reconstructed tokens back into a full frame using a learned inverse mapping, enabling lossless or near-lossless recovery.
  • Use a transformer-based architecture for both token generation and reconstruction, leveraging attention mechanisms to model long-range dependencies.
  • Train the codec end-to-end to minimize reconstruction loss while maintaining constant bitrate and low latency.
Figure 1: Overview of Reparo. An encoder-decoder pair converts between RGB image and quantized image tokens, while we introduce new modules to affect the packetization, bitrate, and loss recovery in the quantized token space to improve loss-resilience.
Figure 1: Overview of Reparo. An encoder-decoder pair converts between RGB image and quantized image tokens, while we introduce new modules to affect the packetization, bitrate, and loss recovery in the quantized token space to improve loss-resilience.

Experimental results

Research questions

  • RQ1Can a generative deep learning model effectively reconstruct missing video frames in real-time video conferencing without relying on FEC or retransmissions?
  • RQ2How does the performance of a generative codec compare to state-of-the-art FEC-based systems like VP9+Tambur under varying loss conditions?
  • RQ3To what extent can a learned visual codebook capture the essential visual features of video conferencing scenes to enable accurate reconstruction?
  • RQ4Can the proposed codec maintain a constant bitrate and support flexible adaptation to target bitrates without frame dependency?
  • RQ5What is the end-to-end latency of the system, and can it meet real-time interactive video requirements?

Key findings

  • Reparo outperforms VP9+Tambur, a state-of-the-art FEC-based system, in both PSNR and video freeze reduction, especially under heavy packet loss.
  • Under high loss levels, Reparo reduces video freezes to nearly zero while maintaining a PSNR comparable to VP9+Tambur under low loss conditions.
  • The total end-to-end latency of Reparo is approximately 110 ms, which meets the industry standard of 150 ms for interactive video applications.
  • Reparo achieves constant bitrate operation by encoding all frames uniformly using token indices, eliminating the variable bitrate spikes caused by I-frames in traditional codecs.
  • The system can be tuned across a wide range of bitrates by adjusting codebook size and token count per frame, with PSNR improving as codebook size increases.
  • The model achieves high reconstruction quality even with 75% of pixels missing, demonstrating strong generative capabilities grounded in visual world knowledge.
Figure 2: Token-based neural codec. The encoder converts patches from video frames into features and uses a codebook to quantize the features into tokens by finding the nearest neighbor of each feature in the codebook. The decoder then uses the tokens to reconstruct the video frame.
Figure 2: Token-based neural codec. The encoder converts patches from video frames into features and uses a codebook to quantize the features into tokens by finding the nearest neighbor of each feature in the codebook. The decoder then uses the tokens to reconstruct the video frame.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.