TL;DR
GVC1D breaks away from traditional video compression paradigms by replacing rigid 2D latent grids with compact, unstructured 1D latent tokens. By decoupling the latent representation from fixed spatial coordinates, the model adaptively captures high-level semantics and implements an ultra-efficient 1D long-term memory, slashing bitrates by over 60% while maintaining state-of-the-art perceptual quality.
What Problem Does This Paper Address?
Most modern Generative Video Codecs (GVCs) compress video by encoding frames into a two-dimensional (2D) grid of latent features, which a powerful generative decoder later reconstructs. While intuitive, this 2D grid approach suffers from two major inefficiencies:
- Spatial Redundancy: A rigid 2D structure allocates the same number of tokens to simple, uniform areas (like a clear sky) as it does to complex, highly detailed regions. Because adjacent patches in a grid remain highly similar, a lot of bitrate is wasted preserving local pixel structures rather than abstracting them.
- Temporal Redundancy: Managing long-term context with 2D features is computationally expensive. Codecs typically have to rely on complex, heavy memory architectures or naive stacking to track content across frames, which quickly bottlenecks performance and causes models to "forget" older context.
The authors introduce GVC1D (Generative Video Compression with One-Dimensional Latent Representation) to solve these bottlenecks by stripping away the spatial dimensions of the latent space entirely.
Methods
Instead of flattening a 2D feature map into a vector, GVC1D uses a Vision Transformer (ViT)-based architecture to map video frames directly into a small set of unstructured, learnable 1D latent tokens.
The framework consists of three core components:
- Local & Global Transformer Encoder/Decoder: The encoder breaks the input frame into patches, groups them into windows, and uses Local Transformers to let learnable 1D tokens aggregate semantic and motion information within each window. Global Transformers then handle cross-window interactions using 2D Rotary Positional Embeddings (RoPE) to maintain global coherence.
- Dual-Context Model: The network conditions its compression on both short-term and long-term context. Short-term context is provided by a standard buffer of fine-grained features from the previous frame. Long-term context is handled by a novel 1D Memory Module that recurrently updates a fixed-size memory state using the compact 1D tokens via a full Transformer readout.
- Autoregressive Entropy Model: To minimize the bitrate of the 1D tokens, an autoregressive Transformer predicts the probability distribution of each quantized token sequentially, exploiting inter-token dependencies.
Datasets
The model was trained and evaluated on several standard video benchmarks:
- Training: Vimeo-90k (processed into 32-frame clips) and OpenVid-HD (a large-scale, high-quality video dataset).
- Evaluation: HEVC Class B, UVG, and MCL-JCV. All testing was performed under low-delay encoding settings in the RGB colorspace.
Key Insights and Ideas
- Semantic Tracking over Spatial Mapping: Because the 1D tokens are not bound to a rigid grid, they act like flexible "magnets" that dynamically track semantic objects across frames. Visualizations show specific tokens consistently focusing on the same moving object (e.g., a horse's leg) even during rapid motion.
- The Cheap Power of 1D Memory: Storing dense 2D feature maps over long sequences is a memory nightmare. By compressing the frame into a few abstract 1D tokens first, the long-term memory module can afford to use a highly expressive, full Transformer architecture without incurring prohibitive computational costs or suffering from severe information forgetting.
Key Results
GVC1D achieves significant performance gains over previous traditional and neural video codecs, particularly under perceptual metrics:
- Massive Bitrate Savings: Compared to the previous state-of-the-art generative codec (GLC-Video), GVC1D achieved a 60.4% bitrate reduction under LPIPS and a 68.8% reduction under DISTS on the HEVC Class B dataset.
- Objective Metric Improvements: Unlike many generative models that sacrifice fidelity for realism, GVC1D also improved objective metrics, yielding 53.8% BD-Rate savings in PSNR over GLC-Video.
- Efficiency: Despite its high capacity, GVC1D maintains a practical coding speed (0.262s encoding time and 0.207s decoding time per 1080p frame on an NVIDIA A100), largely due to token reduction and the use of FlashAttention-2.
Limitations and Future Work
The primary limitation of GVC1D stems from its extreme compactness. Representing an entire frame window with only 32 1D tokens inherently introduces information loss. As a result, the current architecture is strictly optimized for lossy compression at ultra-low bitrates. The authors note that adapting this 1D tokenization approach to support high-bitrate or lossless video compression remains an open challenge for future work.
Summary updated