Abstract
In recent years, end-to-end learnt video codecs have demonstrated their potential to compete with conventional coding algorithms in terms of compression efficiency. However, most learning-based video compression models are associated with high computational complexity and latency, in particular at the decoder side, which limits their deployment in practical applications. In this paper, we present a novel model-agnostic pruning scheme based on gradient decay and adaptive layer-wise distillation. Gradient decay enhances parameter exploration during sparsification whilst preventing runaway sparsity and is superior to the standard Straight-Through Estimation. The adaptive layer-wise distillation regulates the sparse training in various stages based on the distortion of intermediate features. This stage-wise design efficiently updates parameters with minimal computational overhead. The proposed approach has been applied to three popular end-to-end learnt video codecs, FVC, DCVC, and DCVC-HEM. Results confirm that our method yields up to 65% reduction in MACs and 2x speed-up with less than 0.3dB drop in BD-PSNR. Supporting code and supplementary material can be downloaded from: https://jasminepp.github.io/lightweightdvc/
Introduction
End-to-end (E2E) learnt video codecs, such as FVC and DCVC, have recently begun to outperform traditional standards like H.265/HEVC. However, these models are computationally intensive, requiring significant memory and high-end GPUs for decoding. This complexity limits their utility on mobile devices and increases their environmental impact. While structured pruning—removing entire filters or neurons—is a common solution, it often leads to significant quality degradation. Traditional pruning methods rely on Straight-Through Estimation (STE), which can be unstable at high sparsity levels. This paper introduces a framework to mitigate these issues, focusing on accelerating the decoder side for real-time playback.
Methodology
The proposed framework introduces two key innovations to make pruning more effective for video:
Gradient Decay (GD)
In standard pruning, pruned weights are often allowed to receive gradient updates to facilitate potential recovery. However, this can introduce noise as training progresses. Gradient Decay progressively anneals the gradients of pruned weights. This allows for flexible parameter exploration in early stages while stabilizing the model structure in later stages, preventing the "mismatch" problem often seen with STE at high sparsity.
Adaptive Layer-wise Distillation (ALD)
Video codecs consist of multiple interdependent sub-modules (e.g., motion estimation, residual coding). Pruning these simultaneously is challenging. ALD employs a Teacher-Student paradigm where a pre-trained "Teacher" model guides a pruned "Student" model. The Student is trained to match the normalized intermediate feature maps of the Teacher in stages. This ensures the Student inherits structural knowledge from the Teacher with fewer parameters.
Experimental Results
The models were trained on the Vimeo-90K dataset and evaluated on the UVG and MCL-JCV 1080p benchmarks.
Performance and Complexity
The method was applied to FVC, DCVC, and DCVC-HEM. The researchers achieved a reduction in Multiply-Accumulate (MAC) operations of up to 65% and a 70% reduction in model size. Real-world decoding latency was halved (2× speedup).
Quality Retention
Despite the significant reduction in complexity, the models maintained high visual quality, with only a 0.24dB to 0.29dB drop in BD-PSNR. As shown in the efficiency frontier plots, the pruned models consistently provide superior quality relative to their computational cost compared to existing benchmarks, sitting "above and to the left" of standard performance curves.
Discussion and Conclusion
While the computational complexity (MACs) was reduced by 65%, the actual speedup was observed at 50%. This discrepancy is attributed to I/O-intensive operations like pixel warping and arithmetic coding, which do not benefit directly from neural network pruning. Future work may explore more granular N:M sparsity patterns supported by modern hardware or alternative distillation metrics like KL-divergence to further optimize performance. In conclusion, the combination of Gradient Decay and Adaptive Layer-wise Distillation provides a robust path toward deploying high-performance neural video codecs on consumer-grade hardware.
Summary updated