Continuous tracking using deep learning-based decoding for noninvasive brain–computer interface — TEI-tagged view

Dylan Forenzo, Hao Zhu, Jenn Shanahan, Jaehyun Lim, Bin He · 2024 · computer-science · doi:10.1093/pnasnexus/pgae145 · TEI xml · tagged edition · index · concepts · authors
Where this record's text came from. 2026-09-28 schema-0.3 pass: every quote ON THIS RECORD verified as an exact substring of the staged text and anchored, at the merge dated above; concept terms verified present; every edge endpoint an existing node.
Other fields define these differently the same word, defined another way in another discipline
deep learning 11 fields · Transfer learning 6 fields · performance 5 fields · EEG 4 fields · MI 3 fields · training data 2 fields · and 2 more →
Tags on this paper every tag the record carries, whether or not the words occur in the text below — a number is how many papers in the corpus carry that tag; a tag with no number is unique to this paper
Brain–computer interfaces BCI3 electroencephalography4 EEG10 motor imagery MI4 event-related desynchronization ERD traditional decoder PointNet DT tasks CP task pretraining4 performance11 DL-based decoders training data9 experiment113

Colour legend

PNAS Nexus<title level="j">A work — the journal / venue title.
2024<date>A year or date.

Dylan ForenzopersName, Hao ZhupersName, Jenn ShanahanpersName, Jaehyun LimpersName, Bin HepersName (2024date). “Continuous tracking using deep learning-based decoding for noninvasive brain–computer interface.” PNAS Nexustitle·j.

Object of study — deep-learning decodersterm·key for online continuous-pursuit control of a noninvasive EEGterm·mth BCIterm·ai

Research question — whether DL decoding can overcome noninvasive BCIsterm·ai' inconsistent performanceterm·mth in complex tasks

Contribution — a labeling system and DL decodersterm·key, including an adapted PointNetterm·ai, evaluated online in 28 participants

Cross-disciplinary analysis
content-tags & facets: phenomenon · claim-type · cross-domain-transfer · mechanism · claim-relation · replication-status · limitation — grounded in the full text
phenomenonDL decoders improving with training data to outperform a traditional BCI decoder — “Overall, these results show that DL-based decoders improve when given increasing amounts of training data and may even keep improving past the seven sessions studied here.”
claim-typemethod — “We rigorously evaluated the DL-based decoders in a total of 28 human participants, and found that the DL-based models improved throughout the sessions as more training data became available and significantly outperformed a traditional BCI decoder by the last session.”
method — evidence — “We rigorously evaluated the DL-based decoders in a total of 28 human participants, and found that the DL-based models improved throughout the sessions as more training data became available and significantly outperformed a traditional BCI decoder by the last session.”
object of study — evidence — “In this study, we use deep learning (DL)-based decoders for online continuous pursuit (CP), a complex BCI task requiring the user to track an object in 2D space.”
research question — evidence — “While noninvasive BCIs have the potential to improve the quality of lives of healthy and motor-impaired individuals, they currently have limited applications due to inconsistent performance and low degrees of freedom.”
contribution — evidence — “We rigorously evaluated the DL-based decoders in a total of 28 human participants, and found that the DL-based models improved throughout the sessions as more training data became available and significantly outperformed a traditional BCI decoder by the last session.”
mechanismtask-driven lag The cursor lag may come mainly from the CP task or MI paradigm rather than decoder design. — “The fact that all three decoders have similar lags suggests that this delay may be primarily due to the CP task or MI paradigm, instead of the individual decoder designs.”mechanisms[0]
mechanismsubject-specific features DL decoding's benefit lies in extracting subject-specific features. — “Both these results suggest that the main benefits of DL-based decoding lie in the models’ ability to extract subject-specific features.”mechanisms[1]
senselabel - in continuous pursuit, the vector from cursor to target taken as the intended direction for supervised learning — “First, the labeling system assumes that the subject is always trying to move in the optimal direction toward the target.”senses[0]
relationEEG —same-as→ electroencephalography — (EEG) — “Noninvasive brain recording methods such as electroencephalography (EEG) record neural signals from outside the brain and do not require any invasive procedures.” — “electroencephalography (EEG)”concept_edges[0]
weightEEG —same-as→ electroencephalography — 0.95 — “Noninvasive brain recording methods such as electroencephalography (EEG) record neural signals from outside the brain and do not require any invasive procedures.”concept_edges[0]
relationERD —same-as→ event-related desynchronization — (ERD) — “When users perform or imagine movements, they reduce this synchronized activity and the amplitude of these oscillations decreases in what is known as event-related desynchronization (ERD)” — “event-related desynchronization (ERD)”concept_edges[1]
weightERD —same-as→ event-related desynchronization — 0.95 — “When users perform or imagine movements, they reduce this synchronized activity and the amplitude of these oscillations decreases in what is known as event-related desynchronization (ERD)”concept_edges[1]
relationtraditional decoder —contrasted-with→ PointNet — outperforms ... but not — “In session 1, all three decoders perform better than chance level, and the traditional decoder outperforms PointNet but not EEGNet.” — “the traditional decoder outperforms PointNet but not EEGNet”concept_edges[2]
weighttraditional decoder —contrasted-with→ PointNet — 0.8 — “In session 1, all three decoders perform better than chance level, and the traditional decoder outperforms PointNet but not EEGNet.”concept_edges[2]
relationDT tasks —contrasted-with→ CP task — In contrast — “BCI tasks with only a single target in each trial, such as DT tasks, have a clear label for each trial and are well suited for supervised learning. In contrast, the CP task does not have one clear target or direction for each trial that can be used as the label so additional steps are required to use these data for supervised learning.” — “such as DT tasks, have a clear label for each trial and are well suited for supervised learning. In contrast, the CP task”concept_edges[3]
weightDT tasks —contrasted-with→ CP task — 0.85 — “BCI tasks with only a single target in each trial, such as DT tasks, have a clear label for each trial and are well suited for supervised learning. In contrast, the CP task does not have one clear target or direction for each trial that can be used as the label so additional steps are required to use these data for supervised learning.”concept_edges[3]
effect directionpretraining —causes→ performance — no-change — “The results from these experiments showed that pretraining did not significantly improve performance, but updating the models’ midsession may have some benefit.” — “did not significantly improve performance”concept_edges[4]
relationpretraining —causes→ performance — did not significantly improve — “The results from these experiments showed that pretraining did not significantly improve performance, but updating the models’ midsession may have some benefit.” — “pretraining did not significantly improve performance”concept_edges[4]
weightpretraining —causes→ performance — 0.8 — “The results from these experiments showed that pretraining did not significantly improve performance, but updating the models’ midsession may have some benefit.”concept_edges[4]
relationtraining data —causes→ DL-based decoders — improve when given — “Overall, these results show that DL-based decoders improve when given increasing amounts of training data and may even keep improving past the seven sessions studied here.” — “DL-based decoders improve when given increasing amounts of training data”concept_edges[5]
weighttraining data —causes→ DL-based decoders — 0.8 — “Overall, these results show that DL-based decoders improve when given increasing amounts of training data and may even keep improving past the seven sessions studied here.”concept_edges[5]
evidential statusmechanism — suggests ... may be — “The fact that all three decoders have similar lags suggests that this delay may be primarily due to the CP task or MI paradigm, instead of the individual decoder designs.”mechanisms[0]
evidential statusmechanism — suggest — “Both these results suggest that the main benefits of DL-based decoding lie in the models’ ability to extract subject-specific features.”mechanisms[1]
replicationoriginal
limitationThe labeling system assumes the subject always moves in the optimal direction. — “First, the labeling system assumes that the subject is always trying to move in the optimal direction toward the target.”limitations[0]
limitationADA is not a perfect predictor of online performance. — “However, there is still a large variance off the linear trend, meaning that ADA is not a perfect predictor for online performance.”limitations[1]
limitationAll subjects were already experienced with BCI. — “One reason that we did not see an improvement in performance due to learning may be that all the subjects recruited for this study were experienced and had already participated in at least two BCI sessions prior to this experiment.”limitations[2]
limitationSame-session recalibration results are not conclusive. — “The results of same-session recalibration are interesting, but not conclusive.”limitations[3]
limitationNaïve subjects and motor-impaired populations remain untested. — “Future work should be done to investigate the use of online DL decoding for naïve subjects as well as in motor-impaired populations.”limitations[4]
Content tags
content-observations: finding · quantity · variable · definition · key-term — grounded in the full text
findingBy session 7 both DL decoders beat the traditional decoder, with no difference between EEGNet and PointNet. — “In the final session, session 7, both DL models outperformed the traditional decoder and there was no significant difference between EEGNet and PointNet.”content_tags.findings[0]
findingPretraining did not significantly improve performance. — “The results from these experiments showed that pretraining did not significantly improve performance, but updating the models’ midsession may have some benefit.”content_tags.findings[1]
findingDistance and ADA correlate at 0.81. — “The result over all online trials was a correlation of 0.81 between distance and ADA, showing a strong relationship between the two metrics.”content_tags.findings[2]
findingPointNet's extra complexity may not be justified here. — “The results show that both models performed similarly, so the additional complexity of PointNet may not be justified in this case.”content_tags.findings[3]
quantity28 — — “We rigorously evaluated the DL-based decoders in a total of 28 human participants, and found that the DL-based models improved throughout the sessions as more training data became available and significantly outperformed a traditional BCI decoder by the last session.”content_tags.quantities[0]
quantity0.43 and 0.56 — — “EEGNet improved by 0.43 per session (%screen size 2 ) while PointNet improved by 0.56.”content_tags.quantities[1]
quantity1.28 s — — “The traditional model performed best after a lag of 1.28 s and the NMSE was improved by 0.8 (%screen size 2 ).”content_tags.quantities[2]
quantityover 150 h — — “The experiments from this work produced over 150 h of CP BCI recordings that could be used as a rich training dataset for developing such models.”content_tags.quantities[3]
quantity25% and 33% — — “We also chose to reduce the cursor speed by 25% and the variance of the random accelerations applied to the target by 33% for this experiment after seeing that some subjects struggled with the faster speeds in the first part of this study.”content_tags.quantities[4]
variabletraining data — “Overall, these results show that DL-based decoders improve when given increasing amounts of training data and may even keep improving past the seven sessions studied here.”content_tags.variables[0]
definitionBrain–computer interfaces — “Brain–computer interfaces (BCIs) are devices that allow users to interact with computers or other devices by determining their intentions directly from their recorded brain signals.”content_tags.definitions[0]
definitionMI — “To perform MI, the user imagines the feeling or sensation of moving a body part, without executing the movement”content_tags.definitions[1]
definitionnormalized MSE — “The normalized MSE is the squared distance between the cursor and target, divided by the diagonal length of the square task area.”content_tags.definitions[2]
definitionTransfer learning — “Transfer learning (TL) is a method used in other fields where DL has been applied to reduce the amount of training data needed for effective models”content_tags.definitions[3]
key-termsbrain–computer interface, EEG, deep learning, continuous pursuit, motor imagery, EEGNet, PointNet, transfer learning, decoder
Concepts
terms this paper carries, each with the sentence it was cut from — the layer that joins one paper to another. Terms with no quote yet are on CONCEPTS.html.
conceptBrain–computer interfaces — devices that allow users to interact with computers or other devices by determining their intentions directly from their recorded brain signals — “Brain–computer interfaces (BCI) using electroencephalography provide a noninvasive method for users to interact with external devices without the need for muscle activation.”concepts[0]
conceptBCI — Brain–computer interfaces — “Brain–computer interfaces (BCI) using electroencephalography provide a noninvasive method for users to interact with external devices without the need for muscle activation.”concepts[1]
conceptelectroencephalography — not defined in this paper's own words; a noninvasive method that records “neural signals from outside the brain” — “Noninvasive brain recording methods such as electroencephalography (EEG) record neural signals from outside the brain and do not require any invasive procedures.”concepts[2]
conceptEEG — electroencephalography — “Noninvasive brain recording methods such as electroencephalography (EEG) record neural signals from outside the brain and do not require any invasive procedures.”concepts[3]
conceptmotor imagery — the user imagines the feeling or sensation of moving a body part, without executing the movement — “One of the common ways to control an EEG-based BCI is the motor imagery (MI) paradigm.”concepts[4]
conceptMI — motor imagery — “One of the common ways to control an EEG-based BCI is the motor imagery (MI) paradigm.”concepts[5]
conceptevent-related desynchronization — the amplitude of these oscillations decreases — “When users perform or imagine movements, they reduce this synchronized activity and the amplitude of these oscillations decreases in what is known as event-related desynchronization (ERD)”concepts[6]
conceptERD — event-related desynchronization — “When users perform or imagine movements, they reduce this synchronized activity and the amplitude of these oscillations decreases in what is known as event-related desynchronization (ERD)”concepts[7]
concepttraditional decoder — not defined in this paper's own words; the autoregression-based BCI2000 decoder used as baseline — “In session 1, all three decoders perform better than chance level, and the traditional decoder outperforms PointNet but not EEGNet.”concepts[8]
conceptPointNet — not defined in this paper's own words; a point-cloud architecture adapted for BCI decoding — “In session 1, all three decoders perform better than chance level, and the traditional decoder outperforms PointNet but not EEGNet.”concepts[9]
conceptDT tasks — not defined in this paper's own words; discrete trial tasks with a single target in each trial — “BCI tasks with only a single target in each trial, such as DT tasks, have a clear label for each trial and are well suited for supervised learning. In contrast, the CP task does not have one clear target or direction for each trial that can be used as the label so additional steps are required to use these data for supervised learning.”concepts[10]
conceptCP task — not defined in this paper's own words; continuous pursuit, tracking a randomly moving target — “BCI tasks with only a single target in each trial, such as DT tasks, have a clear label for each trial and are well suited for supervised learning. In contrast, the CP task does not have one clear target or direction for each trial that can be used as the label so additional steps are required to use these data for supervised learning.”concepts[11]
conceptpretraining — not defined in this paper's own words; transfer learning from other subjects' data — “The results from these experiments showed that pretraining did not significantly improve performance, but updating the models’ midsession may have some benefit.”concepts[12]
conceptperformance — not defined in this paper's own words; measured mainly by cursor-target NMSE — “The results from these experiments showed that pretraining did not significantly improve performance, but updating the models’ midsession may have some benefit.”concepts[13]
conceptDL-based decoders — not defined in this paper's own words — “Overall, these results show that DL-based decoders improve when given increasing amounts of training data and may even keep improving past the seven sessions studied here.”concepts[14]
concepttraining data — not defined in this paper's own words — “Overall, these results show that DL-based decoders improve when given increasing amounts of training data and may even keep improving past the seven sessions studied here.”concepts[15]

