Analysis of Popular Songs Through Statistical Embeddings
Pub. online: 24 November 2026
Type: Statistical Data Science
Open Access
Received
23 April 2026
23 April 2026
Accepted
9 November 2026
9 November 2026
Published
24 November 2026
24 November 2026
Abstract
Statistical modeling of popular music presents a unique challenge due to the complexity of song structures, which cannot be easily analyzed using conventional statistical tools. However, recent advances in data science have shown that converting non-standard data objects into real vector-valued embeddings enables meaningful statistical analysis. In this work, we develop an approach based on logistic principal component analysis to construct embeddings from vectors of binary musical features, allowing the use of standard multivariate methods on data that are otherwise difficult to model. The method is general, applying to any corpus in which songs are represented as binary indicators of musical features. As an illustrative application, we analyze a corpus of Lennon and McCartney songs from 1962–1966, using embeddings derived from chords, melodic notes, chord and pitch transitions, and melodic contours. Our analysis explores how these song embeddings cluster by Beatles album, how songwriting styles evolved over time, and whether Lennon and McCartney’s compositions exhibited convergence or divergence. All reported patterns are conditional on this corpus and on the fixed set of binary features used to construct the embeddings. This embedding-based approach offers a general framework for statistically examining musical structure and stylistic development in popular music.
Supplementary material
Supplementary MaterialThe supplementary material for this article is available on the official website of the Journal of Data Science at https://jds-online.org/. It may include additional results, appendices, tables, figures, code, and data.
References
Breiman L (2001). Random forests. Machine Learning, 45(1): 5–32. https://doi.org/10.1023/A:1010933404324
Devlin J, Chang MW, Lee K, Toutanova K (2019). BERT: Pre-training of deep bidirectional transformers for language understanding. In: Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (J Burstein, C Doran, T Solorio, eds.), volume 1, 4171–4186. Association for Computational Linguistics, Minneapolis, Minnesota.
Landgraf AJ, Lee Y (2020). Dimensionality reduction for binary data through the projection of natural parameters. Journal of Multivariate Analysis, 180: 104668. https://doi.org/10.1016/j.jmva.2020.104668
Lee S, Huang JZ, Hu J (2010). Sparse logistic principal components analysis for binary data. Annals of Applied Statistics, 4(3): 1579–1601. https://doi.org/10.1214/10-AOAS327
Mikolov T, Chen K, Corrado G, Dean J (2013). Efficient estimation of word representations in vector space. In: 1st International Conference on Learning Representations, ICLR 2013, Workshop Track Proceedings (Y Bengio, Y LeCun, eds.), Scottsdale, Arizona. arXiv:1301.3781.
Pannell DJ (2023). Quantitative analysis of the evolution of The Beatles’ releases for EMI, 1962–1970. Journal of Beatles Studies, 2023(Spring/Autumn): 65–90. https://doi.org/10.3828/jbs.2023.5
Schein AI, Saul LK, Ungar LH (2003). A generalized linear model for principal component analysis of binary data. In: Proceedings of the Ninth International Workshop on Artificial Intelligence and Statistics (CM Bishop, BJ Frey, eds.), volume R4 of Proceedings of Machine Learning Research, 240–247. PMLR. Reissued by PMLR on 01 April 2021.
Team G (2024). Gemini: A family of highly capable multimodal models. arXiv preprint: https:// arxiv.org/abs/2312.11805.