End-to-End Rate-Distortion Optimized Learned Hierarchical Bi-Directional Video Compression

M. Akın Yılmaz, A. Murat Tekalp
12/17/2021
73 citations
eess.IVcs.CV

Official code: makinyilmaz/LHBDC (12 stars, Python, last commit 2022-07-16). Most starred: KUIS-AI-Tekalp-Research-Group/video-compression, a community implementation (30 stars, Python, last commit 2025-10-30, 2.5× the official stars). 1 more implementation below.

Abstract

Conventional video compression (VC) methods are based on motion compensated transform coding, and the steps of motion estimation, mode and quantization parameter selection, and entropy coding are optimized individually due to the combinatorial nature of the end-to-end optimization problem. Learned VC allows end-to-end rate-distortion (R-D) optimized training of nonlinear transform, motion and entropy model simultaneously.

Show full abstract

Most works on learned VC consider end-to-end optimization of a sequential video codec based on R-D loss averaged over pairs of successive frames. It is well-known in conventional VC that hierarchical, bi-directional coding outperforms sequential compression because of its ability to use both past and future reference frames. This paper proposes a learned hierarchical bi-directional video codec (LHBDC) that combines the benefits of hierarchical motion-compensated prediction and end-to-end optimization. Experimental results show that we achieve the best R-D results that are reported for learned VC schemes to date in both PSNR and MS-SSIM. Compared to conventional video codecs, the R-D performance of our end-to-end optimized codec outperforms those of both x265 and SVT-HEVC encoders ("veryslow" preset) in PSNR and MS-SSIM as well as HM 16.23 reference software in MS-SSIM. We present ablation studies showing performance gains due to proposed novel tools such as learned masking, flow-field subsampling, and temporal flow vector prediction. The models and instructions to reproduce our results can be found in https://github.com/makinyilmaz/LHBDC/

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
makinyilmaz/LHBDCOfficial12Python–2022-07-16
KUIS-AI-Tekalp-Research-Group/video-compressionCommunity30Python–2025-10-30
makinyilmaz/LHBDCOfficial100%
120PythonJul 8, 20214 years ago

Research on Video Compression

301PythonJun 29, 20221 years ago

Similar Papers

Cite this paper

@article{ylmaz2021endtoend,
  title  = {End-to-End Rate-Distortion Optimized Learned Hierarchical Bi-Directional Video Compression},
  author = {M. Akın Yılmaz and A. Murat Tekalp},
  year   = {2021},
  eprint = {2112.09529},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.09529}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2112.09529.svg)](https://codeofpaper.com/paper/2112.09529)

Discussion