KeyVID: Keyframe-Aware Video Diffusion for Audio-Synchronized Visual Animation

Xingrui Wang, Jiang Liu, Ze Wang, Xiaodong Yu, Jialian Wu, Ximeng Sun, Yusheng Su, Alan L. Yuille, Zicheng Liu, Emad Barsoum · DOI

TL;DR

KeyVID is a novel video diffusion framework that achieves precise audio-visual synchronization by prioritizing the generation of "keyframes" identified directly from audio signals. By mimicking the traditional animation workflow of "key-animating and in-betweening," it captures high-dynamic moments (like a hammer strike or a gunshot) far more accurately than standard uniform-sampling models, while remaining computationally efficient.

What Problem Does This Paper Address?

Generating video from a static image and an audio clip—a task known as Audio-Synchronized Visual Animation (ASVA)—is notoriously difficult. Most existing models rely on uniform sampling, where they generate frames at a fixed rate (e.g., 6 or 24 frames per second).

Overview of KeyVID: (a) Comparison between uniform sampling and keyframe-aware sampling; (b) The three-stage pipeline.

The "Aha!" moment of the problem is this: physical events in audio (like a drum beat or a door slam) are often instantaneous. If these events occur between the fixed timestamps of a low-frame-rate model, the resulting video looks "off-sync"—the hammer hits the nail a fraction of a second after the sound plays. While training at very high frame rates seems like a solution, it is computationally "brute-force," redundant in low-motion scenes, and fails to use the audio's structural cues to focus the model's "attention" on the most important moments.

Methods

KeyVID introduces a three-stage pipeline that treats video generation more like a professional animator would:

  1. Keyframe Localizer: The system first "listens" to the audio to predict a motion score curve. It identifies "peaks" (maximum motion) and "valleys" (minimum motion) in the audio signal. These become the target timestamps for visual keyframes. This localizer is trained using ground-truth motion data derived from optical flow (using the RAFT model).
  2. Keyframe Generator: A modified latent diffusion model (built on DynamiCrafter) generates these sparse, non-uniformly distributed keyframes. To handle the fact that these frames aren't evenly spaced, the authors introduced Frame Index Embedding (to give the model a sense of absolute time) and Keyframe-aligned Feature Extraction (to ensure the visual generation is conditioned on the exact audio snippet at that timestamp).
  3. Motion Interpolator: Finally, a specialized "Inbetweener" module fills in the gaps between the generated keyframes to produce a smooth, high-frame-rate video.
Motion score extraction and prediction: (a) Ground truth motion score from optical flow; (b) Audio-based motion score prediction architecture.

Datasets

The researchers evaluated KeyVID on three distinct datasets:

  • AVSync15: A subset of VGG-Sound featuring 15 classes of highly synchronized activities (e.g., hammering, capgun shooting).
  • Greatest Hits: A dataset of humans hitting various objects with drumsticks, providing very sharp, percussive audio-visual cues.
  • Landscapes: A collection of natural environment videos with ambient sounds, used to test the model's performance on less "rhythmic" or synchronized data.

Key Insights and Ideas

  • Audio as a Temporal Map: The core insight is that audio isn't just a semantic hint (e.g., "this is a dog barking"); it is a high-resolution temporal map of when physical actions must occur.
  • Efficiency through Sparsity: By generating only 12 keyframes at strategically chosen moments rather than 48 uniform frames, the model focuses its "generative budget" on the hardest parts of the video to get right.
  • The Power of Non-Uniformity: Standard diffusion models struggle with non-uniform temporal steps. KeyVID proves that with the right positional embeddings, diffusion models can successfully navigate irregular time intervals.

Key Results

KeyVID significantly outperformed state-of-the-art models like AVSyncD and CoDi across multiple metrics:

  • Synchronization: On the AVSync15 dataset, it achieved a RelSync score of 49.06 (where 50.00 is the ground truth), outperforming the previous best by a wide margin.
  • Visual Quality: It achieved a Frechet Video Distance (FVD) of 263.3 on AVSync15, an absolute improvement of 85.8 points over previous methods.
  • User Preference: In a blind study, participants preferred KeyVID’s results 66.25% of the time for audio synchronization and 65% for overall visual quality compared to baselines.
  • Motion Intensity: The model showed the greatest improvement in "Intense" motion categories (like dog barking or hammering), where timing is most critical.

Limitations and Future Work

While KeyVID excels at synchronization, the authors note a few areas for growth:

  • Complexity of Interpolation: The motion interpolator is responsible for "filling the gaps." If keyframes are too far apart or the motion is extremely non-linear, the interpolation might lose some realism.
  • Temporal Length: The current experiments focused on 2-second clips. Scaling this to longer, multi-event narratives would require more complex long-term temporal modeling.
  • Open-Domain Generalization: While the model shows promise on "out-of-distribution" samples (like animating a Sora-generated image), its performance is still somewhat tied to the types of motions seen during training.

Summary updated

BibTeX
@inproceedings{wang2025keyvid,
  author = {Xingrui Wang and Jiang Liu and Ze Wang and Xiaodong Yu and Jialian Wu and Ximeng Sun and Yusheng Su and Alan L. Yuille and Zicheng Liu and Emad Barsoum},
  title = {{KeyVID: Keyframe-Aware Video Diffusion for Audio-Synchronized Visual Animation}},
  booktitle = {Gen4AVC @ ICCV},
  year = {2025},
  url = {https://openreview.net/forum?id=O82UIq0oID},
}
Figure