MeLFusion: Synthesizing Music from Image and Language Cues using Diffusion Models
Sanjoy Chowdhury, Sayan Nag, K J Joseph, Balaji Vasan Srinivasan, Dinesh Manocha
TL;DR
MeLFusion tackles multi-modal music synthesis by conditioning diffusion-based generation on both an input image and a text description. It introduces a visual synapse that injects image semantics into a text-to-music diffusion model via learnable per-layer cross-attention mixing with a frozen image-to-text diffusion model. The authors release MeLBench (11,250 triplets) and IMSM as new benchmarks to quantify image-music alignment, and demonstrate up to 67.98% relative gains in FAD over strong baselines on two datasets. The work suggests that direct image conditioning substantially enhances musical coherence and emotional alignment for social-media and multimedia workflows.
Abstract
Music is a universal language that can communicate emotions and feelings. It forms an essential part of the whole spectrum of creative media, ranging from movies to social media posts. Machine learning models that can synthesize music are predominantly conditioned on textual descriptions of it. Inspired by how musicians compose music not just from a movie script, but also through visualizations, we propose MeLFusion, a model that can effectively use cues from a textual description and the corresponding image to synthesize music. MeLFusion is a text-to-music diffusion model with a novel "visual synapse", which effectively infuses the semantics from the visual modality into the generated music. To facilitate research in this area, we introduce a new dataset MeLBench, and propose a new evaluation metric IMSM. Our exhaustive experimental evaluation suggests that adding visual information to the music synthesis pipeline significantly improves the quality of generated music, measured both objectively and subjectively, with a relative gain of up to 67.98% on the FAD score. We hope that our work will gather attention to this pragmatic, yet relatively under-explored research area.
