Lune

AAAI2021Top-tier venue

SongMASS: Automatic Song Writing with Pre-training and Alignment Constraint

Zhonghao Sheng, Kaitao Song, Xu Tan, Yi Ren, Wei Ye, Shikun Zhang, Tao Qin

Abstract

Automatic song writing aims to compose a song (lyric and/or melody) by machine, which is an interesting topic in both academia and industry. In automatic song writing, lyric-tomelody generation and melody-to-lyric generation are two important tasks, both of which usually suffer from the following challenges: 1) the paired lyric and melody data are limited, which affects the generation quality of the two tasks, considering a lot of paired training data are needed due to the weak correlation between lyric and melody; 2) Strict alignments are required between lyric and melody, which relies on specific alignment modeling. In this paper, we propose SongMASS to address the above challenges, which leverages masked sequence to sequence (MASS) pre-training and attention based alignment modeling for lyric-to-melody and melody-to-lyric generation. Specifically, 1) we extend the original sentence-level MASS pre-training to song level to better capture long contextual information in music, and use a separate encoder and decoder for each modality (lyric or melody); 2) we leverage sentence-level attention mask and token-level attention constraint during training to enhance the alignment between lyric and melody. During inference, we use a dynamic programming strategy to obtain the alignment between each word/syllable in lyric and note in melody. We pre-train SongMASS on unpaired lyric and melody datasets, and both objective and subjective evaluations demonstrate that SongMASS generates lyric and melody with significantly better quality than the baseline method without pretraining or alignment constraint.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

16 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • ReLyMe: Improving Lyric-to-Melody Generation by Incorporating Lyric-Melody Relationships cites Rigid Formats Controlled Text Generation
  • PoetryDiffusion: Towards Joint Semantic and Metrical Manipulation in Poetry Generation cites Rigid Formats Controlled Text Generation
  • Museformer: Transformer with Fine- and Coarse-Grained Attention for Music Generation cites PopMAG: Pop Music Accompaniment Generation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers16

  1. Do Language Models Plagiarize?Jooyoung Lee, Thai Le, Jinghui Chen, Dongwon LeeWWW 2023 · 109 citations
  2. Museformer: Transformer with Fine- and Coarse-Grained Attention for Music GenerationBotao Yu, Peiling Lu, Rui Wang, Wei Hu et al.NeurIPS 2022 · 104 citations
  3. ReLyMe: Improving Lyric-to-Melody Generation by Incorporating Lyric-Melody RelationshipsChen Zhang, LuChin Chang, Songruoyao Wu, Xu Tan et al.ACM MM 2022 · 13 citations
  4. PoetryDiffusion: Towards Joint Semantic and Metrical Manipulation in Poetry GenerationZhiyuan Hu, Chumin Liu, Yue Feng, Anh Tuan Luu et al.AAAI 2024 · 11 citations
  5. Fine-Grained Position Helps Memorizing More, a Novel Music Compound Transformer Model with Feature Interaction FusionZuchao Li, Ruhan Gong, Yineng Chen, Kehua SuAAAI 2023 · 11 citations

Builds on2

  1. PopMAG: Pop Music Accompaniment GenerationYi Ren, Jinzheng He, Xu Tan, Tao Qin et al.ACM MM 2020 · 91 citations
  2. Rigid Formats Controlled Text GenerationPiji Li, Haisong Zhang, Xiaojiang Liu, Shuming ShiACL 2020 · 2 citations

Related papers

  1. SongGLM: Lyric-to-Melody Generation with 2D Alignment Encoding and Multi-Task Pre-TrainingJiaxing Yu, Xinda Wu, Yunfei Xu, Tieyao Zhang et al.AAAI 2025 · 2 citations
  2. Unsupervised Melody-to-Lyrics GenerationYufei Tian, Anjali Narayan-Chen, Shereen Oraby, Alessandra Cervone et al.ACL 2023 · 6 citations
  3. CSL-L2M: Controllable Song-Level Lyric-to-Melody Generation Based on Conditional Transformer with Fine-Grained Lyric and Musical ControlsLi Chai, Donglin WangAAAI 2025 · 1 citation
  4. SongComposer: A Large Language Model for Lyric and Melody Generation in Song CompositionShuangrui Ding, Zihan Liu, Xiaoyi Dong, Pan Zhang et al.ACL 2025
  5. S²MILE: Semantic-and-Structure-Aware Music-Driven Lyric GenerationMu You, Fang Zhang, Shuai Zhang, Linli XuAAAI 2025
Dusk over the sea between two cliffs drawn in fine vertical lines