betaFeedback

WorksComputer Science

Neural Video Coding under Limited Delay: Theoretical Optimality and System Design

Abstract

Traditional neural video compression (NVC) methods predominantly follow strictly causal predictive-coding paradigm, treating zero-frame delay as a fixed constraint rather than delay as an explicit design parameter. From an information-theoretic perspective, allowing limited frame delay enables a codec to exploit correlations with future frames within the delay window, thereby reducing uncertainty that is inaccessible to strictly causal prediction and potentially improving the rate-distortion tradeoff. In this work, we formalize this intuition through a rigorous rate-distortion analysis builds on the clique factorization of Markov networks, and propose Graph-Factored Sequential Coding (GFSC), a principled framework for sequential video coding under limited delay. To our knowledge, we provide the first theoretical result showing that, for general KK-order Markov sources with positive distributions, a KK-frame delay is sufficient to attain joint-coding rate-distortion optimality over a nontrivial distortion region, a guarantee unavailable to zero-delay causal coding in general. In practice, we instantiate GFSC through lightweight neural modules, allowing existing causal predictive codecs to be augmented without modifying their core architectures. Experiments across multiple NVC models and datasets show that GFSC consistently improves rate-distortion performance over the corresponding causal counterparts. Under matched delay budgets, GFSC also achieves competitive performance compared with representative bidirectional codecs.

Introduction

Video compression can be fundamentally viewed as a sequential lossy source coding problem ([28, 35] (Ma et al. 2007)). Most existing neural video compression (NVC) models follow a strictly causal predictive coding paradigm ([17, 18, 12, 22] (Agustsson et al. 2020)), where each frame is encoded using only previously reconstructed frames and therefore cannot exploit future correlations. For temporally correlated video, future frames provide predictive information about the current frame and reduce its uncertainty, potentially improving the rate-distortion tradeoff. In addition, allowing limited frame delay does not necessarily incur substantial additional latency. At 60 fps, a single-frame lookahead introduces only 16.67 ms of buffering latency, which is modest relative to the inference latency of modern NVC models and tolerable in many practical scenarios. Frame delay should therefore be treated as an explicit design parameter rather than fixed a priori to zero.

The information-theoretic basis of limited delay coding has been studied through delayed sequential coding ((Ma et al., 2007)). In particular, for KK-order Gauss–Markov sources, a KK-frame delay is sufficient to attain joint-coding rate-distortion optimality over a nonempty distortion region, a guarantee that zero-delay causal coding does not generally enjoy. However, it remains unclear whether this optimality extends beyond Gaussian sources, and the current theory does not provide a constructive architectural principle for translating a given delay budget into a practical coding system. Existing bidirectional codecs ([30, 8, 33, 36, 37]) exploit future frames in practice, but typically rely on fixed anchor-based structures designed for relatively large delay budgets, thereby inefficient in the limited-delay regime of interest. Consequently, a unified framework that characterizes limited-delay optimality for general Markov sources while enabling flexible practical NVC remains largely underexplored.

In this work, we propose Graph Factored Sequential Coding (GFSC), a principled framework for sequential coding under limited delay. To our knowledge, we are the first to prove that, for general KK-order Markov sources with positive distributions, a KK-frame delay is sufficient to attain joint-coding rate-distortion optimality over a nontrivial distortion region. Our analysis builds on probabilistic graphical models, where KK-order Markov dependencies factorize into local clique-wise interactions. For KK-order Gauss-Markov sources, the conditional independence structure further reduces to pairwise interactions with linear interpolation sufficient statistics. Figure 1 (left) illustrates the resulting GFSC architecture under one-frame delay. Although real videos are not assumed to follow an exact Markov model, their temporal dependencies are strongly local. As shown in Figure 2, the estimated inverse covariance of video features is approximately banded, with the strongest dependencies concentrated within a small temporal neighborhood. This empirical locality further motivates exploiting short, configurable delays.

GFSC-1 coding architecture, rate-PSNR comparison, and latency and BD-rate comparisons