Full text — tagged

The reference list is not part of the text we hold for this paper. Our copy was extracted from the publisher's page and the bibliography did not survive that extraction, so the article below ends before its references. Nothing has been removed by us.

Continuous tracking using deep learning-based decoding for noninvasive brain–computer interfaceterm·key Abstract Brain–computer interfacesterm·ai (BCIterm·ai) using electroencephalographyterm·mth provide a noninvasive method for users to interact with external devices without the need for muscle activation. While noninvasive BCIsterm·ai have the potential to improve the quality of lives of healthy and motor-impaired individuals, they currently have limited applications due to inconsistent performanceterm·mth and low degrees of freedom. In this study, we use deep learningterm·key (DL)-based decodersterm·key for online continuous pursuitterm·key (CP), a complex BCIterm·ai task requiring the user to track an object in 2D space. We developed a labeling system to use CP data for supervised learning, trained DL-based decodersterm·ai based on two architectures, including a newly proposed adaptation of the PointNetterm·ai architecture, and evaluated the performanceterm·mth over several online sessions. We rigorously evaluated the DL-based decodersterm·ai in a total of 28 human participants, and found that the DL-based models improved throughout the sessions as more training dataterm·ai became available and significantly outperformed a traditional BCIterm·ai decoderterm·key by the last session. We also performed additional experimentsterm·mth to test an implementation of transfer learningterm·key by pretrainingterm·ai models on data from other subjects, and midsession training to reduce intersession variability. The results from these experimentsterm·mth showed that pretrainingterm·ai did not significantly improve performanceterm·mth, but updating the models’ midsession may have some benefit. Overall, these findings support the use of DL-based decodersterm·ai for improving BCIterm·ai performanceterm·mth in complex tasks like CP, which can expand the potential applications of BCIterm·ai devices and help to improve the quality of lives of healthy and motor-impaired individuals.

Brain–computer interfacesterm·ai (BCIterm·ai) have the potential to replace or restore motor functions for patients and can benefit the general population by providing a direct link of the brain with robotics or other devices. In this work, we developed a paradigm using deep learningterm·key (DL)-based decodersterm·key for continuous control of a BCIterm·ai system and demonstrated its capabilities through extensive online experimentsterm·mth. We also investigate how DL performanceterm·mth is affected by varying amounts of training dataterm·ai and collected more than 150 h of BCIterm·ai data that can be used to train new models. The results of this study provide valuable information for developing future DL-based BCIterm·ai decodersterm·key which can improve performanceterm·mth and help to bring BCIsterm·ai closer to practical applications and wide-spread use.

