Skip to main content
QUICK REVIEW

[논문 리뷰] Moûsai: Text-to-Music Generation with Long-Context Latent Diffusion

Flavio Schneider, Kamal, Ojasv|arXiv (Cornell University)|2023. 01. 27.
Music and Audio ProcessingComputer Science인용 수 15
한 줄 요약

Moûsai는 텍스트를 길이가 분 단위의 음악으로 변환하는 2단계 계단식 확산 모델로, 48kHz에서 작동하며 64배의 음향 압축을 위한 확산 자동인코더와 생성용 텍스트 조건 잠재 확산 단계로 구성되며, 오픈 소스 코드와 데이터셋 Text2Music를 사용합니다.

ABSTRACT

Recent years have seen the rapid development of large generative models for text; however, much less research has explored the connection between text and another "language" of communication -- music. Music, much like text, can convey emotions, stories, and ideas, and has its own unique structure and syntax. In our work, we bridge text and music via a text-to-music generation model that is highly efficient, expressive, and can handle long-term structure. Specifically, we develop Moûsai, a cascading two-stage latent diffusion model that can generate multiple minutes of high-quality stereo music at 48kHz from textual descriptions. Moreover, our model features high efficiency, which enables real-time inference on a single consumer GPU with a reasonable speed. Through experiments and property analyses, we show our model's competence over a variety of criteria compared with existing music generation models. Lastly, to promote the open-source culture, we provide a collection of open-source libraries with the hope of facilitating future work in the field. We open-source the following: Codes: https://github.com/archinetai/audio-diffusion-pytorch; music samples for this paper: http://bit.ly/44ozWDH; all music samples for all models: https://bit.ly/audio-diffusion.

연구 동기 및 목표

  • 텍스트와 음악을 연결하여 긴 컨텍스트 기능을 갖춘 텍스트 조건 음악 생성을 가능하게 한다.
  • 소비자 GPU에서 실시간 추론이 가능하도록 높은 효율성을 달성하면서 멀티-분 분리 음악을 생성한다.
  • 두 단계 확산 파이프라인(DMAE 인코딩 + TCLD 생성)과 학습을 위한 다양하고 대규모 데이터셋을 개발한다.
  • 텍스트-음악 확산 연구를 촉진하기 위해 오픈 소스 라이브러리와 데이터셋을 제공한다.

제안 방법

  • 1단계는 오디오를 64x로 압축하기 위해 강도 스펙트로그램을 잠재 공간으로 인코딩하고 노이즈 레벨 및 잠재 콘텐츠에 조건부를 가지는 1D U-Net으로 재구성하는 확산 규모 자동인코더(DMAE)를 학습한다.
  • 2단계는 고정된 언어 모델(T5)에서 얻은 텍스트 임베딩으로 조건화된 잠재 표현을 디노이즈하는 텍스트 조건 잠재 확산(TCLD) 모델을 학습하며, 교차 주의/장기 컨텍스트 주의 블록을 사용한다.
  • 추론 시 프롬프트 강도를 강화하기 위해 0.1 샘플링 드롭아웃을 사용하는 분류기 없는 가이던스(CFG)로 텍스트 조건화를 수행한다.
  • 텍스트 인코더는 고정되고 TCLD U-Net은 압축된 잠재 공간에서 작동하여 서술적 프롬프트에 맞춘 음악을 생성한다.
  • 모델은 효율적인 디디엠(DDIM) 샘플러를 사용하여 효율적인 디노이징과 현실적인 샘플 생성을 수행한다.
  • ResNet 블록, 모듈화 단위, 다양한 조건화(inject, attention, cross-attention)를 갖춘 효율적인 1D U-Net 아키텍처로 빠른 학습과 추론을 가능하게 한다.
Figure 1: We propose a two-stage cascading diffusion method, where the first stage compresses the music using a novel diffusion autoencoder, and the second stage generates music from the reduced representation conditioned on the encoding of a textual description.
Figure 1: We propose a two-stage cascading diffusion method, where the first stage compresses the music using a novel diffusion autoencoder, and the second stage generates music from the reduced representation conditioned on the encoding of a textual description.

실험 결과

연구 질문

  • RQ1두 단계의 계단식 확산 접근이 장시간 지속되면서도 고품질의 텍스트 조건 음악을 생성할 수 있는가?
  • RQ2텍스트-음악에 대해 확산 자동인코더와 잠재 확산을 결합했을 때의 효율성 향상은 어느 정도인가?
  • RQ3텍스트 조건 확산이 다양한 장르와 긴 컨텍스트에서 음악 출력과 텍스트 프롬프트의 정합성을 얼마나 잘 달성하는가?
  • RQ4장시간 컨텍스트의 음악 구조와 다장르 다양성을 극대화하기 위한 데이터 및 아키텍처 선택은 무엇인가?

주요 결과

  • Moûsai는 텍스트 설명에 조건된 분 분 동안의 48kHz 스테레오 음악을 달성한다.
  • DMAE는 오디오를 64x 압축하여 후속 확산 생성용의 조밀한 잠재 공간을 제공한다.
  • 텍스트 임베딩을 교차 주의 및 긴 컨텍스트 주의 블록을 통해 조건화하는 TCLD 단계는 텍스트-음악 정합성을 개선한다.
  • 모델은 베이스라인과 비교했을 때 텍스트-음악 관련성(CLAP 점수)과 음악 품질(FAD, 사람 평가)이 우수함을 보인다.
  • Moûsai는 소비자 GPU에서 실시간 추론이 가능하고 각 단계당 약 1주일 내에 단일 A100 GPU에서 학습이 가능하다.
Figure 2: The training scheme of our diffusion magnitude autoencoder (DMAE). When denoising (bottom right), we condition the U-Net on the noise level ( ) and compressed latent representation ( ) from a reduced version of the non-noisy audio (the pink matrix).
Figure 2: The training scheme of our diffusion magnitude autoencoder (DMAE). When denoising (bottom right), we condition the U-Net on the noise level ( ) and compressed latent representation ( ) from a reduced version of the non-noisy audio (the pink matrix).

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.