Sudowoodo: a Chinese Lyric Imitation System with Source Lyrics

Yongzhu Chang, Rongsheng Zhang, Lin Jiang, Qihang Chen, Le Zhang, Jiashu Pu

TL;DR

Sudowoodo is an end-to-end Chinese lyric imitation system that generates new lyrics by mimicking the structure, style, and emotional arc of a source song. By creatively bootstrapping a parallel training corpus using a keyword-to-lyrics model, the researchers overcome data scarcity to enable fine-grained control over lyric generation, complete with an audio-alignment feature for full song synthesis.

What Problem Does This Paper Address?

Most automated lyric generation systems rely on coarse controls like a few user-defined keywords, a genre, or a broad theme. However, real-world music production often demands lyric imitation—the art of adapting an existing song's exact structure, rhythm, and phrasing while injecting new creative content (similar to writing a parody or a localized translation).

The fundamental roadblock to training a machine learning model for this task is data scarcity. There is no massive, naturally occurring parallel dataset consisting of "original source lyrics" paired with "perfectly imitated target lyrics." Without this parallel corpus, standard sequence-to-sequence (seq2seq) models cannot be directly trained to map one lyric to another.

Methods

The authors bypass the data bottleneck using a clever two-stage bootstrapping framework named after the imitation-expert Pokémon, Sudowoodo:

  1. Attribute Extraction: They first segment a massive corpus of source lyrics ($D_k$) into musical bars and extract key attributes: keywords (using KBERT), musical style (e.g., pop, rap), and emotion (positive/negative).
  2. Keyword-to-Lyric Bootstrapping ($Model_{K2L}$): They train an encoder-decoder model to reconstruct the original lyrics from these extracted attributes. Once trained, they feed randomly sampled keywords from a source lyric back into $Model_{K2L}$ to generate entirely new, synthetic target lyrics ($D'_k$). This creates a paired, aligned dataset of 1.8 million (synthetic lyric, original source lyric) pairs.
  3. Lyric-to-Lyric Imitation ($Model_{L2L}$): They train a second encoder-decoder model on this synthetic parallel corpus. Crucially, during training, the model learns to map the synthetic lyric back to the high-quality human source lyric. At inference time, the process is inverted: a user inputs a real source lyric, and the model outputs a structurally matched imitation.
  4. Format Control Decoding: To guarantee that the generated lyrics perfectly match the rhythm of the original song, the system records the exact line and word counts of the source lyric and dynamically adjusts the decoding logits for structural tokens ([SEP] and [EOS]) at each step.
  5. Post-Processing & Audio Alignment: Candidate lyrics are filtered and ranked using a combination of a lyric quality classifier and a semantic relevance scorer (via sentence transformers). As a bonus, the system features an intelligent composition module that aligns the new lyrics with the original song's melody and vocals using AI singers.
Figure 1: The framework of Sudowoodo system proposes in this paper. ModelK2L denotes a model for generating lyrics based on keywords, while ModelL2L represents the generation model from source lyrics to imitation lyrics.Encoder refers to the encoding portion of the Encoder-decoder architecture, while Decoder represents the decoding portion. Post-processing is mainly aimed at the imitation lyrics generated based on the ModelL2L.

Datasets

  • Source Lyric Corpus ($D_k$): 800k Chinese lyrics scraped from the web (NetEase Cloud Music). After filtering for duplicates and removing tracks shorter than 100 characters, they retained 600k unique lyrics.
  • Synthetic Parallel Corpus: 1.8 million paired samples generated via the $Model_{K2L}$ bootstrapping process.
  • Pre-training Data: The underlying model architecture is a 210-million parameter GPT-2 variant, pre-trained on 30GB of Chinese novels to ensure baseline linguistic fluency.

Key Insights and Ideas

  • Inverting the Training Target: The core "aha moment" lies in how the parallel corpus is utilized. By using synthetic, machine-generated lyrics as the input and high-quality human lyrics as the target during training, the imitation model ($Model_{L2L}$) learns how to clean up, structure, and refine text into polished lyrical forms.
  • Hard Constraints for Rhythm: Relying on a language model to implicitly learn line lengths is insufficient for music. Implementing explicit format control decoding ensures the new lyrics seamlessly fit the original melody without awkward syllable crowding.
  • Keywords Improve Fluency: Intuitively, adding keywords guides the theme of the imitation. However, human evaluations revealed an unexpected side effect: explicit keyword conditioning actually improved the grammatical and rhythmic fluency of the generated text compared to models relying on lyrics alone.

Key Results

The authors conducted an ablation study evaluated by three professional lyricists who scored the outputs from 1 to 5 across four dimensions: Theme, Fluency, Logic, and Overall quality.

Human evaluation results comparing the keyword model, full imitation model, and ablation without writing styles.
  • Superiority of Imitation: The full lyric-to-lyric model ($Model_{L2L}$) outperformed the baseline keyword-to-lyric model ($Model_{K2L}$) in overall score (4.153 vs 4.078).
  • Direct Comparisons: In head-to-head validation tests, the imitation framework was voted as the "Best" generation method in 34.25% of cases.
  • The Value of Style: Removing writing styles and keywords (the w/o WS setup) caused a noticeable drop in both fluency and logical coherence.

Limitations and Future Work

  • Offline Rendering Bottleneck: While the system successfully creates complete songs by aligning text to audio, the musical synthesis pipeline (melody generation, virtual vocal selection, and mixing) is computationally heavy and must be processed offline.
  • Future Work: The authors aim to optimize the pipeline to support real-time audio rendering, allowing users to input a source song and instantly hear the newly imitated version performed back to them.

Summary updated

BibTeX
@inproceedings{chang2023sudowoodo,
  author = {Yongzhu Chang and Rongsheng Zhang and Lin Jiang and Qihang Chen and Le Zhang and Jiashu Pu},
  title = {{Sudowoodo: a Chinese Lyric Imitation System with Source Lyrics}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
}
Figure