# End-to-End Learning for Video Frame Compression with Self-Attention

arXiv: https://arxiv.org/abs/2004.09226 · HTML: https://mlsanity.com/paper/2004.09226/

## Key facts

- Cited by 4 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 20 Apr 2020.

## Built on by (most cited first, 4 of 4)

- [RGB no more: Minimally-decoded JPEG Vision Transformers](https://mlsanity.com/paper/2211.16421/) (2022)
- [Distilled Low Rank Neural Radiance Field with Quantization for Light Field Compression](https://mlsanity.com/paper/2208.00164/) (2022)
- [NN-VVC: Versatile Video Coding boosted by self-supervisedly learned image coding for machines](https://mlsanity.com/paper/2401.10761/) (2024)
- [Spatial-Temporal Transformer based Video Compression Framework](https://mlsanity.com/paper/2309.11913/) (2023)

## Abstract (arXiv)

One of the core components of conventional (i.e., non-learned) video codecs consists of predicting a frame from a previously-decoded frame, by leveraging temporal correlations. In this paper, we propose an end-to-end learned system for compressing video frames. Instead of relying on pixel-space motion (as with optical flow), our system learns deep embeddings of frames and encodes their difference in latent space. At decoder-side, an attention mechanism is designed to attend to the latent space of frames to decide how different parts of the previous and current frame are combined to form the final predicted current frame. Spatially-varying channel allocation is achieved by using importance masks acting on the feature-channels. The model is trained to reduce the bitrate by minimizing a loss on importance maps and a loss on the probability output by a context model for arithmetic coding. In our experiments, we show that the proposed system achieves high compression rates and high objective visual quality as measured by MS-SSIM and PSNR. Furthermore, we provide ablation studies where we highlight the contribution of different components.
