Sound2Vision: Generating Diverse Visuals from Audio through Cross-Modal Latent Alignment

Kim Sung-Bin, Arda Senocak, Hyunwoo Ha, Tae-Hyun OharXiv 2024 · DOI

Abstract

Sound2Vision is a novel framework designed to generate realistic and diverse images from "in-the-wild" audio recordings without the need for text labels or manual supervision. By aligning audio features with a pre-trained visual latent space and utilizing sound source localization to filter training data, the model synthesizes complex scenes and allows for intuitive control over visual outputs through simple audio manipulations, such as volume adjustments or sound mixing.

Introduction

Generating images from sound is a challenging "one-to-many" problem. A single audio cue, such as a dog's bark, can correspond to a vast array of visual scenes differing in breed, environment, and lighting. This task is complicated by two primary hurdles: the information gap, where audio lacks explicit details about shape and texture, and correlation inconsistency, where audio and video in real-world recordings are often poorly synchronized. Existing methods frequently rely on simplified datasets or text-based supervision, limiting their ability to generate novel scenes from scratch.

Methodology

The Sound2Vision pipeline employs a three-stage approach focused on cross-modal latent alignment:

  1. Latent Alignment via Contrastive Learning: The framework leverages pre-trained image encoders (e.g., ResNet-50 or ViT) and generators (e.g., BigGAN or Latent Diffusion Models). An audio encoder is trained to map sounds into the visual latent space using a symmetric InfoNCE loss, ensuring paired features are clustered together.
  2. Sound Source Localization (SSL): To address inconsistent correlations, a pre-trained SSL model identifies video frames where the sound originates from visible objects. Only these high-correlation pairs are used for training, significantly enhancing image quality.
  3. Architecture Agnosticism: The method is "plug-and-play," compatible with both Generative Adversarial Networks (GANs) and Latent Diffusion Models (LDMs).
Overview of the Sound2Vision training and inference pipeline, highlighting the use of Sound Source Localization for frame selection.

Experimental Setup

The model was evaluated on several challenging datasets:

  • VGGSound: A large-scale dataset of 200k "in-the-wild" videos, with a 50-class subset used for benchmarking.
  • VEGAS: A smaller dataset with 10 categories of natural sounds.
  • CelebV-HQ: Used to demonstrate generalization to human speech, generating faces that match the speaker's vocal characteristics.

Results and Discussion

Sound2Vision demonstrates significant improvements over existing baselines like ICGAN. On the VGGSound dataset, the LDM-based version achieved a CLIP R@1 score of 50.37, compared to 40.71 for GAN-based alternatives. Human evaluations showed an 80.2% preference for Sound2Vision's accuracy in representing input audio.

Controllability and Latent Manipulation

Because audio is mapped to a structured latent space, the model supports "arithmetic" on sounds. Users can mix waveforms or adjust volume to influence the generated image's composition. For instance, increasing the volume of a "Rail Transport" sound makes the train appear larger or closer, revealing that the model learns "physics-like" relationships without explicit supervision.

Examples of generated images showing the model's ability to handle waveform manipulation (mixing, volume) and latent space interpolation.

Key Insights

  • Closing the Modality Gap: By specifically optimizing to reduce the constant vector offset between audio and visual clusters found in standard contrastive learning, the authors achieved higher cross-modal transferability.
  • Robustness: SSL-based sample selection prevents the model from being misled by noisy background data, a common issue in self-supervised learning for "in-the-wild" video data.

Conclusion

Sound2Vision successfully bridges the gap between audio and vision, providing a robust method for sound-to-image generation. While extremely complex auditory environments remain a challenge, future work aims to extend this framework to temporal dynamics, enabling sound-to-video generation.

Summary updated

BibTeX
@misc{sungbin2024sound,
  author = {Kim Sung-Bin and Arda Senocak and Hyunwoo Ha and Tae-Hyun Oh},
  title = {{Sound2Vision: Generating Diverse Visuals from Audio through Cross-Modal Latent Alignment}},
  year = {2024},
  eprint = {2412.06209},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.06209},
}
Figure