Multi-Frame Content Integration with a Spatio-Temporal Attention Mechanism for Person Video Motion Transfer

Kun Cheng, Hao-Zhi Huang, Chun Yuan, Lingyiqing Zhou, Wei LiuarXiv 2019

TL;DR

This paper introduces a novel method for person video motion transfer that addresses limitations in existing approaches by integrating information from multiple source frames using a spatio-temporal attention mechanism. This allows for more realistic and temporally consistent generated videos with better control over appearance and motion, and also enables flexible background substitution.

What Problem Does This Paper Address?

Generating realistic person videos with precise control over both appearance and motion is a challenging task. Existing methods often fall into one of three categories: unconditional generation (lacks control), video prediction (focuses on pose prediction, not appearance fidelity), or motion transfer (often relies on a single source frame, leading to flicker artifacts and insufficient detail). Specifically, transferring motion from a target video to a source person while preserving the source's appearance is difficult, especially when dealing with complex, unpredictable motions. Current approaches struggle with maintaining temporal consistency and rich appearance details, particularly when the source and target videos have significant differences.

Methods

The proposed method tackles person video motion transfer by decomposing the problem into foreground and background synthesis, leveraging a multi-frame content integration strategy guided by a spatio-temporal attention mechanism.

  • Multi-Frame Preliminary Feature Extraction: Instead of relying on a single source frame, the method extracts preliminary foreground and background features from multiple (K) randomly chosen source frames using a pretrained single-frame pose transfer model. This captures richer appearance information.
  • Multi-Frame Foreground Refinement: This module integrates the preliminary foreground features from multiple source frames. It uses a spatio-temporal attention mechanism to fuse these features, allowing the model to overcome occlusions and capture more detailed appearance information. Variants like "RB6+SA2D" and "SA3D+RB6" are explored for this fusion.
  • Multi-Frame Background Completion: Similar to foreground refinement, this module leverages multiple source frames to reconstruct a more accurate background, especially in areas occluded by the person.
  • Final Composition: The refined foreground and completed background are combined using a predicted foreground mask to form the final output frame.
  • Spatio-Temporal Adversarial Training: To ensure photo-realism and temporal consistency, the model is trained using a combination of:
  • Content Loss: Encourages generated frames to match the ground truth.
  • Spatial Adversarial Loss: Uses a single-frame conditional discriminator to ensure frame-level realism.
  • Multi-Range Temporal Adversarial Loss: Employs multiple temporal discriminators to enforce consistency across different time ranges, addressing flicker artifacts.

Datasets

  • Dance-500: A novel dataset constructed by the authors for training and evaluating general person video motion transfer. It consists of approximately 500 dancing video clips with complex and unpredictable motions, collected from YouTube. The dataset is split into 400 clips for training, 50 for validation, and 50 for testing. The authors highlight that existing datasets often contain monotonous and predictable actions, whereas Dance-500 offers a more challenging and realistic benchmark.

Key Insights and Ideas

  • Multi-frame integration is crucial for appearance fidelity: Relying on a single source frame is insufficient for capturing rich appearance details and leads to artifacts. Integrating information from multiple source frames significantly improves the realism of the generated foreground.
  • Spatio-temporal attention is key to effective feature fusion: The attention mechanism helps the model intelligently combine features from different source frames, focusing on relevant "comfort zones" to produce more accurate details for both foreground and background.
  • Decomposing foreground and background synthesis enables flexibility: Separating the synthesis of foreground and background allows for applications beyond motion transfer, such as background substitution, by allowing the background to be sourced from a different video.
  • Multi-range temporal discriminators are vital for temporal consistency: A single temporal discriminator is not enough to capture the complex temporal dynamics of real videos. Using multiple discriminators that analyze different time ranges effectively reduces flicker artifacts.

Key Results

  • Quantitative Improvements: On the Same-Video subset, the proposed method ("MSE + VGG + Fusion RB6+SA2D + Dv") achieved a VFID score of 7.57 and a PSNR of 23.20, outperforming previous methods. The multi-frame integration and multi-range temporal discriminator were shown to significantly improve VFID scores.
  • Qualitative Improvements: Visual results demonstrate that the proposed method produces more photo-realistic and temporally consistent videos compared to the single-frame baseline, which exhibits blurry artifacts. The "RB6+SA2D" and "SA3D+RB6" variants showed the best overall performance.
  • Human Preference: A user study indicated that participants preferred the proposed method over the state-of-the-art single-frame method by a large margin, citing better overall fidelity and temporal consistency.
  • Background Substitution: The method successfully demonstrated flexible background substitution capabilities, allowing a person to perform actions in front of various new backgrounds.

Limitations and Future Work

  • Camera and Background Assumption: The current method assumes static cameras and backgrounds, which simplifies the problem. Extending it to handle dynamic cameras and backgrounds would be a significant advancement.
  • Keyframe Selection Strategy: While randomly sampling keyframes from the source video has shown benefits, a more sophisticated strategy for choosing keyframes could further improve performance.
  • Pose Estimator: The method relies on a pretrained 2D pose estimator. Future work could explore using more advanced pose estimators to acquire more accurate pose information.
  • Computational Cost: While the "RB6+SA2D" variant alleviates computational burden compared to "SA3D+RB6," the overall process still involves significant computation. Optimizing for efficiency, especially for real-time applications, is a potential area for future research.

Summary updated

BibTeX
@misc{cheng2019multi,
  author = {Kun Cheng and Hao-Zhi Huang and Chun Yuan and Lingyiqing Zhou and Wei Liu},
  title = {{Multi-Frame Content Integration with a Spatio-Temporal Attention Mechanism for Person Video Motion Transfer}},
  year = {2019},
  eprint = {1908.04013},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1908.04013},
}
Figure