Reinforced Rate Control for Neural Video Compression via Inter-Frame Rate-Distortion Awareness
Wuyang Cong, Junqi Shi, Lizhong Wang, Weijing Shi, Ming Lu, Hao Chen, Zhan Ma
TL;DR
This work tackles rate control in neural video compression (NVC), where inter-frame dependencies complicate bitrate budgeting and parameter choices. It introduces a CMDP-based reinforced rate control framework with a spatiotemporal state encoder and a joint action space consisting of the Lagrange multiplier $\lambda$ and a down-sampling factor $m$, learned via an enhanced Actor–Critic with distributional twin-critic objectives. A tailored reward shaping strategy and offline RL training enable the policy to optimize long-term rate–distortion performance under bitrate constraints, achieving per-frame decisions that account for reference-induced effects. Empirical results across multiple NVC architectures and datasets show about 1.1–1.2% rate error and up to 13.9–13.98% BD-rate savings across typical GOPs, with strong generalization to unseen content and minimal computational overhead, indicating practical applicability for bandwidth-fluctuating environments.
Abstract
Neural video compression (NVC) has demonstrated superior compression efficiency, yet effective rate control remains a significant challenge due to complex temporal dependencies. Existing rate control schemes typically leverage frame content to capture distortion interactions, overlooking inter-frame rate dependencies arising from shifts in per-frame coding parameters. This often leads to suboptimal bitrate allocation and cascading parameter decisions. To address this, we propose a reinforcement-learning (RL)-based rate control framework that formulates the task as a frame-by-frame sequential decision process. At each frame, an RL agent observes a spatiotemporal state and selects coding parameters to optimize a long-term reward that reflects rate-distortion (R-D) performance and bitrate adherence. Unlike prior methods, our approach jointly determines bitrate allocation and coding parameters in a single step, independent of group of pictures (GOP) structure. Extensive experiments across diverse NVC architectures show that our method reduces the average relative bitrate error to 1.20% and achieves up to 13.45% bitrate savings at typical GOP sizes, outperforming existing approaches. In addition, our framework demonstrates improved robustness to content variation and bandwidth fluctuations with lower coding overhead, making it highly suitable for practical deployment.
