How much can music listening habits tell us about mental health? An interpretable machine learning benchmark using genre preference and self-reported anxiety, depression, insomnia, and obsessive-compulsive symptoms.
Yakun Li, Binxin Ren
School of Music, Sichuan Normal University, Chengdu, Sichuan, China. · Zhonghe High School Chengdu Sichuan, Chengdu, Sichuan, China.
Key points
From the paper's conclusion- We estimated how much information musical preference and listening behavior carry about self-reported distress, and tested whether classification accuracy reported for a widely reused public dataset reflects discriminative skill or class imbalance.
Abstract
BACKGROUND: Music listening is widely believed to index mental health, and this belief underwrites applications inferring psychological state from listening records. We estimated how much information musical preference and listening behavior carry about self-reported distress, and tested whether classification accuracy reported for a widely reused public dataset reflects discriminative skill or class imbalance. METHODS: Cross-sectional secondary analysis of the Music and Mental Health (MxMH) survey (n = 736), a self-selected online convenience sample collected in 2022 with no probability sampling frame, no design weights, and no measurement of gender, geography, education, income, or clinical history. In total, 42 predictors covering genre exposure, favorite genre, streaming platform, listening hours, tempo preference, and musical engagement were modeled against four single-item, unvalidated self-anchored distress ratings, a secondary composite index, and a self-attributed judgment of whether music improves mental health. Elastic net, support vector machine, random forest, and gradient boosting models were compared against mean-prediction and majority-class baselines using nested cross-validation, corrected t-tests, permutation nulls, and Shapley additive explanations. RESULTS: Out-of-sample explanatory power was small. Random forests achieved cross-validated R 2 values of 0.068 for depression, 0.058 for the composite index, 0.032 for anxiety, and 0.006 or below for insomnia and obsessive-compulsive ratings, exceeding the mean-prediction baseline for all outcomes except insomnia (p = 0.157). Permutation tests separated depression, anxiety, the composite, and obsessive-compulsive ratings from noise, but not insomnia (p = 0.198). For the self-attributed effect of music, the best classifier reached 74.7% accuracy against a majority-class baseline of 74.5% (p = 0.896), while balanced accuracy peaked at 0.551 and the Matthews correlation coefficient at 0.135. CONCLUSION: Listening habits carry a real but very small signal about self-reported distress, and apparent accuracy on this dataset is an artifact of class imbalance. Musical preference is not a usable individual-level marker of psychological state. These estimates come from a single, heavily reused, non-representative convenience sample with unvalidated single-item outcomes and no demographic weighting variables, so they characterize this archive rather than any defined population and require independent replication before any specific effect size is treated as settled. Dataset: MxMH survey, Kaggle.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Understanding emotional responses to music using machine learning: evidence from a public dataset.Frontiers in psychology · 2026
- Deep Beats, Deep Thoughts? Predicting General Cognitive Ability from Natural Music-Listening BehaviorJournal of Intelligence · 2026
- Unraveling key predictors, mediation pathways, and group heterogeneity of music performance anxiety among Chinese college music students.Acta psychologica · 2026
- Listener-level aesthetic appraisal in personalized music-listening interventions for older adults: a closed-loop framework.Frontiers in psychology · 2026
- Machine learning-based association analysis and cross-sectional classification of physical exercise behaviors and mental health among vocational medical studentsScientific Reports · 2026
- Using Generative Artificial Intelligence to Identify Themes of Basic Psychological Needs in Popular Song LyricsPsychology of Music · 2026