atlas

Research map / Large language models / Language, safety and interpretability

SongGLM: Lyric-to-Melody Generation with 2D Alignment Encoding and Multi-Task Pre-Training

AAAI 2025 · Large language models › Language, safety and interpretability · approach: Sign and cross-lingual translation · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes SongGLM, a GLM-based lyric-to-melody model with a unified word/note token representation using 2D (word and phrase) alignment encoding, pre-trained with harmonized n-gram, phrase, and long-span blank infilling on a 206,884-song English lyric-melody dataset.

Problem

Lyric-to-melody generation struggles with accurate one-to-multiple lyric-note alignment and with lyric-melody harmony, where prior methods rely on intermediate templates or strict rules that limit diversity.

Approach

A unified symbolic song representation with word-level and phrase-level alignment IDs (2D alignment encoding), plus multi-task GLM-style blank-infilling pre-training whose n-grams are selected by syllable-stress/melodic-peak and syllable-stress/rhythm-skeleton relationships.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add 2D alignment encoding (ablation)SongGLM_small with CLM pre-training · Lyric-to-melody test setD_A (%): 83.57 $\pm$ 0.89 -> 90.20 $\pm$ 0.66Helped
Add the syllable stress–melodic peak relationship (SMR) to harmonized n-gram sampling (ablation)SongGLM_small · Lyric-to-melody test setD_P (%): 91.77 $\pm$ 0.78 -> 94.11 $\pm$ 0.67Helped
Add the syllable stress–rhythm skeleton relationship (SRR) to harmonized n-gram sampling (ablation)SongGLM_small · Lyric-to-melody test setD_IOI (%): 89.04 $\pm$ 1.10 -> 91.88 $\pm$ 1.05Helped
Use multi-task pre-training instead of harmonized n-gram-only, phrase-only, or long-span-only pre-training (ablation)SongGLM_small · Lyric-to-melody test setD_P (%): Harmonized N-gram: 94.11 $\pm$ 0.67; Phrase: 94.09 $\pm$ 0.66; Long: 94.24 $\pm$ 0.63; multi-task SongGLM_small: 96.48 $Mixed
Use harmonized n-gram sampling instead of random span sampling (ablation)SongGLM_small · Lyric-to-melody test setD_P (%): 92.84 $\pm$ 0.65 -> 94.11 $\pm$ 0.67Helped
Add pre-training and 2D alignment encoding instead of training from scratch without either (ablation)SongGLM_small · Lyric-to-melody test setD_A (%): 84.15 $\pm$ 0.69 -> 94.32 $\pm$ 0.64Helped

Limitations

Experimental setup

Datasets: MelodyNet CMU Pronouncing Dictionary

Benchmarks: lyric-melody paired test set

Metrics: D_A alignment distribution similarity D_P pitch distribution similarity D_D duration distribution similarity D_IOI distribution similarity melody distance (DTW) subjective 10-point listening scores

Baselines: SongMASS TeleMelody ReLyMe (in SongMASS) ReLyMe (in TeleMelody) Scratch CLM

Builds on: GLM OctupleMIDI MASS ReLyMe

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy