Skip to content

Meditation Styles Are Highly Discriminable from EEG at the Subject Level With Limited Generalization Across the Population: A Machine-Learning Study

Saqib Hayat, Francesco Goretti, Rachele Fabbri, Chiara Noferini, Elena Cravero, Paolo Mori, Alessandro Scaglione, Francesco Saverio Pavone

bioRxiv (Cold Spring Harbor Laboratory) May 19, 2026 preprint DOI: 10.64898/2026.05.15.725404 (opens in new tab)

Study at a glance

AI-extracted from the abstract
Characteristics Observational study
Population Experienced meditators
Intervention eyes-closed mind-wandering
Topics Meditation
Keywords Electroencephalography Discriminative model Generalization Pattern recognition psychology Visualization Artificial intelligence Cognitive psychology Machine learning Brain–computer interface Cluster analysis
Key findings EEG-based machine learning achieves high intra-subject classification accuracy for distinguishing meditation styles and mind-wandering, but inter-subject generalization is poor due to inter-individual variability.

Abstract

ABSTRACT Meditation has been associated with improvements in attention, emotional regulation, and mental well-being, motivating increasing interest in objective methods for assessing meditative states. In this study, we investigate whether EEG-based machine learning can reliably distinguish between multiple meditation styles and mind-wandering states. EEG data were recorded from experienced meditators performing three meditation styles, Shamatha, Vipassana, and Metta, together with an eyes-closed mind-wandering condition. EEG signals were preprocessed to remove artifacts, and features were extracted from frequency, time-frequency, and time domains. Classification was evaluated using both intra-subject and inter-subject strategies with multiple machine learning classifiers. Results demonstrate high intra-subject classification accuracy across meditation-versus-mind-wandering and meditation-style comparisons, indicating strongly discriminative subject-specific neural signatures. In contrast, inter-subject performance decreased substantially, particularly for distinguishing meditation styles, suggesting considerable inter-individual variability in meditation-related EEG patterns. Furthermore, temporal analysis revealed that classification performance increase over time, indicating that the neural distinctions between meditation states become increasingly pronounced over time. Additionally, t-SNE visualization showed clear within-subject clustering but increased overlap across subjects, explaining the reduced inter-subject generalization. Overall, these findings highlight the potential of EEG-based machine learning for personalized assessment and monitoring of meditative states while emphasizing the challenges of developing subject-independent meditation classification systems.

Comparable studies

Other observational and cohort studies on meditation, most cited first.

Study Year Design Participants
Using Self-Report Assessment Methods to Explore Facets of Mindfulness Undergraduate students 2006 Observational cohort
Effectiveness of a meditation-based stress reduction program in the treatment of anxiety disorders Patients with generalized anxiety disorder or panic disorder with or without agoraphobia 1992 Observational cohort n = 22
Meditation experience is associated with increased cortical thickness Participants with extensive Insight meditation experience and matched controls 2005 Observational cohort n = 20
Meditation experience is associated with differences in default mode network activity and connectivity Experienced meditators and matched meditation-naive controls 2011 Observational cohort
Long-term meditators self-induce high-amplitude gamma synchrony during mental practice Long-term Buddhist practitioners and controls 2004 Observational cohort

Explore topics