Temporal Evolution of Hit Song Predictors from Spotify Audio Features: A Machine Learning and Explainable AI Study
Abstract
Understanding the factors that distinguish commercially successful songs remains an important problem in music analytics, with implications for applied data science. While previous studies have demonstrated that machine learning models can predict hit songs from audio features, they generally treat the prediction task as static and pay limited attention to how the determinants of success evolve over time. This study investigates the temporal evolution of hit-song predictors using Spotify audio features extracted from 41,103 Billboard-labelled tracks released between 1960 and 2019. The dataset is divided into three industry eras (Analog, CD/Digital, and Streaming) to examine changes in predictive performance and feature importance across distinct periods of music production and distribution. Logistic Regression, Random Forest, and K-Nearest Neighbours are optimized using grid-search cross-validation and evaluated with accuracy, F1-score, and ROC-AUC. Model interpretability is achieved through SHAP analysis. Cross-era differences in feature importance are statistically evaluated using bootstrap confidence intervals, while robustness is further assessed through repeated random seeds, permutation importance, alternative era definitions, and data de-duplication. Among the evaluated models, Random Forest consistently achieves the highest predictive performance, with ROC-AUC ranging from 0.848 to 0.917 across the three eras, indicating that chart success has become increasingly predictable from audio characteristics over time. Explainable AI analysis reveals a systematic evolution in the importance of musical attributes: instrumentalness remains the strongest predictor throughout, loudness becomes substantially more influential in the Streaming era, whereas speechiness and acousticness progressively decline in importance. These patterns are supported by bootstrap statistical testing and remain stable across multiple robustness analyses, suggesting that the observed temporal changes are not artifacts of sampling variability, model specification, or data partitioning. Overall, this study demonstrates that explainable machine learning can characterize the temporal evolution of feature importance, providing a robust analytical framework for investigating long-term changes in cultural data.
Keywords
Full Text:
PDFReferences
IFPI, "Global Music Report 2025: Global recorded music revenues grew 4.8% in 2024," 2025. [Online]. Available: https://www.ifpi.org/ifpi-amidst-highly-competitive-market-global-recorded-music-revenues-grew-4-8-in-2024/
M. Interiano, K. Kazemi, L. Wang, J. Yang, Z. Yu, and N. L. Komarova, "Musical trends and predictability of success in contemporary songs in and out of the top charts," Royal Society Open Science, vol. 5, no. 5, art. 171274, 2018. [Online]. Available: https://doi.org/10.1098/rsos.171274
D. Herremans, D. Martens, and K. Sörensen, "Dance hit song prediction," Journal of New Music Research, vol. 43, no. 3, pp. 291–302, 2014. [Online]. Available: https://doi.org/10.1080/09298215.2014.881888
H. S. Saragih, "Predicting song popularity based on Spotify’s audio features: insights from the Indonesian streaming users," Journal of Management Analytics, vol. 10, no. 4, pp. 693–709, 2023. [Online]. Available: https://doi.org/10.1080/23270012.2023.2239824
S. M. Lundberg and S.-I. Lee, "A unified approach to interpreting model predictions," in Advances in Neural Information Processing Systems (NeurIPS), vol. 30, 2017, pp. 4765–4774. [Online]. Available: https://papers.nips.cc/paper/7062-a-unified-approach-to-interpreting-model-predictions
S. M. Lundberg, G. Erion, H. Chen, A. DeGrave, J. M. Prutkin, B. Nair, R. Katz, J. Himmelfarb, N. Bansal, and S.-I. Lee, "From local explanations to global understanding with explainable AI for trees," Nature Machine Intelligence, vol. 2, no. 1, pp. 56–67, 2020. [Online]. Available: https://doi.org/10.1038/s42256-019-0138-9
X. Guo, "The Evolution of the Music Industry in the Digital Age: From Records to Streaming," Journal of Sociology and Ethnology, vol. 5, no. 10, pp. 7–12, 2023, doi: 10.23977/jsoce.2023.051002.
M. Interiano, K. Kazemi, L. Wang, J. Yang, Z. Yu, and N. L. Komarova, "Musical trends and predictability of success in contemporary songs in and out of the top charts," Royal Society Open Science, vol. 5, no. 5, Art. no. 171274, 2018, doi: 10.1098/rsos.171274.
Y. Dou, J. Cui, and X. Wu, "Comparative Analysis of Multiple Machine Learning Algorithms in Heart Disease Classification Prediction," in Proc. 2025 IEEE 8th Information Technology and Mechatronics Engineering Conference (ITOEC), 2025, pp. 1212–1218, doi: 10.1109/ITOEC63606.2025.10967616.
Y. Nohara, K. Matsumoto, H. Soejima, and N. Nakashima, "Explanation of Machine Learning Models Using Shapley Additive Explanation and Application for Real Data in Hospital," Computer Methods and Programs in Biomedicine, vol. 214, Art. no. 106584, 2022, doi: 10.1016/j.cmpb.2021.106584.
L. Breiman, "Random forests," Machine Learning, vol. 45, no. 1, pp. 5–32, 2001. [Online]. Available: https://doi.org/10.1023/A:1010933404324
T. Cover and P. Hart, "Nearest neighbor pattern classification," IEEE Transactions on Information Theory, vol. 13, no. 1, pp. 21–27, 1967. [Online]. Available: https://doi.org/10.1109/TIT.1967.1053964
R. Couronné, P. Probst, and A.-L. Boulesteix, "Random forest versus logistic regression: A large-scale benchmark experiment," BMC Bioinformatics, vol. 19, Art. no. 270, 2018, doi: 10.1186/s12859-018-2264-5.
S. M. Lundberg, G. Erion, and S.-I. Lee, "Consistent Individualized Feature Attribution for Tree Ensembles," arXiv preprint arXiv:1802.03888, 2018. Available: https://arxiv.org/abs/1802.03888
J. Yang, "Fast TreeSHAP: Accelerating SHAP Value Computation for Trees," arXiv preprint arXiv:2109.09847, Sep. 2021. Available: https://arxiv.org/abs/2109.09847
The Overman, "The Spotify Hit Predictor Dataset (1960–2019)," Kaggle, 2019. [Online]. Available: https://www.kaggle.com/datasets/theoverman/the-spotify-hit-predictor-dataset
N. V. D. S. S. V. P. Raju and P. N. Devi, "A Comparative Analysis of Machine Learning Algorithms for Big Data Applications in Predictive Analytics," International Journal of Scientific Research and Management (IJSRM), vol. 12, no. 10, pp. 896–907, Oct. 2024, doi: 10.18535/ijsrm/v12i10.ec09.
D. Singh and B. Singh, "Investigating the Impact of Data Normalization on Classification Performance," Applied Soft Computing, vol. 97, Art. no. 105524, 2020, doi: 10.1016/j.asoc.2019.105524.
F. Pedregosa et al., "Scikit-learn: Machine learning in Python," Journal of Machine Learning Research, vol. 12, pp. 2825–2830, 2011. [Online]. Available: https://www.jmlr.org/papers/v12/pedregosa11a.html
J. Serrà, Á. Corral, M. Boguñá, M. Haro, and J. L. Arcos, "Measuring the Evolution of Contemporary Western Popular Music," Scientific Reports, vol. 2, Art. no. 521, 2012, doi: 10.1038/srep00521.
DOI: https://doi.org/10.47738/jads.v7i4.1506
Refbacks
- There are currently no refbacks.

Journal of Applied Data Sciences
| ISSN | : | 2723-6471 (Online) |
| Publisher | : | Bright Publisher |
| Website | : | http://bright-journal.org/JADS |
| : | taqwa@amikompurwokerto.ac.id (principal contact) | |
| support@bright-journal.org (technical issues) |
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0




.png)