Music may do far more than soothe the mind—it may help machines see inside it. A preliminary study from researchers at United Arab Emirates University, Khalifa University, the American University of Sharjah, and colleagues, published in Frontiers in Systems Neuroscience, suggests that playing music while a person’s brain activity is recorded with electroencephalography (EEG) can make states of mental fatigue significantly easier for artificial intelligence to detect than recordings taken in silence. The finding, if confirmed, could shape the design of future objective screening tools for anxiety, depression, and stress, conditions that today are assessed almost entirely through self-reported questionnaires vulnerable to social desirability, recall bias, and shifting emotional states.
The research team recruited 49 university students aged 18 to 25, 48 of whom were included in the final analysis after one was excluded for incomplete questionnaire data. Each participant filled out standard mental health instruments—the Patient Health Questionnaire-9 (PHQ-9), the seven-item Generalized Anxiety Disorder scale (GAD-7), the Perceived Stress Scale, and the Multidimensional Fatigue Scale. A licensed clinical psychologist, blinded to the EEG data, then classified each participant as experiencing mental fatigue or not, based on a validated fatigue questionnaire and a predefined cutoff score rather than subjective judgment alone. The team treated “mental fatigue” as an umbrella construct encompassing self-reported symptoms of anxiety, depression, and stress.
Each participant then underwent two five-minute EEG recording sessions with a 16-channel dry-electrode cap sampled at 1,200 Hz: one in silence and one while listening to an ambient track, with identical relaxation instructions before each session. The raw signals were band-pass filtered between 1 and 45 Hz, power-line noise was removed with a 50 Hz notch filter, and artifacts—including eye blinks and muscle contamination—were stripped out using independent component analysis. The cleaned recordings were chopped into 10-second epochs, and from each epoch the researchers extracted five complementary families of features: power spectral density across the classic delta, theta, alpha, beta, and gamma bands; integrated band powers; the alpha-theta ratio; the theta-beta ratio; and coherence, a measure of phase synchronization capturing functional connectivity between all pairs of the 16 electrodes. Combined, these produced feature vectors of roughly 19,500 dimensions per epoch.
To classify these patterns, the team built a deep residual multi-layer perceptron—a feedforward neural network with residual skip connections that ease gradient flow through three residual blocks of 512 neurons followed by downsampling layers of 256 and 128 units, with dropout regularization of 0.3. The same architecture was adapted for a multi-output task, adding three parallel sigmoid output heads to simultaneously predict anxiety, depression, and stress, each trained with a weighted binary cross-entropy loss. Crucially, the researchers evaluated the model with Leave-Subject-Out cross-validation, holding each of the 48 participants out of training exactly once, and they aggregated epoch predictions into a single subject-level probability before thresholding—a design choice meant to ensure the reported metrics reflect real-world performance on whole individuals rather than flattering epoch-level statistics.
The results revealed a striking gap between the two recording conditions. When participants listened to music, the model detected mental fatigue with 72.92% accuracy, a recall of 96.67%, an F1 score of 81.69%, and an area under the curve of 69.63%. Without music, accuracy fell to 58.33% with an AUC of 53.15%—barely better than a coin flip. In other words, the very features that failed to separate fatigued from non-fatigued brains in silence became substantially more informative under music stimulation. The high recall in the music condition means the model caught nearly everyone who was fatigued, though at the cost of false positives, a trade-off the authors note may be acceptable in screening contexts where missing true cases is more costly than ordering further evaluation.
The spectral analysis offers clues about why music helps. Without music, participants without mental fatigue showed higher and more stable spectral power—particularly in the alpha band—while fatigued participants displayed elevated frontal theta activity, higher frontal beta power, and greater signal variability. During music listening, theta power decreased in the fatigued group, alpha activity became more prominent in posterior regions for both groups, and the beta-band differences between groups shrank, hinting at a possible normalizing effect of music on cortical arousal. Statistical tests at frontal channels such as Fp1, Fp2, F3, Fz, and F4 showed the strongest group differences, and after Bonferroni correction three channels—T7, P3, and P4—lost significance only in the music condition, consistent with the idea that music normalizes neural activity in temporal and parietal regions.
Interpretability analysis using SHAP (SHapley Additive exPlanations) values added further texture. In the music condition, alpha-theta ratio features from frontal electrodes were among the most important drivers of the model’s decisions, alongside theta-beta ratios from the central electrode Cz, suggesting that the balance between relaxation-associated alpha rhythms and drowsiness-associated theta rhythms becomes especially informative when music is playing. In silence, the model leaned more heavily on raw band-power features, and its overall discrimination was weaker—implying that music organizes brain activity in a way that amplifies fatigue-related neural differences. The deep network also outperformed classical baselines, including Random Forest, linear support vector machines, and logistic regression, in the music condition; notably, the linear models collapsed to near-zero specificity, suggesting the decision boundary between fatigue states is highly non-linear.
The multi-output extension told a more sobering story. Stress appeared to classify almost perfectly at 93.75% accuracy with 100% recall—but the authors are explicit that this figure is an artifact of class imbalance, since 85.7% of participants fell into the stressed category and the balanced accuracy of exactly 50% equals random chance. The AUC of 35.56% confirmed the absence of any genuine stress-specific neural signature. Anxiety (54.17% accuracy) and depression (62.50% accuracy) proved genuinely difficult, as their class distributions were more balanced. These results underscore a recurring hazard in EEG-based mental health machine learning: headline accuracy figures can mask models that simply echo the prevalence of the majority class.
The authors are candid about their limitations. The sample was small and drawn from a single university; the condition order was fixed—silence first, then music—so order, habituation, or time-on-task effects cannot be ruled out as alternative explanations for the performance gap; only one music track was used; recordings were just five minutes per condition; dry electrodes are vulnerable to electromyographic contamination in the gamma band; and labels derived from questionnaires with a cutoff do not constitute formal psychiatric diagnosis. The exploratory epoch-pooled significance tests, the authors caution, are anti-conservative and require confirmation with properly powered subject-level designs, ideally randomized or counterbalanced.
Even with these caveats, the study represents a meaningful step toward objective, AI-driven mental health screening. The central message—that recording context matters, and that music-evoked EEG may expose neural biomarkers invisible in resting-state recordings—could influence how future brain-based assessments are designed, from protocol choices to the selection of relational spectral features. The authors envision follow-up work with larger and more diverse cohorts, personalized music selection, complementary physiological signals such as heart rate variability, and source-level EEG analysis to localize the neural networks most affected by fatigue. Until then, the results remain preliminary and are not intended for clinical use, but they quietly raise an appealing possibility: that something as ordinary as listening to music might help unlock the brain’s most telling signals.
Subject of Research: Music-evoked EEG signals and deep learning classification of mental fatigue, anxiety, depression, and stress for mental health screening
Article Title: Music-evoked EEG signals for mental health assessment using two- and three-class classification
Article References: Music-evoked EEG signals for mental health assessment using two- and three-class classification. (n.d.). https://doi.org/10.3389/fnsys.2026.1886805
Image Credits: AI Generated
DOI: 10.3389/fnsys.2026.1886805
Keywords: EEG, mental fatigue, music therapy, deep learning, residual MLP, depression, anxiety, stress, machine learning, mental health screening, neuroscience, power spectral density
Cite Scienmag News
Cassandra Pierce. (October 15, 2026). Music Helps AI Read Brain Signals of Mental Fatigue, Study Finds. Scienmag. https://scienmag.com/music-helps-ai-read-brain-signals-of-mental-fatigue-study-finds/
Cassandra Pierce. "Music Helps AI Read Brain Signals of Mental Fatigue, Study Finds." Scienmag, 15 October 2026, https://scienmag.com/music-helps-ai-read-brain-signals-of-mental-fatigue-study-finds/. Accessed 15 October 2026.
Cassandra Pierce. "Music Helps AI Read Brain Signals of Mental Fatigue, Study Finds." Scienmag. October 15, 2026. https://scienmag.com/music-helps-ai-read-brain-signals-of-mental-fatigue-study-finds/

