Abstract
Video compression aims to reconstruct seamless frames by encoding the motion and residual information from existing frames. Previous neural video compression methods necessitate distinct codecs for three types of frames (I-frame, P-frame and B-frame), which hinders a unified approach and generalization across different video contexts. Intra-codec techniques lack the advanced Motion Estimation and Motion Compensation (MEMC) found in inter-codec, leading to fragmented frameworks lacking uniformity. Our proposed Intra- & Inter-frame Video Compression (I$^2$VC) framework employs a single spatio-temporal codec that guides feature compression rates according to content importance. This unified codec transforms the dependence across frames into a conditional coding scheme, thus integrating intra- and inter-frame compression into one cohesive strategy. Given the absence of explicit motion data, achieving competent inter-frame compression with only a conditional codec poses a challenge. To resolve this, our approach includes an implicit inter-frame alignment mechanism. With the pre-trained diffusion denoising process, the utilization of a diffusion-inverted reference feature rather than random noise supports the initial compression state. This process allows for selective denoising of motion-rich regions based on decoded features, facilitating accurate alignment without the need for MEMC. Our experimental findings, across various compression configurations (AI, LD and RA) and frame types, prove that I$^2$VC outperforms the state-of-the-art perceptual learned codecs. Impressively, it exhibits a 58.4% enhancement in perceptual reconstruction performance when benchmarked against the H.266/VVC standard (VTM). Official implementation: https://github.com/GYukai/I2VC.
Introduction
In modern video compression, frames are typically categorized into I-frames (standalone), P-frames (predicted), and B-frames (bidirectionally predicted). Traditional neural video compression (NVC) methods often require specialized architectures for each type, primarily due to the reliance on explicit Motion Estimation and Motion Compensation (MEMC) for inter-frame coding. This architectural fragmentation hinders model generalization and increases redundancy.
The I$^2$VC framework addresses these challenges by introducing a unified spatio-temporal codec. By replacing explicit motion vectors with an implicit alignment mechanism powered by latent diffusion, I$^2$VC creates a cohesive strategy for all frame types and configurations, including All Intra (AI), Low Delay (LD), and Random Access (RA).
Methodology
The I$^2$VC architecture bridges the gap between intra- and inter-frame coding through two primary innovations: the Spatio-Temporal Variable-rate Codec (STVC) and Implicit Inter-frame Feature Alignment (IIFA).
Spatio-Temporal Variable-rate Codec (STVC)
The STVC eliminates the need for frame-specific weights by using a single codec for all frame types. It employs a conditional coding scheme where reference features from previously decoded frames guide the compression of the current frame. A key component is the Spatio-Temporal Gated Unit (STGU), which helps the model decide which parts of a frame require more bits based on content importance, enabling variable-rate compression.
Implicit Inter-frame Feature Alignment (IIFA)
To avoid the overhead and complexity of explicit motion estimation, I$^2$VC utilizes a Latent Diffusion Model (LDM) for alignment.
- DDIM Inversion: Instead of starting from random noise, the denoising process begins with a "diffusion-inverted" reference feature. This provides a structural prior that preserves temporal consistency.
- Selective Denoising: The model selectively denoises only the motion-rich regions based on decoded features. This process aligns frames in the feature space implicitly, achieving high-quality inter-frame compression without explicit motion vectors.
Experimental Results
The researchers evaluated I$^2$VC using the Vimeo-90K Septuplet dataset for training and benchmarks such as Kodak, JCT-VC, and UVG for testing.
Perceptual Quality and Efficiency
I$^2$VC significantly outperforms state-of-the-art perceptual learned codecs. Most notably, it achieved a 58.4% improvement in perceptual reconstruction performance over the H.266/VVC (VTM) standard. Qualitative results indicate that the framework maintains high visual fidelity, preserving sharp boundaries and realistic textures that are often lost in traditional compression at low bitrates.
Unified Framework Performance
The model successfully demonstrated that a single set of parameters can handle I, P, and B frames effectively. This unification simplifies the compression pipeline while maintaining superior performance across various configurations (AI, LD, RA).
Conclusion and Future Work
I$^2$VC provides a robust, unified framework for video compression by leveraging implicit alignment and diffusion models. While it sets a new standard for perceptual quality, the computational demands of Latent Diffusion Models remain a challenge for real-time deployment on mobile devices. Future work will focus on optimizing the diffusion process and exploring full end-to-end training to further enhance efficiency and generalization.
Summary updated