Introduction Brain–computer interfacesterm·ai (BCIsterm·ai) are devices that allow users to interact with computers or other devices by determining their intentions directly from their recorded brain signals. These fast-growing devices have the potential to help patients suffering from motor or speech disorders by allowing them to control devices such as prosthetic limbs or perform everyday tasks like sending emails or turning on lights. Successful BCIsterm·ai also have the potential to improve the quality of lives of healthy individuals by allowing them to interact directly with electronics such as cell phones or computers without the need for muscle activation or speech.

The brain recording methods used for BCIsterm·ai can be generally split into two main categories based on whether they require an invasive procedure or not. Invasive BCIsterm·ai can often get closer to the source of the brain activity and generally offer good quality signals. Noninvasive brain recording methods such as electroencephalographyterm·mth (EEGterm·mth) record neural signals from outside the brain and do not require any invasive procedures. Although they carry less risk, the signals from these methods can be limited in signal-to-noise ratio and spatial resolution compared to invasive recording techniques.

BCIterm·ai applications that require the best available signal quality may be able to justify the medical procedures required for invasive BCIsterm·ai, but so far invasive BCIsterm·ai have only been implanted in several dozens of patients. For other applications, noninvasive BCIsterm·ai provide a safer and more widely available alternative. Among noninvasive methods, EEGterm·mth is particularly well suited for BCIterm·ai systems due to its high temporal resolution, portability, and relatively low cost ( 1 ). An example of an EEG-BCI setup is shown in Fig. 1 A. These systems have been used to control devices such as robotic arms ( 2–4 ), wheelchairs ( 5–7 ), and a virtual ( 8 , 9 ) or even physical quadcopter drone ( 10 ) and could one day be used to control advanced devices like lower limb prostheses ( 11 ). Although these EEG-based BCIsterm·ai have been studied for several decades ( 12 ), recent advances in hardware, software, and available computing power have opened up new possibilities for this technology.

Schematic illustration of EEG-BCI. A) A BCIterm·ai setup, where the user is interacting with a computer with their intention recorded and decoded from EEGterm·mth. B) An example motor imageryterm·dom control paradigm for BCIterm·ai. C) Illustrations of the DT and CP BCIterm·ai tasks.

One of the common ways to control an EEG-based BCIterm·ai is the motor imageryterm·dom (MIterm·dom) paradigm. To perform MIterm·dom, the user imagines the feeling or sensation of moving a body part, without executing the movement ( 13 ). Since this method does not require muscle activation, it can be used by both healthy individuals and patients with some motor impairments ( 14 ). In addition, previous studies have shown that MI-based BCIsterm·ai may be able to help the rehabilitation process for stroke-affected patients ( 15–17 ).

At rest, healthy individuals have neural activity in the sensorimotor area of their cortex that oscillates at around 8–13 Hz. These oscillations are typically referred to as the mu or alpha rhythm, and are likely caused by synchronized activity of neurons in the sensorimotor area. When users perform or imagine movements, they reduce this synchronized activity and the amplitude of these oscillations decreases in what is known as event-related desynchronizationterm·dom (ERDterm·dom) ( 13 , 18 ). Changes in this frequency band can be detected in the EEGterm·mth signal, which have also been correlated with blood-oxygen-level-dependent (BOLD) fMRI signals ( 19 ), and used to infer when users are imagining the movement of their body parts, allowing them to control a BCIterm·ai device.

Traditionally, BCIterm·ai experimentsterm·mth have involved subjects performing MIterm·dom, or another control paradigm, to produce a specified task or output. In one common setup, subjects are shown a target on one side of a screen and are asked to perform MIterm·dom to move a virtual cursor to hit the target using predetermined controls (Fig. 1 B and C) ( 20–23 ). These experimentsterm·mth, which we will refer to as discrete trial or DT tasksterm·dom, have allowed subjects to achieve effective control over BCIterm·ai systems as they are intuitive, and users only have to focus on one target outcome in each trial. However, while subjects can obtain good performanceterm·mth in DT tasksterm·dom, these systems can often take several seconds to produce a single output and may not be suitable for real-world applications that require dynamic control.

A new type of BCIterm·ai task, continuous pursuitterm·key (CP), has been recently explored for EEG-based BCIsterm·ai using MIterm·dom ( 2 ) or actual movement of a limb ( 24 ). In this task, subjects are tasked with continuously tracking a target that randomly moves throughout a trial, instead of having only a single target movement (Fig. 1 C). This task is more complex than similar DT tasksterm·dom, since subjects need to move their cursor in many different directions throughout a single trial to get closer to the randomly moving target, instead of only having to move in a single direction each trial. Although it is more difficult, this task requires dynamic and continuous control, bringing it closer to the requirements of real-world applications like controlling robotic devices.

There are several potential ways for the subject to control a CP BCIterm·ai system. In this study, we focus on one paradigm, where subjects interact with the BCIterm·ai by imagining moving their left hand to move a cursor leftwards, their right hand to move right, both hands simultaneously to move upwards, and neither hand to go down. Collectively, subjects control the movement of the cursor to follow the movement of a target.

One of the other major advances in BCIterm·ai technology in recent years is the development of more complex decodersterm·key. In particular, deep learningterm·key (DL) models have been applied to BCIterm·ai decoding with some success and have been shown to improve performanceterm·mth beyond the abilities of conventional decodersterm·key ( 25–31 ). This technology has seen rapid growth due to successful applications in many other fields that require complex modeling, such as computer vision and machine translation ( 32 ). These models can extract features and model relationships from large and complex datasets, making them an excellent candidate for decoding EEGterm·mth signals and particularly well suited for taking advantage of subject-specific features. The success of these decodersterm·key has been generating increasing interest from the field, and many different DL architectures and paradigms have been recently proposed for BCIterm·ai decoding ( 25 ).

While DL models have the potential to improve BCIterm·ai performanceterm·mth, there are also several challenges that need to be addressed compared to conventional decodersterm·key. Training DL models can require large amounts of training dataterm·ai to achieve better results ( 26 ). In other fields that DL has been used successfully, such as image processing, training dataterm·ai are relatively easy to acquire or are already available in large amounts ( 33 ). However, BCIterm·ai data are costly and time consuming to collect and data can be collected with different parameters that may not be compatible such as different sampling frequencies or number of EEGterm·mth channels ( 34 , 35 ). In addition, large variances in BCIterm·ai features between subjects or even different sessions from the same subject can lead to overfitting problems when models are trained extensively on limited data.

Even with these challenges, the potential performanceterm·mth improvements offered by DL-based decodersterm·ai make them a promising signal processing method for future BCIterm·ai systems. In addition, methods are being developed to overcome these challenges and take advantage of the strengths of DL. Subject-specific models are commonly trained to reduce the effects of intersubject variability. Transfer learningterm·key (TL) is a method used in other fields where DL has been applied to reduce the amount of training dataterm·ai needed for effective models ( 36 ). This method, which can involve training at least part of a model on data from a different but related task, has seen increasing interest from the BCIterm·ai field as DL becomes more popular ( 37–40 ). With these methods, and the ability to extract features from complex data like EEGterm·mth signals, DL-based decoding has the potential to improve BCIterm·ai systems beyond conventional methods, especially in complex tasks like CP.

In this work, we aimed to improve BCIterm·ai performanceterm·mth in the CP taskterm·dom by implementing DL-based BCIterm·ai decodersterm·key for online experimentsterm·mth. To accomplish this, we developed a system to label CP data for supervised learning and used it to train several DL models for BCIterm·ai decoding. We then evaluated decodersterm·key based on two different DL architectures in online BCIterm·ai experimentsterm·mth over several sessions and studied the effects of increasing amounts of training dataterm·ai. We also evaluated additional decodersterm·key that used methods that could potentially improve performanceterm·mth even further such as TL, to potentially reduce the amount of training dataterm·ai needed, and recalibration, to reduce the effects of intersession variability.

Overall, the CP taskterm·dom is challenging and requires both continuous and dynamic control of the BCIterm·ai system. However, improving performanceterm·mth in this task through advanced decoding methods like DL can help bring noninvasive BCIterm·ai devices closer to real-world applications like continuous control of robotic devices. In turn, these advances have the potential to improve the quality of lives of both healthy individuals and motor-impaired patients by offering a direct line of communication with their electronic devices.

