Research Article

Composing Music Based on Advanced Scenarios: Autoregressive Models and Diffusion Models

Wenzhe Lin*
North London Collegiate School Dubai, Dubai, China

* Corresponding author: [email protected]

Abstract

As a matter of fact, music composition is of the hot topics in contemporary society. With the proposal of the state-of-art models, great progress has been achieved in terms of music composing based on autoregressive models as well as diffusion models. In this paper, the benefits and drawbacks of autoregressive models and diffusion models in the context of AI music generation are compared. To be specific, this study places its focus on 4 specific models, i.e., CARGAN, SaShiMi, FluxMusic, and MeLoDy. According to the analysis, AR models generate music sequentially, synthesizing high quality music, but suffers from issues like poor coherence over longer pieces and low efficiency. In contrast, diffusion models iterate over the entire waveform to refine details, which leads to better overall structure but can be much more resource intensive. Nevertheless, both methods have promising prospects, and a hybrid approach could have great future potential. Overall, these results offer a guideline for further exploration of music composition.

Keywords: Composing music; CARGAN; SaShiMi; FluxMusic; MeLoDy.
Published: June 13, 2025
DOI: 10.54254/2755-2721/2025.TJ23840
Volume: ACE Vol.166
pp. 109-116
Download PDF

References

  1. Copeland, B.J. and Long, J. (2017) Turing and the History of Computer Music. Boston Studies in the Philosophy and History of Science, 189–218.
  2. Chapter Six: History of Electronic and Computer Music. (n.d.). Cmtext.indiana.edu. Retrieved from https://cmtext.indiana.edu/history/chapter6_timeline.php
  3. Lee, E. (2024) AI and the Sound of Music. Yalelawjournal.org. Retrieved from https://www.yalelawjournal.org/forum/ai-and-the-sound-of-music
  4. Spacefood, A. K. (2019) The Singing Synthesizer That Can Make Realistic Computer Vocals [Yamaha Vocaloid 5 Plugin Tutorial & In-Depth Review]. Warp Academy.
  5. MusicLM - AI Model for Music Generation. (n.d.). Retrieved from Musiclm.com. https://musiclm.com/
  6. Lauder, E. (2017). Aiva is the first AI to Officially be Recognised as a Composer | AI Business. Aibusiness.com. https://aibusiness.com/verticals/aiva-is-the-first-ai-to-officially-be-recognised-as-a-composer
  7. Francis, A. (2024, December). Suno’s Latest AI Music Generator: 5 Reasons It’s a Game-Changer. EWEEK. Retrieved from https://www.eweek.com/news/suno-latest-ai-music-generator/
  8. What are the key differences between autoregressive models, latent variable models, and implicit models like GANs in the context of generative modeling? (2024, June 11). EITCA; EITCA. Retrieved from https://eitca.org/artificial-intelligence/eitc-ai-adl-advanced-deep-learning/advanced-generative-models/modern-latent-variable-models/examination-review-modern-latent-variable-models/what-are-the-key-differences-between-autoregressive-models-latent-variable-models-and-implicit-models-like-gans-in-the-context-of-generative-modeling/
  9. GANs vs. Diffusion Models: In-Depth Comparison and Analysis. (2024). Sapien.io. Retrieved from https://www.sapien.io/blog/gans-vs-diffusion-models-a-comparative-analysis
  10. Morrison, M., Kumar, R., Kumar, K., Seetharaman, P., Courville, A. and Bengio, Y. (2021). Chunked Autoregressive GAN for Conditional Waveform Synthesis. ArXiv, arxiv.2110.10139
  11. Goel, K., Gu, A., Donahue, C. and Ré, C. (2022) It’s Raw! Audio Generation with State-Space Models. ArXiv, arxiv.2202.09729
  12. Fei, Z., Fan, M., Yu, C. and Huang, J. (2024). FLUX that Plays Music. ArXiv, arrxiv.2409.00587
  13. Lam, M.W.Y., Tian, Q., Li, T., Yin, Z., Feng, S., Tu, M., Ji, Y., Xia, R., Ma, M., Song, X., Chen, J., Wang, Y. and Wang, Y. (2023) Efficient Neural Music Generation. ArXiv, arXiv.2305.15719