TL;DR
This paper introduces an "adaptive compact attention" mechanism for few-shot video-to-video translation, which efficiently extracts contextual features from multiple reference images by learning compact "basis sets." To further enhance performance, they also propose a novel reference selection method using Delaunay Triangulation to dynamically pick the most relevant reference frames during inference, leading to more realistic and temporally consistent video synthesis.
What Problem Does This Paper Address?
Video-to-video (vid2vid) translation aims to generate a photorealistic video based on a semantic input video. A significant challenge is "few-shot" translation, where the model needs to generate videos for unseen subjects or styles with only a few examples. Existing few-shot vid2vid methods often rely on pixel-wise attention across reference images. While this captures some information, it fails to consider the correlations among multiple reference images, leading to heavy computational costs and suboptimal performance. This limits their ability to effectively leverage the rich view-dependent and motion-dependent information present in these references, hindering the synthesis of truly realistic and temporally coherent videos.
Methods
The core of this work is the Adaptive Compact Attention mechanism. Instead of processing each reference image individually, it aims to extract a global, compact representation. This is achieved in three steps:
- Feature Extraction: Separate encoders process the input label image, reference appearance images, and reference semantic images to extract their respective features.
- Basis Extraction: This is the novel part. The method learns "basis sets" from the reference appearance and semantic features. These basis sets act as higher-level, compressed representations that capture the shared information and correlations across multiple reference frames. This process is designed to be efficient and reduce redundancy.
- Basis Aggregation: The learned basis sets are then aggregated with the input label's features to produce a final contextualized representation. This representation is then used to generate weights for a SPADE generator, which synthesizes the output video.
Additionally, for inference, the paper proposes a Reference Selection method. This method uses the Delaunay Triangulation algorithm to build a mesh on an "appearance map" of the reference sequence. When an input label is provided, its position on this map is used to query and select the most relevant reference frames for that specific frame, ensuring that the most useful appearance information is utilized.
Datasets
The authors evaluate their method on two datasets:
- FaceForensics++: A large-scale talking-head video dataset. They use dlib to extract face landmarks as semantic labels.
- Human Dancing Video Dataset: A custom dataset collected from Bilibili, consisting of dancing videos. They use Openpose and Densepose to extract skeletons as semantic labels.
Key Insights and Ideas
- Beyond Pixel-wise Attention: The paper highlights that simply applying pixel-wise attention across references is computationally expensive and misses crucial inter-reference correlations. Learning compact "basis sets" offers a more efficient and effective way to capture global context.
- Leveraging Multi-Reference Correlations: By jointly considering multiple reference images to form basis sets, the model can better understand view-dependent and motion-dependent information, which is vital for realistic video synthesis.
- Dynamic Reference Selection: Manually selecting reference frames can be suboptimal. Using Delaunay Triangulation to dynamically select the most relevant references based on the input label at inference time significantly improves the quality and reliability of the synthesized video.
- Efficiency Gains: The compact nature of the basis sets and the shared computation across references lead to reduced computational cost compared to previous methods.
Key Results
- Qualitative Improvements: The method generates videos with sharper details, particularly in face boundaries and mouths for talking-head videos, and more accurate poses and finer details (like clothing texture and hair style) for dancing videos, compared to the state-of-the-art few-shot vid2vid baseline.
- Quantitative Improvements:
- On the FaceForensics dataset, the proposed method (Ours) achieved lower FID (64.40 vs. 72.90) and PSNR (18.88 vs. 17.92) compared to the baseline.
- When combined with reference selection (Ours with RS), FID dropped significantly to 52.63, demonstrating the effectiveness of the selection strategy.
- Lower FVD scores indicate better temporal consistency.
- Efficiency: The paper reports that their model has a lower mean training time per iteration (0.240s vs. 0.284s on FaceForensics, and 0.552s vs. 0.710s on Dancing dataset) on a Tesla P40 GPU, indicating higher time efficiency.
Limitations and Future Work
- Reference Selection Dynamics: While the reference selection method improves results, the paper notes that it can frequently change the reference set, potentially making the video less stable temporally (higher FVD). This suggests a trade-off between frame-level detail and temporal consistency that could be further explored.
- Future Work: The authors mention their commitment to developing video forgery detection methods to combat potential misuse of such generative technologies. Further research could explore more robust temporal consistency mechanisms or investigate the application of this adaptive attention to other video generation tasks.
Summary updated