Skip to main content
QUICK REVIEW

[Paper Review] Song Hit Prediction: Predicting Billboard Hits Using Spotify Data

Kai Middlebrook, K Meheboob Sheik|arXiv (Cornell University)|Aug 22, 2019
Music and Audio ProcessingComputer Science1 references14 citations
TL;DR

This study predicts Billboard Hot 100 hits using audio and metadata features from 1.8 million Spotify tracks, combining Billboard chart data with Spotify’s audio analysis. The best-performing model, a random forest classifier, achieved 88% accuracy in distinguishing hit songs from non-hits, demonstrating that audio features and artist past performance significantly predict song success.

ABSTRACT

In this work, we attempt to solve the Hit Song Science problem, which aims to predict which songs will become chart-topping hits. We constructed a dataset with approximately 1.8 million hit and non-hit songs and extracted their audio features using the Spotify Web API. We test four models on our dataset. Our best model was random forest, which was able to predict Billboard song success with 88% accuracy.

Motivation & Objective

  • To address the Hit Song Science problem by predicting which songs will become Billboard Hot 100 chart-toppers.
  • To extend prior work by constructing a larger dataset of ~1.8 million songs, including 12,000 Billboard hits and 12,000 non-hits.
  • To evaluate multiple machine learning models on audio and metadata features to identify the most accurate hit prediction approach.
  • To investigate the impact of artist past performance and audio features on hit prediction accuracy.
  • To provide a robust, scalable model for music industry stakeholders to guide investment and promotion decisions.

Proposed method

  • Collected 1.8 million tracks from Spotify (1985–2018), then merged with Billboard Hot 100 data (1985–2018) using title and artist matching.
  • Constructed a balanced dataset of 24,000 tracks (12,000 hits, 12,000 non-hits) by sampling non-hits from Spotify.
  • Extracted 27 features including audio analysis (e.g., danceability, energy, valence), track metadata (e.g., duration, popularity), and artist past-performance (number of prior hits).
  • Trained and evaluated four models: logistic regression, feedforward neural network (1 hidden layer, ReLU activation), random forest, and SVM with RBF kernel.
  • Used 80 estimators, max features=8, and Gini criterion in the random forest model; set C=10 and γ=0.1 in the SVM.
  • Split data into training, validation, and test sets with no overlap, ensuring balanced class distribution in each set.

Experimental results

Research questions

  • RQ1Can audio and metadata features from Spotify predict which songs will become Billboard Hot 100 hits?
  • RQ2How do different machine learning models compare in accuracy, precision, and recall for hit song prediction?
  • RQ3Does incorporating artist past-performance improve hit prediction beyond audio features alone?
  • RQ4Which model minimizes false positives, and why might this be important for music label investment decisions?
  • RQ5To what extent do audio features such as energy, danceability, and valence correlate with chart success?

Key findings

  • The random forest model achieved the highest test accuracy at 87.7% and validation accuracy at 88.7%, outperforming logistic regression, neural networks, and SVM.
  • The random forest model had a precision of 86% and recall of 90% on the validation set, indicating strong balance between precision and sensitivity.
  • The SVM model achieved the highest precision (99.5%) on the validation set, suggesting it is highly reliable in avoiding false positive predictions.
  • The neural network model achieved 82.14% test accuracy with no overfitting, as indicated by similar training and validation performance.
  • Logistic regression achieved 81.51% test accuracy and 92.98% recall, indicating strong ability to identify true hits but weaker precision.
  • The confusion matrix for the random forest model showed 153 false positives and 82 false negatives, indicating a relatively low error rate overall.

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.