Journal of Data Science logo


Login Register

  1. Home
  2. To appear
  3. Analysis of Popular Songs Through Statis ...

Journal of Data Science

Submit your article Information
  • Article info
  • More
    Article info

Analysis of Popular Songs Through Statistical Embeddings
Matthew Esmaili Mallory ORCID icon link to view author Matthew Esmaili Mallory details   Mark E. Glickman   Jason I. Brown  

Authors

 
Placeholder
https://doi.org/10.6339/26-JDS1256
Pub. online: 24 November 2026      Type: Statistical Data Science      Open accessOpen Access

Received
23 April 2026
Accepted
9 November 2026
Published
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 Material
The 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

 
Bergomi MG (2015). Dynamical and topological tools for (modern) music analysis, Ph.D. thesis, University of Milan, Milan, Italy.
 
Boehmke B, Greenwell BM (2019). Hands-on Machine Learning with R. Chapman & Hall/CRC.
 
Breiman L (2001). Random forests. Machine Learning, 45(1): 5–32. https://doi.org/10.1023/A:1010933404324
 
Brown TB, Mann B, Ryder N, Subbiah M, Kaplan JD, …, Amodei D (2020). Language models are few-shot learners. In: Advances in Neural Information Processing Systems (H Larochelle, M Ranzato, R Hadsell, MF Balcan, H Lin, eds.), volume 33, 1877–1901. Curran Associates, Inc.
 
Burgoyne JA, Wild J, Fujinaga I (2013). Compositional data analysis of harmonic structures in popular music. In: Mathematics and Computation in Music (J Yust, J Wild, JA Burgoyne, eds.), volume 7937 of Lecture Notes in Computer Science, 52–63. Springer Berlin Heidelberg, Berlin, Heidelberg.
 
Collins M, Dasgupta S, Schapire RE (2001). A generalization of principal components analysis to the exponential family. In: Advances in Neural Information Processing Systems (TG Dietterich, S Becker, Z Ghahramani, eds.), volume 14, 617–624. MIT Press.
 
de Leeuw J (2006). Principal component analysis of binary data by iterated singular value decomposition. Computational Statistics & Data Analysis, 50(1): 21–39. 2nd Special issue on Matrix Computations and Statistics.
 
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.
 
Glickman M, Brown J, Song R (2019). A data in the life: Authorship attribution in Lennon–McCartney songs. Harvard Data Science Review, 1(1).
 
Harris J (2013). The Beatles—all these years. Volume one: Tune in by Mark Lewisohn—review. The Guardian.
 
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
 
Lennon J, Sheff D, Ono Y (2020). All We Are Saying: The Last Major Interview with John Lennon and Yoko Ono. Pan Macmillan.
 
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.
 
Miles B (1997). Paul McCartney: Many Years from Now. Henry Holt & Co.
 
Nagano H, Kashino K, Murase H (2002). Fast music retrieval using polyphonic binary feature vectors. In: Proceedings of the 2002 IEEE International Conference on Multimedia and Expo (ICME 2002), volume 1, 101–104. IEEE, Lausanne, Switzerland.
 
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.
 
The Beatles (2000). The Beatles Anthology. Cassell, London.
 
Thickstun J, Harchaoui Z, Kakade S (2017). Learning features of music from scratch. In: 5th International Conference on Learning Representations, ICLR 2017, Conference Track Proceedings. OpenReview.net, Toulon, France.

PDF XML
PDF XML

Copyright
© 2026 The Author(s). Published by the School of Statistics and the Center for Applied Statistics, Renmin University of China.
by logo by logo
Open access article under the CC BY license.

Keywords
feature representation Lennon and McCartney logistic PCA popular music song structure

Funding
Esmaili Mallory is supported by the National Science Foundation Graduate Research Fellowship under Grant No. DGE 2140743.

Metrics
since February 2021
238

Article info
views

75

PDF
downloads

Export citation

Copy and paste formatted citation
Placeholder

Download citation in file


Share


RSS

Journal of data science

  • Online ISSN: 1683-8602
  • Print ISSN: 1680-743X

About

  • About journal
  • Renmin University of China homepage
  • Academic Journal Management
    and Development Center homepage

For contributors

  • Submit
  • OA Policy
  • Become a Peer-reviewer

Contact us

  • JDS@ruc.edu.cn
  • Contact person: Jing Zhou
  • Phone: +86-10-62511318
  • No. 59 Zhongguancun Street, Haidian District Beijing, 100872, P.R. China
Powered by PubliMill  •  Privacy policy