MACS: Multi-source Audio-to-image Generation with Contextual Significance and Semantic Alignment

Hao Zhou, Xiaobao Guo, Yuzhe Zhu, Adams Wai-Kin KongarXiv 2025 · DOI

Introduction

Most existing audio-to-image models operate under a "single-source" assumption, expecting clean audio clips like a dog barking or a car revving. However, real-world auditory scenes are often complex mixtures of overlapping sounds. Standard models struggle with these "multi-source" inputs, often producing incoherent or abstract visuals because they lack mechanisms for semantic alignment and contextual significance. MACS (Multi-source Audio-to-image Generation) addresses this by adopting a "separation before generation" strategy.

Methods

The MACS framework utilizes a two-stage architecture designed to disentangle complex audio mixtures into distinct semantic components before synthesizing an image.

The two-stage MACS architecture: Stage 1 focuses on multi-source sound separation and semantic alignment, while Stage 2 handles image generation via decoupled cross-attention.

Stage 1: Multi-source Sound Separation (MSS)

Instead of mapping a mixture directly to an image, MACS first decomposes the audio:

  • Unsupervised Separation: A UNet-based separator is trained using a "Mixture of Mixtures" (MoM) approach, allowing the model to learn decomposition without clean ground-truth labels.
  • Ranking Loss: By employing Spearman’s rank correlation, the model identifies which separated components are most "contextually significant" relative to the original mixture, ensuring the generator focuses on salient sounds.
  • CLAP Alignment: Separated audios are projected into a shared embedding space using the Contrastive Language-Audio Pretraining (CLAP) model, aligning audio features with text descriptions.

Stage 2: Image Generation

The separated audio embeddings are processed by a frozen Stable Diffusion model. A Decoupled Cross-Attention module handles multiple audio inputs simultaneously, allowing the model to spatially place different audio-derived objects within the generated image.

Datasets

The framework was evaluated on several benchmarks to prove its versatility:

  • LLP-multi: A multi-source benchmark derived from the "Look, Listen, and Parse" dataset, containing concurrent audio-visual events.
  • AudioSet-Eval: Used for mixed-source evaluation across 600 event classes.
  • Landscape: A standard dataset for single-source evaluation (e.g., nature sounds).
  • FSD50K: Utilized for large-scale pre-training of the separation stage.

Key Insights

  • Separation Before Generation: Disentangling the audio mixture into cleaner individual components significantly improves visual quality and semantic accuracy compared to end-to-end mapping.
  • Contextual Ranking: The Ranking Loss mechanism allows the model to prioritize foreground signals over background noise, which is crucial for generating coherent objects.
  • Spatial Disentanglement: Qualitative analysis via Grad-CAM indicates that separated embeddings lead to more localized and object-aligned attention maps compared to mixed audio.

Key Results

MACS significantly outperforms state-of-the-art (SOTA) methods like AudioToken, Sound2Scene, and CoDi across 17 out of 21 evaluation indexes.

Qualitative comparison and quantitative performance (radar charts) of MACS against state-of-the-art methods on single-source (Landscape) and multi-source (LLP-multi) datasets.

On the LLP-multi benchmark, MACS achieved an FID of 87.09, outperforming CoDi (116.67) and AudioToken (143.62). Furthermore, the AIS (Audio-Image Similarity) metric confirmed higher semantic alignment, demonstrating that generated images accurately reflect the auditory scene.

Limitations and Future Work

While effective, MACS currently uses a fixed number of separation slots, which may limit performance in extremely dense auditory environments. Additionally, the separation process currently ignores phase information. Future research may explore dynamic separation counts and extending the framework to video generation.

Summary updated

BibTeX
@misc{zhou2025macs,
  author = {Hao Zhou and Xiaobao Guo and Yuzhe Zhu and Adams Wai-Kin Kong},
  title = {{MACS: Multi-source Audio-to-image Generation with Contextual Significance and Semantic Alignment}},
  year = {2025},
  eprint = {2503.10287},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.10287},
}
Figure