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

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.

Authors

Institutions

Publication Details

Journal
Frontiers in Psychology
Published
2026-10-26
DOI
https://doi.org/10.3389/fpsyg.2026.1970053
Primary Topic
Music Therapy and Health
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

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

Ren Binxin, Yakun Li
Frontiers in Psychology
Music Therapy and Health
article

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

Ren Binxin, Yakun Li
article en

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.

Frontiers in PsychologyVol. 17
Sichuan Normal University (CN)
Openalex Percentile: Top 8%
Music Therapy and Health
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon