LyricLens on Amazon Bedrock: the hidden power of lyrics

Edoardo Randazzo, Bruno Zambolin10 Nov 2025

Problem

Musixmatch tags millions of song lyrics (themes, moods, entities, brands, explicitness) so that brands, publishers and moderators can filter and aggregate them. Quality has to be proven, but hand-labeling a benchmark of tens of thousands of lyrics is impractical, and cost matters at the scale of millions of songs. The team also had to move an already running pipeline to cheaper models without losing accuracy. The same setup fits any high-volume text labeling with no gold labels, such as tickets, reviews or product descriptions.

Solution in brief

Three frontier LLMs label a sample, and a consensus rule splits the results into agreement tiers, which become the ground truth. A cheaper model (Amazon Nova) is checked against that set and by a stronger judge model, then rolled out one use case at a time with human review. Reported saving: over 30%.

Questions this case answers
  • How to build a benchmark for an LLM text-labeling task when hand annotation of the whole sample is too expensive
  • How to decide whether a cheaper model can replace the current one in a high-volume labeling pipeline without a quality drop
  • How to turn per-document LLM labels into queryable aggregates that show how themes change over time
  • How to build ground truth for LLM-based lyric tagging without labeling tens of thousands of texts by hand?

Tools and methods

  • LLM as a judge — three frontier models produce JSON labels; consensus builds the ground truth
  • Amazon Bedrock — AWS managed LLM API that serves the candidate models
  • Amazon Nova (Pro used for song analysis) — cheaper models on Bedrock
  • Knowledge graph — stores per-song signals for real-time filtering and aggregation
  • Model distillation — planned, not done: a teacher model (Pro or Premier) trains a smaller student
Continue reading — it's free

Google or a one-time email code. No password.