Figure 1. Left: GFSC-1 coding architecture for three frames. Middle: Rate-PSNR comparison between zero-delay DCVC and GFSC with delays K=1,2,3K = 1, 2, 3 on UVG. Right: Latency (top; lower the better) and BD-rate (bottom; lower the better) of GFSC and DCVC-B at matched delays, with zero-delay DCVC as the baseline. BD-rate is measured relative to zero-delay DCVC.

We show that GFSC can be implemented using lightweight neural modules that exploit delayed-frame information to reduce the coding uncertainty of the current frame and improve its rate-distortion tradeoff. Only minimal modifications are required to existing causal NVC architectures. Experiments across multiple models, datasets, and delay settings show consistent rate-distortion improvements over causal baselines and representative B-frame codecs under matched delay budgets. The main contributions of this work are summarized as follows:

  1. We propose GFSC, a flexible delayed sequential coding framework that uses clique-wise interactions architecture to systematically exploit a configurable frame-delay budget.

  1. We establish rigorous rate-distortion guarantees for GFSC. For general KK-order Markov sources, we prove that KK-delay GFSC attains joint-coding rate-distortion optimality over a nontrivial distortion region. For KK-order Gauss-Markov sources, the clique-wise construction further reduces to pairwise linear interpolation.

  1. We realize GFSC using lightweight neural modules that can be integrated into existing causal NVC models with minimal architectural changes. Experiments demonstrate consistent rate-distortion gains over causal baselines and competitive performance against representative B-frame codecs under matched delay budgets.

Preliminaries

Joint coding

Consider an LL-frame sequence X≜(X1,⋯ ,XL)\mathbf{X} \triangleq(X_1, \cdots, X_L) where Xℓ∈XℓX_\ell\in\mathcal{X}_\ell and X∼PX\mathbf{X} \sim P_{\mathbf{X}}. In joint coding (JC), all frames are available prior to compression. We adopt a one-shot setup [11], where a single source sequence x\mathbf{x} is compressed at one time. Given that encoder and decoder share the common randomness W∈WW \in\mathcal{W} independent of source, a JC system is specified by

f:X1×⋯×XL×W→M,g:M×W→X^1×⋯×X^L.f : \mathcal{X}_1 \times\cdots\times\mathcal{X}_L \times\mathcal{W} \to\mathcal{M}, \qquad g : \mathcal{M} \times\mathcal{W} \to\hat{\mathcal{X}}_1 \times\cdots\times\hat{\mathcal{X}}_L.

where the message M∈M={0,1}∗M \in\mathcal{M}=\{0,1\}^{*} is a binary string with expected length E[l(M)]\mathbb{E}[l(M)]. The reconstruction X^\hat{X} follows PX^∣X(⋅∣x)P_{\hat{X}|X}(\cdot|x), i.e., X^=g(f(x,W),W)∼PX^∣X(⋅∣x)\hat{X}=g(f(x,W),W)\sim P_{\hat{X}|X}(\cdot|x). The reconstruction fidelity for each XℓX_\ell is measured by a distortion function dℓ:Xℓ×Xℓ→[0,∞)d_\ell:\mathcal{X}_\ell\times\mathcal{X}_\ell\to[0,\infty), with dℓ(x,x)=0d_\ell(x,x)=0 and dℓ(x,w)>0d_\ell(x,w)>0 for w≠xw\ne x. According to Li & El Gamal [11], there exists a one-shot coding scheme such that minimum achievable RJC,oR^{\mathrm{JC},o} satisfies:

RJC,o≤I(X;X^)+O(log⁡I(X;X^)).R^{\mathrm{JC},o}\le I(X;\hat{X})+O(\log I(X;\hat{X})).

where the mutual information I(X;X^)I(X;\hat{X}) is the theoretical optimal solution in the asymptotic setting (infinite blocklength), i.e. JC rate-distortion function ([7]).

