Abstract
Video restoration (VR) requires effective inter-frame modeling to leverage temporal information across sequences. While Transformers and RNNs offer solutions, they often struggle with computational complexity or long-range dependency retention. This paper introduces S2SVR, an unsupervised flow-aligned sequence-to-sequence framework. By adapting the seq2seq architecture—widely successful in NLP—with a novel unsupervised flow distillation technique, S2SVR achieves state-of-the-art performance in video deblurring, super-resolution, and compression enhancement. Notably, it maintains a significantly lower parameter count than transformer-based alternatives while improving performance as sequence length increases.
Introduction
Video restoration (VR) aims to transform low-quality (LQ) video—characterized by blur, low resolution, or compression artifacts—into high-quality (HQ) video. The core challenge lies in inter-frame modeling: effectively aggregating information from neighboring frames to reconstruct the current one.
Existing methodologies present distinct trade-offs:
- CNNs typically operate on narrow temporal windows, missing distant contextual cues.
- RNNs theoretically handle longer sequences but suffer from vanishing gradients and architectural depth limitations.
- Transformers excel at long-range dependencies but face quadratic computational complexity relative to sequence length.
S2SVR addresses these issues by treating video restoration as a sequence-to-sequence translation task, bridging the gap between 1D language sequences and 2D spatially misaligned video frames.
Methodology: The S2SVR Framework
The S2SVR framework consists of three primary components designed to handle the complexities of temporal alignment and deep feature extraction.
1. Seq2Seq Backbone
The model utilizes an Encoder-Decoder architecture. To overcome the traditional "forgetting" problem of RNNs, the authors implement Residual Stacked ConvGRU (ResConvGRU). This structure incorporates residual connections between layers, enabling the training of deeper, more stable recurrent networks.
2. Local Attention
A local attention mechanism allows the decoder to selectively "look back" at the encoded sequence. This helps the model aggregate relevant information across multiple frames, ensuring that temporal context is effectively utilized during reconstruction.
3. Unsupervised Flow Distillation
Spatial alignment is critical for video seq2seq learning. Standard optical flow models often fail on degraded LQ video. S2SVR introduces a teacher-student distillation strategy to solve this:
- Teacher Model: Trained on HQ videos using unsupervised photometric and smoothness losses to estimate accurate motion.
- Student Model: Trained on LQ videos, forced to mimic the teacher's HQ flow predictions.
This distillation ensures the student model learns to estimate accurate motion even when the input is heavily degraded.
Experimental Evaluation
The model was benchmarked across three major video restoration tasks: Video Super-Resolution (REDS4, Vimeo-90K-T), Video Deblurring (GOPRO), and Compressed Video Enhancement (MFQEv2, ITU-T).
Key Results
S2SVR demonstrated superior performance and efficiency:
- Super-Resolution: On REDS4, S2SVR achieved a PSNR of 31.96 dB, surpassing IconVSR by 0.29 dB and VSR-Transformer by 0.77 dB.
- Deblurring: It reached 31.81 dB on the GOPRO dataset using only 8.44M parameters—approximately 41% of the parameters required by the VSR-Transformer.
- Scalability: Unlike many models that plateau, S2SVR’s performance advantage grows as the video sequence length increases (e.g., from 5 to 50 frames), confirming its ability to capture long-range dependencies.
Discussion and Insights
The success of S2SVR highlights that the domain gap between NLP and video can be bridged through effective spatial alignment. By treating video frames as tokens in a sequence and using HQ flow as a supervisory signal, the model learns to "see through the blur." This approach provides a "sweet spot" in the efficiency-performance landscape, offering the power of long-range modeling without the heavy overhead of Transformers.
Conclusion and Future Work
While S2SVR is highly efficient, it still relies on recurrent structures and optical flow estimation, which may limit real-time performance compared to simple feed-forward CNNs. Additionally, extreme occlusions remain a challenge for flow-based alignment. Future research may explore integrating this flow-distillation logic into other architectures or developing more advanced serialization techniques to further enhance video restoration capabilities.
Summary updated