SonicDiffusion: Audio-Driven Image Generation and Editing with Pretrained Diffusion Models
Burak Can Biner, Farrin Marouf Sofian, Umur Berkay Karakaş, Duygu Ceylan, Erkut Erdem, Aykut Erdem
TL;DR
SonicDiffusion addresses the gap in multimodal conditioning for large diffusion models by enabling audio-driven image generation and editing. It introduces an Audio Projector that maps audio clips to tokens aligned with text-space embeddings and injects them through gated cross-attention adapters into a frozen Stable Diffusion backbone, enabling parameter-efficient training. The method employs a two-stage training pipeline with contrastive and MSE losses for audio-text alignment and a DDPM-based loss for cross-modal conditioning, achieving state-of-the-art semantic fidelity (AIS, AIC, IIS) and image quality (FID) across diverse datasets, including landscape and audio-visual scenes. Overall, SonicDiffusion demonstrates robust audio-visual alignment and editable image synthesis with practical potential for multimodal content creation and editing.
Abstract
We are witnessing a revolution in conditional image synthesis with the recent success of large scale text-to-image generation methods. This success also opens up new opportunities in controlling the generation and editing process using multi-modal input. While spatial control using cues such as depth, sketch, and other images has attracted a lot of research, we argue that another equally effective modality is audio since sound and sight are two main components of human perception. Hence, we propose a method to enable audio-conditioning in large scale image diffusion models. Our method first maps features obtained from audio clips to tokens that can be injected into the diffusion model in a fashion similar to text tokens. We introduce additional audio-image cross attention layers which we finetune while freezing the weights of the original layers of the diffusion model. In addition to audio conditioned image generation, our method can also be utilized in conjuction with diffusion based editing methods to enable audio conditioned image editing. We demonstrate our method on a wide range of audio and image datasets. We perform extensive comparisons with recent methods and show favorable performance.
