Skip to main content
QUICK REVIEW

[Paper Review] Rapformer: Conditional Rap Lyrics Generation with Denoising Autoencoders

Nikola I. Nikolov, Eric Malmi|arXiv (Cornell University)|Apr 8, 2020
Music and Audio ProcessingComputer Science7 citations
TL;DR

Rapformer introduces a conditional rap lyrics generation model using a Transformer-based denoising autoencoder that reconstructs rap verses from extracted content words, enhancing rhyme density by 10% via a BERT-based paraphrasing module. It achieves human-like fluency, fooling expert raters 25% of the time in a Turing test, and effectively preserves content while transferring style across diverse inputs like news, movie plots, and existing lyrics.

ABSTRACT

The ability to combine symbols to generate language is a defining characteristic of human intelligence, particularly in the context of artistic story-telling through lyrics. We develop a method for synthesizing a rap verse based on the content of any text (e.g., a news article), or for augmenting pre-existing rap lyrics. Our method, called Rapformer, is based on training a Transformer-based denoising autoencoder to reconstruct rap lyrics from content words extracted from the lyrics, trying to preserve the essential meaning, while matching the target style. Rapformer features a novel BERT-based paraphrasing scheme for rhyme enhancement which increases the average rhyme density of output lyrics by 10%. Experimental results on three diverse input domains show that Rapformer is capable of generating technically fluent verses that offer a good trade-off between content preservation and style transfer. Furthermore, a Turing-test-like experiment reveals that Rapformer fools human lyrics experts 25% of the time.

Motivation & Objective

  • To develop a conditional rap lyrics generation method that preserves content from input texts while transferring the stylistic features of rap lyrics.
  • To address the limitations of unconditional generation, which lacks control over topic and narrative direction.
  • To improve rhyme consistency in generated lyrics, a key stylistic feature of rap, through a novel post-processing enhancement step.
  • To evaluate the model's performance across diverse input domains, including news articles, movie summaries, and existing rap lyrics.
  • To assess the realism of generated lyrics through human evaluation, including a Turing-test-like experiment.

Proposed method

  • Train a Transformer-based denoising autoencoder to reconstruct full rap verses from a list of content words extracted from the original lyrics.
  • Use a BERT-based paraphrasing scheme to substitute non-rhyming end-of-line words with rhyming alternatives, increasing average rhyme density by 10%.
  • Condition the model on diverse input types—news summaries, movie plots, and existing rap lyrics—enabling content-controlled generation.
  • Apply a post-processing step that enhances rhyming structure without altering the core semantic content of the generated verse.
  • Fine-tune the model using a sequence-to-sequence learning objective, where the input is a sequence of content words and the output is the full rap verse.
  • Evaluate performance using both automatic metrics (e.g., content overlap, fluency) and human evaluations, including side-by-side comparisons with human-written lyrics.

Experimental results

Research questions

  • RQ1Can a denoising autoencoder approach effectively generate coherent and stylistically accurate rap lyrics conditioned on content words extracted from diverse input texts?
  • RQ2To what extent does the BERT-based rhyme enhancement step improve the rhyme density and perceived quality of generated lyrics?
  • RQ3How well does the model preserve the semantic content of the input while transferring the stylistic features of rap lyrics?
  • RQ4Can human experts reliably distinguish between Rapformer-generated lyrics and human-written rap lyrics in a Turing-test setting?
  • RQ5How does the model perform across different input domains, such as news articles, movie plots, and existing rap lyrics, in terms of content fidelity and stylistic fluency?

Key findings

  • Rapformer successfully generates technically fluent rap verses that maintain a strong balance between content preservation and stylistic transfer across three diverse input domains.
  • The BERT-based rhyme enhancement step increases the average rhyme density of generated lyrics by 10%, improving stylistic authenticity.
  • In a Turing-test-like evaluation, Rapformer fooled human lyrics experts 25% of the time when presented with lyrics one-by-one, indicating high realism.
  • When presented side-by-side, 8% of Rapformer-generated lyrics from news articles were incorrectly identified as human-written by at least two out of three raters.
  • The model outperforms both a strong information retrieval baseline and unconditional generation baselines in terms of content overlap and style transfer quality.
  • The approach is particularly effective for augmenting existing rap lyrics, producing coherent and stylistically consistent variations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.