2022252377.pdf (587.47 kB)
Download file

Detecting moments of distraction during meditation practice based on changes in the EEG signal

Download (587.47 kB)
posted on 2022-11-21, 21:18 authored by Pankaj PandeyPankaj Pandey, Julio Rodriguez-Larios, Krishna Prasad Miyapuram, Derek Lomas

Electroencephalography (EEG) enables online monitoring brain activity, which can be used for neurofeedback. One of the growing applications of EEG neurofeedback is to facilitate meditation practice. Specifically, EEG neurofeedback can be used to alert participants whenever they get distracted during meditation practice based on changes in their brain activity. In this study, we develop machine learning models to detect moments of distraction (due to mind wandering or drowsiness) during meditation practice using EEG signals. We use EEG data of 24 participants while performing a breath focus meditation with experience sampling and extract twelve linear and non-linear EEG features. Features are fed to ten supervised machine learning models to classify (i) Breath Focus Awake (BFA) vs Breath Focus Sleepy (BFS), and (ii) BFA vs Mind Wandering (MW). We observe that the linear features achieve a maximum accuracy of 86% for classifying awake (BFA) and sleepy (BFS), whereas non-linear features have more predictive ability for classifying between BFA and MW with a maximum accuracy of nearly 78% . In addition, visualization of unsupervised t-SNE lower embeddings supports the evidence of distinct clusters for each condition. Overall our results show that machine learning algorithms can successfully identify periods of distraction during meditation practice in novice meditators based on linear and non-linear features of the EEG signal. Consequently, our results have important implications for the development of mobile EEG neurofeedback protocols aimed at facilitating meditation practice. 


Email Address of Submitting Author

ORCID of Submitting Author


Submitting Author's Institution

Indian Institute of Technology Gandhinagar

Submitting Author's Country

  • India

Usage metrics