Abstract
Speech sounds convey a great deal of information about the scenes in which they occur, resulting in a variety of effects ranging from reverberation to additional ambient sounds. In this paper, we manipulate input speech to sound as though it was recorded within a different scene, given an audio-visual conditional example recorded from that scene. Our model learns through self-supervision, taking advantage of the fact that natural video contains recurring sound events and textures. We extract an audio clip from a video and apply speech enhancement. We then train a latent diffusion model to recover the original speech, using another audio-visual clip taken from elsewhere in the video as a conditional hint. Through this process, the model learns to transfer the conditional example's sound properties to the input speech. We show that our model can be successfully trained using unlabeled, in-the-wild videos, and that an additional visual signal can improve its sound prediction abilities.
Introduction
Matching audio to a visual scene is a critical task in film production, virtual reality, and gaming. Traditionally, "clean" studio-recorded audio sounds jarringly out of place when paired with visuals of a windy beach or an echoing cathedral. Matching these requires two labor-intensive steps: simulating room acoustics (reverberation) and manually mixing in ambient "Foley" sounds. This work introduces a unified approach to audio-visual soundscape stylization, automatically transferring the complete acoustic "vibe" of a scene to a new audio track using only raw video as a reference.
Methodology
The core of the approach is a novel pretext task termed conditional speech de-enhancement. This method leverages the temporal coherence of natural video: two clips from the same video likely share the same environmental acoustics and background noise.
- Self-Supervision: The model samples two nearby clips from a single video.
- Input Preparation: The first clip is processed with a speech enhancement tool to create a "clean" input, stripped of reverb and noise.
- Conditional Prompting: The second clip provides the "hint," consisting of its original audio and a representative video frame.
- Generative Modeling: A Latent Diffusion Model (LDM) is trained to reconstruct the original noisy/reverberant audio of the first clip from the clean input, guided by the audio-visual hint.
The architecture employs a ResNet-based Variational Auto-Encoder (VAE) for audio compression, a U-Net for the diffusion process, and pre-trained CLIP (visual) and CLAP (audio) encoders to process the conditional hints. A HiFi-GAN vocoder is used for final waveform synthesis.
Datasets and Experimental Setup
To train and evaluate the model on diverse real-world scenarios, the authors curated the CityWalk dataset, comprising 3,447 egocentric walking videos (158 hours) from YouTube. This dataset captures varied environments such as shopping malls, trains, and beaches. The study also utilized a subset of AVSpeech for benchmarking against visual acoustic matching baselines and tested generalization on unseen speakers and environments using LRS and the full AVSpeech set.
Key Insights and Results
The model demonstrates superior performance in both objective metrics and subjective human evaluations. On the CityWalk dataset, it achieved a Mean Squared Error (MSE) of 0.54, significantly outperforming baselines like AViTAR and AudioLDM (MSE 0.76).
- Visual-Audio Synergy: The model's sound prediction improves when both audio and visual hints are present. For instance, a visual of a busy street can guide the model to add traffic noise even if the audio hint is momentarily quiet.
- Holistic Stylization: Unlike previous methods focusing solely on reverberation, this model treats ambient noise as an integral part of the scene identity.
- Zero-Shot Generalization: The model can restyle non-speech sounds (e.g., a dog barking) to fit a scene, indicating it has learned general environmental representations.
Discussion and Limitations
While the model effectively transfers soundscapes, it does not currently adjust vocal effort. If a user provides a whispered input for a loud construction site scene, the model adds the noise but does not modify the speech to sound like shouting. Additionally, the model may struggle with "invisible" sound sources (e.g., wind not visually apparent) or maintaining perfect synchronization for highly transient, non-stationary sounds. Ethical considerations regarding the potential for creating more convincing deepfakes remain an important area for future oversight.
Summary updated