Feedback Recurrent Autoencoder for Video Compression

Adam Golinski, Reza Pourreza, Yang Yang, Guillaume Sautière, Taco S. Cohen

TL;DR

This paper introduces a Feedback Recurrent Autoencoder (FRAE) for low-latency video compression that achieves state-of-the-art performance by sharing a recurrent state between the encoder and decoder. By feeding the decoder's history back to the encoder, the model effectively isolates and transmits only the "new" information (innovation) in each frame, outperforming both existing learned models and traditional codecs like H.265 in the bitrates most relevant for high-quality streaming.

What Problem Does This Paper Address?

Video accounts for over 60% of internet traffic, making efficient compression vital. While traditional codecs (like H.264 and H.265) are highly optimized, they aren't trained end-to-end on data. Recently, "learned" codecs using deep autoencoders have emerged as strong competitors.

However, many learned models struggle with two things:

  1. Temporal Redundancy: Efficiently using information from previous frames to compress the current one without needing to look at future frames (essential for low-latency applications like video conferencing).
  2. Architectural Complexity: Many models use domain-specific components that are hard to optimize.

The authors aim to build a high-performing, low-latency video codec using standard, well-understood deep learning building blocks like residual blocks and Conv-GRUs.

Methods

The proposed architecture follows a standard I-frame (intra-coded) and P-frame (predictive) structure. The core innovation lies in the P-frame network:

  • Feedback Recurrent Module: Unlike standard recurrent models that only pass states forward in the decoder, this model feeds the decoder’s recurrent state ($h_t$) back into the encoder. This ensures the encoder is "aware" of what the decoder already knows, allowing it to send only the complementary information needed to reconstruct the frame.
  • MENet (Motion Estimation Network): A U-Net-based sub-network at the encoder explicitly estimates optical flow ($f_t$). To prevent the model from ignoring motion and relying solely on residuals, the authors use auxiliary loss terms ($L_{fe}$ and $L_{fd}$) during the early stages of training to "warm up" the motion estimation.
  • Probabilistic Prior: The model uses a gated PixelCNN to model the distribution of the discrete latents, enabling efficient entropy coding.
  • Warping and Residuals: The decoder uses the estimated optical flow to warp the previous reconstruction and then adds a decoded residual to refine the final image.
Fig. 2: (a)Video compression network with feedback recurrent module. Detailed network architecture for the encoder and decoder is described in Appendix A (b) Encoder equipped with MENet, an explicit optical flow estimation module. The switch between bxt−1 and xt−1 is described at the end of Section 2.

Datasets

  • Training: A high-quality subset of the Kinetics400 dataset, downscaled to 256p to remove existing compression artifacts.
  • Validation: Videos from HDgreetings, NTIA/ITS, and SVT.
  • Evaluation: The UVG (Ultra Video Group) 1080p dataset, which is a standard benchmark for high-resolution video compression.

Key Insights and Ideas

  • The Power of Feedback: Through an information-theoretic analysis (detailed in Appendix E), the authors show that if a decoder has memory, the encoder must also have access to that memory to be optimal. By feeding the decoder state back, the encoder doesn't need to look at raw past frames; the recurrent state acts as a sufficient summary of the history.
  • Graphical Model Unification: The paper provides a brilliant comparison of various learned video codecs by mapping them to probabilistic graphical models. This helps clarify why certain architectures (like theirs and Rippel et al.) are more "flexible" in capturing data distributions than others.
Comparison of graphical models for different learned video compression approaches.
  • Task-Specific Optical Flow: The authors observed that the optical flow learned by their model is sparser than "ground truth" flow from models like FlowNet2. This is because the model optimizes for rate-distortion—it learns a version of motion that is easier to compress while still being useful for reconstruction.

Key Results

The model was evaluated against both learned methods and traditional codecs using the MS-SSIM metric (a measure of structural similarity that correlates well with human perception).

  • SOTA Performance: The model outperformed all other compared learned approaches (e.g., DVC, Habibian et al.) across the range of 0.05 to 0.35 bits per pixel (bpp).
  • Beating H.265: In the critical range for 1080p streaming (0.09–0.13 bpp), the model outperformed the HM implementation of H.265 in low-latency mode.
  • Qualitative Superiority: Visually, the model avoids the "blocking" artifacts common in H.265 at low bitrates, preserving more detailed textures like skin veins or fabric patterns.
Rate-distortion curves showing the proposed method outperforming other learned and traditional codecs.

Limitations and Future Work

Despite the strong results, the authors identify three main areas for improvement:

  1. Temporal Consistency: There is a minor flickering artifact at Group of Pictures (GoP) boundaries. As P-frames unroll, quality gradually degrades, suggesting a need for better temporal-consistency losses.
  2. Color Shift: MS-SSIM is somewhat invariant to uniform color shifts. Consequently, the model sometimes produces slight color changes in flat regions, which are noticeable to the human eye.
  3. Complexity: While the components are standard, the overall computational cost needs to be reduced to make the codec practical for real-time use on consumer devices.

Summary updated

BibTeX
@misc{golinski2020feedback,
  author = {Adam Golinski and Reza Pourreza and Yang Yang and Guillaume Sautière and Taco S. Cohen},
  title = {{Feedback Recurrent Autoencoder for Video Compression}},
  year = {2020},
  eprint = {2004.04342},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2004.04342},
}
Figure