AI
New AI Framework Lets You Edit Talking Head Videos Without Reshooting—Using Facial Motion Infilling
Researchers propose FacEDiT, a self-supervised method that can insert, delete, or replace speech segments in recorded video while maintaining continuity and lip-sync.
Editing specific segments of a talking head video—changing what was said or when it was said—typically requires reshooting the scene. Researchers at arXiv have introduced a new approach that sidesteps this burden by treating the problem as facial motion infilling, a technique that reconstructs facial movement from audio and surrounding video context.
The Challenge#
Local edits to talking head footage are surprisingly hard to pull off. Inserting, deleting, or swapping a spoken phrase demands that the system synthesize replacement facial motion while keeping everything else intact, all while maintaining the speaker's identity, matching lip movements to the new audio, and ensuring smooth transitions at edit boundaries. Existing speech-driven generation and lip-sync methods don't handle this scenario well because they assume you're generating the full video from scratch, not patching a single section.
Training a model to do this has been another roadblock: you'd need paired videos of the same person in the same scene that differ only in one spoken segment—a dataset that's practically impossible to collect at scale.
How FacEDiT Works#
The team reframed the problem using a self-supervised learning trick. During training, they mask out a span of facial motion from ordinary video-speech pairs and train the model to recover it using only the audio and the visible motion context before and after the masked region. This simulates a local edit without requiring special paired data.
The resulting model, FacEDiT, incorporates two key refinements:
- Local temporal attention bias — focuses processing on the edited region and its boundaries
- Temporal smoothness regularization — promotes natural transitions at edit seams
Remarkably, the same underlying model works for multiple tasks by simply changing the masking pattern: adjust which frames are masked, and you can perform editing, animate a portrait from a still image, or re-sync lips to new audio.
Evaluation and Results#
The researchers built FacEDiTBench, the first benchmark specifically designed to assess talking head video editing. It covers various types and lengths of edits with dedicated metrics. Testing showed that FacEDiT produces edits that are accurately aligned to speech, preserve the speaker's identity, and maintain seamless transitions across edit boundaries.

