Skip to main content
QUICK REVIEW

[Paper Review] Combining Learned Lyrical Structures and Vocabulary for Improved Lyric Generation

Pablo Samuel Castro, Maria Attarian|arXiv (Cornell University)|Nov 12, 2018
Topic ModelingComputer Science2 references8 citations
TL;DR

This paper proposes a hybrid framework combining a lyric-structure-aware Transformer language model (L_S) and a vocabulary-rich book-based model (L_V) to generate more diverse, structurally coherent, and creatively appealing song lyrics. By conditioning the vocabulary-rich model on the structural patterns of existing lyrics (via POS tagging), the method significantly reduces repetition and enhances lexical variety, outperforming both pure lyric and book-only models in generating 5-line verses.

ABSTRACT

The use of language models for generating lyrics and poetry has received an increased interest in the last few years. They pose a unique challenge relative to standard natural language problems, as their ultimate purpose is reative, notions of accuracy and reproducibility are secondary to notions of lyricism, structure, and diversity. In this creative setting, traditional quantitative measures for natural language problems, such as BLEU scores, prove inadequate: a high-scoring model may either fail to produce output respecting the desired structure (e.g. song verses), be a terribly boring creative companion, or both. In this work we propose a mechanism for combining two separately trained language models into a framework that is able to produce output respecting the desired song structure, while providing a richness and diversity of vocabulary that renders it more creatively appealing.

Motivation & Objective

  • To address the limitations of existing neural language models in generating creatively rich, structurally coherent lyrics.
  • To reduce repetitive outputs and enhance lexical diversity in AI-generated song lyrics.
  • To combine structural modeling of lyrics with vocabulary enrichment from literary texts.
  • To develop a framework that maintains song structure while improving creative appeal and linguistic richness.
  • To enable more autonomous, human-in-the-loop-free lyric generation with higher artistic quality.

Proposed method

  • A structure-aware model (L_S) is trained on lyrics converted to Parts-of-Speech (PoS) sequences to learn lyrical syntax independent of vocabulary.
  • A vocabulary-rich model (L_V) is trained on Project Gutenberg books, using a context-structure masking strategy: input is a sentence prefix and target is the suffix with its PoS tags.
  • The final generation process uses beam search to generate the next line: l₂ = L_V(l₁ · L_S(PoS(l₁))), combining context and structure.
  • The framework decouples structural learning from lexical richness, enabling controlled generation with improved diversity.
  • PoS tagging is applied to lyrics to isolate structural patterns from lexical content during L_S training.
  • The method leverages two separate pre-trained Transformer language models, fusing them at inference time via conditional generation.

Experimental results

Research questions

  • RQ1Can combining a structure-focused language model with a vocabulary-rich language model improve the diversity and creativity of generated lyrics?
  • RQ2How does the proposed method compare to pure lyric-only or book-only language models in reducing line repetition and improving lexical variety?
  • RQ3To what extent can a model maintain lyrical structure while generating linguistically rich and varied content?
  • RQ4Can a hybrid approach reduce the need for human intervention in AI-assisted lyric generation?
  • RQ5Does conditioning a rich-vocabulary model on PoS-structured lyric patterns lead to more coherent and artistically plausible verses?

Key findings

  • The RichLyrics model generated verses with 6.93 words per line on average, significantly higher than PureLyrics (12.85) and lower than PureBooks (6.63), indicating better balance in line length.
  • RichLyrics achieved only 0.441 line repeats per verse, compared to 2.233 for PureLyrics, demonstrating a substantial reduction in repetition.
  • The fraction of repeated words between consecutive lines was 0.480 for RichLyrics, compared to 0.671 for PureLyrics, showing improved lexical diversity.
  • The average word length in RichLyrics (3.542) was closer to natural lyric length than PureBooks (3.758), suggesting better linguistic suitability for lyrics.
  • Qualitative analysis confirmed that RichLyrics outputs were more varied and creatively engaging than those from PureLyrics or PureBooks.
  • The framework successfully decoupled structural learning from vocabulary enrichment, enabling more controlled and diverse lyric generation.

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.