Objective: Effective pain assessment and management strategies are needed to better manage pain. In addition to self-report, an objective pain assessment system can provide a more complete picture of the neurophysiological basis for pain. In this study, a robust and accurate machine learning approach is developed to quantify tonic thermal pain across healthy subjects into a maximum of ten distinct classes. Methods: A random forest model was trained to predict pain scores using time-frequency wavelet representations of independent components obtained from electroencephalography (EEG) data, and the relative importance of each frequency band to pain quantification is assessed. Results: The mean classification accuracy for predicting pain on an independent test subject for a range of 1-10 is 89.45%, highest among existing state of the art quantification algorithms for EEG. The gamma band is the most important to both intersubject and intrasubject classification accuracy. Conclusion: The robustness and generalizability of the classifier are demonstrated. Significance: Our results demonstrate the potential of this tool to be used clinically to help us to improve chronic pain treatment and establish spectral biomarkers for future pain-related studies using EEG.
Objective. Real-time approaches for transcranial magnetic stimulation (TMS) based on a specific EEG phase are a promising avenue for more precise neuromodulation interventions. However, optimal approaches to reliably extract the EEG phase in a frequency band of interest to inform TMS are still to be identified. Here, we implement a new real-time phase detection method for closed-loop EEG-TMS for robust phase extraction. We compare this algorithm with state-of-the-art methods and evaluate its performance both in silico and experimentally. Approach. We propose a new robust algorithm (Educated Temporal Prediction) for delivering real-time EEG phase-specific stimulation based on short prerecorded EEG training data. This method estimates the interpeak period from a training period and applies a bias correction to predict future peaks. We compare the accuracy and computation speed of the ETP algorithm with two existing methods (Fourier based, Autoregressive Prediction) using prerecorded resting EEG data and real-time experiments. Main results . We found that Educated Temporal Prediction performs with higher accuracy than Fourier-based or Autoregressive methods both in silico and in vivo while being computationally more efficient. Further, we document the dependency of the EEG signal-to-noise ratio (SNR) on algorithm accuracy across all algorithms. Significance . Our results give important insights for real-time EEG-TMS technical development as well as experimental design. Due to its robustness and computational efficiency, our method can find broad use in experimental research or clinical applications. Through open sharing of code for all three methods, we enable broad access of TMS-EEG real-time algorithms to the community.
Objective. Transcranial alternating current stimulation (tACS) can be used to non-invasively entrain neural activity and thereby cause changes in local neural oscillatory power. Despite its increased use in cognitive and clinical neuroscience, the fundamental mechanisms of tACS are still not fully understood. Approach. We developed a computational neuronal network model of two-compartment pyramidal neurons (PY) and inhibitory interneurons, which mimic the local cortical circuits. We modeled tACS with electric field strengths that are achievable in human applications. We then simulated intrinsic network activity and measured neural entrainment to investigate how tACS modulates ongoing endogenous oscillations. Main results. The intensity-specific effects of tACS are non-linear. At low intensities (0.3 mV mm−1), neurons are entrained to the exogenous electric field. We then further explore the stimulation parameter space and find that the entrainment of ongoing cortical oscillations also depends on stimulation frequency by following an Arnold tongue. Moreover, neuronal networks can amplify the tACS-induced entrainment via synaptic coupling and network effects. Our model shows that PY are directly entrained by the exogenous electric field and drive the inhibitory neurons. Significance. The results presented in this study provide a mechanistic framework for understanding the intensity- and frequency-specific effects of oscillating electric fields on neuronal networks. This is crucial for rational parameter selection for tACS in cognitive studies and clinical applications.
Transcranial Magnetic Stimulation (TMS) is a widely used non-invasive brain stimulation method. However, its mechanism of action and the neural response to TMS are still poorly understood. Multi-scale modeling can complement experimental research to study the subcellular neural effects of TMS. At the macroscopic level, sophisticated numerical models exist to estimate the induced electric fields. However, multi-scale computational modeling approaches to predict TMS cellular and subcellular responses, crucial to understanding TMS plasticity inducing protocols, are not available so far. We develop an open-source multi-scale toolbox Neuron Modeling for TMS (NeMo-TMS) to address this problem. NeMo-TMS generates accurate neuron models from morphological reconstructions, couples them to the external electric fields induced by TMS, and simulates the cellular and subcellular responses of single-pulse and repetitive TMS. We provide examples showing some of the capabilities of the toolbox. NeMo-TMS toolbox allows researchers a previously not available level of detail and precision in realistically modeling the physical and physiological effects of TMS.
Transcranial magnetic stimulation (TMS) modulates neuronal activity, but the efficacy of an open-loop approach is limited due to the brain state’s dynamic nature. Real-time integration with electroencephalography (EEG) increases experimental reliability and offers personalized neuromodulation therapy by using immediate brain states as biomarkers. Here, we review brain state-controlled TMS-EEG studies since the first publication several years ago. A summary of experiments on the sensorimotor mu rhythm (8–13 Hz) shows increased cortical excitability due to TMS pulse at the trough and decreased excitability at the peak of the oscillation. Pre-TMS pulse mu power also affects excitability. Further, there is emerging evidence that the oscillation phase in theta and beta frequency bands modulates neural excitability. Here, we provide a guide for real-time TMS-EEG application and discuss experimental and technical considerations. We consider the effects of hardware choice, signal quality, spatial and temporal filtering, and neural characteristics of the targeted brain oscillation. Finally, we speculate on how closed-loop TMS-EEG potentially could improve the treatment of neurological and mental disorders such as depression, Alzheimer’s, Parkinson’s, schizophrenia, and stroke.