Sina Varmaghani, Ronald Phlypo, Olivier David, Sylvain Harquel, Alan Chauvin
{"title":"基于ica的在线提取tms诱发电位的伪影抑制方法:面向运动皮层以外的闭环TMS-EEG应用。","authors":"Sina Varmaghani, Ronald Phlypo, Olivier David, Sylvain Harquel, Alan Chauvin","doi":"10.1088/1741-2552/ae01d8","DOIUrl":null,"url":null,"abstract":"<p><p><i>Objective.</i>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 artifacts 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.<i>Approach.</i>Our method involves an offline ICA training phase, where ICA weights and artifact topographies are identified using pre-experimental trials, followed by an online phase in which the precomputed weight matrices are applied in real-time to incoming data. We conducted simulations on two pre-published TMS-EEG datasets (<i>N</i>= 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.<i>Main Results.</i>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. Simulation 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 regions achieved high reproducibility when at least 35 training trials were used, whereas earlier peaks (<80 ms) showed moderate reproducibility with the same number of trials.<i>Significance.</i>These findings 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 neurostimulation paradigms.</p>","PeriodicalId":94096,"journal":{"name":"Journal of neural engineering","volume":" ","pages":""},"PeriodicalIF":3.8000,"publicationDate":"2025-09-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"An ICA-based artifact suppression method for online extraction of TMS-evoked potentials: toward closed-loop TMS-EEG applications beyond the motor cortex.\",\"authors\":\"Sina Varmaghani, Ronald Phlypo, Olivier David, Sylvain Harquel, Alan Chauvin\",\"doi\":\"10.1088/1741-2552/ae01d8\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p><p><i>Objective.</i>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 artifacts 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.<i>Approach.</i>Our method involves an offline ICA training phase, where ICA weights and artifact topographies are identified using pre-experimental trials, followed by an online phase in which the precomputed weight matrices are applied in real-time to incoming data. We conducted simulations on two pre-published TMS-EEG datasets (<i>N</i>= 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.<i>Main Results.</i>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. Simulation 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 regions achieved high reproducibility when at least 35 training trials were used, whereas earlier peaks (<80 ms) showed moderate reproducibility with the same number of trials.<i>Significance.</i>These findings 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 neurostimulation paradigms.</p>\",\"PeriodicalId\":94096,\"journal\":{\"name\":\"Journal of neural engineering\",\"volume\":\" \",\"pages\":\"\"},\"PeriodicalIF\":3.8000,\"publicationDate\":\"2025-09-12\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Journal of neural engineering\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1088/1741-2552/ae01d8\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of neural engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1088/1741-2552/ae01d8","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
An ICA-based artifact suppression method for online extraction of TMS-evoked potentials: toward closed-loop TMS-EEG applications beyond the motor cortex.
Objective.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 artifacts 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.Approach.Our method involves an offline ICA training phase, where ICA weights and artifact topographies are identified using pre-experimental trials, followed by an online phase in which the precomputed weight matrices are applied in real-time to incoming 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.Main Results.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. Simulation 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 regions achieved high reproducibility when at least 35 training trials were used, whereas earlier peaks (<80 ms) showed moderate reproducibility with the same number of trials.Significance.These findings 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 neurostimulation paradigms.