Theorem 2.1 (JC rate-distortion function). Define P≜{PX^∣X:E[dℓ(Xℓ,X^ℓ)]≤Dℓ,1≤ℓ≤L}\mathcal{P}\triangleq\{P_{\hat{X}|X}:\mathbb{E}[d_\ell(X_\ell,\hat{X}_\ell)]\le D_\ell, 1\le\ell\le L\}, the single-letter JC rate-distortion function is

RJC(D)=min⁡PX^∣X∈PI(X;X^).(1)R^{\mathrm{JC}}(\mathbf{D})=\min_{P_{\hat{X}|X}\in\mathcal{P}} I(X;\hat{X}). \tag*{(1)}

Delayed sequential coding

In delayed sequential coding (DSC), source frames are observed sequentially with a limited lookahead of KK frames (K<LK<L). Following Ma et al. (2007), there are three canonical setups. We focus on the noncausal-causal (NC-C) setting, which is most relevant to NVC, and defer the causal-noncausal (C-NC) and noncausal-noncausal (NC-NC) settings to Appendix § 7.§ 1. An NC-C coding architecture is specified by:

fℓ:X1×⋯×Xmin⁡{ℓ+K,L}×W→Mℓ,gℓ:M1×⋯×Mℓ×W→X^ℓ.f_\ell:\mathcal{X}_1\times\cdots\times\mathcal{X}_{\min\{\ell+K,L\}}\times\mathcal{W}\to\mathcal{M}_\ell,\qquad g_\ell:\mathcal{M}_1\times\cdots\times\mathcal{M}_\ell\times\mathcal{W}\to\hat{\mathcal{X}}_\ell.

where Mℓ∈Mℓ\mathcal{M}_\ell\in\mathcal{M}_\ell denotes ℓ\ell-th encoder message. Under KK-delay relaxation, the ℓ\ell-th encoder has access up to Xℓ+KX_{\ell+K}. The reconstruction X^ℓ\hat{X}_\ell follows PX^ℓ∣Xℓ+K(⋅∣xℓ+K)P_{\hat{X}_\ell|X^{\ell+K}}(\cdot|x^{\ell+K}) determined by {fj,gj}j=1ℓ\{f_j,g_j\}_{j=1}^{\ell}.

A key result in Ma et al. (2007) shows that, for KK-order Gauss-Markov sources, a KK-frame delay is sufficient for DSC to asymptotically attain the joint-coding rate-distortion function in the high-resolution regime. However, this leaves two gaps. First, the result is established for the Gauss-Markov setting and does not characterize whether the same optimality extends to general KK-order Markov sources. Second, DSC specifies the admissible information flow and its fundamental limits and does not provide an architectural principle for realizing these limits in practical coding systems.

In this work, we address both issues. We first establish the joint-coding optimality of KK-delay sequential coding for a broad class of KK-order Markov sources through a probabilistic graphical model analysis. We then introduce GFSC as a constructive realization of this structure.

Graph Factored Sequential Coding

We introduce Graph Factored Sequential Coding (GFSC), inspired by Markov networks. We adopt a one-shot setting and analyze the associated rate-distortion performance.

Markov Networks

Definition 3.1 (K-order Markov). A KK-order Markov source is a random vector X\mathbf{X} satisfying Markov chains Xℓ→(Xℓ+1,⋯ ,Xℓ+K)→(Xℓ+K+1,⋯ ,XL)X_{\ell}\to(X_{\ell+1},\cdots,X_{\ell+K})\to(X_{\ell+K+1},\cdots,X_L) for all ℓ\ell.

Definition 3.2 (Maximal clique). Let G=(V,E)\mathcal{G}=(\mathcal{V},\mathcal{E}) be an undirected graph. A nonempty subset C⊆VC\subseteq\mathcal{V} is a clique if {i,j}∈E\{i,j\}\in\mathcal{E} for every pair of distinct nodes i,j∈Ci,j\in C. A clique is maximal if it is not strictly contained in any other clique of G\mathcal{G}.

