Visual to Sound: Generating Natural Sound for Videos in the Wild

Yipin Zhou, Zhaowen Wang, Chen Fang, Trung Bui, Tamara L. Berg

Abstract

Automatically generating realistic, synchronized audio from unconstrained video is a significant challenge in computer vision and signal processing. We present a framework for synthesizing high-fidelity 16kHz audio waveforms from "in the wild" video clips. By introducing the VEGAS dataset—a cleaned subset of natural videos—and employing a hierarchical RNN architecture conditioned on optical flow, our approach achieves audio generation that human evaluators find indistinguishable from real recordings over 57% of the time.

1. Introduction

The cross-modal relationship between vision and sound is fundamental to human perception. While recent advances have enabled sound generation in laboratory settings—such as a single object being struck in a silent room—real-world "in the wild" videos present a much steeper challenge. These videos contain significant variability in camera movement, lighting, and acoustic environments. This paper addresses the task of generating natural sounds for these unconstrained scenarios, moving beyond simple experimental setups to complex real-world interactions.

Examples of natural video categories and their corresponding audio waveforms from the VEGAS dataset, illustrating the diversity of "in the wild" content.

2. Methodology

The task is framed as a conditional generation problem: predicting a sequence of raw audio samples conditioned on a sequence of video frames.

2.1 Sound Generator (Decoder)

We utilize SampleRNN, a hierarchical recurrent neural network designed for high-resolution audio synthesis. SampleRNN operates at multiple temporal scales (coarse-to-fine), allowing it to capture both long-term acoustic structures and fine-grained sample-level details required for 16kHz audio.

2.2 Video Encoders

We explore three encoding architectures to bridge the gap between low-frequency video (e.g., 15.6 FPS) and high-frequency audio (16,000 Hz):

  1. Frame-to-frame: Uses VGG19 features per frame, duplicated to match the audio rate.
  2. Sequence-to-sequence (Seq): Employs an RNN to capture temporal context from VGG19 features, using the final hidden state to initialize the decoder.
  3. Flow-based (Flow): Augments the Seq model with optical flow features. This explicitly captures the motion dynamics that are often the physical cause of sound.
The proposed encoder-decoder architecture, featuring a visual encoding RNN and a hierarchical SampleRNN decoder that generates waveforms sample-by-sample.

3. The VEGAS Dataset

Existing large-scale datasets like AudioSet often lack tight visual-audio grounding, where the sound source might be off-screen. To address this, we curated the Visually Engaged and Grounded AudioSet (VEGAS). Through Amazon Mechanical Turk, we filtered and verified 28,109 videos (~55 hours) across 10 categories (e.g., Dog, Fireworks, Chainsaw), ensuring the audio source is visually dominant and the sound is clear.

4. Key Insights and Results

Our experiments highlight that motion features are indispensable for synchronization. The Flow-based model significantly outperformed static feature models in categories requiring tight timing, such as "Fireworks" or "Drumming."

  • Human Evaluation: In a "Real vs. Fake" forced-choice test, the Flow-based model's audio fooled humans 57.34% of the time. For comparison, original ground truth audio was only rated as "real" 67.60% of the time, indicating the generated audio is nearing the perceived quality of real-world recordings.
  • Visual Relevance: When matching generated sound to a lineup of videos, humans chose the correct source video 73.36% of the time, proving the model generates audio specific to the visual content rather than generic category sounds.

5. Conclusion

This research demonstrates the feasibility of generating natural sounds for unconstrained videos by leveraging hierarchical RNNs and explicit motion features. While multi-category generation remains a challenge, the success of the Flow-based model suggests that capturing physical dynamics is key to realistic cross-modal synthesis.

Summary updated

BibTeX
@inproceedings{zhou2018visual,
  author = {Yipin Zhou and Zhaowen Wang and Chen Fang and Trung Bui and Tamara L. Berg},
  title = {{Visual to Sound: Generating Natural Sound for Videos in the Wild}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  url = {https://openreview.net/forum?id=ryNMcpWd-S},
}
Figure