Skip to main content
QUICK REVIEW

[Paper Review] I Hear Your True Colors: Image Guided Audio Generation

Roy Sheffer, Yossi Adi|arXiv (Cornell University)|Nov 6, 2022
Music and Audio ProcessingComputer Science5 citations
TL;DR

This paper proposes Im2Wav, a novel image-guided audio generation system that leverages a two-stage Transformer-based language model conditioned on CLIP-encoded image features to generate semantically relevant audio from images or video. The method achieves state-of-the-art performance in both audio fidelity and visual relevance, significantly outperforming baselines on metrics including FAD, Clip-Score, and KL divergence, and introduces the ImageHear benchmark for out-of-domain evaluation.

ABSTRACT

We propose Im2Wav, an image guided open-domain audio generation system. Given an input image or a sequence of images, Im2Wav generates a semantically relevant sound. Im2Wav is based on two Transformer language models, that operate over a hierarchical discrete audio representation obtained from a VQ-VAE based model. We first produce a low-level audio representation using a language model. Then, we upsample the audio tokens using an additional language model to generate a high-fidelity audio sample. We use the rich semantics of a pre-trained CLIP (Contrastive Language-Image Pre-training) embedding as a visual representation to condition the language model. In addition, to steer the generation process towards the conditioning image, we apply the classifier-free guidance method. Results suggest that Im2Wav significantly outperforms the evaluated baselines in both fidelity and relevance evaluation metrics. Additionally, we provide an ablation study to better assess the impact of each of the method components on overall performance. Lastly, to better evaluate image-to-audio models, we propose an out-of-domain image dataset, denoted as ImageHear. ImageHear can be used as a benchmark for evaluating future image-to-audio models. Samples and code can be found inside the manuscript.

Motivation & Objective

  • To develop an open-domain, image-guided audio generation system that produces semantically relevant audio without requiring class labels or paired text-audio data.
  • To overcome the scarcity of large-scale text-audio paired datasets by leveraging naturally occurring image-audio pairs from videos.
  • To improve audio fidelity and visual relevance in image-to-audio generation through a hierarchical discrete token modeling approach.
  • To standardize evaluation of image-to-audio models by introducing ImageHear, a new out-of-domain benchmark dataset.
  • To investigate the impact of key components such as classifier-free guidance, upsampling, and frame-wise conditioning on generation quality.

Proposed method

  • Im2Wav uses a hierarchical VQ-VAE to convert raw audio into discrete tokens at a low-resolution level.
  • A first-stage autoregressive Transformer language model generates low-level discrete audio tokens conditioned on CLIP-encoded image features.
  • A second-stage autoregressive Transformer upsamples the low-level tokens to higher resolution, refining the audio for higher fidelity.
  • Classifier-free guidance is applied to improve alignment between generated audio and input images, enhancing visual relevance.
  • The system conditions on either a single image or a sequence of images (video), with CLIP features extracted from each frame.
  • Audio generation is performed by autoregressively sampling from the two-stage model, followed by decoding via the VQ-VAE decoder.

Experimental results

Research questions

  • RQ1Can a text-to-speech-style language model architecture be adapted to generate high-fidelity, semantically relevant audio from images without requiring text or class labels?
  • RQ2How does conditioning on CLIP-embedded image features compare to other visual representations in terms of audio relevance and quality?
  • RQ3What is the impact of classifier-free guidance on improving image-audio alignment in open-domain audio generation?
  • RQ4How do the individual components—up-sampling, frame-wise conditioning, and classifier-free guidance—affect the final audio generation performance?
  • RQ5Can a new out-of-domain benchmark like ImageHear provide a reliable and standardized evaluation protocol for image-to-audio generation models?

Key findings

  • Im2Wav achieves a Fréchet Audio Distance (FAD) of 6.41, significantly outperforming the next best baseline, which had a FAD of 8.86.
  • On the ImageHear benchmark, Im2Wav achieves a Clip-Score (CS) of 9.53 and an audio classifier accuracy of 49.14%, demonstrating strong visual relevance and class distribution alignment.
  • Classifier-free guidance (CFG) improves visual relevance, increasing CS from 7.30 to 9.53 and accuracy from 26.67% to 49.14% on ImageHear when combined with upsampling.
  • The inclusion of the up-sampling model reduces FAD from 12.47 to 6.41, indicating a substantial improvement in audio fidelity.
  • Ablation studies confirm that both CFG and up-sampling have strong, independent effects on performance, while frame-wise conditioning (Every) has a smaller, marginal impact.
  • The proposed ImageHear benchmark enables reliable out-of-domain evaluation, with results showing that models perform better on single images than on complex video sequences.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.