Markov networks. A Markov network represents the conditional-independence structure of a joint distribution PXP_X through an undirected graph G=(V,E)\mathcal{G}=(\mathcal{V},\mathcal{E}), where each node denotes a random variable [10]. Let C(G)\mathcal{C}(\mathcal{G}) be the set of maximal cliques of G\mathcal{G}. For a strictly positive distribution, the Hammersley-Clifford theorem gives the clique factorization of probability density/mass function pX(x)=1Z∏Cj∈C(G)ψj(xCj)p_X(\mathbf{x})=\frac{1}{Z}\prod_{C_j\in\mathcal{C}(\mathcal{G})}\psi_j(\mathbf{x}_{C_j}), where ψj\psi_j is a positive clique factor and ZZ a normalization constant. For KK-order Markov sources as in Definition 3.1, the graph has a simple temporal structure. Its maximal cliques are the consecutive (K+1)(K+1)-variable windows, i.e. Cj≜{j,…,j+K}C_j\triangleq\{j,\ldots,j+K\}. More importantly, the KK-order Markov property itself directly yields a clique-wise factorization, without requiring the positivity condition:

pX(x)=p(xK+1)∏jp(xj+K∣xjj+K−1)≜∏jψj(xCj),(2)p_X(\mathbf{x})=p(x^{K+1})\prod_j p(x_{j+K}\mid x_j^{j+K-1})\triangleq\prod_j\psi_j(\mathbf{x}_{C_j}), \tag*{(2)}

where ψ1(xC1)≜p(xK+1)\psi_1(\mathbf{x}_{C_1})\triangleq p(x^{K+1}) and ψj(xCj)≜p(xj+K∣xjj+K−1)\psi_j(\mathbf{x}_{C_j})\triangleq p(x_{j+K}\mid x_j^{j+K-1}) for j≥2j\ge2. Hence, the dependency structure of a KK-order Markov source decomposes into local interactions over (K+1)(K+1)-variable cliques. Figure 3 (Left) shows the clique factorization for a 2-order Markov example. This observation motivates the construction of GFSC introduced in Section 3.2.

Second-order Markov structure illustration

Figure 3. Second-order Markov structure illustration. Left: Maximal cliques and clique factorization. Middle: Second-order Markov network. Right: The information matrix JJ for Gauss-Markov satisfying Jij=0J_{ij}=0 for ∣i−j∣>2\lvert i-j\rvert>2. “∗” denotes potentially nonzero entries.

Gaussian graphical models (GGMs). GGMs specialize Markov networks to Gaussian sources and have been exploited in multi-terminal source coding [4, 5, 32]. For a Gaussian source X∼N(0,Σ)\mathbf{X}\sim\mathcal{N}(\mathbf{0},\Sigma), let J≜Σ−1J\triangleq\Sigma^{-1} be its information matrix. The induced GGM G(J)\mathcal{G}(J) has edge set E={{i,j}:i≠j, Jij≠0}\mathcal{E}=\{\{i,j\}:i\ne j,\ J_{ij}\ne0\}. For a KK-order Gauss-Markov source, JJ is KK-banded, as illustrated in Figure 3 (Right). Moreover, the Gaussian density admits the pairwise factorization

pX(x)∝∏ℓexp⁡(−12Jℓℓxℓ2)∏{i,j}exp⁡(−Jijxixj).(3)p_X(\mathbf{x})\propto\prod_{\ell}\exp\left(-\frac{1}{2}J_{\ell\ell}x_{\ell}^{2}\right)\prod_{\{i,j\}}\exp(-J_{ij}x_ix_j). \tag*{(3)}

This additional structure leads to the edge-wise and node-wise auxiliary construction and, ultimately, the pairwise interpolation form derived in Section 3.5.

Architecture of Coding Scheme