Results There are several different methods that can be used to quantify BCIterm·ai performanceterm·mth in the CP taskterm·dom. The primary metric for online experimentsterm·mth is the mean squared error (MSE) between the cursor and the target. To make this number more intuitive, we use the normalized MSEterm·def (NMSE) throughout this manuscript. The normalized MSEterm·def is the squared distance between the cursor and target, divided by the diagonal length of the square task area. Using this metric, the best performanceterm·mth is 0, where the cursor and target are in the same spot, and the worst possible performanceterm·mth is 1, where they are in opposite corners.

Boxplots are constructed as follows: the center line is the 50th percentile of the data (median), while the bottom and top edges are the 25th and 75th percentiles, respectively. Whiskers are drawn to the furthest data point from each edge that is <1.5 times the interquartile range (75th percentile–25th percentile, or the length of the box). All other points are shown individually as outliers. In each figure, statistical significance is shown by *: P < 0.05, **: P < 0.01, and ***: P < 0.001. Numerical P -values for each test can be found in the Supplementary material .

Group-level results Figure 2 shows the group-level results in terms of cursor-target position NMSE. Figure 2 A shows the overall results throughout each session of the experimentterm·mth. The traditional (non-DL) decoderterm·key performs better than both DL models in the first session, but each of the DL models improves throughout the experimentterm·mth. Both the traditional decoderterm·ai and the chance runs do not have a clear trend over sessions.

Results of DL decoding in online CP experimentsterm·mth. A) Decoderterm·key performanceterm·mth throughout sessions of the study in terms of NMSE. A lower NMSE indicates better performanceterm·mth. B) NMSE performanceterm·mth of decodersterm·key in the first session. P -values: ANOVA <0.0001, Chance/AR <0.0001, Chance/EG <0.0001, Chance/PN <0.0001, AR/EG 0.7019, AR/PN 0.0052, EG/PN 0.1134. C) NMSE performanceterm·mth of decodersterm·key in the last session (session 7). P -values: ANOVA <0.0001, Chance/AR <0.0001, Chance/EG <0.0001, Chance/PN <0.0001, AR/EG <0.0001, AR/PN <0.0001, EG/PN 0.2768. D) Horizontal correlation between cursor and target positions (Pearson correlation coefficients) over sessions throughout the study. E) Vertical correlation throughout the study. F) Performanceterm·mth of each decoderterm·key over sessions in terms of ADA. G) ADA performanceterm·mth in the first session. P -values: ANOVA <0.0001, Chance/AR <0.0001, Chance/EG <0.0001, Chance/PN <0.0001, AR/EG 0.8328, AR/PN 0.4515, EG/PN 0.9216. H) ADA performanceterm·mth in the last session (session 7). P -values: ANOVA <0.0001, Chance/AR <0.0001, Chance/EG <0.0001, Chance/PN <0.0001, AR/EG <0.0001, AR/PN <0.0001, EG/PN 0.6182. I) Scatter plot of each trial in terms of ADA vs. NMSE. A strong correlation was found between the two and a linear fit is shown as a solid line. Boxplots are constructed in the style of Tukey, showing the median, first, and third quartiles, and whiskers up to 1.5 times the interquartile range.

Panels B and C of Fig. 2 show the results from the first and last sessions individually. In session 1, all three decodersterm·key perform better than chance level, and the traditional decoderterm·ai outperforms PointNetterm·ai but not EEGNetterm·key. In the final session, session 7, both DL models outperformed the traditional decoderterm·ai and there was no significant difference between EEGNetterm·key and PointNetterm·ai. EEGNetterm·key improved by 0.43 per session (%screen size 2 ) while PointNetterm·ai improved by 0.56. Videos S1, S3, and S5 show reconstructed trials from this substudy of two different subjects using EEGNetterm·key, and one of the subjects using the PointNetterm·ai architecture.

Another way to evaluate the performanceterm·mth in the CP taskterm·dom is through the correlation between the cursor and target position. This metric measures the relationship between the cursor and target positions and will be higher when they tend to be in similar locations of the task area throughout the trial. A correlation close to zero implies that there is no substantial relationship between the cursor and target movements, making this an intuitive benchmark for a random baseline performanceterm·mth. As expected, the experimental chance level results fluctuate around zero correlation in both the horizontal and vertical directions.

The correlation results were split into each axis, with the correlation between horizontal cursor and target positions shown in Fig. 2 D and the vertical results in Fig. 2 E. In both plots, the traditional decoderterm·ai remains relatively level across the sessions, while both DL decodersterm·key improve over time. In both cases, the EEGNetterm·key performanceterm·mth reaches a higher performanceterm·mth than PointNetterm·ai by the last session, and seems to be continuing on an upward trend, while PointNetterm·ai starts to plateau over the final few sessions.

Figure 2 F illustrates the group-level CP results in terms of the average difference angle (ADA) metric over each of the sessions (see Materials and methods for details on this metric). Here, all three of the decodersterm·key tested in this study perform similarly in session 1, but both DL models improve over time and outperform the traditional decoderterm·ai by the last session. The results specific to sessions 1 and 7 are shown in Fig. 2 G and H, respectively.

We chose to use ADA for training and evaluating the DL models offline since this metric can be obtained without simulating a cursor path in an offline CP trial. However, the cursor-target NMSE remains the primary metric for quantifying online performanceterm·mth and may be more intuitive than ADA. To study how well ADA may substitute for NMSE in offline analysis, we looked at the correlation between the two metrics. Figure 2 I shows a scatter plot of each online CP trial comparing the distance and ADA results, along with a linear fit. The result over all online trials was a correlation of 0.81 between distance and ADA, showing a strong relationship between the two metrics.

Cursor-target lag During the CP taskterm·dom, BCIterm·ai decodersterm·key can suffer from the delay period between when the cursor-target direction changes and when the decoderterm·key can update accordingly. This delay period can have several contributing factors including: the subject's reaction time and ability to change their MIterm·dom quickly, as well as the ability of the decoderterm·key to detect changes in MIterm·dom features and modify its output in a timely manner. While this lag period can be a challenge for the CP taskterm·dom, it may not have a substantial effect on traditional BCIterm·ai tasks that have a single target in each trial, like the DT paradigm.

To investigate this delay, or lag, between changing target directions and decoderterm·key output, we shifted the cursor positions over time and calculated the cursor-target distance at each lag. The lag that produced the best performanceterm·mth (lowest cursor-target NMSE) was recorded for each trial. Figure 3 A shows a histogram of the results over all the decodersterm·key. The large spike after a few seconds shows that the performanceterm·mth in most trials is better using the target position from a few seconds in the past, rather than the current target position. Figure 3 B–E shows the same histogram for the experimental “chance” runs, the traditional model, EEGNetterm·key, and PointNetterm·ai, respectively. Similar spikes around 1.5 s are present in each of the decodersterm·key, while the chance level runs do not have any spike, showing that the delay is not present in runs without any BCIterm·ai control.

Cursor position lag. A–E) Histograms of the cursor position lag that results in the best performanceterm·mth for each trial. The large spikes around 1–2 s suggest that there is a short delay between a change in target direction and the decoderterm·key output. F) CP performanceterm·mth in cursor-target NMSE for each lag duration. The low points in each curve show the estimated BCIterm·ai performanceterm·mth from removing the delay.

Figure 3 F shows the grand-average NMSE over all sessions for each decoderterm·key as a function of lag. The performanceterm·mth of each BCIterm·ai decoderterm·key improves with the delay, up to a peak between 1 and 2 s, while the “chance” level performanceterm·mth remains steady throughout any lag. The traditional model performed best after a lag of 1.28 s and the NMSE was improved by 0.8 (%screen size 2 ). EEGNetterm·key's best lag was 1.2 s and improved by 1.6, while PointNetterm·ai was later at 1.48 s and improved by 1.7. Videos S2, S4, and S6 show the same trials from Videos S1, S3, and S5, but with the lag adjusted for by shifting the cursor position forward in time.

TL and recalibration One of the main disadvantages of DL-based decodersterm·ai is that they can require a larger amount of training dataterm·ai to achieve optimal performanceterm·mth compared to other methods. TL is a method used in some DL applications that could potentially reduce the amount of training dataterm·ai needed for these models by pretrainingterm·ai them on data from previously studied subjects. We hypothesized that pretrainingterm·ai DL-based decodersterm·ai on the data from the first part of this study could help the resulting TL-based models perform well in early sessions for new subjects, even with the limited subject-specific training dataterm·ai available in the first few sessions.

