Proceedings

MusicMagus: Zero-Shot Text-to-Music Editing via Diffusion Models

Download BibTeX Cite

Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence. AI, Arts & Creativity. Pages 7805-7813.

https://doi.org/10.24963/ijcai.2024/864

Abstract

Recent advances in text-to-music generation models have opened new avenues in musical creativity. However, the task of editing these generated music remains a significant challenge. This paper introduces a novel approach to edit music generated by such models, enabling the modification of specific attributes, such as genre, mood, and instrument, while maintaining other aspects unchanged. Our method transforms text editing to the latent space manipulation, and adds an additional constraint to enforce consistency. It seamlessly integrates with existing pretrained text-to-music diffusion models without requiring additional training. Experimental results demonstrate superior performance over both zero-shot and certain supervised baselines in style and timbre transfer evaluations. We also show the practical applicability of our approach in real-world music editing scenarios.

  1. [Agostinelli et al., 2023] Andrea Agostinelli, Timo I Denk, Zalán Borsos, Jesse Engel, Mauro Verzetti, Antoine Caillon, Qingqing Huang, Aren Jansen, Adam Roberts, Marco Tagliasacchi, et al. MusicLM: Generating music from text. arXiv preprint arXiv:2301.11325, 2023.
  2. [Chen et al., 2023] Ke Chen, Yusong Wu, Haohe Liu, Mari- anna Nezhurina, Taylor Berg-Kirkpatrick, and Shlomo Dub- nov. MusicLDM: Enhancing novelty in text-to-music genera- tion using beat-synchronous mixup strategies. arXiv preprint arXiv:2308.01546, 2023.
  3. [Chung et al., 2022] Hyung Won Chung, Le Hou, Shayne Longpre, Barret Zoph, Yi Tay, William Fedus, Yunxuan Li, Xuezhi Wang, Mostafa Dehghani, Siddhartha Brahma, et al. Scaling instruction- finetuned language models. arXiv preprint arXiv:2210.11416, 2022.
  4. [Copet et al., 2023] Jade Copet, Felix Kreuk, Itai Gat, Tal Re- mez, David Kant, Gabriel Synnaeve, Yossi Adi, and Alexan- dre Défossez. Simple and controllable music generation. arXiv preprint arXiv:2306.05284, 2023.
  5. [Dai et al., 2018] Shuqi Dai, Zheng Zhang, and Gus G Xia. Music style transfer: A position paper. arXiv preprint arXiv:1803.06841, 2018.
  6. [Ghosal et al., 2023] Deepanway Ghosal, Navonil Majumder, Am- buj Mehrish, and Soujanya Poria. Text-to-audio generation using instruction-tuned LLM and latent diffusion model. arXiv preprint arXiv:2304.13731, 2023.
  7. [Han et al., 2023] Bing Han, Junyu Dai, Xuchen Song, Weituo Hao, Xinyan He, Dong Guo, Jitong Chen, Yuxuan Wang, and Yanmin Qian. InstructME: An instruction guided music edit and remix framework with latent diffusion models. arXiv preprint arXiv:2308.14360, 2023.
  8. [Hawthorne et al., 2019] Curtis Hawthorne, Andriy Stasyuk, Adam Roberts, Ian Simon, Cheng-Zhi Anna Huang, Sander Dieleman, Erich Elsen, Jesse Engel, and Douglas Eck. Enabling factor- ized piano music modeling and generation with the MAESTRO dataset. In International Conference on Learning Representa- tions, 2019.
  9. [Hertz et al., 2022] Amir Hertz, Ron Mokady, Jay Tenenbaum, Kfir Aberman, Yael Pritch, and Daniel Cohen-or. Prompt-to-prompt image editing with cross-attention control. In The Eleventh Inter- national Conference on Learning Representations, 2022.
  10. [Ho et al., 2020] Jonathan Ho, Ajay Jain, and Pieter Abbeel. De- noising diffusion probabilistic models. Advances in Neural In- formation Processing Systems, 33:6840-6851, 2020.
  11. [Hu et al., 2024] Hexiang Hu, Kelvin CK Chan, Yu-Chuan Su, Wenhu Chen, Yandong Li, Kihyuk Sohn, Yang Zhao, Xue Ben, Boqing Gong, William Cohen, et al. Instruct-Imagen: Im- age generation with multi-modal instruction. arXiv preprint arXiv:2401.01952, 2024.
  12. [Huang et al., 2022] Po-Yao Huang, Hu Xu, Juncheng Li, Alexei Baevski, Michael Auli, Wojciech Galuba, Florian Metze, and Christoph Feichtenhofer. Masked autoencoders that listen. Ad- vances in Neural Information Processing Systems, 35:28708- 28720, 2022.
  13. [Hussain et al., 2023] Atin Sakkeer Hussain, Shansong Liu, Chen- shuo Sun, and Ying Shan. M 2 UGen: Multi-modal music under- standing and generation with the power of large language models. arXiv preprint arXiv:2311.11255, 2023.
  14. [Jeong et al., 2024] Myeonghun Jeong, Minchan Kim, Joun Yeop Lee, and Nam Soo Kim. Efficient parallel audio genera- tion using group masked language modeling. arXiv preprint arXiv:2401.01099, 2024.
  15. [Kingma and Welling, 2013] Diederik P Kingma and Max Welling. Auto-encoding variational Bayes. arXiv preprint arXiv:1312.6114, 2013.
  16. [Kreuk et al., 2023] Felix Kreuk, Gabriel Synnaeve, Adam Polyak, Uriel Singer, Alexandre Défossez, Jade Copet, Devi Parikh, Yaniv Taigman, and Yossi Adi. Audiogen: Textually guided audio generation. In The Eleventh International Conference on Learning Representations, 2023.
  17. [Lam et al., 2023] Max WY Lam, Qiao Tian, Tang Li, Zongyu Yin, Siyuan Feng, Ming Tu, Yuliang Ji, Rui Xia, Mingbo Ma, Xuchen Song, et al. Efficient neural music generation. arXiv preprint arXiv:2305.15719, 2023.
  18. [Li et al., 2023] Peike Li, Boyu Chen, Yao Yao, Yikai Wang, Allen Wang, and Alex Wang. Jen-1: Text-guided universal music gen- eration with omnidirectional diffusion models. arXiv preprint arXiv:2308.04729, 2023.
  19. [Lin et al., 2023] Liwei Lin, Gus Xia, Junyan Jiang, and Yixiao Zhang. Content-based controls for music large language mod- eling. arXiv preprint arXiv:2310.17162, 2023.
  20. [Liu et al., 2019] Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. Roberta: A ro- bustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692, 2019.
  21. [Liu et al., 2023a] Haohe Liu, Qiao Tian, Yi Yuan, Xubo Liu, Xin- hao Mei, Qiuqiang Kong, Yuping Wang, Wenwu Wang, Yuxuan Wang, and Mark D Plumbley. AudioLDM 2: Learning holistic audio generation with self-supervised pretraining. arXiv preprint arXiv:2308.05734, 2023.
  22. [Liu et al., 2023b] Shansong Liu, Atin Sakkeer Hussain, Chenshuo Sun, and Ying Shan. Music understanding llama: Advancing text-to-music generation with question answering and captioning. arXiv preprint arXiv:2308.11276, 2023.
  23. [Lu et al., 2023] Peiling Lu, Xin Xu, Chenfei Kang, Botao Yu, Chengyi Xing, Xu Tan, and Jiang Bian. MuseCoco: Generat- ing symbolic music from text. arXiv preprint arXiv:2306.00110, 2023.
  24. [Manco et al., 2023] Ilaria Manco, Benno Weck, Seungheon Doh, Minz Won, Yixiao Zhang, Dmitry Bodganov, Yusong Wu, Ke Chen, Philip Tovstogan, Emmanouil Benetos, et al. The Song Describer Dataset: A corpus of audio captions for music-and- language evaluation. arXiv preprint arXiv:2311.10057, 2023.
  25. [Manor and Michaeli, 2024] Hila Manor and Tomer Michaeli. Zero-shot unsupervised and text-based audio editing using DDPM inversion. CoRR, abs/2402.10009, 2024.
  26. [McFee et al., 2015] Brian McFee, Colin Raffel, Dawen Liang, Daniel P Ellis, Matt McVicar, Eric Battenberg, and Oriol Nieto. librosa: Audio and music signal analysis in Python. In Proceed- ings of the 14th Python in Science Conference, volume 8, pages 18-25, 2015.
  27. [Melechovsky et al., 2023] Jan Melechovsky, Zixun Guo, Deepan- way Ghosal, Navonil Majumder, Dorien Herremans, and Sou- janya Poria. Mustango: Toward controllable text-to-music gen- eration. arXiv preprint arXiv:2311.08355, 2023.
  28. [Min et al., 2023] Lejun Min, Junyan Jiang, Gus Xia, and Jingwei Zhao. Polyffusion: A diffusion model for polyphonic score gen- eration with internal and external controls. In ISMIR 2023 Hybrid Conference, 2023.
  29. [Novack et al., 2024] Zachary Novack, Julian McAuley, Taylor Berg-Kirkpatrick, and Nicholas J. Bryan. Ditto: Diffusion inference-time t-optimization for music generation, 2024.
  30. [Ouyang et al., 2022] Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. Training language models to follow instructions with human feedback. Advances in Neural Information Processing Systems, 35:27730- 27744, 2022.
  31. [Parker et al., 2023] Julian D Parker, Janne Spijkervet, Katerina Kosta, Furkan Yesiler, Boris Kuznetsov, Ju-Chiang Wang, Matt Avent, Jitong Chen, and Duc Le. Stemgen: A music generation model that listens. arXiv preprint arXiv:2312.08723, 2023.
  32. [Parmar et al., 2023] Gaurav Parmar, Krishna Kumar Singh, Richard Zhang, Yijun Li, Jingwan Lu, and Jun-Yan Zhu. Zero- shot image-to-image translation. In ACM SIGGRAPH 2023 Con- ference Proceedings, pages 1-11, 2023.
  33. [Raffel et al., 2020] Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. Exploring the limits of transfer learning with a unified text-to-text transformer. The Journal of Machine Learning Research, 21(1):5485-5551, 2020.
  34. [Schneider et al., 2023] Flavio Schneider, Zhijing Jin, and Bern- hard Schölkopf. Möusai: Text-to-music generation with long- context latent diffusion. arXiv preprint arXiv:2301.11757, 2023.
  35. [Song et al., 2021] Jiaming Song, Chenlin Meng, and Stefano Er- mon. Denoising diffusion implicit models. In International Con- ference on Learning Representations, 2021.
  36. [Su et al., 2020] Jiaqi Su, Zeyu Jin, and Adam Finkelstein. HiFi- GAN: High-fidelity denoising and dereverberation based on speech deep features in adversarial networks. arXiv preprint arXiv:2006.05694, 2020.
  37. [Tumanyan et al., 2023] Narek Tumanyan, Michal Geyer, Shai Bagon, and Tali Dekel. Plug-and-play diffusion features for text-driven image-to-image translation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recog- nition, pages 1921-1930, 2023.
  38. [Wang et al., 2020] Ziyu Wang, Ke Chen, Junyan Jiang, Yiyi Zhang, Maoran Xu, Shuqi Dai, and Gus Xia. POP909: A pop- song dataset for music arrangement generation. In Julie Cum- ming, Jin Ha Lee, Brian McFee, Markus Schedl, Johanna De- vaney, Cory McKay, Eva Zangerle, and Timothy de Reuse, edi- tors, Proceedings of the 21th International Society for Music In- formation Retrieval Conference, ISMIR 2020, Montreal, Canada, October 11-16, 2020, pages 38-45, 2020.
  39. [Wang et al., 2023] Yuancheng Wang, Zeqian Ju, Xu Tan, Lei He, Zhizheng Wu, Jiang Bian, and Sheng Zhao. AUDIT: Audio edit- ing by following instructions with latent diffusion models. arXiv preprint arXiv:2304.00830, 2023.
  40. [Wu et al., 2023a] Shih-Lun Wu, Chris Donahue, Shinji Watanabe, and Nicholas J Bryan. Music ControlNet: Multiple time-varying controls for music generation. arXiv preprint arXiv:2311.07069, 2023.
  41. [Wu et al., 2023b] Yusong Wu, Ke Chen, Tianyu Zhang, Yuchen Hui, Taylor Berg-Kirkpatrick, and Shlomo Dubnov. Large- scale contrastive language-audio pretraining with feature fusion and keyword-to-caption augmentation. In 2023 IEEE Interna- tional Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE, 2023.
  42. [Wu et al., 2023c] Yuxuan Wu, Yifan He, Xinlu Liu, Yi Wang, and Roger B Dannenberg. Transplayer: Timbre style transfer with flexible timbre control. In 2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE, 2023.
  43. [Yao et al., 2023] Yao Yao, Peike Li, Boyu Chen, and Alex Wang. Jen-1 composer: A unified framework for high-fidelity multi- track music generation. arXiv preprint arXiv:2310.19180, 2023.
  44. [Zhang et al., 2020] Yixiao Zhang, Ziyu Wang, Dingsu Wang, and Gus Xia. BUTTER: A representation learning framework for bi-directional music-sentence retrieval and generation. In Pro- ceedings of the 1st Workshop on NLP for Music and Audio (NLP4MusA), pages 54-58, 2020.
  45. [Zhang et al., 2023] Yixiao Zhang, Akira Maezawa, Gus Xia, Kazuhiko Yamamoto, and Simon Dixon. Loop Copilot: Con- ducting AI ensembles for music generation and iterative editing. arXiv preprint arXiv:2310.12404, 2023.
  46. [Zhao and Xia, 2021] Jingwei Zhao and Gus Xia. Accomon- tage: Accompaniment arrangement via phrase selection and style transfer. In Jin Ha Lee, Alexander Lerch, Zhiyao Duan, Juhan Nam, Preeti Rao, Peter van Kranenburg, and Ajay Srini- vasamurthy, editors, Proceedings of the 22nd International So- ciety for Music Information Retrieval Conference, ISMIR 2021, Online, November 7-12, 2021, pages 833-840, 2021.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards