Varmaghani Sina, Phlypo Ronald, David Olivier, Harquel Sylvain, Chauvin Alan
Laboratoire de Psychologie et NeuroCognition, Bâtiment Michel Dubois, 1251 Av. Centrale, 38041 Grenoble Cedex 09, Grenoble, Auvergne-Rhône-Alpes, 38040, FRANCE.
GIPSA-Lab, 11 rue des Mathématiques, Grenoble Campus BP46, F-38402 SAINT MARTIN D'HÈRES CEDEX - 33, Saint-Martin-d'Hères, Auvergne-Rhône-Alpes, 38402, FRANCE.
J Neural Eng. 2025 Sep 2. doi: 10.1088/1741-2552/ae01d8.
Transcranial magnetic stimulation (TMS) combined with electroencephalography (EEG) has become a valuable tool in clinical and cognitive neuroscience. However, TMS-EEG signals often suffer from severe artifacts, particularly in lateral cortical regions where TMS-evoked muscle arti-facts are pronounced, making real-time recovery of TMS-evoked potentials (TEPs) challenging. We developed and validated a real-time, two-step independent component analysis (ICA)-based artifact cleaning method for TMS-EEG signals, facilitating the rapid extraction of clean neural signals for closed-loop neurostimulation applications.
Our method involves an offline ICA training phase, where ICA weights and artifact topographies are identified using pre-experimental trials, fol-lowed by an online phase in which the precomputed weight matrices are applied in real-time to in-coming data. We conducted simulations on two pre-published TMS-EEG datasets (N = 28, ROIs = 6) to validate the method by identifying the minimum number of trials required to estimate ICA weights. We also assessed the reproducibility of TEPs and the stability of ICA components, taking classical offline TEPs as the relative ground truth.
ICA analysis suggests that it can be applied reliably within each region without significant loss of convergence and stability, provided careful consideration is given to the size and composition of the data used for ICA training. Simula-tion results indicated that while central regions could achieve reliable TEPs similar to ground truth with as few as 20-30 trials to train ICA in the pre-experimental phase, frontal and occipital regions required 50-60 trials to reach a comparable level of reliability. Later TEP peaks (>100 ms) in all re-gions achieved high reproducibility when at least 35 training trials were used, whereas earlier peaks (>20 ms) showed moderate reproducibility with the same number of trials.
These find-ings establish the feasibility and proof-of-concept for real-time ICA-based artifact removal for closed-loop TMS-EEG applications. The method enables rapid extraction of clean neural signals, allowing adaptation of stimulation parameters in real time, thereby facilitating individualized neurostimula-tion paradigms.
.
经颅磁刺激(TMS)与脑电图(EEG)相结合已成为临床和认知神经科学中的一种重要工具。然而,TMS-EEG信号常常受到严重伪迹的干扰,尤其是在外侧皮质区域,TMS诱发的肌肉伪迹较为明显,这使得实时恢复TMS诱发电位(TEP)具有挑战性。我们开发并验证了一种基于实时两步独立成分分析(ICA)的TMS-EEG信号伪迹清除方法,有助于为闭环神经刺激应用快速提取干净的神经信号。
我们的方法包括一个离线ICA训练阶段,在此阶段使用实验前的试验确定ICA权重和伪迹地形图,随后是一个在线阶段,在该阶段将预先计算的权重矩阵实时应用于传入数据。我们对两个已发表的TMS-EEG数据集(N = 28,感兴趣区域 = 6)进行了模拟,通过确定估计ICA权重所需的最少试验次数来验证该方法。我们还以经典的离线TEP作为相对基准事实,评估了TEP的可重复性和ICA成分的稳定性。
ICA分析表明,只要仔细考虑用于ICA训练的数据的大小和组成,它就能在每个区域可靠应用,且不会显著损失收敛性和稳定性。模拟结果表明,虽然中央区域在实验前阶段只需20 - 30次试验来训练ICA就能获得与基准事实相似的可靠TEP,但额叶和枕叶区域需要50 - 60次试验才能达到 comparable level of reliability。当使用至少35次训练试验时,所有区域中较晚的TEP峰值(>100毫秒)具有较高的可重复性,而较早的峰值(>20毫秒)在相同试验次数下显示出中等可重复性。
这些发现确立了基于实时ICA的伪迹去除在闭环TMS-EEG应用中的可行性和概念验证。该方法能够快速提取干净的神经信号,允许实时调整刺激参数,从而促进个性化神经刺激范式。