In addition to needing enough training dataterm·ai, DL-based decodersterm·ai are also prone to overfitting on the training dataset. The large variances in BCIterm·ai data between subjects, and even between sessions for the same subject, may cause reduced performanceterm·mth when models are fit too heavily on training dataterm·ai that is from a different subject or day than the online testing session. To help models adapt to the current task, we hypothesized that recalibrating the models using data from the current testing session could help improve performanceterm·mth.

We compared both TL and recalibration (CL) to the same EEGNetterm·key paradigm we used in the first substudy (DL). Like the first part of the study, the DL model requires subject-specific training dataterm·ai and could not be used until session 2. We chose to include four runs from the traditional decoderterm·ai in session 1 to compare with the TL decoderterm·key in the first session, where the TL model has not been trained on any subject-specific data.

The results over the first four sessions are shown in Fig. 4 A. All three models performed similarly at the group level, and both TL and DL saw improvements each session from session 2 to session4. Interestingly, the TL models did not improve from session 1 to session 2 at the group level (average across all subjects). Both the TL and DL training methods achieved similar performancesterm·mth throughout sessions 2–4.

Transfer learningterm·key results. A) Overall results from sessions 1–4 in terms of NMSE. B) Results from the first CP session, session 1. P -values: ANOVA <0.0001, Chance/AR <0.0001, Chance/CL <0.0001, Chance/TL <0.0001, AR/TL 0.6224, AR/CL 0.8597, TL/CL 0.9753. C) Results from session 4 of the CP experimentsterm·mth. P -values: ANOVA <0.0001, Chance/DL <0.0001, Chance/CL <0.0001, Chance/TL <0.0001, DL/TL 0.3723, DL/CL 0.8331, TL/CL 0.0676. Boxplots are constructed in the style of Tukey, showing the median, first, and third quartiles, and whiskers up to 1.5 times the interquartile range.

Looking at the results from session 1 (Fig. 4 B), the traditional decoderterm·ai and TL models reach similar performanceterm·mth, and the CL models had a similar median but larger variance. In the final session (Fig. 4 C) had similar results where each of the three training methods achieved similar performancesterm·mth, but CL had a large variance with some subjects benefiting substantially.

Lastly, we compared the performanceterm·mth of the first substudy with the faster speed to the second substudy using the slower speeds (Fig. S1 ). For this analysis, we compared only the runs using EEGNetterm·key without TL since this was the only condition present in both substudies. Although we lowered the cursor and target speed to make the task easier for subjects, the results show that the performanceterm·mth using both speeds was not substantially different.

Furthermore, we looked at the effects of lag on both speeds (Fig. S2 ) and found that the lag affected performanceterm·mth more using the faster speed. Although the slower speed performanceterm·mth was less affected, the optimal lag was longer than the faster settings (2.04 s vs. 1.34 s). This may be because the slower cursor speed required more time for subjects to correct their course.

Discussion In this study, we designed a new framework to train DL-based EEGterm·mth decodersterm·key for the CP taskterm·dom and evaluated the performanceterm·mth of two different DL architectures and a traditional decoderterm·ai over seven BCIterm·ai sessions. We found that both DL-based decodersterm·ai improved throughout the study and outperformed the traditional decoderterm·ai by the final session. Both the EEGNet- and PointNet- based decodersterm·key performed similarly across several metrics including cursor-target distance, correlation, and ADA. When we implemented a TL technique by pretrainingterm·ai DL-based decodersterm·ai on data from previous subjects, we found that the pretrainingterm·ai did not significantly improve BCIterm·ai performanceterm·mth in early sessions compared to training from scratch. However, recalibrating models by training on small data samples from the current online session helped to improve outcomes in some situations. Overall, using DL-based decodersterm·ai improved their performanceterm·mth throughout the course of the study and outperformed the traditional decoderterm·ai once enough training dataterm·ai became available.

MIterm·dom BCIsterm·ai aim to help individuals to control an external device without the use of conventional muscular activity. In the current study, the MIterm·dom of left hand, right hand, both hands, or none was used to accomplish online continuous control of a virtual cursor in a 2D space. Despite the relatively simple MIterm·dom paradigm, this reflects the state of the art of noninvasive BCIterm·ai, constructing a mapping relationship between BCIterm·ai controlled tasks and the intended outcome. Using DL-based decoding in online experimentsterm·mth, we demonstrated in this work that the proposed BCIterm·ai system is able to control a virtual object to move continuously with changing direction and may be used as a neuroassistive device. Further developments may translate such a CP paradigm for more advanced applications, such as continuous control of a robotic device or the use of a more complex MIterm·dom paradigm. In addition, prior study suggested the merits of MIterm·dom BCIterm·ai to help motor recovery in stroke patients using a simple discrete MIterm·dom task ( 41 ), and it would be interesting to test if CP MIterm·dom tasks would further help stroke rehabilitation given the complexity of CP through MIterm·dom.

The CP taskterm·dom is an extension of more traditional discrete trial tasks such as in Refs. ( 21 , 23 ). While these tasks require the user to continuously control a cursor to hit a target, the target is only in a single location in each trial and therefore only requires moving in a single direction. Continuous tracking paradigms such as CP have the target randomly move around the workspace, requiring subjects to change the cursor's direction to follow the target throughout the trial. Edelman et al. ( 2 ) developed the CP paradigm used in this study by having subjects use hand MIterm·dom to move a virtual cursor and/or robotic arm to continuously pursue a randomly moving target, and showed that this could be achieved using MIterm·dom with good performanceterm·mth with the aid of EEGterm·mth source imaging. In this work, we demonstrate that using EEGterm·mth sensor space data with the aid of DL-based decodersterm·ai, humans are able to track randomly moving targets with good performanceterm·mth, by means of the MIterm·dom paradigm.

More recently, Mondini et al. ( 24 ) used a trajectory reconstruction paradigm to decode subjects’ executed hand movements from EEGterm·mth, and were able to move a robotic arm to continuously track a randomly moving virtual snake. In this work, we demonstrate that without explicit hand/arm movement, users can perform CP tasksterm·dom using MIterm·dom EEGterm·mth signals. Applying DL-based decoding to the online CP taskterm·dom can help improve performanceterm·mth in this difficult task and similar models could potentially be trained for other paradigms in the future, such as executed or imagined hand kinematics.

While DL-based decodersterm·ai have been implemented for other BCIterm·ai tasks, the CP paradigm lacks a clear label for the data to use for supervised learning purposes. This makes training DL models using the conventional methods more difficult compared to discrete trial BCIterm·ai tasks, where there is a single target for each trial and therefore a clear label. To solve this problem, we developed a CP taskterm·dom labeling method, described in the Materials and methods section, that uses the vector between the cursor and target positions as a label. Similar techniques have been used in the invasive BCIterm·ai field to allow decodersterm·key to adapt to users’ intentions throughout trials with the set target in each trial in DT tasksterm·dom like center-out and center-out-and-back ( 42 , 43 ). The labeling system used here expands to the CP paradigm, where both the cursor and target move throughout the trial and are continuously changing. By using the cursor-target vector as a label for data in the CP paradigm, we are able to use methods that rely on supervised learning, such as DL, for the CP taskterm·dom which were previously unavailable.

Although this paradigm allows us to apply a label to the CP data for supervised learning, it also creates two potential problems for the decodersterm·key. First, the labeling system assumes that the subject is always trying to move in the optimal direction toward the target. Although this is the best direction for the cursor to get closer to the target, subjects may not always be trying to move in this direction during the actual experimentterm·mth, which could generate inaccurate labels. Second, the MIterm·dom paradigm that the subjects were instructed to move only consisted of four cardinal directions (left, right, up, and down). To move in other directions, the subjects had to perform a combination of these MIterm·dom tasks, and it was up to each subject to determine their best strategy for combining the movements. How subjects chose to integrate these movements could make the difference between producing decodable features for multiple directions, or just the four cardinal directions.

Even with these challenges, this work shows that the models were able to capture some relationship between the label and subjects’ EEGterm·mth recordings and provides evidence that the labeling system is suitable for training supervised learning models for the CP taskterm·dom.

The overall group results in Fig. 2 show the development of each decoderterm·key throughout the study sessions. In the first session, all three decodersterm·key perform better than chance level, showing that the DL-based decodersterm·ai can perform even when trained using only a single session of subject-specific data. However, the traditional autoregression-based (AR) decoderterm·key had the best average performanceterm·mth and statistically outperformed the PointNetterm·ai model. Throughout the study, both DL-based decodersterm·ai improved when given increasing amounts of training dataterm·ai and outperform the traditional decoderterm·ai by the final session (Fig. 2 C). Overall, these results show that DL-based decodersterm·ai improve when given increasing amounts of training dataterm·ai and may even keep improving past the seven sessions studied here.

