Abstract
Recent years have seen a dramatic surge in Internet video traffic, often resulting in quality degradation due to limited uplink bandwidth on the streamer's side. Traditional Neural-enhanced Video Streaming (NVS) attempts to recover quality using super-resolution (SR) at the media server but often fails to achieve an optimal rate-distortion trade-off. We introduce Codec-aware Diffusion Modeling (CaDM), a novel NVS paradigm that leverages the generative power of diffusion models. By co-designing an encoder that reduces both resolution and color bit-depth with a codec-aware diffusion decoder, CaDM achieves up to a 21.44× reduction in bitrate while delivering superior perceptual restoration quality compared to state-of-the-art methods.
The Ingest Bottleneck in Modern Streaming
In modern live streaming scenarios, such as YouTube Live or Zoom, the "ingest side"— the path from the streamer to the media server—is frequently the primary performance bottleneck. While media servers typically have high-capacity downlinks to distribute content to many clients, individual streamers often face severely limited upload (uplink) speeds.
To accommodate these narrow pipes, video must be heavily compressed, leading to blocky artifacts and a significant loss of detail. Existing NVS solutions attempt to mitigate this by deploying neural super-resolution on the server. However, these methods typically focus only on the decoder, ignore the potential of color bit-depth reduction, and rely on "predictive" models that often produce blurry results under extreme compression.
Methods: Codec-aware Synergy
CaDM addresses these limitations through a holistic encoder-decoder co-design powered by generative AI.
1. The Codec-aware Encoder
Rather than simply downscaling frame dimensions, the CaDM encoder optimizes compression across two dimensions:
- Patch-wise Resolution Downscaling: Uses Gaussian blur and weighted averaging within $s \times s$ patches to preserve representative visual features.
- Color Bit-depth Quantization: A key innovation where K-means clustering maps the standard 24-bit RGB space to a much lower bit-depth (e.g., 4-bit). This drastically reduces data size before standard encoding (like H.264) even begins.
2. The Denoising Diffusion Decoder
On the server side, CaDM replaces traditional SR models with a Denoising Diffusion Probabilistic Model (DDPM).
- Distortion-aware Conditioning: The low-quality, compressed frame is upscaled via bilinear interpolation and fed into the diffusion model as a conditioning signal.
- Generative Restoration: Unlike predictive models that guess pixels, the diffusion model iteratively removes noise to generate high-fidelity textures (like hair or fabric) that are statistically consistent with high-resolution originals.
Key Results and Evaluation
CaDM was evaluated using standard benchmarks like Vimeo-90K for training and UDM10 and Vid4 for testing, comparing against common standards like H.264/AVC, H.265/HEVC, and H.266/VVC.
Massive Bitrate Savings
CaDM achieved 5.12× to 21.44× bitrate reductions compared to vanilla video standards while maintaining superior visual quality. This allows high-quality streaming even in extremely bandwidth-constrained environments.
Perceptual Superiority
In terms of Fréchet Inception Distance (FID)—a metric for perceptual realism—CaDM significantly outperformed existing methods. On the UDM10 dataset, CaDM achieved an FID of 0.61, whereas the state-of-the-art BasicVSR++ only reached 3.91. While CaDM may not always lead in Peak Signal-to-Noise Ratio (PSNR) due to the nature of generative models creating new, plausible details, the visual results are far more appealing to human viewers.
Conclusion
CaDM demonstrates that at extreme compression levels, restoration must move from "prediction" to "generation." By treating color bit-depth as a primary compression variable and utilizing server-side diffusion models for heavy lifting, CaDM provides a viable path for high-fidelity video streaming over limited uplink connections. Future work will focus on further improving temporal consistency and reducing the computational overhead of the diffusion process.
Summary updated