SongComposer: A Large Language Model for Lyric and Melody Composition in Song Generation
<|reference_start|>SongComposer: A Large Language Model for Lyric and Melody Composition in Song Generation: We present SongComposer, an innovative LLM designed for song composition. It could understand and generate melodies and lyrics in symbolic song representations, by leveraging the capability of LLM. Existing music-related LLM treated the music as quantized audio signals, while such implicit encoding leads to inefficient encoding and poor flexibility. In contrast, we resort to symbolic song representation, the mature and efficient way humans designed for music, and enable LLM to explicitly compose songs like humans. In practice, we design a novel tuple design to format lyric and three note attributes (pitch, duration, and rest duration) in the melody, which guarantees the correct LLM understanding of musical symbols and realizes precise alignment between lyrics and melody. To impart basic music understanding to LLM, we carefully collected SongCompose-PT, a large-scale song pretraining dataset that includes lyrics, melodies, and paired lyrics-melodies in either Chinese or English. After adequate pre-training, 10K carefully crafted QA pairs are used to empower the LLM with the instruction-following capability and solve diverse tasks. With extensive experiments, SongComposer demonstrates superior performance in lyric-to-melody generation, melody-to-lyric generation, song continuation, and text-to-song creation, outperforming advanced LLMs like GPT-4.<|reference_end|>
@article{ding2024songcomposer:,
    title={SongComposer: A Large Language Model for Lyric and Melody Composition in
  Song Generation},
    author={Shuangrui Ding, Zihan Liu, Xiaoyi Dong, Pan Zhang, Rui Qian, Conghui
  He, Dahua Lin, Jiaqi Wang},
    journal={arXiv preprint arXiv:2402.17645},
    year={2024},
    archivePrefix={arXiv},
    eprint={2402.17645},
    primaryClass={cs.SD cs.AI cs.CL eess.AS}
}