[Paper Review] Learning Trajectory-Aware Transformer for Video Super-Resolution
This paper proposes TTVSR, a trajectory-aware Transformer for video super-resolution that models long-range temporal dependencies by learning spatio-temporal trajectories of visual tokens, reducing computational cost while improving performance. It achieves state-of-the-art results, with 0.70 dB and 0.45 dB PSNR gains over BasicVSR and IconVSR on the challenging REDS4 dataset.
Video super-resolution (VSR) aims to restore a sequence of high-resolution (HR) frames from their low-resolution (LR) counterparts. Although some progress has been made, there are grand challenges to effectively utilize temporal dependency in entire video sequences. Existing approaches usually align and aggregate video frames from limited adjacent frames (e.g., 5 or 7 frames), which prevents these approaches from satisfactory results. In this paper, we take one step further to enable effective spatio-temporal learning in videos. We propose a novel Trajectory-aware Transformer for Video Super-Resolution (TTVSR). In particular, we formulate video frames into several pre-aligned trajectories which consist of continuous visual tokens. For a query token, self-attention is only learned on relevant visual tokens along spatio-temporal trajectories. Compared with vanilla vision Transformers, such a design significantly reduces the computational cost and enables Transformers to model long-range features. We further propose a cross-scale feature tokenization module to overcome scale-changing problems that often occur in long-range videos. Experimental results demonstrate the superiority of the proposed TTVSR over state-of-the-art models, by extensive quantitative and qualitative evaluations in four widely-used video super-resolution benchmarks. Both code and pre-trained models can be downloaded at https://github.com/researchmm/TTVSR.
Motivation & Objective
- Address the limitation of existing video super-resolution methods that rely on only adjacent frames, failing to exploit long-range temporal dependencies.
- Overcome the high computational cost of standard Transformers in video tasks by restricting self-attention to relevant spatio-temporal trajectories.
- Mitigate scale-changing problems in long-range video sequences where object scale varies across frames.
- Enable effective long-range feature learning in video super-resolution using a novel trajectory-based attention mechanism.
- Achieve superior performance on standard benchmarks by combining trajectory-aware attention with cross-scale feature tokenization.
Proposed method
- Formulate video frames as pre-aligned trajectories of visual tokens, where each trajectory represents the motion path of a visual element across frames.
- Introduce a learnable location map to dynamically track and update trajectories by aggregating pixel motions via average pooling.
- Restrict self-attention computation to only those visual tokens that lie along the same trajectory, drastically reducing FLOPs compared to standard video Transformers.
- Propose a cross-scale feature tokenization (CFT) module that extracts features from multiple scale levels (e.g., 4, 6, 8) to handle scale variations in long-range sequences.
- Integrate trajectory generation and trajectory-aware attention into a unified Transformer architecture, enabling efficient and effective long-range modeling.
- Use a multi-scale feature aggregation strategy in CFT to preserve fine textures even when objects change size across frames.
Experimental results
Research questions
- RQ1Can a trajectory-aware attention mechanism effectively model long-range dependencies in video super-resolution while maintaining computational efficiency?
- RQ2How does restricting self-attention to spatio-temporal trajectories compare to full video attention in terms of performance and efficiency?
- RQ3To what extent can cross-scale feature tokenization mitigate performance degradation caused by scale variations in long-range video sequences?
- RQ4What is the optimal number of frames to sample for long-range modeling without diminishing returns?
- RQ5How does the proposed method handle complex motions such as rotation, where trajectory estimation may fail?
Key findings
- TTVSR achieves a PSNR of 32.12 on the REDS4 benchmark, outperforming BasicVSR by 0.70 dB and IconVSR by 0.45 dB.
- The ablation study shows that trajectory-aware attention (TA) improves PSNR from 31.89 (base model) to 31.99 when combined with trajectory generation (TG), demonstrating its effectiveness in long-range modeling.
- Using three scales (4, 6, 8) in the cross-scale feature tokenization (CFT) module yields the best performance (32.12 PSNR), while larger scales (e.g., 12) degrade results due to loss of texture detail.
- Performance improves with increasing frame sampling intervals up to 45 frames (32.01 PSNR), after which gains diminish, indicating that 33 frames (interval of 3) are sufficient for full sequence modeling.
- Visual comparisons show that TTVSR recovers finer textures in distant frames (e.g., yellow-boxed regions in Fig. 1), especially when motion trajectories are stable.
- Failure cases occur under rotation, where trajectory estimation breaks down, but TTVSR still outperforms other SOTA methods due to its strong long-range modeling capability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.