Abstract
The past few years have witnessed increasing interests in applying deep learning to video compression. However, the existing approaches compress a video frame with only a few number of reference frames, which limits their ability to fully exploit the temporal correlation among video frames. To overcome this shortcoming, this paper proposes a Recurrent Learned Video Compression (RLVC) approach with the Recurrent Auto-Encoder (RAE) and Recurrent Probability Model (RPM). Specifically, the RAE employs recurrent cells in both the encoder and decoder. As such, the temporal information in a large range of frames can be used for generating latent representations and reconstructing compressed outputs. Furthermore, the proposed RPM network recurrently estimates the Probability Mass Function (PMF) of the latent representation, conditioned on the distribution of previous latent representations. Due to the correlation among consecutive frames, the conditional cross entropy can be lower than the independent cross entropy, thus reducing the bit-rate. The experiments show that our approach achieves the state-of-the-art learned video compression performance in terms of both PSNR and MS-SSIM. Moreover, our approach outperforms the default Low-Delay P (LDP) setting of x265 on PSNR, and also has better performance on MS-SSIM than the SSIM-tuned x265 and the slowest setting of x265.
Introduction
Video data is characterized by massive temporal redundancy, where consecutive frames exhibit high similarity. Traditional codecs like H.265 and early deep-learning-based models typically compress new frames by referencing only a limited number of previous frames. This "sliding window" approach fails to exploit useful information buried deeper in the video's history. Furthermore, most learned codecs treat the latent representations of each frame as independent when calculating bit-rates, ignoring temporal correlations in the feature space. This leads to higher cross-entropy and, consequently, larger file sizes.
To address these limitations, this paper introduces Recurrent Learned Video Compression (RLVC). RLVC integrates recurrent cells into both the auto-encoder and the probability model, allowing the system to leverage long-range temporal correlations across many frames for superior compression efficiency.
Methodology
The RLVC framework consists of two primary novel components within an end-to-end trainable pipeline:
- Recurrent Auto-Encoder (RAE): Standard auto-encoders process frames in isolation. In contrast, the RAE inserts ConvLSTM cells into the middle of both the encoder and decoder. This enables the network to maintain a "hidden state" that acts as an implicit, long-term reference buffer, carrying distilled information from all previous frames in a sequence. The encoder generates latents based on the current frame and historical context, while the decoder reconstructs the frame using a similar memory.
- Recurrent Probability Model (RPM): This component serves as the entropy coding stage. Instead of assuming a static distribution for latent features, the RPM uses a recurrent network to predict the probability distribution (PMF) of the current frame's latents based on previous ones. By modeling latents as a discretized logistic distribution, the system approaches the lower "conditional cross-entropy," significantly reducing the bit-rate required for entropy coding.
The overall pipeline follows a predictive structure: it estimates motion using pyramid optical flow, compensates for that motion, and then uses the RAE to compress the resulting residual. Because the entire chain is differentiable, it can be optimized directly for either PSNR (signal fidelity) or MS-SSIM (perceptual quality).
Experimental Results
The model was trained on the Vimeo-90k dataset and evaluated on standard benchmarks including JCT-VC (Classes B, C, D, and E), UVG (1080p), and MCL-JCV. RLVC achieved state-of-the-art performance among learned video compression methods at the time of publication.
On the UVG and JCT-VC datasets, the RLVC model optimized for PSNR outperformed the x265 "Low-Delay P" (LDP) very fast and default settings. Quantitatively, the approach reduced the bit-rate by an average of 43.78% compared to the x265 LDP very fast anchor when measured by MS-SSIM. Qualitatively, RLVC reconstructions exhibited fewer blocky artifacts compared to x265 at similar bit-rates.
Conclusion
RLVC demonstrates the power of recurrent structures in video compression. By maintaining a hidden state, the model effectively utilizes long-term temporal context. While recurrent structures like ConvLSTMs increase computational complexity, they offer significant gains in compression efficiency. Future work may explore reducing the layer count for speed or incorporating attention mechanisms to replace explicit motion estimation. Despite slight performance drops over long sequences due to error propagation in predictive structures, RLVC sets a new benchmark for learned video codecs.
Summary updated