Taming Visually Guided Sound Generation

Vladimir Iashin, Esa Rahtu
10/17/2021
cs.CVcs.AIcs.LG

Official code: v-iashin/SpecVQGAN (369 stars, MIT, PyTorch, last commit 2024-07-12).

Abstract

Recent advances in visually-induced audio generation are based on sampling short, low-fidelity, and one-class sounds. Moreover, sampling 1 second of audio from the state-of-the-art model takes minutes on a high-end GPU. In this work, we propose a single model capable of generating visually relevant, high-fidelity sounds prompted with a set of frames from open-domain videos in less time than it takes to play it on a single GPU. We train a transformer to sample a new spectrogram from the pre-trained spectrogram codebook given the set of video features. The codebook is obtained using a variant of VQGAN trained to produce a compact sampling space with a novel spectrogram-based perceptual loss. The generated spectrogram is transformed into a waveform using a window-based GAN that significantly speeds up generation. Considering the lack of metrics for automatic evaluation of generated spectrograms, we also build a family of metrics called FID and MKL. These metrics are based on a novel sound classifier, called Melception, and designed to evaluate the fidelity and relevance of open-domain samples. Both qualitative and quantitative studies are conducted on small- and large-scale datasets to evaluate the fidelity and relevance of generated samples. We also compare our model to the state-of-the-art and observe a substantial improvement in quality, size, and computation time. Code, demo, and samples: v-iashin.github.io/SpecVQGAN

View on arXivView PDF

Code Implementations(1)

v-iashin/SpecVQGANOfficial100%
PyTorchMIT

Source code for "Taming Visually Guided Sound Generation" (Oral at the BMVC 2021)

36939Shell, PythonOct 17, 20212 years agoMIT
audioaudio-generationbmvcevaluation-metricsgan+10 more

Similar Papers

Cite this paper

@article{iashin2021taming,
  title  = {Taming Visually Guided Sound Generation},
  author = {Vladimir Iashin and Esa Rahtu},
  year   = {2021},
  eprint = {2110.08791},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.08791}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.08791.svg)](https://codeofpaper.com/paper/2110.08791)

Discussion