[Paper Review] M$^{2}$UGen: Multi-modal Music Understanding and Generation with the Power of Large Language Models
M²UGen is a unified framework that leverages large language models (LLaMA 2) to jointly perform multi-modal music understanding and generation, using MERT, ViT, and ViViT for audio, image, and video encoding. It achieves state-of-the-art performance in text/image/video-to-music generation and music editing, outperforming models like CoDi, CMT, and NExT-GPT across multiple metrics and human evaluation.
The current landscape of research leveraging large language models (LLMs) is experiencing a surge. Many works harness the powerful reasoning capabilities of these models to comprehend various modalities, such as text, speech, images, videos, etc. They also utilize LLMs to understand human intention and generate desired outputs like images, videos, and music. However, research that combines both understanding and generation using LLMs is still limited and in its nascent stage. To address this gap, we introduce a Multi-modal Music Understanding and Generation (M$^{2}$UGen) framework that integrates LLM's abilities to comprehend and generate music for different modalities. The M$^{2}$UGen framework is purpose-built to unlock creative potential from diverse sources of inspiration, encompassing music, image, and video through the use of pretrained MERT, ViT, and ViViT models, respectively. To enable music generation, we explore the use of AudioLDM 2 and MusicGen. Bridging multi-modal understanding and music generation is accomplished through the integration of the LLaMA 2 model. Furthermore, we make use of the MU-LLaMA model to generate extensive datasets that support text/image/video-to-music generation, facilitating the training of our M$^{2}$UGen framework. We conduct a thorough evaluation of our proposed framework. The experimental results demonstrate that our model achieves or surpasses the performance of the current state-of-the-art models.
Motivation & Objective
- To address the limited research on unified music understanding and generation using large language models (LLMs).
- To bridge multi-modal inputs (text, image, video) with music generation through a unified LLM-based framework.
- To create a large-scale, diverse dataset for text/image/video-to-music generation using the MU-LLaMA model.
- To improve music editing capabilities via natural language prompts using LLaMA 2's reasoning and understanding abilities.
- To evaluate the framework across multiple modalities and tasks, including subjective human evaluation.
Proposed method
- Employs MERT as the music encoder, ViT for image encoding, and ViViT for video encoding to extract modality-specific features.
- Uses LLaMA 2 as the central reasoning model to understand multi-modal inputs and generate responses, including music.
- Integrates AudioLDM 2 and MusicGen as music decoders for text-to-music and multi-modal-to-music generation.
- Trains the MU-LLaMA model on a dedicated music question-answering dataset to generate synthetic data for training.
- Applies FAD, KL divergence, and log spectral distance (LSD) for quantitative evaluation of music generation and editing.
- Uses ImageBind ranking (IB Rank) to measure alignment between input modality (image/video) and generated music.

Experimental results
Research questions
- RQ1Can a unified LLM-based framework effectively perform both music understanding and multi-modal music generation?
- RQ2How does the integration of MERT, ViT, and ViViT with LLaMA 2 improve cross-modal music generation from text, images, and videos?
- RQ3To what extent does the LLaMA 2 model’s reasoning capability enhance music editing based on natural language prompts?
- RQ4How does M²UGen compare to SOTA models like CoDi, CMT, and NExT-GPT in generating music aligned with input modalities?
- RQ5What is the human preference for M²UGen-generated music across text, image, and video-to-music tasks?
Key findings
- M²UGen v2 achieves the lowest FAD (2.191) and KL (5.118) scores in music editing, outperforming AUDIT and InstructME.
- In image-to-music generation, M²UGen v2 achieves an IB Rank of 0.819, surpassing CoDi (0.688) and demonstrating strong modality alignment.
- In video-to-music generation, M²UGen v2 achieves the highest IB Rank (0.850), outperforming CMT (0.629) and CoDi (0.721).
- Subjective evaluation shows M²UGen v2 received 58% preference in image-to-music and 45% in video-to-music tasks, significantly outperforming NExT-GPT and CMT.
- The model achieves state-of-the-art performance across all evaluated tasks, including music understanding, editing, and multi-modal generation.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.