We originally chose to implement two DL architectures to show that this paradigm could accommodate different models and to examine any performanceterm·mth differences between architectures. EEGNetterm·key was chosen since it is an established decoderterm·key for EEGterm·mth and BCIterm·ai applications, while we chose to implement the PointNetterm·ai model to test a new architecture for BCIterm·ai that has seen success in other fields. The results show that both models performed similarly, so the additional complexity of PointNetterm·ai may not be justified in this case. Still, the architecture may be useful for other BCIterm·ai applications, especially where the input can be represented as a group of points in a multidimensional space or point cloud. For example, EEGterm·mth source imaging-based BCIterm·ai ( 2 , 44 , 45 ) can estimate brain activity from inputs of scalp recordings by electrodes distributed in 3D space which could be represented as a point cloud and may be a potential application for the PointNetterm·ai architecture.

Interestingly, the performanceterm·mth of the traditional decoderterm·ai seemed to stay consistent throughout the study instead of improving as subjects got more experienced. One reason that we did not see an improvement in performanceterm·mth due to learning may be that all the subjects recruited for this study were experienced and had already participated in at least two BCIterm·ai sessions prior to this experimentterm·mth. This means that any performanceterm·mth improvements from learning in sessions that subjects completed before this study are not shown in the results here.

Another potential factor could be that subjects may be able to tell the difference between the three decodersterm·key during the experimentterm·mth based on the cursor movement and their observed performanceterm·mth. Subjects were made aware that different decodersterm·key may be used throughout the experimentterm·mth but were not told which decoderterm·key would be used for each trial. Differences in decoderterm·key performanceterm·mth may have caused some confusion or conflict for subjects when the BCIterm·ai system started reacting differently to their intentions. Although we believe that testing multiple decodersterm·key in each session was essential to this paradigm, this could have affected the results in some cases. For example, this may be one explanation for the slight decrease in performanceterm·mth for the traditional decoderterm·ai toward the final sessions. As the DL-decoder performanceterm·mth improved with more training dataterm·ai, subjects may have noticed the large performanceterm·mth difference during the AR trials and may have been discouraged during these trials where it was more difficult to control the cursor. Although subjects were instructed to try their best during every trial, lower motivation during the more difficult AR trials could lead to lower performanceterm·mth.

Since the cursor-target NMSE is the primary metric for the CP taskterm·dom but cannot be readily used offline, it is important to determine if ADA can be used as an offline approximation of NMSE. To study this, we looked at the correlation between cursor-target NMSE and ADA shown in Fig. 2 I. The high correlation (0.81) shows that both ADA and distance follow a similar trend and that a low ADA offline suggests that a similar online setup would achieve a good NMSE. However, there is still a large variance off the linear trend, meaning that ADA is not a perfect predictor for online performanceterm·mth.

During the experimentsterm·mth with the faster speed, we noticed a substantial lag between the target position and cursor movement. We hypothesized that this lag could be caused by both subject reaction times and the decoderterm·key's ability to change its output. The results in Fig. 3 show an analysis of shifting the cursor position vector in time. The histograms in panels A–E show how frequently each time-shift resulted in the best cursor-target distance for each trial. The large peaks around 1–2 s for each BCIterm·ai decoderterm·key show that the NMSE improves by shifting the cursor position forward 1–2 s in time suggesting that the cursor position lags the target by about 1–2 s. Figure 3 F shows the average cursor-target NMSE across trials for each decoderterm·key as a function of lag. Here, all three decodersterm·key see peak performanceterm·mth after a short delay. The fact that all three decodersterm·key have similar lags suggests that this delay may be primarily due to the CP taskterm·dom or MIterm·dom paradigm, instead of the individual decoderterm·key designs. The time it takes subjects to react to changes in the cursor and target positions and adjust their MIterm·dom intentions accordingly will add a delay between the cursor and target movement, regardless of the BCIterm·ai decodersterm·key used. This lag between target movement and decoderterm·key output presents a unique challenge for the CP paradigm. While real-time and dynamic control is desired for continuous tasks, the subjects’ reaction time and the internal buffers of decodersterm·key could limit the ability of BCIterm·ai systems to react quickly. This is even more pronounced in higher speed CP tasksterm·dom, where the subject is likely to have to change their intention more often and decodersterm·key will have less time to modify their output.

One of the primary drawbacks of DL-based decodersterm·ai is that they can require large amounts of training dataterm·ai before they can perform well. This issue is especially relevant for BCIterm·ai tasks, where collecting data can be costly in both time and money. In this study, we implemented a TL paradigm to reduce the amount of training dataterm·ai needed by using data from the 14 subjects studied in the first part of this work to pretrain DL models for new subjects. In addition, we attempted to further improve performanceterm·mth for these new subjects by fine-tuning models midway through each session using data collected from the current session. Since we hypothesized that the TL models would outperform the standard DL training paradigm, we performed this recalibration step on the TL models.

The overall results from this second set of experimentsterm·mth (Fig. 4 A) follow a similar trend to the original experimentsterm·mth. Each of the DL-based decodersterm·ai improved in successive sessions as more subject-specific training dataterm·ai became available. Overall, the TL and DL models reached similar performanceterm·mth in sessions 2–4, showing that our specific implementation of TL did not benefit performanceterm·mth in early sessions. Interestingly, the TL decodersterm·key reached a similar performanceterm·mth to the traditional decoderterm·ai in the first session (Fig. 4 B), when no subject-specific data were available. Since the TL models had no subject-specific training dataterm·ai at this point, it makes sense that they would not be able to take advantage of any subject-specific features, which could be one explanation for the similar performanceterm·mth. Both these results suggest that the main benefits of DL-based decoding lie in the models’ ability to extract subject-specific features.

For this study, we implemented a basic TL method involving pretrainingterm·ai a model on existing subject data, then fine-tuning the model on new subjects. While this method allowed us to initially explore the effects of TL and demonstrate the implementation in an online CP paradigm, there are a variety of more sophisticated TL algorithms developed for BCIterm·ai applications that may be more effective ( 38 ). We believe this work demonstrates the potential for TL to improve complex online BCIterm·ai applications like CP and that the data collected from this study may be helpful for testing more advanced TL methods that can reduce the amount of training dataterm·ai needed for new subjects or even improve performanceterm·mth overall.

The results of same-session recalibration are interesting, but not conclusive. The recalibrated models reached a better average performanceterm·mth than the TL models that they are based upon in each session after the first, but do not reach statistical significance. Our current implementation of recalibration uses only data from four runs to update the models midsession, and we do not have any way to choose the best model weights among the five training epochs. Future iterations of this method could include a validation set or use a different way to update the model weights, such as a different learning rate or only updating specific layers. The recalibration results shown here suggest that some method of updating the models’ midsession may help to reduce intersession variance and warrant further investigation.

This study demonstrates the potential of using DL-based decodersterm·ai for online BCIterm·ai decoding in challenging tasks and shows that subjects can achieve strong performanceterm·mth with these models. However, additional work could be done to further improve performanceterm·mth and help optimize the training process. In this study, we compared the results from three different decodersterm·key: EEGNetterm·key, a well-established DL architecture for EEG-BCIs, PointNetterm·ai, our exploration into a new DL architecture, and the AR decoderterm·key, a traditional decoderterm·ai used in BCIterm·ai research. There are many other algorithms that have been developed for BCIterm·ai decoding, including other DL architectures and non-DL methods that are more advanced than the AR model used here. Future work should be done to implement these models for online CP experimentsterm·mth, and rigorously compare the resulting performancesterm·mth to identify the best available decodersterm·key. Although the models performed similarly in this case, other DL architectures could be designed specifically for the CP taskterm·dom and could produce better outcomes. The experimentsterm·mth from this work produced over 150 h of CP BCIterm·ai recordings that could be used as a rich training dataset for developing such models. We hope that the work done here will enable and encourage more studies toward developing better decoding algorithms for complex BCIterm·ai tasks like the CP paradigm.

In both parts of this study, the DL model performanceterm·mth is still improving between the second to last and final session studied, suggesting that the models could still benefit from additional training dataterm·ai. A long-term study with many sessions for each subject could help to further characterize the relationship between DL-based decoderterm·ai performanceterm·mth and training dataterm·ai and may be able to determine the full potential of these models.

