Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2021 Jun 8;21(12):3961.
doi: 10.3390/s21123961.

A Single-Trial P300 Detector Based on Symbolized EEG and Autoencoded-(1D)CNN to Improve ITR Performance in BCIs

Affiliations

A Single-Trial P300 Detector Based on Symbolized EEG and Autoencoded-(1D)CNN to Improve ITR Performance in BCIs

Daniela De Venuto et al. Sensors (Basel). .

Abstract

In this paper, we propose a breakthrough single-trial P300 detector that maximizes the information translate rate (ITR) of the brain-computer interface (BCI), keeping high recognition accuracy performance. The architecture, designed to improve the portability of the algorithm, demonstrated full implementability on a dedicated embedded platform. The proposed P300 detector is based on the combination of a novel pre-processing stage based on the EEG signals symbolization and an autoencoded convolutional neural network (CNN). The proposed system acquires data from only six EEG channels; thus, it treats them with a low-complexity preprocessing stage including baseline correction, windsorizing and symbolization. The symbolized EEG signals are then sent to an autoencoder model to emphasize those temporal features that can be meaningful for the following CNN stage. This latter consists of a seven-layer CNN, including a 1D convolutional layer and three dense ones. Two datasets have been analyzed to assess the algorithm performance: one from a P300 speller application in BCI competition III data and one from self-collected data during a fluid prototype car driving experiment. Experimental results on the P300 speller dataset showed that the proposed method achieves an average ITR (on two subjects) of 16.83 bits/min, outperforming by +5.75 bits/min the state-of-the-art for this parameter. Jointly with the speed increase, the recognition performance returned disruptive results in terms of the harmonic mean of precision and recall (F1-Score), which achieve 51.78 ± 6.24%. The same method used in the prototype car driving led to an ITR of ~33 bit/min with an F1-Score of 70.00% in a single-trial P300 detection context, allowing fluid usage of the BCI for driving purposes. The realized network has been validated on an STM32L4 microcontroller target, for complexity and implementation assessment. The implementation showed an overall resource occupation of 5.57% of the total available ROM, ~3% of the available RAM, requiring less than 3.5 ms to provide the classification outcome.

Keywords: CNN; P300; autoencoder; brain–computer interface (BCI); single-trial detection.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflict of interest.

Figures

Figure 1
Figure 1
BCI stimulation protocol. (a) Snapshot of the 4 targets composing the prototype car driving odd-ball paradigm; (b) experimental setup for the prototype car test; (c) 6 × 6 character matrix for P300 speller diagram from BCI competition III; (d) row and columns indexes distribution.
Figure 2
Figure 2
Overall architecture overview.
Figure 3
Figure 3
Implementation of 1D-LBP code. (a) 40-sample EEG data subset with LBP code extraction (b) sEEG from LBP routine application on a 168 samples trial.
Figure 4
Figure 4
5-layer Autoencoder Implementation.
Figure 5
Figure 5
8-layer sequential NN implementation.
Figure 6
Figure 6
Snapshot of an in vivo proof of concept validation on the acrylic prototype car system designed in [3].
Figure 7
Figure 7
Accuracy rate on subjects A and B for Dataset 2.
Figure 8
Figure 8
ITR graph for four algorithms on Dataset 2.
Figure 9
Figure 9
Histogram plot of the number of NN model parameters and input data size (bytes) for the analyzed methods.
Figure 10
Figure 10
Validation on target flow by X-CUBE-AI.
Figure 11
Figure 11
RAM and I/O memory usage of the autoencoder stage.
Figure 12
Figure 12
RAM and I/O memory usage of the sequential NN following the autoencoder.
Figure 13
Figure 13
Precision versus recall versus F1-score bubble scatter plot for model comparison.
Figure 14
Figure 14
Precision versus recall scatter plot for LBP impact on neural network architecture comparison.

References

    1. Allison B.Z., Kübler A., Jin J. 30+ years of P300 brain–computer interfaces. Psychophysiology. 2020;57:e13569. doi: 10.1111/psyp.13569. - DOI - PubMed
    1. Li M., Li F., Pan J., Zhang D., Zhao S., Li J., Wang F. The MindGomoku: An Online P300 BCI Game Based on Bayesian Deep Learning. Sensors. 2021;21:1613. doi: 10.3390/s21051613. - DOI - PMC - PubMed
    1. De Venuto D., Annese V.F., Mezzina G. An embedded system remotely driving mechanical devices by P300 brain activity; Proceedings of the Design, Automation & Test in Europe Conference & Exhibition (DATE); Lausanne, Switzerland. 27–31 March 2017; pp. 1014–1019. - DOI
    1. Kim H., Lee M., Lee M. A BCI based smart home system combined with event-related potentials and speech imagery task; Proceedings of the 8th International Winter Conference on Brain-Computer Interface (BCI); Gangwon, Korea. 26–28 February 2020.
    1. Abibullaev B., Zollanvari A. A Systematic Deep Learning Model Selection for P300-Based Brain-Computer Interfaces. IEEE Trans. Syst. Man Cybern. Syst. 2021 doi: 10.1109/TSMC.2021.3051136. - DOI

LinkOut - more resources