From Short Clips to Real-Time Streams: Identity-Aware Supervision and Context-Efficient Generation for Video Face Swapping
Zekai Luo, Yuwei Liang, Ruiqi Ma, Haoyu Huang, Xuehao Wang, Huanyi Zheng, Mingyu Liu, Linhao Zhong, Chenchen Jing, Yuling Xi, Hao Chen
Abstract
Video face swapping transfers the reference identity to a target video while preserving its other attributes and motion. Despite recent progress in reference-guided flow-based methods, jointly achieving faithful identity transfer, high fidelity, and real-time generation over long video streams remains challenging. To address this challenge, we rethink the task-specific structure of reference-guided video face swapping. First, face swapping changes only identity while preserving most visual content, yet flow-matching supervision is weakly sensitive to these changes. We therefore develop Joint Rec-ID Loss, which balances explicit identity supervision and latent reconstruction according to the noise level. Second, the target video already provides non-edited attributes and temporal dynamics, enabling generation with fewer spatial tokens and shorter temporal contexts through Face-RoI Generation and Short-Context Rollout Training. By integrating these designs, we propose StreamingSwap, a reference-guided flow-matching framework for real-time streaming video face swapping. We also introduce HumanFaceVid, comprising 1,000 hours of cinematic training data and evaluation sets of 200 short and 200 long videos. Experiments demonstrate that our method achieves competitive identity transfer and visual quality at 20 FPS on a single NVIDIA RTX 4090 GPU, with stable generation over videos up to 10 minutes long. Project webpage: https://aim-uofa.github.io/StreamingSwap/
Create a lesson
Metadata
- Comments
- Project webpage: https://aim-uofa.github.io/StreamingSwap/
Related papers
TriTD: Tri-Partite Trajectory-Distribution Distillation for Real-Time Autoregressive Video Generation
Shared title terminologycs.CVJia Li, Xurui Peng, Haowei Zhu et al.
Matrix-Game 4.0: Harnessing Video Models for Real-Time Playable Game Worlds
Shared title terminologycs.CVJihai Zhang, Runjia Qian, Kaiqin Kong et al.
PhysSkin++: Generalizable Self-Supervised Neural Skinning for Real-Time Interactive Physics-Based Animation
Shared title terminologycs.CVYuanhang Lei, Baofei Liu, Xingxuan Li et al.
Variation-aware Temporal Correspondence for Self-Supervised Video Representation Learning
Shared title terminologycs.CVYang Liu, Qianqian Xu, Peisong Wen et al.
SplatWAM: Splatting World Action Models for Real-Time 3D Imagination
Shared title terminologycs.CVFrank Tsu-Fang Lu, Karthik Sundar Senthilkumar, Christopher Thirgood et al.
Complexity-Aware Surgical Video Reasoning Segmentation with Digital Twin and Context Memory
Shared title terminologycs.CVYiqing Shen, Mathias Unberath