ECVC: Exploiting Non-Local Correlations in Multiple Frames for Contextual Video Compression

Wei Jiang, Junru Li, Kai Zhang, Li Zhang

Abstract

Learned Video Compression (LVC) has traditionally focused on local temporal redundancies through motion compensation. However, these methods often overlook non-local spatial correlations and suffer from error accumulation during long-sequence inference. This paper presents ECVC, a novel framework that exploits non-local correlations across multiple reference frames using a linear cross-attention mechanism. By integrating a Partial Cascaded Finetuning Strategy (PCFS), ECVC effectively mitigates the train-test mismatch in long video sequences. Experimental results demonstrate that ECVC achieves over 10% bit-rate savings compared to state-of-the-art learned codecs and significantly outperforms the VVC standard.

Introduction: Beyond Local Motion

The primary objective of Learned Video Compression is to surpass traditional standards like H.264 and H.266/VVC. Most existing LVC models utilize "local correlations," primarily tracking pixel movement between adjacent frames via optical flow. While effective for simple motion, this approach faces two significant challenges:

  1. Non-Local Blindness: Models struggle to identify and exploit similarities between distant, non-moving regions with similar textures (e.g., identical patterns on different objects).
  2. The "Short-Chain" Training Gap: Due to memory constraints, models are often trained on short sequences (6–7 frames), leading to rapid quality degradation when processing hundreds of frames in real-world applications.
Visualization of local temporal movement versus non-local spatial correlations across multiple frames.

Methodology

ECVC addresses these gaps through two core innovations within a conditional coding paradigm.

Multi-frame Non-Local Context Mining (MNLC)

Unlike standard models that reference only the immediate previous frame, ECVC utilizes the last two frames to mine context. It employs a Multi-Head Linear Cross Attention (MHLCA) module to perform global searches for similarities.

  • Global Matching: Attention allows the model to compare every pixel in the current frame with every pixel in the reference buffer, capturing non-local matches regardless of spatial distance.
  • Linear Complexity: To maintain feasibility for high-resolution video (1080p/4K), the authors utilize a linear decomposition of the attention mechanism. This reduces computational complexity from $O(N^2)$ to $O(N)$, requiring only a fraction of the resources of standard transformers.

Partial Cascaded Finetuning Strategy (PCFS)

To combat error accumulation, ECVC introduces PCFS. This strategy enables finetuning on sequences of up to 55 frames. By employing a "backward & detach" mechanism, the model learns to stabilize quality over long chains without exceeding GPU memory limits. This process allows the network to "experience" and learn to correct the errors that naturally build up during extended inference.

The overall architecture of ECVC, featuring Multi-frame Non-Local Context (MNLC) blocks within a hierarchical conditional coding framework.

Experimental Results

ECVC was evaluated on standard benchmarks including HEVC (Classes B-E), UVG, and MCL-JCV.

  • Efficiency: The model achieves bit-rate savings of 10.5% to 11.5% over the previous state-of-the-art, DCVC-FM.
  • Comparison to Traditional Codecs: ECVC provides an average of 29.3% bit-rate saving compared to the VVC (VTM-13.2) anchor in low-delay configurations.
  • Visual Fidelity: Subjective evaluations indicate that ECVC preserves sharper textures and exhibits fewer artifacts in complex motion sequences compared to prior neural codecs.

Conclusion

ECVC demonstrates that exploiting non-local spatial-temporal redundancies is a potent avenue for improving video compression efficiency. By combining linear attention with long-sequence training strategies, it bridges the gap between neural models and traditional standards. Future work will explore instance-adaptive optimization to further tailor compression to specific video content.

Summary updated

BibTeX
@inproceedings{jiang2025ecvc,
  author = {Wei Jiang and Junru Li and Kai Zhang and Li Zhang},
  title = {{ECVC: Exploiting Non-Local Correlations in Multiple Frames for Contextual Video Compression}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.00687},
}
Figure