Lastly, TL and recalibration were studied briefly here, but each method could warrant a study of its own. Although our implementation of TL did not seem to benefit the DL-based decodersterm·ai, TL has a strong foundation and has seen success in other fields and even some BCIterm·ai applications ( 37–39 ). The recalibration method here did improve performanceterm·mth in some cases but could be limited by the amount of recalibration data available and there may be better ways of fine-tuning the models midsession. Although this work shows a foundation for implementing DL-based decoding into an online CP BCIterm·ai system, future work could be done to further improve this setup. Both DL and TL are active research areas, both in and outside of the BCIterm·ai field, and more advanced decodersterm·key or TL algorithms could help improve user performanceterm·mth. In addition, the data collected in this study may be useful for constructing DL and TL models specifically for the CP taskterm·dom.

Applying DL methods to online experimentsterm·mth helped to improve subjects’ performanceterm·mth in the challenging CP taskterm·dom. We found that it was difficult for subjects to precisely follow the target for an entire 60-s trial, but good performing subjects were able to get close to the target and could recover from large errors (see supplementary videos for some examples). More work is needed to further improve subjects’ BCIterm·ai control in complex tasks, but the ability of subjects to repeatedly reach a randomly moving target shows promise that noninvasive BCIsterm·ai could be used for complex applications in the near future. Even without perfect control, these systems can be enhanced with postprocessing and shared control to be useful for real-world tasks, similar to how autocorrection improves spelling applications. In addition, the results presented here are from subjects experienced with BCIterm·ai control. Future work should be done to investigate the use of online DL decoding for naïve subjects as well as in motor-impaired populations.

In summary, we have developed a novel labeling paradigm and offline performanceterm·mth metric that allowed us to train DL-based decodersterm·ai for the CP BCIterm·ai tasks, and rigorously evaluated the DL-based CP BCIterm·ai in a group of 28 human subjects. Two different DL-based decodersterm·ai were evaluated over seven BCIterm·ai sessions and both models were found to improve throughout the study when additional sessions of training dataterm·ai became available and outperformed a traditional BCIterm·ai decoderterm·key after just a few sessions. A TL paradigm and midsession recalibration technique were also evaluated and show the potential to benefit performanceterm·mth, although more work is needed to optimize these methods. This work introduces online, DL-based decoding to the CP taskterm·dom and shows how these decodersterm·key have the potential to improve subjects’ control in continuous BCIterm·ai systems. Although CP is challenging, strong performanceterm·mth in this task can open the door to more complex and intricate BCIterm·ai systems with real-time dynamic control and can help to move noninvasive BCIsterm·ai closer to real-world and clinical applications.

Materials and methods In this work, we focused on studying EEG-BCI systems based around the MIterm·dom paradigm. To control the BCIterm·ai system with this method, subjects were seated in front of a computer monitor and asked to imagine the feeling or sensation of moving their hands (Fig. 1 A). Performing hand MIterm·dom causes ERDterm·dom in the alpha band of the EEGterm·mth signal (8–13 Hz, this is sometimes referred to as the mu rhythm, but we will use the term alpha rhythm throughout this paper) in the contralateral sensorimotor area, usually around either C3 or C4 electrodes ( 46 ). This modulation of brain activity can be detected and used to infer the user's intentions using signal processing methods that we refer to as decodersterm·key. The output from these decodersterm·key can then be used to control applications such as robotic devices or, in this case, a virtual cursor.

In the CP taskterm·dom, subjects are asked to use MIterm·dom to control a virtual cursor to move around a 2D screen. They are instructed to imagine moving their left hand to move the cursor to the left, their right hand to move it right, both hands simultaneously to go upwards, and to rest without performing any MIterm·dom to move the cursor down (Fig. 1 B). In this paradigm, a virtual circle acts as the target, which randomly drifts around the screen area. The subjects’ goal for the CP taskterm·dom is to move their cursor using the MIterm·dom controls to track the target as close as possible (Fig. 1 C).

Subject recruitment This study consists of two experimental parts. In the first substudy, we recruited 15 healthy human subjects (average age: 25.2, 14 right-handed, 8 male) for 8 sessions of CP BCIterm·ai and 14 subjects completed all 8 sessions. In the second substudy, we recruited an additional 15 healthy human subjects (average age: 22.13, 13 right-handed, 8 male) for 2 BCIterm·ai training sessions and 4 CP sessions. Fourteen of these subjects completed the 6 total sessions. The subjects in each substudy were unique and no subject participated in both.

Fliers were placed around Carnegie Mellon University campus and the greater Pittsburgh area to recruit subjects. This study was approved by the Institutional Review Board at Carnegie Mellon University and each subject provided written consent to the protocol before participating. For the first substudy, all participants were required to have completed at least two previous sessions of MI-based BCIterm·ai cursor control before beginning the experimentterm·mth. If a subject was recruited with less than two sessions of experience, they performed discrete trial cursor control BCIterm·ai sessions to meet this requirement before beginning this study. Experienced subjects were recruited for the first substudy to reduce any effects of subjects learning MIterm·dom on the BCIterm·ai results and to focus on the effects of additional training dataterm·ai on DL-based decodersterm·ai. In addition, we hypothesized that data collected from when subjects are first learning to perform MIterm·dom may not be good for training the DL decodersterm·key and could reduce overall performanceterm·mth, even in later sessions. For the second substudy, all subjects recruited had no prior BCIterm·ai experience, but each subject performed two sessions of discrete trial BCIterm·ai on different days as part of the study design. Even though we were not focused on the effects of additional training dataterm·ai for this part of the study, we still required subjects to undergo the two training sessions to avoid fine-tuning DL and TL models using the data from when subjects are first learning MIterm·dom.

Signal acquisition EEGterm·mth signals were recorded using the Neuroscan Quik-Cap with 64 channels and amplified with the SynAmps 2/RT system from Compumedics Neuroscan. The electrode caps were configured in a modified version of the international 10/20 system, with the reference electrode in the center between midline central (CZ) and midline central parietal (CPZ) electrodes. At the beginning of each session, all electrode impedances were reduced to below 5 kΩ. Data were collected using the Neuroscan Acquire application at a sampling rate of 1 kHz, low-pass filtered under 200 Hz with a notch filter at 60 Hz to remove potential interference from AC electronic devices.

The BCI2000 program ( 47 ) was used to run the BCIterm·ai experimentsterm·mth and cursor control application. Data packets were streamed from the acquisition software and processed at 40 ms intervals for signal processing. The amount of data used to make a classification was different for each decoderterm·key, but each decoding method produced an output every 40 ms to update the cursor velocity.

CP taskterm·dom The CP taskterm·dom was run using custom python scripts made for BCPy2000, part of the BCI2000 program. In this paradigm, the subject is tasked with moving their cursor, displayed on the screen as a circle, in two dimensions to track a virtual target as closely as possible. The subjects used the MIterm·dom paradigm described above to move the cursor, and each decoderterm·key provided two outputs: one for the horizontal axis and another for the vertical.

The virtual target in this task was also a circle with the same size as the cursor. The target was made to randomly drift around the screen in each trial by applying accelerations chosen from a normal distribution every 40 ms. Following the paradigm from later experimentsterm·mth in the original CP study ( 2 ), we chose to not allow the cursor or target to wrap around the screen to be consistent with controlling a physical object. To deter the target from remaining on the boundary of the screen for long periods, we applied a repulsion acceleration to the target if it drifted toward the edge of the screen.

DL training paradigm Supervised learning is one of the standard paradigms for training DL models. This method requires the training dataterm·ai to be labeled with corresponding ground truth outputs. For BCIterm·ai tasks, these labels can be things such as the desired direction when moving a cursor or device, or a selected letter in a speller. BCIterm·ai tasks with only a single target in each trial, such as DT tasksterm·dom, have a clear label for each trial and are well suited for supervised learning. In contrast, the CP taskterm·dom does not have one clear target or direction for each trial that can be used as the label so additional steps are required to use these data for supervised learning.

The subjects’ primary goal in the CP taskterm·dom is to move their cursor as close to the target as possible throughout the trial. Therefore, the optimal direction for them to move their cursor to reduce this distance is the vector from the cursor position to the target position (example shown in Fig. 5 A). A similar procedure has also been used in invasive BCIterm·ai literature to help improve decodersterm·key during some tasks with the set target in each trial ( 42 , 43 ). Although this vector may not be the exact direction that the subject is intending to move at any point in time, it should be a close estimate if the subject is attempting the task correctly.

