arXiv:2610.20795cs.LGOct 2026

Manuscript Offprint

arXiv:2610.20795

EEG-Based Prediction of Music Enjoyment Using Deep Learning with Explainable Temporal Analysis

Parshav Singla, Simranjit Kaur, Maanya Walia, Niharika

Abstract

Understanding why listeners enjoy music is difficult because the experience is subjective and changes as a piece unfolds. Electroencephalography (EEG) offers a non-invasive way to study neural responses during listening, yet earlier work has mostly treated music emotion as a categorical label or relied on black-box models. We formulate enjoyment prediction as a regression problem on the public MUSING dataset, which contains 128-channel EEG from 20 listeners together with song-level enjoyment ratings. Six deep learning models were compared under a participant-wise protocol, in which 15 listeners were used for training and validation and 5 were held out for testing. DeepConvNet, CNN-LSTM and GNN-CNN reached the lowest mean absolute error (0.97 to 0.99 on the 1 to 5 scale), while the temporal convolutional network (TCN) had the highest Pearson correlation with the ratings (r = 0.21). Gradient-based and occlusion-based explanations, averaged over all held-out windows, identify the time segments within each two-second window that most influence the TCN predictions. The study provides a reproducible cross-listener benchmark for EEG-based enjoyment regression and shows how explainability analysis complements standard metrics.

Keywords: Electroencephalography, Music enjoyment, Deep learning, Temporal modeling, Explainable AI, Regression

1 Introduction

Music enjoyment is a deeply personal and temporally evolving experience, heavily influenced by rhythm, melody, familiarity, and individual preference. Understanding how these acoustic features translate into cortical activity remains an open challenge for affective computing and cognitive neuroscience. Electroencephalography (EEG) provides a valuable, non-invasive window into these neural dynamics as listeners process music. However, decoding subjective enjoyment directly from EEG data is notoriously difficult. Factors such as inherent signal noise, substantial differences in brain activity across individuals, and the lack of explicit ground-truth labels at a fine temporal scale make this a highly complex task (Miyapuram et al. 2022).

Recently, advances in deep learning have dramatically improved our ability to model EEG data by learning spatial and temporal patterns end-to-end. Convolutional architectures excel at mapping spatial dependencies across the scalp, while temporal models are highly effective at capturing sequential neural dynamics as they unfold over time (Lawhern et al. 2018; Schirrmeister et al. 2017). Despite these advances, the vast majority of music-related EEG research remains limited to predicting broad categorical emotions or classifying rhythms. These studies often rely on randomized trial-level data splits that artificially inflate how well the model generalizes to new listeners (Wang et al. 2023; Ma et al. 2024). Furthermore, complex deep learning approaches are frequently treated as black boxes, offering little insight into exactly how specific neural patterns relate to the listener's actual experience of music.

In this work, we address these limitations by formulating EEG-based music enjoyment as a continuous regression problem, rigorously evaluated under a stringent participant-wise protocol. Using the MUSIN-G dataset, which contains high-density EEG recordings from 20 participants with corresponding self-reported enjoyment ratings (Miyapuram et al. 2022), we systematically benchmark convolutional, temporal, and hybrid neural architectures. Crucially, to move beyond simple predictive metrics, we integrate explainable artificial intelligence (XAI) techniques to analyze the temporal relevance of EEG segments. Our goal is not just to build an accurate predictive model, but to uncover how sustained neural dynamics correlate with the subjective human experience of music enjoyment.

The main contributions of this paper are as follows: (1) Music enjoyment is formulated as a continuous regression task under a strict participant-wise protocol emphasizing cross-subject generalization. (2) Six architectures spanning convolutional, temporal, recurrent, and graph-based designs are systematically compared under identical conditions. (3) Explainability is treated as a core analytical goal through gradient-based, saliency-based, and occlusion-based XAI methods.

References (20)