Abstract
VQ-NeRV introduces a vector-quantized, U-shaped architecture for video representation that significantly improves reconstruction quality and compression efficiency. By discretizing shallow features and inter-frame residuals into a compact codebook, it achieves a 1-2 dB PSNR gain over previous state-of-the-art methods like HNeRV.
Introduction
Implicit Neural Representations (INRs) have revolutionized video storage by treating video as a continuous function learned by a neural network rather than a discrete sequence of pixels. While early models like NeRV were content-agnostic, subsequent hybrid models like HNeRV introduced content-adaptive embeddings. However, these models still faced two primary challenges: the loss of fine-grained "shallow" features and inter-frame residuals, and compression bottlenecks where standard quantization led to high bitrates or poor reconstruction quality. VQ-NeRV addresses these issues by capturing missing details through a compact, discretized codebook mechanism.
Methodology
The core of the proposed system is a U-shaped architecture centered around a novel VQ-NeRV Block. This module is designed to capture shallow residual features and temporal information without significantly increasing the storage footprint.
Key Components:
- Simulated Skip Connections: Traditional U-Nets use skip connections to pass data from the encoder to the decoder. Since the encoder cannot be stored in video compression, VQ-NeRV uses "codebook tokens" to simulate these connections during decoding, allowing for the recovery of fine details.
- Reversible Downsampling: To prevent information loss during encoding, the block utilizes the Haar transform and invertible neural network layers, ensuring the downsampling process is mathematically reversible.
- Shallow Codebook Optimization: To combat "index collapse" (where codebook entries go unused), the authors implemented a reinitialization strategy. This replaces unused vectors with features from a stored pool, ensuring 100% codebook utility even with small batch sizes.
- Temporal Awareness: The model explicitly learns motion by calculating the difference between current encoder features and the previous frame's decoder features ($f_e^t - f_d^{t-1}$).
Experimental Setup
The model was evaluated on three standard benchmarks:
- Big Buck Bunny (Bunny): A 132-frame sequence for regression and compression testing.
- UVG (Ultra Video Group): Seven 1080p videos for high-resolution performance testing.
- DAVIS: Used for evaluating downstream tasks like video inpainting and interpolation.
Results and Discussion
VQ-NeRV demonstrates significant improvements over its predecessors in both qualitative and quantitative metrics.
- Reconstruction Quality: VQ-NeRV consistently outperforms HNeRV by 1-2 dB in PSNR across various model sizes. On the UVG dataset, it achieved an average PSNR of 35.41, surpassing HNeRV (32.69) and HiNeRV (34.97).
- Efficiency and Convergence: The model converges faster than hybrid methods like DNeRV and is more bitrate-efficient because storing indices (tokens) is more compact than storing raw quantized floating-point features.
- Downstream Robustness: The learned representations proved superior in video inpainting and interpolation tasks, suggesting a more generalized understanding of video content.
Conclusion
VQ-NeRV successfully levels up video representation by integrating vector quantization into a content-adaptive INR framework. While it significantly improves quality and compression, it still requires per-video optimization, which remains computationally intensive. Future work will likely focus on improving generalization to unseen videos and automating parameter selection for target bitrates.
Summary updated