Study design. A) Labeling system for CP data. The vector between the cursor and target positions is used as the label for supervised learning. The angle between a model prediction and true label is used as an offline performanceterm·mth metric: ADA. B) Breakdown of a CP run. Each trial lasts 60 s. Each run consists of five trials and lasts about 5 min. C) The main study design. Subjects performed eight sessions of BCIterm·ai experimentsterm·mth, each with 12 BCIterm·ai runs split between various decodersterm·key and 1 additional run to estimate chance level. D) The study design to evaluate TL and recalibration. The setup is like panel C, but subjects performed two training sessions of DT BCIterm·ai and four sessions of CP.

The DL models were implemented and trained using custom python scripts and the Pytorch framework, details on model training can be found in the Supplementary material . Preprocessing was different for each DL architecture and more information can be found in the corresponding sections.

In addition to designing a labeling system for the CP taskterm·dom, we also needed to find a way to evaluate CP performanceterm·mth in offline experimentsterm·mth. Cursor-target distance and correlation are informative metrics for evaluating online experimentsterm·mth, where the cursor and target positions are available, but they are more difficult to calculate in offline situations where the positions must be simulated. In an offline task, such as evaluating one set of weights for a DL-based decoderterm·ai, the outputs from the offline model could be used to simulate a cursor moving, just like in the online task. However, the EEGterm·mth data are recorded from the online experimentterm·mth, so when the cursor and target in the offline simulation are in different positions than they were during the online task, the subjects’ intentions during the EEGterm·mth recordings may not match up with the correct direction for the offline simulation.

To evaluate the DL models’ performanceterm·mth without using the cursor-target positions, we chose to use the angle between the models’ predictions and the labels as a performanceterm·mth metric (Fig. 5 A). Here, a lower average angle indicates that the prediction is closer to the true label suggesting the model will perform better in an online CP experimentterm·mth. This method, which we refer to as the ADA, does not rely on cursor or target positions, only the labels which are available from the dataset. This means that the method can be calculated offline without having to simulate a CP trial, and can be used to evaluate DL model performanceterm·mth during training.

Traditional decoderterm·ai To provide a baseline performanceterm·mth for comparing the DL models studied in this work, and to obtain the initial training dataterm·ai for supervised learning, subjects completed several runs of the CP taskterm·dom each session using a traditional online BCIterm·ai decoderterm·key. For this purpose, we chose to use the AR signal processing module, part of the standard BCI2000 software. This class of decoderterm·key is well established for BCIterm·ai experimentsterm·mth ( 21 , 48–51 ) and does not require any training dataterm·ai before use, allowing us to implement it for each subject's first session. More information about the implementations of the traditional decoderterm·ai and two DL decodersterm·key used here can be found in the Supplementary material .

EEGNetterm·key Following the increasing interest in DL-based decoding for BCIterm·ai, there have been a number of DL architectures developed specifically for EEG-BCIs ( 25 , 29 ). Our previous work compared several of these models on two offline datasets and found that they performed similarly overall, but one model in particular, EEGNetterm·key ( 52 ), outperformed the others on one of the datasets. Due to EEGNetterm·key's performanceterm·mth in this offline study and well-established use, we chose to implement this model for the online CP experimentsterm·mth.

PointNetterm·ai In addition to implementing EEGNetterm·key for the CP taskterm·dom, we also chose to test another architecture in online experimentsterm·mth as well. For this purpose, we adapted the PointNetterm·ai architecture for BCIterm·ai decoding ( 53 , 54 ). The PointNetterm·ai architecture is designed around point cloud representations of the task as inputs to extract spatial patterns or features. In other fields, this point cloud can be a collection of points that make up a 3D scene, but here we used the collection of electrodes and their 3D locations in space (relative to each other) as the point cloud.

Our implementation of the PointNetterm·ai architecture is shown in Fig. 6 . The model begins with the frequency spectrum input, which is passed through three successive set abstraction layers, a fully connected layer, batch normalization, an rectified linear unit (RELU) activation function, dropout (40%), and a final fully connected layer.

DL architectures. A) The implementation of EEGNetterm·key used in this study. B) Our proposed PointNetterm·ai architecture, adapted for BCIterm·ai decoding.

Study design Two of the main goals of this study were to establish DL-based BCIterm·ai decodersterm·key for the CP taskterm·dom, and to evaluate their performanceterm·mth in human subjects to evaluate the effects of additional training dataterm·ai. To accomplish this, we developed the study design shown in Fig. 5 . Subjects completed eight sessions of CP BCIterm·ai experimentsterm·mth. Each session consisted of 12 CP runs, where each run had 5 one-minute trials, with an additional run used to calculate the chance level (Fig. 5 B). This chance level was used to estimate a baseline performanceterm·mth when there is no control over the system ( 55 ). More information about the chance level can be found in the Supplementary material . Since the DL-based decodersterm·ai require subject-specific training dataterm·ai before they can be used, the first session consisted entirely of runs using the traditional decoderterm·ai. Each session after the first had four runs each of the traditional decoderterm·ai, PointNetterm·ai model, and EEGNetterm·key model (Fig. 5 C). The order of decodersterm·key was randomized for each session, but all four runs of each decoderterm·key were completed together as a block.

Subjects were required to have at least two sessions of BCIterm·ai experience before starting this experimentterm·mth. This requirement helped to ensure that subjects had some control over the BCIterm·ai system, reduce the effects of training on performanceterm·mth in the first few sessions, and prepare subjects for the more complex CP taskterm·dom. In addition, the speed of the cursor and target was reduced for the first session of this experimentterm·mth (Session “T” in Fig. 5 B) to help introduce subjects to the CP taskterm·dom. The speed was then increased and kept consistent for the remaining seven sessions (sessions 1–7 in Fig. 5 B).

Transfer learningterm·key We designed a second substudy to investigate the potential benefits of using TL to reduce the amount of training dataterm·ai needed for DL-based decodersterm·ai. For this experimentterm·mth, we chose to test only the EEGNetterm·key architecture to allow us to collect more data for each experimental condition instead of having to split the runs between EEGNetterm·key and PointNetterm·ai. We designed the study as shown in Fig. 5 C, similar to the original study design with 12 CP runs and an additional chance run for each session. Here, we recruited only subjects with no prior BCIterm·ai experience and ran two sessions of DT BCIterm·ai as training before moving on to the CP tasksterm·dom. All of the subjects recruited for this experimentterm·mth were different from those who participated in the previous CP experimentterm·mth. We also chose to reduce the cursor speed by 25% and the variance of the random accelerations applied to the target by 33% for this experimentterm·mth after seeing that some subjects struggled with the faster speeds in the first part of this study.

For this follow-up experimentterm·mth, we tested the original EEGNetterm·key DL-decoder paradigm (DL) along with two new DL-based paradigms: TL and recalibration (CL). Details on the on our implementation of TL can be found in the Supplementary material .

Supplementary Material

Interpretive notes.
• Highlighted spans are tagged entities: persName (author), title (venue), placeName (place), date (year), and term (a key concept: domain / ai / method).
• Eponymous or retrospective terms (e.g. “Nash equilibrium”, “segregation”) do not appear in the original source and so are not highlighted — a deliberate choice (see Report 4).
• Some entries begin with a word in capitals. EVIDENCE CORRECTED means the finding still stands and it was our quotation that was wrong — it has been replaced. RETRACTED means the entry itself was wrong; it stays on the page, marked, with its reason, rather than being deleted. WITHDRAWN AND REPLACED means a corrected version of it appears in the entries below. Each mark carries its own reason, because the reasons differ from one entry to the next. An entry we have WITHDRAWN is removed from this page and kept in the record, with its reason. A line reading Audit and a date is a later re-reading of the entry against its whole sentence: DOUBTFUL means it was kept, and the reason says what is loose about it.
• Quotation marks inside the tagger's sentence. Where a tag is the tagger's own sentence, a phrase in quotation marks inside it is borrowed from the paper — the tagger's wording around it is not. The paper's own sentence is the evidence quote shown on the same row, so the borrowing can be checked against the thing borrowed from without leaving this page. Nothing inside quotation marks anywhere on this page is ours: if it is quoted, it is the paper's. Whose words a concept carries. A concept entry records a term the paper itself uses, so the term, the sense given for it, and its evidence are the paper's own words, quoted where the paper fixes them. This is the opposite of a sense entry in the tag table, which is the tagger's sentence about how the paper uses a term. Where a concept entry could not be grounded in the paper's words, the entry says so on its own row.
• Counts: 1 work · 1 date.
Meta-Tagging Project · record forenzo2024-deep-learning-bci-continuous-tracking.
© 2026 Shir Sivroni