TL;DR
Neural Video Codecs (NVCs) frequently crash when streaming across different GPU architectures due to bit-level floating-point non-determinism. This paper introduces a streamable NVC architecture featuring a novel Mixed Precision (FP16/FP32) strategy that runs heavy predictive frames in fast FP16 while forcing keyframes and feature resets to deterministic FP32. This simple shift eliminates cross-platform decoding crashes with virtually zero compression loss and minimal throughput overhead.
What Problem Does This Paper Address?
Neural Video Codecs (NVCs) leverage deep learning to achieve incredible compression efficiency, easily outperforming traditional standards like HEVC and VVC. This makes them prime candidates for bandwidth-heavy applications like 5G streaming and satellite direct-to-cell links.
However, NVCs face a major roadblock in production: cross-platform non-determinism. NVCs rely on floating-point math during neural network inference. Modern GPUs use specialized Tensor Cores to accelerate half-precision (FP16) math, but different GPU models—and even different manufacturing dies within the same generation—use different internal algorithms to optimize execution. This leads to tiny, bit-level variations in the output.
In a standard video streaming setup, if the encoder GPU and decoder GPU calculate even slightly different values, the arithmetic entropy coder desynchronizes. This causes catastrophic error propagation, resulting in corrupted video or outright decoder crashes. Existing fixes either ruin compression efficiency (8-bit integer quantization) or destroy real-time performance (16-bit integer math, which lacks hardware acceleration and slows down encoding by up to 5x).
Methods
The authors transform the state-of-the-art offline codec framework, DCVC-RT, into a deployable client-server streaming architecture using a custom binary packet format over TCP. To solve the non-determinism problem without sacrificing real-time speed, they introduce three main mechanisms:
- Mixed Precision Strategy: Instead of running everything in FP16 or FP32, the architecture splits the workload based on frame type. Computational heavy lifting for P-frames (predictive frames) is executed in fast, hardware-accelerated FP16. Conversely, I-frames (keyframes) are forced to run in IEEE-754 compliant FP32 on standard CUDA cores. This acts as a hard numerical reset at every Group of Pictures (GOP) boundary.
- Deterministic Feature-Adapter Reset: NVCs maintain temporal context across frames, causing errors to accumulate over time. The framework periodically triggers a "feature-adapter reset" to clear this drift. The authors force this reset step to run entirely in FP32, ensuring absolute consistency across heterogeneous GPUs.
- DPB State Alignment: When splitting an NVC into separate encoder and decoder processes, their Decoded Picture Buffers (DPB) can fall out of sync. The authors introduce explicit state synchronization to ensure identical execution paths.
Datasets
The authors evaluated their approach using:
- ITE Ultra-High Definition Standard Test Sequences (Series A): 10 sequences at 4K resolution (3840x2160) at 59.94 fps, color-space converted to BT.709 YUV 4:2:0.
- MINECRAFT sequence: A 60-second sequence used specifically for evaluating real-world network streaming latency and jitter.
Key Insights and Ideas
- The Hierarchy of Compatibility: Floating-point compatibility isn't entirely random; it follows a strict hierarchy governed by GPU architecture, die similarity, and video resolution. Standard FP16 restricts decoding strictly to identical GPU dies, whereas FP32/Mixed Precision broadens this significantly.
- Resolution-Dependent Fractures: Surprisingly, cross-platform decodability breaks down at higher resolutions (like 4K) even when using FP32. The authors hypothesize that large tensor shapes cross cuDNN heuristic thresholds, triggering generation-specific kernels that alter operation ordering (breaking bit-exactness despite IEEE-754 compliance).
- Compute-Bound vs. Memory-Bound Shifts: At lower resolutions (720p), throughput is compute-bound, favoring newer architectures with higher core counts. At higher resolutions (1080p+), the workload becomes memory-bound, allowing older cards with wider memory buses (like the RTX 2080 SUPER) to outpace newer, narrower cards (like the RTX 4060 Ti).
Key Results
Interoperability & Compression
The Mixed Precision mode successfully eliminated intra-generation fragmentation, yielding bit-exact identical hashes across all die variants within a GPU generation. At 1080p, it achieved seamless cross-generation decoding across Ampere, Ada Lovelace, and Blackwell architectures. Crucially, this was achieved with virtually zero impact on compression efficiency (maximum BD-Rate deviation was a negligible < 0.02%).
Throughput
Mixed precision incurs a very modest performance penalty compared to full FP16, averaging a ~6.8% slowdown for encoding and ~4.2% for decoding. In contrast, full FP32 execution causes a massive 3-4x throughput reduction.
Real-World Network Latency
The streamable codec was stress-tested across multiple network environments. While it performed beautifully on stable links (Ethernet, Wi-Fi 6, 5G), testing on Starlink Direct-to-Cell (D2C) exposed unique challenges. The codec successfully maintained the stream, but satellite beam handovers (which take 3–6 seconds) introduced severe jitter and an average loaded latency of 1272.95 ms, causing massive bufferbloat.
Limitations and Future Work
- The 4K Fracture: The architecture still experiences decodability fractures at 4K resolutions across different GPU generations due to cuDNN kernel selection variations. The authors plan to use kernel-level tracing to investigate and resolve this.
- Satellite Volatility: While the system technically functions over Non-Terrestrial Networks (like Starlink D2C), the multi-second handovers require the development of new, highly rate-adaptive, and error-resilient NVC mechanisms to handle extreme network drops and jitter.
Summary updated