PerceptAlign
a synchronization critic for video-to-audio timing
PerceptAlign is a framework for measuring and improving audio-visual sync in video-to-audio generation. Models like SpecVQGAN usually choose the right sound for a video but place it at the wrong moment: a video of a hammer gets a hammer sound, but the impact is heard before or after the hammer lands.
How it works
A small sync model is trained on real videos to tell how far a soundtrack is shifted from its video, then frozen. Its score is called the Perceptual Alignment Loss (PAL). For each new video, SpecVQGAN generates several soundtracks, and PAL keeps the one the sync model judges best aligned. Timing is tested on FlashDot, a synthetic dataset built for this project, and on VAS, a dataset of real-world videos.
Why it's interesting
The project adds three pieces for working on audio-visual sync. FlashDot pairs a flashing dot with a beep, so the correct timing of every sound is known exactly. Timing metrics are tested against known delays before they are used: envelope lag, the shift that best lines up the loudness of the generated and real audio, recovers a known delay exactly, while DTW distance, a common choice, tolerates time shifts by design. Using PAL to pick among samples at generation time then improves timing on an existing generator: the best of eight raises the share of FlashDot clips timed to within one video frame from 20% to 42%, and the best of four cuts the average timing error on VAS by 46 ms.
Status
The paper, A Synchronization Critic Improves Video-to-Audio Timing at Sampling Time, and the code, including the FlashDot generator, are at github.com/sameraslan/PerceptAlign.