Leakage-Aware Decoding of Music Perception and Cued Imagery Across the Full OpenMIIR EEG Cohort: A Reproducible Analysis of the Generalization Boundary
Abstract
Music perception and musical imagery provide a controlled setting for studying whether scalp electroencephalography (EEG) captures reproducible differences between externally driven and internally generated auditory states. We tested whether the public OpenMIIR dataset supports leakage-aware decoding of music perception versus cued musical imagery across its full ten-subject cohort, and we characterized the boundary beyond which the decoded signal fails to generalize. Using compact spectral and temporal EEG features, we applied stratified trial-grouped cross-validation, dummy and shuffled-label negative controls, leave-one-subject-out (LOSO) testing, a 1000-fold trial-level label-permutation test, and a group-level one-sided Wilcoxon test over per-subject within-subject accuracies, with Benjamini-Hochberg (BH) correction across the family of tested hypotheses. Within subjects, decoding was above chance at the population level: a group Wilcoxon test on logistic-regression accuracy gave p = 0.0195 with a large effect size (Cohen's dz = 0.95; 7 of 10 subjects above chance), confirmed by a pooled trial-level permutation test (p = 0.0040). Pooled trial-grouped balanced accuracy reached 0.567 [0.550, 0.586] for random forest and 0.543 [0.523, 0.561] for logistic regression, exceeding both dummy and shuffled-label controls. Cross-subject transfer was weaker and model-dependent: under LOSO, random forest reached 0.559 [0.523, 0.597], above its dummy baseline (uncorrected p = 0.014), whereas logistic regression did not generalize (0.518, p = 0.165). Under BH correction across the nine tested hypotheses, six comparisons survived at q < 0.05 (smallest q = 0.036), all involving the permutation test or the nonlinear model, while the linear model's cross-subject contrasts did not. These results indicate that OpenMIIR EEG supports modest but reproducible within-subject discrimination of music perception and cued imagery, with a linear-within-subject versus nonlinear-cross-subject generalization boundary, and they show why public EEG music data require leakage-aware validation and calibrated subject-generalization claims.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 0
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- EEG-based decoding and recognition of imagined music
Marthe Tibo, Simon Geirnaert, Alexander Bertrand·bioRxiv·Sep 30, 2020
- Decoding Individual Musical Pitches in Perception and Imagery using Evoked Theta and Beta Power in EEG
Miyoung Chung, Charlotte Van Barr, … Robert J. Zatorre·bioRxiv·Jul 23, 2026
- Deep Learning Reveals Cross-Modal Neural Representations of Auditory and Visual Mental Imagery in MEG
Alina Schüller, Constantin Jehn, … Tobias Reichenbach·Journal of NeurophysiologyPeer-reviewed·Jul 7, 2026
- Encoding and decoding analysis of music perception using intracranial EEG
Ludovic Bellier, Anaïs Llorens, … Brian N. Pasley·bioRxiv·Jan 27, 2022
- EEG-Based Decoding of Color and Visual Category Representations Is Reliable Within and Across Sessions
Chen Frenkel, Leon Y. Deouell·bioRxiv·Jan 21, 2026
- Across-subject offline decoding of motor imagery from MEG and EEG
Hanna-Leena Halme, Lauri T. Parkkonen·Scientific ReportsPeer-reviewed·Jun 28, 2018