References

  1. [2]Jean Bégaint, Fabien Racapé, Simon Feltman, and Akshay Pushparaja. Compressai: a pytorch library and evaluation platform for end-to-end compression research. arXiv preprint arXiv:2011.03029, 2020.arxiv.org/abs/2011.03029
  2. [3]Toby Berger. Rate-distortion theory. Wiley Encyclopedia of Telecommunications, 2003.DOI
  3. [4]Jun Chen, Farrokh Etezadi, and Ashish Khisti. Generalized gaussian multiterminal source coding and probabilistic graphical models. In 2017 IEEE International Symposium on Information Theory (ISIT), pp. 719–723. IEEE, 2017.DOI
  4. [5]Jun Chen, Li Xie, Yameng Chang, Jia Wang, and Yizhong Wang. Generalized gaussian multiterminal source coding: The symmetric case. IEEE Transactions on Information Theory, 66(4): 2115–2128, 2020.arxiv.org/abs/1710.04750
  5. [6]Thomas M Cover and Thomas G Stockham. Elements of information theory. John Wiley & Sons, 1999.
  6. [7]Imre Csiszár and János Körner. Information theory: coding theorems for discrete memoryless systems. Cambridge University Press, 2011.
  7. [8]Abdelaziz Djelouah, Joaquim Campos, Simone Schaub-Meyer, and Christopher Schroers. Neural inter-frame compression for video coding. In Proceedings of the IEEE/CVF international conference on computer vision, pp. 6421–6429, 2019.DOI
  8. [9]Robert M Gray and Thomas G Stockham. Dithered quantizers. IEEE Transactions on Information Theory, 39(3):805–812, 2002.
  9. [10]Daphne Koller and Nir Friedman. Probabilistic graphical models, volume 165. MIT press Cambridge, 2009.
  10. [11]Cheuk Ting Li and Abbas El Gamal. Strong functional representation lemma and applications to coding theorems. IEEE Transactions on Information Theory, 64(11):6967–6978, 2018.arxiv.org/abs/1701.02827
  11. [12]Jiahao Li, Bin Li, and Yan Lu. Deep contextual video compression. Advances in Neural Information Processing Systems, 34:18114–18125, 2021.arxiv.org/abs/2109.15047
  12. [13]Jiahao Li, Bin Li, and Yan Lu. Neural video compression with diverse contexts. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 22616–22626, 2023.arxiv.org/abs/2302.14402
  13. [14]Jiahao Li, Bin Li, and Yan Lu. Neural video compression with feature modulation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 26099–26108, 2024.arxiv.org/abs/2402.17414
  14. [15]Jianping Lin, Dong Liu, Houqiang Li, and Feng Wu. M-Ivc: Multiple frames prediction for learned video compression. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 3546–3554, 2020.DOI
  15. [16]Ze Liu, Jia Ning, Yue Cao, Yixuan Wei, Zheng Zhang, Stephen Lin, and Han Hu. Video swin transformer. In 2022 IEEE/CVF conference on computer vision and pattern recognition (CVPR), pp. 3192–3201. IEEE, 2022.
  16. [17]Guo Lu, Wanli Ouyang, Dong Xu, Xiaoyun Zhang, Chunlei Cai, and Zhiyong Gao. Dvc: An end-to-end deep video compression framework. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 11006–11015, 2019.arxiv.org/abs/1812.00101
  17. [18]Guo Lu, Xiaoyun Zhang, Wanli Ouyang, Li Chen, Zhiyong Gao, and Dong Xu. An end-to-end learning framework for video compression. IEEE transactions on pattern analysis and machine intelligence, 43(10):3292–3308, 2020.DOI
  18. [19]Ming Lu, Zhihao Duan, Fengqing Zhu, and Zhan Ma. Deep hierarchical video compression. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 38, pp. 8859–8867, 2024.
  19. [22]Fabian Mentzer, George Toderici, David Minnen, Sung-Jin Hwang, Sergi Caelles, Mario Lucic, and Eirikur Agustsson. Vct: A video compression transformer. arXiv preprint arXiv:2206.07307, 2022.arxiv.org/abs/2206.07307
  20. [23]Alexandre Mercat, Marko Viitanen, and Jarno Vanne. Uvg dataset: 50/120fps 4k sequences for video codec analysis and development. In Proceedings of the 11th ACM multimedia systems conference, pp. 297–302, 2020.DOI
  21. [24]Zaixi Shang, Joshua P Ebenezer, Alan C Bovis, Yongjun Wu, Hai Wei, and Sriram Sethuraman. Subjective assessment of high dynamic range videos under different ambient conditions. In 2022 IEEE international conference on image processing (ICIP), pp. 786–790. IEEE, 2022.
  22. [25]Xihua Sheng, Jiahao Li, Bin Li, Li Li, Dong Liu, and Yan Lu. Temporal context mining for learned video compression. IEEE Transactions on Multimedia, 25:7311–7322, 2022.
  23. [26]Xihua Sheng, Li Li, Dong Liu, and Shiqi Wang. Bi-directional deep contextual video compression. IEEE Transactions on Multimedia, 2025.arxiv.org/abs/2408.08604
  24. [27]Lucas Theis and Eirikur Agustsson. On the advantages of stochastic encoders. arXiv preprint arXiv:2102.09270, 2021.arxiv.org/abs/2102.09270
  25. [28]Harish Viswanathan and Toby Berger. Sequential coding of correlated sources. IEEE Transactions on Information Theory, 46(1):236–246, 2002.
  26. [29]Haiqiang Wang, Weihai Gan, Sudeng Hu, Joe Yuchieh Lin, Lina Jin, Longguang Song, Ping Wang, Ioannis Katsavounidis, Anne Aaron, and C-C Jay Kuo. McJ-cv: a jnd-based h. 264/avc video quality assessment dataset. In 2016 IEEE international conference on image processing (ICIP), pp. 1509–1513. IEEE, 2016.
  27. [30]Chao-Yuan Wu, Nayan Singhal, and Philipp Krähenbühl. Video compression through image interpolation. In Proceedings of the European conference on computer vision (ECCV), pp. 416–431, 2018.arxiv.org/abs/1804.06919
  28. [31]Hui Xiang, Yifan Bian, Li Li, Jingran Wu, Xianguo Zhang, and Dong Liu. Real-time neural video compression with unified intra and inter coding. arXiv preprint arXiv:2510.14431, 2025.
  29. [32]Li Xie, Xiaolan Tu, Siyao Zhou, and Jun Chen. Generalized gaussian multiterminal source coding in the high-resolution regime. IEEE Transactions on Communications, 68(6):3782–3791, 2020.
  30. [33]Chenming Xu, Meiqin Liu, Chao Yao, Weisi Lin, and Yao Zhao. Ibvc: Interpolation-driven b-frame video compression. Pattern Recognition, 153:10465, 2024.
  31. [34]Tianfan Xue, Baian Chen, Jiajun Wu, Donglai Wei, and William T Freeman. Video enhancement with task-oriented flow. International Journal of Computer Vision, 127(8):1106–1125, 2019.
  32. [35]En-Hui Yang, Lin Zheng, Da-Ke He, and Zhen Zhang. Rate distortion theory for causal video coding: Characterization, computation algorithm, and comparison. IEEE transactions on information theory, 57(8):5258–5280, 2011.
  33. [36]Ren Yang, Fabian Mentzer, Luc Van Gool, and Radu Timofte. Learning for video compression with hierarchical quality and recurrent enhancement. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 6628–6637, 2020.
  34. [37]M Akın Yılmaz and A Murat Tekalp. End-to-end rate-distortion optimized learned hierarchical bi-directional video compression. IEEE Transactions on Image Processing, 31:974–983, 2021.
  35. [38]Yichi Zhang and Fengqing Zhu. Opendvcs: a pytorch open source implementation and performance evaluation of the dvcv series video codecs. arXiv preprint arXiv:2508.04491, 2025.arxiv.org/abs/2508.04491
  36. [39]Jacob Ziv. On universal quantization. IEEE Transactions on Information Theory, 31(3):344–347, 2003.

Paper details

vlnc:W_x3urzzkj
Version
v1 · latest
Published
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents