Paper Reading AI Learner

DirectSwap: Mask-Free Cross-Identity Training and Benchmarking for Expression-Consistent Video Head Swapping

2025-12-10 08:31:28
Yanan Wang, Shengcai Liao, Panwen Hu, Xin Li, Fan Yang, Xiaodan Liang

Abstract

Video head swapping aims to replace the entire head of a video subject, including facial identity, head shape, and hairstyle, with that of a reference image, while preserving the target body, background, and motion dynamics. Due to the lack of ground-truth paired swapping data, prior methods typically train on cross-frame pairs of the same person within a video and rely on mask-based inpainting to mitigate identity leakage. Beyond potential boundary artifacts, this paradigm struggles to recover essential cues occluded by the mask, such as facial pose, expressions, and motion dynamics. To address these issues, we prompt a video editing model to synthesize new heads for existing videos as fake swapping inputs, while maintaining frame-synchronized facial poses and expressions. This yields HeadSwapBench, the first cross-identity paired dataset for video head swapping, which supports both training (\TrainNum{} videos) and benchmarking (\TestNum{} videos) with genuine outputs. Leveraging this paired supervision, we propose DirectSwap, a mask-free, direct video head-swapping framework that extends an image U-Net into a video diffusion model with a motion module and conditioning inputs. Furthermore, we introduce the Motion- and Expression-Aware Reconstruction (MEAR) loss, which reweights the diffusion loss per pixel using frame-difference magnitudes and facial-landmark proximity, thereby enhancing cross-frame coherence in motion and expressions. Extensive experiments demonstrate that DirectSwap achieves state-of-the-art visual quality, identity fidelity, and motion and expression consistency across diverse in-the-wild video scenes. We will release the source code and the HeadSwapBench dataset to facilitate future research.

Abstract (translated)

视频头部交换的目标是用参考图像中的整个头部(包括面部识别、头形和发型)替换视频主体的头部,同时保留目标身体、背景及运动动态。由于缺乏配对的真实交换数据,先前的方法通常在来自同一视频内不同帧的跨帧配对上进行训练,并依赖基于掩码的修复技术来减少身份信息泄漏。除了可能存在的边界伪影之外,这种范式难以恢复被掩码遮挡的重要线索,例如面部姿态、表情和运动动态。 为了解决这些问题,我们提示一个视频编辑模型生成用于现有视频的人造头部交换输入,同时保持逐帧同步的面部姿势和表情。这产生了HeadSwapBench,这是首个用于视频头部交换的真实配对数据集,支持训练(\TrainNum{}个视频)和基准测试(\TestNum{}个视频),并提供真实输出。利用这种配对监督,我们提出了DirectSwap,这是一种无掩码的直接视频头部交换框架,它将图像U-Net扩展为带有运动模块和条件输入的视频扩散模型。此外,我们引入了基于运动和表情感知重建(MEAR)损失,该损失通过帧差值幅度和面部特征点接近度来重新加权扩散损失每像素权重,从而增强跨帧在动作与表达上的一致性。 大量的实验表明,DirectSwap实现了视觉质量、身份忠实度以及在各种野外视频场景中的运动和表情一致性方面的最新技术水平。我们将发布源代码和HeadSwapBench数据集以促进未来的研究工作。

URL

https://arxiv.org/abs/2512.09417

PDF

https://arxiv.org/pdf/2512.09417.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot