Abstract
Implicit Neural Representations (INRs) have emerged as a powerful paradigm for video compression and enhancement, yet their practical adoption is hindered by the prohibitive computational cost of per-video optimization. This paper presents Fast NeRV, a framework designed to overcome the encoding and decoding bottlenecks of traditional INRs. By employing a transformer-based hyper-network (NeRV-Enc) for feed-forward weight prediction and a parallelized decoder (NeRV-Dec) utilizing group convolutions, the proposed method achieves a $10^4\times$ speedup in encoding and an $11\times$ speedup in decoding compared to standard baselines and codecs like H.264.
Introduction
Implicit Neural Representations (INRs) represent video as a continuous function, typically mapping a time index $t$ to a frame. While effective for tasks like compression, standard INRs require "overfitting" a network to each specific video via iterative gradient descent. This encoding process is extremely slow, often taking minutes or hours, which precludes real-time use or large-scale processing. Additionally, traditional video codecs (e.g., H.264) are often CPU-bound, creating data-loading bottlenecks in deep learning pipelines.
Methodology
Fast NeRV addresses these challenges through three key innovations:
- NeRV-Enc (The Hyper-network): Instead of iterative optimization, a Transformer-based hyper-network takes video patches as input and directly predicts video-specific weights for the decoder. This feed-forward approach enables near-instantaneous encoding.
- Layer-Adaptive Weight Tokens: Recognizing that different decoder layers contribute differently to reconstruction quality, the authors introduce a scheme to adaptively distribute weight tokens across layers. This optimizes the parameter budget for better reconstruction.
- NeRV-Dec (The Parallel Decoder): To accelerate playback, the decoder utilizes group convolutions. This allows for simultaneous decoding of multiple frames or videos directly on the GPU, bypassing sequential CPU-based bottlenecks.
Experimental Results
The framework was evaluated on major benchmarks including Kinetics-400, Something-Something V2, and UCF101. Key findings include:
- Encoding Efficiency: NeRV-Enc achieves a $10^4\times$ speedup over the original NeRV baseline, moving from hundreds of training epochs to a single forward pass.
- Decoding Performance: NeRV-Dec is $11\times$ faster than H.264 and $8.9\times$ faster than the original NeRV.
- System-Level Gains: The approach is $2.5\times$ faster than loading raw frames from RAM while maintaining a $65\times$ smaller storage footprint.
Discussion and Limitations
Fast NeRV demonstrates that hyper-networks can effectively generalize to unseen videos, making INRs viable for large-scale applications. By treating video loading as a GPU-native inference task, it eliminates significant data-loading overheads in self-supervised learning. However, a compression gap remains compared to state-of-the-art codecs like AV1, and scaling the hyper-network architecture to 4K resolution or long-form video remains an area for future research.
Summary updated