Skip to main content
PLOS One logoLink to PLOS One
. 2022 Jan 14;17(1):e0262417. doi: 10.1371/journal.pone.0262417

Riemannian classification of single-trial surface EEG and sources during checkerboard and navigational images in humans

Cédric Simar 1,*, Robin Petit 1,2, Nichita Bozga 1, Axelle Leroy 3, Ana-Maria Cebolla 3, Mathieu Petieau 3, Gianluca Bontempi 1, Guy Cheron 3,4
Editor: Yury Ivanenko5
PMCID: PMC8759639  PMID: 35030232

Abstract

Objective

Different visual stimuli are classically used for triggering visual evoked potentials comprising well-defined components linked to the content of the displayed image. These evoked components result from the average of ongoing EEG signals in which additive and oscillatory mechanisms contribute to the component morphology. The evoked related potentials often resulted from a mixed situation (power variation and phase-locking) making basic and clinical interpretations difficult. Besides, the grand average methodology produced artificial constructs that do not reflect individual peculiarities. This motivated new approaches based on single-trial analysis as recently used in the brain-computer interface field.

Approach

We hypothesize that EEG signals may include specific information about the visual features of the displayed image and that such distinctive traits can be identified by state-of-the-art classification algorithms based on Riemannian geometry. The same classification algorithms are also applied to the dipole sources estimated by sLORETA.

Main results and significance

We show that our classification pipeline can effectively discriminate between the display of different visual items (Checkerboard versus 3D navigational image) in single EEG trials throughout multiple subjects. The present methodology reaches a single-trial classification accuracy of about 84% and 93% for inter-subject and intra-subject classification respectively using surface EEG. Interestingly, we note that the classification algorithms trained on sLORETA sources estimation fail to generalize among multiple subjects (63%), which may be due to either the average head model used by sLORETA or the subsequent spatial filtering failing to extract discriminative information, but reach an intra-subject classification accuracy of 82%.

1. Introduction

Since its discovery [1, 2], EEG has increasingly been used in fundamental, clinical, and industrial researches. For each of these domains, specific tools were successively developed. These tools include (i) the intracerebral recording with microelectrodes [3, 4] which allowed the recognition of the neuronal origin of EEG signals and a better understanding of the physiological mechanisms that underlie EEG activity; (ii) the grand averaging method, consisting in the average of a series of trials [5] triggered by a repetitive event (visual, auditory, somesthesic…), which opened the evoked-related potential (ERP) field studies, more recently enriched by EEG dynamics tools [6, 7] including EEG source generators [8–10]; and (iii) the use of EEG for neurofeedback and brain-computer interfaces (BCI) [11, 12]. In the past, these domains and their related tools evolved separately but the increasing accessibility of computational resources and experimental data motivated the development of transversal approaches and methodological bridges.

Visual evoked potentials (VEP) are a particular type of ERP, extracted from EEG signals recorded over the occipital cortex, that may be triggered by the display of different sorts of visual stimuli, from simple (e.g. checkerboard) [13, p., 14, 15] to more complex ones (e.g. human face, 3D or moving image) [14, 16–20]. VEP are obtained by computing the grand average of numerous trials of ongoing EEG signals (see Eq 1), resulting in well-designed and easily recognizable potentials that are subsequently used to better understand the successive processing stages of visual inputs. However, these evoked responses result from at least two different mechanisms derived from the additive or the oscillation model [8, 21–24]. For the additive model, the evoked responses result from sequential bottom-up processing of sensory inputs. This produces a specific sequence of monophasic evoked component peaks that are originally embedded in spontaneous EEG background. This latter EEG activity is considered as noise and ruled out by the subsequent averaging. For the oscillatory model, the evoked potential might result from phase-locking of the ongoing EEG rhythms within specific frequency bands. This EEG phase reorganization can be measured by the inter-trials coherency (ITC), as a response to the external stimulation. On the fundamental level, this measure is interesting only when there are no simultaneous variations (increase or decrease) of the related EEG powers. In this case, we are in presence of a pure phase-locking and the evoked responses are only due to a reorganization of the ongoing EEG oscillation. For example, this is the case of the N30 component of the somatosensory evoked potential for which 70% of amplitude is due to pure phase locking [25]. The fact that, in the majority of ERP studies, a mixed situation (power variation and phase-locking) occurs, makes basic and clinical interpretations difficult. Another disadvantage originates from the fact that, in the majority of evoked potentials studies, a grand average among a cohort of subjects is performed. Although the grand average method allows appropriate statistics [26] and practical conclusions about basic or clinical outcomes, it masks the individual peculiarities which may be critical from a clinical point of view. This problem is particularly crucial when diagnosis tools are based on grand average evoked potentials [27]. Similarly, the application of inverse modeling [10, 28] applied to grand average data provides very efficient recognition of the ERP generators [19, 29–31] but does not facilitate the determination of individual characteristics. In the face of these shortcomings of classical ERP analysis, the introduction of machine learning tools based on different classification pipelines such as Riemannian geometry may allow better exploitation of single trials and individual characteristics in the evoked potentials domain [32–41]. The relevance of considering single-trial analyses with neuroimaging data is also discussed in [42].

We hypothesize that the aforementioned ERP components of the EEG signals contain discriminative information characterizing the visual features of the image that can be identified, in single trials, by a state-of-the-art classification pipeline based on the canonical Riemannian geometry of covariance matrices. The main contribution of this study with respect to the state-of-the-art is the proposition of a methodological framework demonstrating that it is possible to gain insights into the classical evoked potentials fields by the application of recent BCI classification techniques [36], allowing the discrimination of visual evoked responses in a single-trial approach across multiple subjects, as opposed to the classical grand average approach based solely on mean EEG signals. For this, we use a classification pipeline based on xDAWN spatial filtering [33] and Riemannian geometry applied to single-trial EEG data recorded during a visual stimulation. Riemannian geometry classifiers have received growing attention in the last few years [43], particularly due to their first-class performance in international Brain-Computer Interface (BCI) competitions [44]. Besides, special attention is given to the potential advantage of introducing inverse modeling to the Riemannian classification pipeline. Furthermore, in this study, we compare the discriminative power of our framework when trained on each subject separately (hereunder referred to as intra-subject classification) or on all subjects indistinctively (hereunder referred to as inter-subject classification). Yet, the latter is paramount to estimate how the framework classification model can generalize to unseen subjects.

We show that our present methodology can effectively discriminate between single-trial EEG signals from different visual items presentation (Checkerboard versus 3D navigational image) with a classification accuracy of about 84% and 93% for the inter-subject and intra-subject condition respectively. These successful results motivate us to introduce the “Riemannian Single-Trial Analysis” (RSTA) approach, which interest will be further discussed in comparison to the Grand Average Analysis approach commonly used in neuroscience. Additionally, a comparative ERP and RSTA analysis on the grey images displayed between visual stimuli was performed and presented as S1 File in order to show that these images, typically considered neutral, actually carry discriminative information about the preceding visual stimulus presented to the subject.

2. Materials and methods

2.1 Participants

The data was collected from 15 healthy volunteers. All participants were right-handed, had no neurological condition, and normal vision, including 3D vision. Each participant gave informed consent to the experimental procedures. All experimental protocols were approved by the Ethic comity of Université Libre de Bruxelles, CHU Brugmann, and conducted in conformity with the European Union directive 2001/20/EC of the European Parliament.

2.2 Experimental paradigms

Participants were watching the EGA screen of an IBM Laptop (screen of 22.0 cm height, 30.3 cm width; refresh rate of 75 Hz, resolution of 800 x 600 pixels) centered on the line of gaze at a distance of 30 cm from the eyes through a cylindrical tunnel adapted to remove any external visual interferences, as previously used by our group [19]. We presented a sequence of checkerboards comprising 96 images intermixed with 96 grey images and a sequence of 3D-Tunnel presentations containing 192 images from four randomized corridor orientations (up, down, right, and left) giving an implicit illusion of virtual navigation intermixed with grey images (Fig 1). There was no break between recording sessions of Checkerboard and 3D-Tunnel patterns. The first recording session, either displaying Checkerboard or 3D-Tunnel patterns, was random and alternated between subjects.

Fig 1.

Fig 1

(A, B) Overview of the two different stimulation paradigms. A: paradigm 1, Checkerboard images (upper line) followed by grey screens. B: paradigm 2, 3D-Tunnels randomly presented in the 4 orientations (up, down, left, right), followed each time by a grey screen.

2.3 Stimulation and recording parameters

All participants performed passive observation of the aforementioned visual stimuli. Within one recording run, either 96 Checkerboard patterns or 192 3D-Tunnels were presented to one subject, alternately with a uniform grey image (Fig 1A and 1B). An identical stimulation rate (1.0 Hz) was used in both conditions. Checkerboard stimulus consisted of black and white rectangles (4.5 x 4.0 cm) alternating 96 times with the grey page, which corresponded to full-contrast black and white squares (black field 15 lx; white field 101 lx).

The grey page luminance was about 43 lx. The 3D-Tunnel was non-stereoscopic but included perspective cues generated by the OpenGL graphic libraries [45] (Fig 1A and 1B). It represented a tunnel with stone-textured walls (stone dimension 1.25 cm2 at the periphery to 0.15 cm2 close to the center) in the form of a pipe with a constant circular cross-section. These different stimuli with a pattern contrast of about 50% display subtended 7°(w) × 5° (h) at the eye. Thus, both foveal and parafoveal retinal fields were stimulated. The luminance of the 3D-Tunnel evolved from 39 lx at the periphery to 74 lx close to the center. The presentation of each visual item (presentation time of 500 ms) was immediately followed by the presentation of a uniform grey image (also for 500 ms).

2.4 EEG data treatment

EEG data were recorded with an active-shield cap using 128 Ag / AgCl sintered ring electrodes and shielded co-axial cables (5–10 electrode system placements) comfortably adjusted to the participant’s head. All recordings were referenced to the left earlobe electrode. Vertical and horizontal eye movements (EOG) were recorded bipolarly. All electrode impedances were maintained below 5kΩ. Scalp potentials were amplified by ANT DC-amplifiers (ANT neuro system, the Netherlands) and digitized at a rate of 2.048 Hz using a resolution of 16 bit (range 11 mV). A band-pass filter from DC to 256 Hz and a notch filter (47.5–52.5 Hz) were also applied. Participants were asked to avoid eye blinks and to focus on the green dot presented in the middle of the screen to reduce eye artifacts. In order to verify the effectiveness of the eye fixation requirement, the number of eye movements was recorded throughout the different visual stimulation periods. For this, saccades including small saccades of about 0.8° and other eye movements were automatically selected by a Matlab (MathWorks Inc) script using eye velocity threshold. This selection was then verified by visual inspection. For all subjects, the fixation requirement was respected. Only 0.19 ± 0.09 saccades per second were recorded, irrespective of the type of image presented to the participant. Off-line data treatment and statistics were performed using EEGLAB software [6]. Artifactual portions of the EEG data were rejected after appropriate independent component analysis (ICA). Eventually, a zero-phase IIR bandpass filter with cut-off frequencies at 1 Hz and 45 Hz was applied and epochs containing samples from 0 ms before and 500 ms after the stimulus were extracted, which encompasses most of the information of the early visual potential components [16]. The averaged signal value of the pre-stimulus interval from -500 ms to 0 ms was divided from the epochs for baseline correction. More details about EEG data processing can be found in our previous study [19].

Besides, in order to facilitate future applications in clinical routines, only the following 12 electrodes uniformly distributed on the scalp have been used for classification: F3, Fz, F4, C3, Cz, C4, P3, Pz, P4, O1, Oz, and O2.

As the 3D-Tunnel can be presented in 4 different orientations, and as a decent amount of trials was required for each of them [31], the dataset originally presented an unbalanced number of Checkerboard and 3D-Tunnel trials. Thus, in order to avoid any bias in the classification results, for each subject separately, we applied a randomized undersampling, i.e. randomly removing trials from the majority class (3D-Tunnel), to obtain an equal number of Checkerboard and 3D-Tunnel trials.

2.5 XDAWN filtering and covariances

As described in Barachant (2014) [46], the xDAWN algorithm estimates a chosen number of spatial filters that enhance the signal-to-noise ratio of the evoked potentials for each class.

Let E∈N denote the number of electrodes, Xi∈RE×T denote the trial of index i with 1 ≤ i ≤ N(k), T the number of time samples, and N(k) the number of trials from class k. Let Pk∈RE×T denote the grand average of class k, or equivalently the VEP of the visual stimulus corresponding to class k, defined as:

Pk=1Nk∑i=0NkXi (1)

Let X denote the matrix representing the entire signal, obtained by concatenating all the trials from the two classes.

Each spatial filter is a vector w∈RE×1 and is estimated to increase the signal-to-noise ratio of its related class. In other words, for class k we have:

w*k=argmaxww⊤PkPk⊤ww⊤XX⊤w (2)

These filters can be found by maximizing a generalized Rayleigh quotient, i.e. by solving the generalized eigenvalue problem on the matrices PkPk⊤ and XXT. Only the filters associated with the F highest eigenvalues are selected (F being the parameterizable number of xDAWN spatial filters).

Let Wk∈RE×F denote the selected spatial filters for class k, and W=W0,W1∈RE×2F the aggregation of the spatial filters. The spatially filtered data is then defined by Zi∈RE×2F:

Zi=W⊤Xi (3)

We define a new matrix Z~i∈R4F×T by concatenating the filtered averaged trials from both classes (0 and 1) with the spatially filtered data as follows:

Z~i=W0⊤P0W1⊤P1Zi (4)

Finally, we can estimate the covariance matrix Σi∈R4F×4F of Z~i:

Σi=1NZ~iZ~iT (5)

In particular, the shape of covariance matrices estimated after filtering the data is 4F × 4F. In order to main covariance matrices of shape 12 × 12, we fixed the number of filters F = 3.

In practice, ∑i is computed using a well-conditioned estimator such as Ledoit-Wolf [47] or OAS [48].

2.6 Tangent space mapping

In all our classification pipelines, we apply a tangent space mapping operator to the previously estimated covariance matrices and use the mapped result as the input to a logistic regression classifier.

Covariance matrices are symmetric positive definite (SPD) and therefore do not lie in a vector space but in a convex cone [49] which has a Riemannian manifold structure, i.e. for each point of the manifold, there is an associated tangent space where a dot product is defined. In particular, we consider the tangent space at the point ∑ref which corresponds to the geometric mean of the whole set of covariance matrices. More specifically, ∑ref is the point minimizing the average Fréchet distance to the set of covariance matrices. The choice of ∑ref is motivated by the observation from Tuzel et al., [50] that the geometric mean is the point where the mapping onto the tangent space leads to the best local approximation of the manifold.

Tangent space mapping is the action of projecting the SPD matrices from the manifold onto the associated tangent space. In the tangent space, the n × n covariance matrices will be represented by a vector of dimension n(n + 1)/2. This projection operator at the reference point ∑ref is defined by Barachant et al., [51] as the upper triangular matrix of 21E1E⊤-IEΦΣ where Φ(∑) is defined as:

ΦΣ=logΣrefΣ=Σref1/2logΣref-1/2 Σ Σref-1/2Σref1/2 (6)

where logΣrefΣ denotes the matrix logarithm of ∑ with respect to ∑ref.

2.7 Source analysis

The objective of source analysis is to improve spatial resolution, increase SNR, and detect subcortical activities not directly observable on scalp EEG. In this work, we estimated cortical and subcortical sources using the non-parametric inverse method Standardized Low Resolution Electromagnetic Tomography (sLORETA) [9, 28]. This work used the sLORETA estimation implemented in the MNE Python library [52] and which is formally defined as follows. Let Ĵ(α)∈R3M×T be the source estimation matrix:

Ĵα=TαX≔K⊤KK⊤+αI-1X,

where E∈N is the number of electrodes at the scalp surface, M∈N is the number of sources within the brain volume, X∈RE×T is the EEG signal matrix, K∈RE×3M is the lead field matrix and α > 0 is a regularization parameter.

Consider ΣĴα, the covariance matrix of Ĵα defined as:

ΣĴα=ΣTαX=TαΣXTα⊤=K⊤KK⊤+αI-1K.

ΣĴα is a 3M × 3M square matrix with M diagonal blocks of shape 3 × 3 denoted by ∑1, …, ∑M. The normalized sLORETA source estimation of the voxel ℓ is therefore given by:

ĴsLORETAαl≔Σl-1/2Ĵαl=Σl-1/2TαlX∈R3×T

where T(α)ℓ is the ℓth 3 × E row block of T(α).

2.8 Classification pipelines

This section describes the classification pipelines illustrated in Fig 2. The accuracy of each inter-subject pipeline was estimated using a Leave-One-Subject-Out Cross-Validation (LOSO-CV) where each subject out of the 15 has been used for the validation of the classification algorithm trained using the remaining 14 subjects. Similarly, the accuracy of each intra-subject pipeline was estimated using a 4-Fold Cross-Validation where, for each subject, a quarter of trials were used for validation of the classification algorithm using the remaining three quarters. xDAWN spatial filters were estimated on the training set and applied to the validation set.

Fig 2. Flow chart of the classification pipeline with and without inverse modeling.

Fig 2

An asterisk in the upper-right corner denotes that the pipeline step is supervised.

The classification pipeline of both inter-subject and intra-subject EEG signals from the 12 electrodes of 3D-Tunnel versus Checkerboard visual stimuli without inverse modeling includes (i) xDAWN spatial filtering operating on the EEG signals from all 12 electrodes, (ii) the estimation of covariance matrices, (iii) the projection onto the tangent space (TS) and (iv) a logistic regression (LR) classifier.

The classification pipeline of both inter-subject and intra-subject EEG signals of 3D-Tunnel versus Checkerboard with inverse modeling includes (i) the estimation of cortical sources based on EEG signals using the Desikan-Killiany atlas [53, 54], (ii) the averaging of cortical sources activations per atlas region, (iii) xDAWN spatial filtering operating on the 75 averaged sources activations, (iv) the estimation of covariance matrices, (v) the projection onto the tangent space (TS) and (vi) a logistic regression (LR) classifier.

The results of these classification pipelines were reported using the following metrics: ROC curves, Area Under the ROC Curve (AUC), Precision-Recall curves, Average Precision (AP), confusion matrices, and Matthews correlation coefficient (MCC).

The main Python libraries used for the implementation of these pipelines are MNE [52, 55], NumPy [56], SciPy [57], and scikit-learn [58].

3. Results

3.1 ERP analysis

Fig 3 illustrates the grand average ERP differences observed between the different visual stimulations, highlighting the main characteristics of the early evoked components at around 100 ms (P100) for the Checkerboard (thick blue line) or the 3D-Tunnel (thick red line) presentation. As previously observed by our group [19], the P100 component evoked by the Checkerboard was of higher amplitude than the P100 evoked by the 3D-Tunnel, which presented a biphasic configuration during the time of the monophasic classical P100 related to the Checkerboard. These earlier evoked components were followed by a P220 in the EEG signals of 3D-Tunnels and Checkerboards. The grand average signal of each class k refers to the row corresponding to the Oz electrode of the matrix P(k) as defined in Eq 1.

Fig 3.

Fig 3

(A) Superimposition of EEG signals recorded on the occipital area (electrode Oz) from all the single trials of Tunnels and Checkerboards stimuli of one representative subject on which the grand average signals corresponding to the Tunnel (red lines, n = 192) and the Checkerboard (blue lines, n = 96) stimuli are superimposed. (B) Superimposition of EEG signals recorded on electrode Oz from 100 randomly selected trials of Tunnel stimuli and 100 randomly selected trials of Checkerboard stimuli throughout all the subjects on which the grand average signals of all trials and all subjects corresponding to the Tunnel stimuli (red lines, n = 2880 (192 trials x 15 subjects)) and the Checkerboard (blue lines, n = 1440 (96 trials x 15 subjects)) are superimposed.

When confronted with trials coming from a single subject, differences can be visible by human visual inspection. For example, in Fig 3A we can observe differences between the single trials of Tunnels and Checkerboards between 100 and 200 ms, with the Tunnels having a noticeably lower amplitude in the selected time limits. In contrast, the discrimination by visual inspection between the two stimuli was not possible anymore when randomly chosen single trials originating from all subjects were superimposed (Fig 3B). This figure illustrates the fact that the discrimination was not possible by human visual inspection and is well representative of the difficulty of the classification task. Therefore, we may expect higher accuracies from a classifier trained and evaluated with intra-subject EEG signals compared to inter-subject EEG signals.

3.2 Classification performance

3.2.1 The effect of the number and position of the electrodes

Prior to the main classification task, we first determined if sufficient discriminative information existed with regards to the number and position of the 12 arbitrarily selected electrodes. The number of electrodes was empirically validated by quantifying their impact on the classification accuracy using a forward feature selection method. For this, we computed the distribution of classification accuracy with respect to the number of electrodes (Fig 4A) using a LOSO Cross-Validation. As a result, Fig 4A illustrates that the classification score for the Tunnel vs. Checkerboard reaches a global maximum using 9 electrodes. Considering that the positions of the 12 electrodes are uniformly distributed on the scalp and that the cross-validated classification accuracy reached a plateau before the 12th electrode, we can reasonably conclude that adding EEG signals from more electrodes will not substantially increase the amount of non-artifactual information.

Fig 4. Distribution of the Tunnel vs Checkerboard inter-subject cross-validated classification accuracy without inverse modeling with respect to the number of electrodes (A) and by scalp region (B) using only 3 electrodes from each locus (O1, O2, and Oz for the occipital locus, P3, P4, and Pz for the parietal locus, C3, C4, and Cz for the central locus, F3, F4 and Fz for the frontal locus).

Fig 4

Furthermore, in order to test which scalp region contains the most discriminative information, we used a triad of electrodes corresponding to the occipital, parietal, central, and frontal regions on which the classification pipeline was applied. Fig 4B illustrates this result for the Tunnel vs Checkerboard classification. The classification pipeline trained on the single trials of all subjects indistinctively reaches the best score for the occipital electrodes (75%), followed by the parietal electrodes (64%), and followed by the central and frontal electrodes (respectively 56% and 59%).

3.2.2 Classification without inverse modeling

The main results of the classifications pipelines were illustrated by the ROC curve (along with the AUC), the Precision-Recall curve (along with the Average Precision), and the confusion matrix. Fig 5 illustrates these performance metrics computed on the results from the inter-subject and intra-subject classification pipelines without inverse modeling. The ROC curve for the intra-subject discrimination is more arched than the curve for the inter-subject discrimination (Fig 5A), which is confirmed by the higher AUC of the first (0.98) compared to the latter (0.92). These results were further validated by the Precision-Recall curves (Fig 5B). Besides, the confusion matrices (Fig 5C) show a balanced recognition accuracy for Tunnels and Checkerboards, although, as expected, both accuracies are significantly higher for the intra-subject classification (Fig 5C right) than the inter-subject classification (Fig 5C left). The inter-subject and intra-subject classifiers without inverse modeling reached an accuracy of 84% and 93% respectively, as well as a Matthews correlation coefficient (MCC) of 0.668 and 0.860 respectively.

Fig 5.

Fig 5

ROC (A) and Precision-Recall (B) curves for the intra-subject and inter-subject classification of Tunnel vs Checkerboard without inverse modeling. (C) Confusion matrices for the inter-subject (left) and intra-subject (right) classification of Tunnel vs Checkerboard without inverse modeling.

3.2.3 Classification with inverse modeling

When working with inverse modeling on the discrimination of Tunnel vs Checkerboard, the inter-subject and intra-subject classification pipelines performed very differently on the same dataset. When applied to inter-subject data, the classification pipeline reached an accuracy of 63%. However, the intra-subject approach has yielded significantly better results, reaching an accuracy of 82%. Similarly to section 3.2.2, the major differences in accuracy between the two classification tasks are illustrated in Fig 6 using ROC curves and their respective AUC (Fig 6A), Precision-Recall curves (Fig 6B) as well as confusion matrices (Fig 6C). Additionally, the inter-subject and intra-subject classifiers with inverse modeling reached a MCC of 0.26 and 0.63 respectively.

Fig 6.

Fig 6

ROC (A) and Precision-Recall (B) curves for the intra-subject and inter-subject classification of Tunnel vs Checkerboard with inverse modeling. (C) Confusion matrices for the inter-subject (left) and intra-subject (right) classification of Tunnel vs Checkerboard with inverse modeling.

We further explored the intra-subject classification by exploring the sources activations of a representative subject around 140 and 220 ms. As illustrated in Fig 7A and 7B, sources activations seem to be higher during the visualization of the Tunnels than that of the Checkerboards. For the Tunnel, two main zones were highlighted (yellow), one in the occipital cortex and the other in the sensory-motor areas extending towards the frontal cortex. For the Checkerboard, the occipital region was also identified as well as the frontal cortex but less intensely. Although some subjects exhibited a less contrasting pattern as illustrated in Fig 7D and 7E, the differences remain in favor of higher cortical contribution for the Tunnel (occipital and frontal zones identified) while only the occipital region was identified for the Checkerboard. Fig 7C and 7F represents the activations of labeled cortical source areas as defined in the Desikan-Killiany atlas corresponding to the 3D brain visualizations from Fig 7A, 7B, 7D and 7E respectively.

Fig 7. Lateral view of the mean sources activations normalized estimations (A, B, D, and E) and the corresponding matrix representation of the atlas regions (C and F) labeled as defined in the Desikan-Killiany atlas at two different times in a single representative subject; 140 ms (A and B) and 220 ms (D and E) after the stimuli, during the visualization of Tunnels (A and D) and Checkerboards (B and E).

Fig 7

Sources activations are averaged from 10 milliseconds before to 10 milliseconds after the N140 (140 ms) and the P220 (220 ms) respectively.

3.2.4 Summary of results

The boxplots in Fig 8 summarizes the comparative analysis of the classification pipelines with respect to the intra-subject or inter-subject conditions. The classification results for the intra-subject and inter-subject classification pipelines were computed using a 4-fold cross-validation and a Leave-One-Subject-Out Cross-Validation respectively. We observed that the accuracy for each classification task was significantly higher for the intra-subject compared to the inter-subject condition (p < 0.001). Additionally, we observed a statistical difference between the classification accuracy of the Tunnel vs Checkerboard with and without inverse modeling in the inter-subject condition (p < 0.001) as well as in the intra-subject condition (p < 0.001). These statistical comparisons were computed using a Mann–Whitney U test.

Fig 8. Summary of the accuracies reached by the inter-subject and intra-subject classification pipelines based on EEG signals and (sub)cortical sources of Tunnel and Checkerboard visual stimuli.

Fig 8

3.2.5 Comparison of classification pipelines

As suggested by a reviewer, after the comparative analysis in section 2.8, we compare here the classification accuracy of our approach with other classification pipelines using the same cross-validation methodology. The purposes of this comparison are to (i) quantify the benefits of applying xDAWN filtering and projecting covariance matrices onto the tangent space, and (ii) establish the robustness and generalizability of our approach with respect to other classification pipelines.

To that end, Fig 9 compares the mean cross-validated accuracy, with respect to the intra-subject or inter-subject conditions, computed on the following classification pipelines with and without inverse modelling:

Fig 9. Comparison of the mean accuracies reached by different inter-subject and intra-subject classification pipelines based on EEG signals and (sub)cortical sources.

Fig 9

The asterisk designates the classification pipeline used in our approach.

  • LR on vectorized EEG signals/sources activations: the EEG signals or cortical sources activations are unrolled into a 1-dimensional vector and classified using a logistic regression (LR).

  • Covariance matrices and LR: covariance matrices of EEG signals or cortical sources are estimated, unrolled into a 1-dimensional vector and classified using a logistic regression.

  • Covariance matrices, TS and LR: covariance matrices of EEG signals or cortical sources are estimated, projected onto the tangent space and classified using a logistic regression.

  • xDAWN covariance and LR: covariance matrices are estimated from the result of xDAWN spatial filtering applied on EEG signals or cortical sources, unrolled into a 1-dimensional vector and classified using a logistic regression.

  • CSP and LR: the output of the Common Spatial Patterns (CSP) algorithm [59, 60] applied on EEG signals or cortical sources is classified using a logistic regression.

  • xDAWN covariance, TS and LR: covariance matrices are estimated from the result of xDAWN spatial filtering applied on EEG signals or cortical sources, projected onto the tangent space and classified using a logistic regression.

The comparison of classification results from these different pipelines illustrated in Fig 9 highlights several interesting patterns. Firstly, we can observe that the classification pipeline used in our approach outperforms the other pipelines in both intra-subject and inter-subject conditions, using either EEG signals or cortical sources. Secondly, we observe that the use of xDAWN spatial filtering significantly improves the classification accuracy in the inter-subject condition (p < 0.001), i.e. inter-subject generalizability, but not in the intra-subject condition (p > 0.001). Whereas, conversely, the use of the projection onto the tangent space significantly improves the classification accuracy in the intra-subject condition (p < 0.001) but not in the inter-subject condition (p > 0.001), although this latter absence of accuracy improvement in the inter-subject condition may also be explained by the difficulty to discriminate inter-subject EEG signals and cortical sources without xDAWN spatial filtering for this task. Lastly, we observe that the classification pipeline used in our approach significantly outperforms the CSP algorithm in the inter-subject condition (p < 0.001) but not in the intra-subject condition (p > 0.001). These statistical comparisons were computed using a Mann–Whitney U test.

4. Discussion

In this work, we leveraged the BCI methodology and related mathematical tools in order to better analyze the EEG signals commonly summarized and interpreted by the analysis of the evoked potentials components. Since the renewing of the evoked potentials interpretation following the oscillation models by Makeig et al., [9] and the introduction of EEGLab software [6], the dynamic aspects of the event-related potentials (ERP) contributed to better access to the underlying neurophysiological mechanisms sustaining the ERP components. At the same time, the development of the BCI domain [12, 61] necessitated online procedures in order to extract pertinent neural information from noisy environments. As BCI procedures are specifically devoted to work with only one subject at a time, the BCI tools are well appropriate to decipher individual EEG-evoked responses and to extend our understanding beyond grand average representations of the ERP.

We show that it is possible to effectively discriminate between the display of different visual items (Checkerboard versus 3D navigational image) in single related EEG signals corresponding to one subject. Besides, the present methodology allows us to demonstrate that the single-trial discrimination based on Riemannian classification pipelines can be generalized to multiple subjects constituting a single batch of single trials. In other words, we may here introduce the “Riemannian Single-Trial Analysis” (RSTA) approach, as opposed to the Grand Average Analysis (GAA) approach commonly used in clinical neuroscience. Although the latter is useful for highlighting statistically significant differences between subject populations, GAA is prone to capture artificial constructs due to individual peculiarities. Indeed, it is possible that averaged evoked components may be sign inverted or phase jittered depending on the subjects included in the grand average. Therefore, these statistically significant differences may be spurious and may not represent the underlying physiological characteristics of the observed evoked potential resulting from the GAA. Besides, a statistical difference induced by the GAA may not necessarily imply physiological plausibility nor genuine discriminative property that should be the basis of a clinical application. As opposed to the GAA, the objective of the RSTA approach is to allow, using interpretability techniques on Riemannian classification pipelines, the identification and extraction of subject-, task-, and trial-specific underlying discriminative patterns that can unlock a deeper understanding of the fundamental neurophysiological mechanisms.

It was shown in previous studies [62–66] that the single-trial configuration was able to discriminate cognitive evoked components, allowing the possibility to detect the intermittency of cognitive events during repetitive stimulation. Although the evoked components are not visually distinguishable in the present single-trial configuration, as displayed in Fig 3B, we show that our classification pipeline based on covariance matrices and Riemannian geometry is able to discriminate between the presentation of the two displays, reaching a single-trial classification accuracy of about 84% and 93% for inter-subject and intra-subject classification respectively.

Despite the methodological difference about the paradigm and the type of evoked potentials or brain signal recordings, the results of the present classification pipelines based on Riemannian geometry corroborate the single-trial classification performances of similar Riemannian approaches applied on objects familiarity recognition [67], motor imagery [68, 69], P300 BCI [70] and EEG respiratory states [71].

Using inverse modeling based on swLORETA [10], we previously showed that, whatever the presented image (Checkerboard or Tunnel), the same generators of the P100 were located in the occipital cortex (BA18 and BA19) and the right inferior temporal cortex (BA20). However, the left fusiform cortex (BA37) was additionally recruited only for the Checkerboard but not for the 3D-Tunnel. In the present study, in spite of the fact that a limited number of electrodes (n = 12) was used, inverse modeling based on sLORETA mainly reproduces these results using the Desikan-Killiany atlas [53, 54] but the inter-subject classification pipeline based on sLORETA sources estimations reaches significantly lower accuracy when using estimated sources (63%) rather than EEG signals (84%). In contrast, the same classification method applied to intra-subject EEG reaches an accuracy and an AUC of 82% and 0.92 respectively. This performance is comparable to the intra-subject classification performances based on EEG signals (93%). The lower performance of inter-subject classification using sLORETA sources estimations may result from either (i) the morphological differences between the subject-specific cortical dipoles orientation and the average head model used to compute the sLORETA lead field matrix that may have blurred the signal differentiation between the two images or (ii) the subsequent xDAWN spatial filtering not being able to extract discriminative information that may be located in different, subject-specific, cortical atlas regions. Conversely, this problem does not occur when only one subject is considered. This indicates in some way the limit of the sensitivity of the present method. However, the present study shows that such Riemannian classification pipelines allow, on the one hand, scalp EEG signal discrimination throughout multiple subjects which could be used in an object visual recognition BCI and, on the other hand, EEG neural generators discrimination in a single subject which could be used in a clinical context. This latter aspect is in line with the present trend to favor the decoding of the individual brain activity [72, 73] which outperforms the use of the grand average from multiple subjects.

4.1 Limitations

There are several limitations to the current study. Firstly, the limited number of electrodes (n = 12) used, to favor clinical and BCI applications, may have reduced the precision of the 3D inverse modeling estimation performed with sLORETA and may thus have impacted the related classification performance. Secondly, although the number of subjects (n = 15) was limited compared to other EEG studies, the dataset, consisting of the number of trials per subject times the number of subjects, was considered sufficient to obtain meaningful inter-subject classification results using the LOSO-cross-validated RSTA approach. Nevertheless, further studies with a larger number of participants will be necessary in order to generalize to population. Thirdly, we are also aware that the presented results are directed towards the global aspect of the visual image, though the two different images presented different physical characteristics (bottom-up features such as luminescence and contrast) and different representational contents (top-down influence). The distinctive influence of these physical and neuro-cognitive factors on the Riemannian classification pipelines will be further investigated. Future research could also be oriented towards new stimulation paradigms in order to differentiate EEG signals evoked by images with similar physical characteristics but different representational contents. Besides, in order to better understand the fundamental underlying neurophysiological mechanisms, future research may also be dedicated to quantifying the importance of the discriminative patterns identified by the RSTA approach.

5. Conclusion

This work shows that classification pipelines based on Riemannian geometry can effectively discriminate between the display of different visual items (Checkerboard versus 3D navigational image) in single EEG trials. The presented methodology reaches a single-trial classification accuracy of about 84% and 93% for inter-subject and intra-subject classification respectively using surface EEG, which was shown to be significantly better than the accuracy of other state-of-the-art pipelines. Furthermore, the classification algorithms trained on sLORETA estimation fail to generalize among multiple subjects (63% accuracy) but reach an intra-subject classification accuracy of 82% which allows future functional links between neuro-imagery and EEG dynamics discrimination. In this context, the development of new advanced mathematical frameworks will be paramount to develop a deeper understanding of the underlying communicational dynamics inside the neural network topography upon which the Riemannian classification pipeline performances emerged.

Supporting information

S1 File

(DOCX)

Acknowledgments

The authors thank the fund Leibu and the Brain & Society foundation for their support as well as T. D’Angelo, M. Dufief, E. Hortmanns, E. Pecoraro, and E. Toussaint for expert technical assistance.

Data Availability

The anonymized dataset necessary to replicate the study’s findings reported in this article, was made publicly available without restriction at https://doi.org/10.6084/m9.figshare.14997735.v1. The dataset consists of covariance matrices of shape 12 X 12, estimated on the output of the xDAWN filtering algorithm applied to either EEG signals or mean cortical sources activations of each trial of each subject. The Python source files implementing the classification pipelines and generating the figures published in this article were also made publicly available without restriction at https://github.com/cedricsimar/TC-EEG-RSTA.

Funding Statement

The authors thank the fund Leibu and the Brain & Society foundation for their support as well as T. D’Angelo, M. Dufief, E. Hortmanns, E. Pecoraro, and E. Toussaint for expert technical assistance.

References

  • 1.Berger H., “Über das Elektrenkephalogramm des Menschen,” Arch. Für Psychiatr. Nervenkrankh., vol. 87, no. 1, pp. 527–570, Dec. 1929, doi: 10.1007/BF01797193 [DOI] [Google Scholar]
  • 2.ADRIAN E. D. and MATTHEWS B. H. C., “THE BERGER RHYTHM: POTENTIAL CHANGES FROM THE OCCIPITAL LOBES IN MAN,” Brain, vol. 57, no. 4, pp. 355–385, Dec. 1934, doi: 10.1093/brain/57.4.355 [DOI] [PubMed] [Google Scholar]
  • 3.Mountcastle V. B., “Modality and topographic properties of single neurons of cat’s somatic sensory cortex,” J. Neurophysiol., vol. 20, no. 4, pp. 408–434, Jul. 1957, doi: 10.1152/jn.1957.20.4.408 [DOI] [PubMed] [Google Scholar]
  • 4.Poulet J. F. A. and Petersen C. C. H., “Internal brain state regulates membrane potential synchrony in barrel cortex of behaving mice,” Nature, vol. 454, no. 7206, pp. 881–885, Aug. 2008, doi: 10.1038/nature07150 [DOI] [PubMed] [Google Scholar]
  • 5.Dawson G. D., “A summation technique for the detection of small evoked potentials,” Electroencephalogr. Clin. Neurophysiol., vol. 6, pp. 65–84, Jan. 1954, doi: 10.1016/0013-4694(54)90007-3 [DOI] [PubMed] [Google Scholar]
  • 6.Delorme A. and Makeig S., “EEGLAB: an open source toolbox for analysis of single-trial EEG dynamics including independent component analysis,” J. Neurosci. Methods, vol. 134, no. 1, pp. 9–21, Mar. 2004, doi: 10.1016/j.jneumeth.2003.10.009 [DOI] [PubMed] [Google Scholar]
  • 7.Pernet C. R., Martinez-Cancino R., Truong D., Makeig S., and Delorme A., “From BIDS-Formatted EEG Data to Sensor-Space Group Results: A Fully Reproducible Workflow With EEGLAB and LIMO EEG,” Front. Neurosci., vol. 14, 2021, doi: 10.3389/fnins.2020.610388 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Makeig S., et al., “Dynamic brain sources of visual evoked responses,” Science, vol. 295, no. 5555, pp. 690–694, Jan. 2002, doi: 10.1126/science.1066168 [DOI] [PubMed] [Google Scholar]
  • 9.Pascual-Marqui R. D., Michel C. M., and Lehmann D., “Low resolution electromagnetic tomography: a new method for localizing electrical activity in the brain,” Int. J. Psychophysiol. Off. J. Int. Organ. Psychophysiol., vol. 18, no. 1, pp. 49–65, Oct. 1994, doi: 10.1016/0167-8760(84)90014-x [DOI] [PubMed] [Google Scholar]
  • 10.Palmero-Soler E., Dolan K., Hadamschek V., and Tass P. A., “swLORETA: a novel approach to robust source localization and synchronization tomography,” Phys. Med. Biol., vol. 52, no. 7, pp. 1783–1800, Apr. 2007, doi: 10.1088/0031-9155/52/7/002 [DOI] [PubMed] [Google Scholar]
  • 11.Fetz E. E., “Operant conditioning of cortical unit activity,” Science, vol. 163, no. 3870, pp. 955–958, Feb. 1969, doi: 10.1126/science.163.3870.955 [DOI] [PubMed] [Google Scholar]
  • 12.Wolpaw J. R., Birbaumer N., McFarland D. J., Pfurtscheller G., and Vaughan T. M., “Brain-computer interfaces for communication and control,” Clin. Neurophysiol. Off. J. Int. Fed. Clin. Neurophysiol., vol. 113, no. 6, pp. 767–791, Jun. 2002, doi: 10.1016/s1388-2457(02)00057-3 [DOI] [PubMed] [Google Scholar]
  • 13.Kurita-Tashima S., Tobimatsu S., Nakayama-Hiromatsu M., and Kato M., “Effect of check size on the pattern reversal visual evoked potential,” Electroencephalogr. Clin. Neurophysiol., vol. 80, no. 3, pp. 161–166, Jun. 1991, doi: 10.1016/0168-5597(91)90118-h [DOI] [PubMed] [Google Scholar]
  • 14.Cheron G., et al., “Gravity influences top-down signals in visual processing,” PloS One, vol. 9, no. 1, p. e82371, 2014, doi: 10.1371/journal.pone.0082371 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Shigihara Y., Hoshi H., and Zeki S., “Early visual cortical responses produced by checkerboard pattern stimulation,” NeuroImage, vol. 134, pp. 532–539, January 2016, doi: 10.1016/j.neuroimage.2016.03.078 [DOI] [PubMed] [Google Scholar]
  • 16.Di Russo F., Martínez A., Sereno M. I., Pitzalis S., and Hillyard S. A., “Cortical sources of the early components of the visual evoked potential,” Hum. Brain Mapp., vol. 15, no. 2, pp. 95–111, Feb. 2002. doi: 10.1002/hbm.10010 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Rossion B. and Caharel S., “ERP evidence for the speed of face categorization in the human brain: Disentangling the contribution of low-level visual cues from face perception,” Vision Res., vol. 51, no. 12, pp. 1297–1311, Jun. 2011, doi: 10.1016/j.visres.2011.04.003 [DOI] [PubMed] [Google Scholar]
  • 18.Baijot S., et al., “EEG Dynamics of a Go/Nogo Task in Children with ADHD,” Brain Sci., vol. 7, no. 12, Dec. 2017, doi: 10.3390/brainsci7120167 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Leroy A., Cevallos C., Cebolla A.-M., Caharel S., Dan B., and Cheron G., “Short-term EEG dynamics and neural generators evoked by navigational images,” PloS One, vol. 12, no. 6, p. e0178817, 2017, doi: 10.1371/journal.pone.0178817 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Langeslag S. J. E. and van Strien J. W., “Early visual processing of snakes and angry faces: An ERP study,” Brain Res., vol. 1678, pp. 297–303, Jan. 2018, doi: 10.1016/j.brainres.2017.10.031 [DOI] [PubMed] [Google Scholar]
  • 21.Hanslmayr S., et al., “Alpha phase reset contributes to the generation of ERPs,” Cereb. Cortex N. Y. N 1991, vol. 17, no. 1, pp. 1–8, Jan. 2007, doi: 10.1093/cercor/bhj129 [DOI] [PubMed] [Google Scholar]
  • 22.Sauseng P. and Klimesch W., “What does phase information of oscillatory brain activity tell us about cognitive processes?,” Neurosci. Biobehav. Rev., vol. 32, no. 5, pp. 1001–1013, Jul. 2008, doi: 10.1016/j.neubiorev.2008.03.014 [DOI] [PubMed] [Google Scholar]
  • 23.Freunberger R., Fellinger R., Sauseng P., Gruber W., and Klimesch W., “Dissociation between phase-locked and nonphase-locked alpha oscillations in a working memory task,” Hum. Brain Mapp., vol. 30, no. 10, pp. 3417–3425, Oct. 2009, doi: 10.1002/hbm.20766 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Iemi L., et al., “Multiple mechanisms link prestimulus neural oscillations to sensory responses,” eLife, vol. 8, Jun. 2019, doi: 10.7554/eLife.43620 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Cheron G., et al., “Pure phase-locking of beta/gamma oscillation contributes to the N30 frontal component of somatosensory evoked potentials,” BMC Neurosci., vol. 8, p. 75, Sep. 2007, doi: 10.1186/1471-2202-8-75 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Delorme A., Miyakoshi M., Jung T.-P., and Makeig S., “Grand average ERP-image plotting and statistics: A method for comparing variability in event-related single-trial EEG activities across subjects and conditions,” J. Neurosci. Methods, vol. 250, pp. 3–6, Jul. 2015, doi: 10.1016/j.jneumeth.2014.10.003 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Kappenman E. S. and Luck S. J., “Best Practices for Event-Related Potential Research in Clinical Populations,” Biol. Psychiatry Cogn. Neurosci. Neuroimaging, vol. 1, no. 2, pp. 110–115, Mar. 2016, doi: 10.1016/j.bpsc.2015.11.007 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28.Pascual-Marqui R. D., “Standardized low-resolution brain electromagnetic tomography (sLORETA): technical details,” Methods Find. Exp. Clin. Pharmacol., vol. 24 Suppl D, pp. 5–12, 2002. [PubMed] [Google Scholar]
  • 29.Cebolla A. M., Palmero-Soler E., Dan B., and Cheron G., “Frontal phasic and oscillatory generators of the N30 somatosensory evoked potential,” NeuroImage, vol. 54, no. 2, pp. 1297–1306, Jan. 2011, doi: 10.1016/j.neuroimage.2010.08.060 [DOI] [PubMed] [Google Scholar]
  • 30.Cebolla A.-M., Palmero-Soler E., Leroy A., and Cheron G., “EEG Spectral Generators Involved in Motor Imagery: A swLORETA Study,” Front. Psychol., vol. 8, p. 2133, 2017, doi: 10.3389/fpsyg.2017.02133 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31.Leroy A., et al., “EEG Dynamics and Neural Generators in Implicit Navigational Image Processing in Adults with ADHD,” Neuroscience, Jan. 2018, doi: 10.1016/j.neuroscience.2018.01.022 [DOI] [PubMed] [Google Scholar]
  • 32.Lotte F., Congedo M., Lécuyer A., Lamarche F., and Arnaldi B., “A review of classification algorithms for EEG-based brain-computer interfaces,” J. Neural Eng., vol. 4, no. 2, pp. R1–R13, Jun. 2007, doi: 10.1088/1741-2560/4/2/R01 [DOI] [PubMed] [Google Scholar]
  • 33.Rivet B., Souloumiac A., Attina V., and Gibert G., “xDAWN algorithm to enhance evoked potentials: application to brain-computer interface,” IEEE Trans. Biomed. Eng., vol. 56, no. 8, pp. 2035–2043, Aug. 2009, doi: 10.1109/TBME.2009.2012869 [DOI] [PubMed] [Google Scholar]
  • 34.Barachant A., Bonnet S., Congedo M., and Jutten C., “Multiclass brain-computer interface classification by Riemannian geometry,” IEEE Trans. Biomed. Eng., vol. 59, no. 4, pp. 920–928, Apr. 2012, doi: 10.1109/TBME.2011.2172210 [DOI] [PubMed] [Google Scholar]
  • 35.Cecotti H. and Ries A. J., “Best practice for single-trial detection of event-related potentials: Application to brain-computer interfaces,” Int. J. Psychophysiol. Off. J. Int. Organ. Psychophysiol., vol. 111, pp. 156–169, 2017, doi: 10.1016/j.ijpsycho.2016.07.500 [DOI] [PubMed] [Google Scholar]
  • 36.Yger F., Berar M., and Lotte F., “Riemannian Approaches in Brain-Computer Interfaces: A Review,” IEEE Trans. Neural Syst. Rehabil. Eng. Publ. IEEE Eng. Med. Biol. Soc., vol. 25, no. 10, pp. 1753–1762, 2017, doi: 10.1109/TNSRE.2016.2627016 [DOI] [PubMed] [Google Scholar]
  • 37.Wang J., Feng Z., Lu N., and Luo J., “Toward optimal feature and time segment selection by divergence method for EEG signals classification,” Comput. Biol. Med., vol. 97, pp. 161–170, January 2018, doi: 10.1016/j.compbiomed.2018.04.022 [DOI] [PubMed] [Google Scholar]
  • 38.Blum S., Jacobsen N. S. J., Bleichner M. G., and Debener S., “A Riemannian Modification of Artifact Subspace Reconstruction for EEG Artifact Handling,” Front. Hum. Neurosci., vol. 13, p. 141, 2019, doi: 10.3389/fnhum.2019.00141 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39.Chevallier S., Kalunga E. K., Barthélemy Q., and Monacelli E., “Review of Riemannian Distances and Divergences, Applied to SSVEP-based BCI,” Neuroinformatics, Jun. 2020, doi: 10.1007/s12021-020-09473-9 [DOI] [PubMed] [Google Scholar]
  • 40.Xu J., Grosse-Wentrup M., and Jayaram V., “Tangent space spatial filters for interpretable and efficient Riemannian classification,” J. Neural Eng., vol. 17, no. 2, p. 026043, May 2020, doi: 10.1088/1741-2552/ab839e [DOI] [PubMed] [Google Scholar]
  • 41.Zeng H. and Song A., “Optimizing Single-Trial EEG Classification by Stationary Matrix Logistic Regression in Brain–Computer Interface,” IEEE Trans. Neural Netw. Learn. Syst., vol. 27, no. 11, pp. 2301–2313, Nov. 2016, doi: 10.1109/TNNLS.2015.2475618 [DOI] [PubMed] [Google Scholar]
  • 42.Pernet C., Sajda P., and Rousselet G., “Single-Trial Analyses: Why Bother?,” Front. Psychol., vol. 2, p. 322, 2011, doi: 10.3389/fpsyg.2011.00322 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43.Lotte F., et al., “A review of classification algorithms for EEG-based brain-computer interfaces: a 10 year update,” J. Neural Eng., vol. 15, no. 3, p. 031005, 2018, doi: 10.1088/1741-2552/aab2f2 [DOI] [PubMed] [Google Scholar]
  • 44.Congedo M., Rodrigues P. L. C., Bouchard F., Barachant A., and Jutten C., “A closed-form unsupervised geometry-aware dimensionality reduction method in the Riemannian Manifold of SPD matrices,” Conf. Proc. Annu. Int. Conf. IEEE Eng. Med. Biol. Soc. IEEE Eng. Med. Biol. Soc. Annu. Conf., vol. 2017, pp. 3198–3201, 2017, doi: 10.1109/EMBC.2017.8037537 [DOI] [PubMed] [Google Scholar]
  • 45.Vidal M., Amorim M.-A., and Berthoz A., “Navigating in a virtual three-dimensional maze: how do egocentric and allocentric reference frames interact?,” Brain Res. Cogn. Brain Res., vol. 19, no. 3, pp. 244–258, May 2004, doi: 10.1016/j.cogbrainres.2003.12.006 [DOI] [PubMed] [Google Scholar]
  • 46.Barachant A, “MEG decoding using Riemannian geometry and unsupervised classification.” 2014. [Google Scholar]
  • 47.Ledoit O. and Wolf M., “A well-conditioned estimator for large-dimensional covariance matrices,” J. Multivar. Anal., vol. 88, no. 2, pp. 365–411, 2004. [Google Scholar]
  • 48.Chen Y., Wiesel A., Eldar Y. C., and Hero A. O., “Shrinkage Algorithms for MMSE Covariance Estimation,” IEEE Trans. Signal Process., vol. 58, no. 10, pp. 5016–5029, Oct. 2010, doi: 10.1109/TSP.2010.2053029 [DOI] [Google Scholar]
  • 49.Moakher M., “A Differential Geometric Approach to the Geometric Mean of Symmetric Positive-Definite Matrices,” SIAM J Matrix Anal. Appl., vol. 26, pp. 735–747, Jan. 2005, doi: 10.1137/S0895479803436937 [DOI] [Google Scholar]
  • 50.Tuzel O., Porikli F., and Meer P., “Pedestrian Detection via Classification on Riemannian Manifolds,” IEEE Trans. Pattern Anal. Mach. Intell., vol. 30, no. 10, pp. 1713–1727, Oct. 2008, doi: 10.1109/TPAMI.2008.75 [DOI] [PubMed] [Google Scholar]
  • 51.Barachant A., Bonnet S., Congedo M., and Jutten C., “Classification of covariance matrices using a Riemannian-based kernel for BCI applications,” Neurocomputing, vol. 112, pp. 172–178, Jul. 2013, doi: 10.1016/j.neucom.2012.12.039 [DOI] [Google Scholar]
  • 52.Gramfort A., et al., “MNE software for processing MEG and EEG data,” NeuroImage, vol. 86, pp. 446–460, Feb. 2014, doi: 10.1016/j.neuroimage.2013.10.027 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 53.Desikan R. S., et al., “An automated labeling system for subdividing the human cerebral cortex on MRI scans into gyral based regions of interest,” NeuroImage, vol. 31, no. 3, pp. 968–980, Jul. 2006, doi: 10.1016/j.neuroimage.2006.01.021 [DOI] [PubMed] [Google Scholar]
  • 54.Potvin O., Dieumegarde L., Duchesne S., and Alzheimer’s Disease Neuroimaging Initiative, “Freesurfer cortical normative data for adults using Desikan-Killiany-Tourville and ex vivo protocols,” NeuroImage, vol. 156, pp. 43–64, January 2017, doi: 10.1016/j.neuroimage.2017.04.035 [DOI] [PubMed] [Google Scholar]
  • 55.Gramfort A., et al., “MEG and EEG data analysis with MNE-Python,” Front. Neurosci., vol. 7, 2013, doi: 10.3389/fnins.2013.00267 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 56.Harris C. R., et al., “Array programming with NumPy,” Nature, vol. 585, no. 7825, Art. no. 7825, Sep. 2020, doi: 10.1038/s41586-020-2649-2 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 57.Jones E., Oliphant T., and Peterson P., “SciPy: Open Source Scientific Tools for Python,” Jan. 2001. [Google Scholar]
  • 58.Pedregosa F., et al., “Scikit-learn: Machine Learning in Python,” J. Mach. Learn. Res., vol. 12, Jan. 2012. [Google Scholar]
  • 59.Koles Z. J., “The quantitative extraction and topographic mapping of the abnormal components in the clinical EEG,” Electroencephalogr. Clin. Neurophysiol., vol. 79, no. 6, pp. 440–447, Dec. 1991, doi: 10.1016/0013-4694(91)90163-x [DOI] [PubMed] [Google Scholar]
  • 60.Blankertz B., Tomioka R., Lemm S., Kawanabe M., and Muller K., “Optimizing Spatial filters for Robust EEG Single-Trial Analysis,” IEEE Signal Process. Mag., vol. 25, no. 1, pp. 41–56, 2008, doi: 10.1109/MSP.2008.4408441 [DOI] [Google Scholar]
  • 61.Wolpaw J. R., et al., “Brain-computer interface technology: a review of the first international meeting,” IEEE Trans. Rehabil. Eng. Publ. IEEE Eng. Med. Biol. Soc., vol. 8, no. 2, pp. 164–173, Jun. 2000. doi: 10.1109/tre.2000.847807 [DOI] [PubMed] [Google Scholar]
  • 62.Tomberg C. and Desmedt J. E., “A method for identifying short-latency human cognitive potentials in single trials by scalp mapping,” Neurosci. Lett., vol. 168, no. 1–2, pp. 123–125, Feb. 1994, doi: 10.1016/0304-3940(94)90431-6 [DOI] [PubMed] [Google Scholar]
  • 63.Tomberg C. and Desmedt J. E., “Non-averaged human brain potentials in somatic attention: the short-latency cognition-related P40 component,” J. Physiol., vol. 496 (Pt 2), pp. 559–574, Oct. 1996, doi: 10.1113/jphysiol.1996.sp021707 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 64.Coon W. G. and Schalk G., “A method to establish the spatiotemporal evolution of task-related cortical activity from electrocorticographic signals in single trials,” J. Neurosci. Methods, vol. 271, pp. 76–85, Sep. 2016, doi: 10.1016/j.jneumeth.2016.06.024 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 65.Rey H. G., Ahmadi M., and Quian Quiroga R., “Single trial analysis of field potentials in perception, learning and memory,” Curr. Opin. Neurobiol., vol. 31, pp. 148–155, Apr. 2015, doi: 10.1016/j.conb.2014.10.009 [DOI] [PubMed] [Google Scholar]
  • 66.Kalaganis F. P., Laskaris N. A., Chatzilari E., Nikolopoulos S., and Kompatsiaris I., “A Riemannian Geometry Approach to Reduced and Discriminative Covariance Estimation in Brain Computer Interfaces,” IEEE Trans. Biomed. Eng., vol. 67, no. 1, pp. 245–255, Jan. 2020, doi: 10.1109/TBME.2019.2912066 [DOI] [PubMed] [Google Scholar]
  • 67.Stewart A. X., Nuthmann A., and Sanguinetti G., “Single-trial classification of EEG in a visual object task using ICA and machine learning,” J. Neurosci. Methods, vol. 228, pp. 1–14, May 2014, doi: 10.1016/j.jneumeth.2014.02.014 [DOI] [PubMed] [Google Scholar]
  • 68.Guan S., Zhao K., and Yang S., “Motor Imagery EEG Classification Based on Decision Tree Framework and Riemannian Geometry,” Computational Intelligence and Neuroscience, Jan. 21, 2019. https://www.hindawi.com/journals/cin/2019/5627156/ (accessed Aug. 03, 2020). doi: 10.1155/2019/5627156 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 69.Majidov I. and Whangbo T., “Efficient Classification of Motor Imagery Electroencephalography Signals Using Deep Learning Methods,” Sensors, vol. 19, no. 7, Art. no. 7, Jan. 2019, doi: 10.3390/s19071736 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 70.L. Korczowski, M. Congedo, and C. Jutten, “Single-trial classification of multi-user P300-based Brain-Computer Interface using riemannian geometry,” in 2015 37th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Aug. 2015, pp. 1769–1772. [DOI] [PubMed]
  • 71.Navarro-Sune X., et al., “Riemannian Geometry Applied to Detection of Respiratory States From EEG Signals: The Basis for a Brain-Ventilator Interface,” IEEE Trans. Biomed. Eng., vol. 64, no. 5, pp. 1138–1148, 2017, doi: 10.1109/TBME.2016.2592820 [DOI] [PubMed] [Google Scholar]
  • 72.Karch J. D., Sander M. C., von Oertzen T., Brandmaier A. M., and Werkle-Bergner M., “Using within-subject pattern classification to understand lifespan age differences in oscillatory mechanisms of working memory selection and maintenance,” NeuroImage, vol. 118, pp. 538–552, 2015, doi: 10.1016/j.neuroimage.2015.04.038 [DOI] [PubMed] [Google Scholar]
  • 73.Leroy A. and Cheron G., “EEG dynamics and neural generators of psychological flow during one tightrope performance,” Sci. Rep., vol. 10, no. 1, Art. no. 1, Jul. 2020, doi: 10.1038/s41598-019-56847-4 [DOI] [PMC free article] [PubMed] [Google Scholar]

Decision Letter 0

Yury Ivanenko

22 Mar 2021

PONE-D-21-04037

Riemannian classification of single-trial surface EEG and sources during checkerboard and navigational images in humans

PLOS ONE

Dear Dr. Simar,

Thank you for submitting your manuscript to PLOS ONE. After careful consideration, we feel that it has merit but does not fully meet PLOS ONE’s publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process.

Specifically:

While the reviewers pointed out that the results reported in the present paper are relevant and promising and that the proposed methodological framework is robust, they suggested major revisions in the description of the experiment and in the presentation of the results.

In particular, the data underlying the results are unavailable - not conforming to PLos Policy - and one reviewer postponed his/her complete review untill the data/method parameters are provided. Two other reviewers added specific comments (see below).

Please submit your revised manuscript by May 06 2021 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at plosone@plos.org. When you're ready to submit your revision, log on to https://www.editorialmanager.com/pone/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

Please include the following items when submitting your revised manuscript:

  • A rebuttal letter that responds to each point raised by the academic editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'.

  • A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'.

  • An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.

If you would like to make changes to your financial disclosure, please include your updated statement in your cover letter. Guidelines for resubmitting your figure files are available below the reviewer comments at the end of this letter.

If applicable, we recommend that you deposit your laboratory protocols in protocols.io to enhance the reproducibility of your results. Protocols.io assigns your protocol its own identifier (DOI) so that it can be cited independently in the future. For instructions see: http://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols

We look forward to receiving your revised manuscript.

Kind regards,

Yury Ivanenko

Academic Editor

PLOS ONE

Journal Requirements:

When submitting your revision, we need you to address these additional requirements.

1. Please ensure that your manuscript meets PLOS ONE's style requirements, including those for file naming. The PLOS ONE style templates can be found at

https://journals.plos.org/plosone/s/file?id=wjVg/PLOSOne_formatting_sample_main_body.pdf and

https://journals.plos.org/plosone/s/file?id=ba62/PLOSOne_formatting_sample_title_authors_affiliations.pdf

2. We note that you have indicated that data from this study are available upon request. PLOS only allows data to be available upon request if there are legal or ethical restrictions on sharing data publicly. For more information on unacceptable data access restrictions, please see http://journals.plos.org/plosone/s/data-availability#loc-unacceptable-data-access-restrictions.

In your revised cover letter, please address the following prompts:

2a) If there are ethical or legal restrictions on sharing a de-identified data set, please explain them in detail (e.g., data contain potentially sensitive information, data are owned by a third-party organization, etc.) and who has imposed them (e.g., an ethics committee). Please also provide contact information for a data access committee, ethics committee, or other institutional body to which data requests may be sent.

2b) If there are no restrictions, please upload the minimal anonymized data set necessary to replicate your study findings as either Supporting Information files or to a stable, public repository and provide us with the relevant URLs, DOIs, or accession numbers. For a list of acceptable repositories, please see http://journals.plos.org/plosone/s/data-availability#loc-recommended-repositories.

We will update your Data Availability statement on your behalf to reflect the information you provide.

[Note: HTML markup is below. Please do not edit.]

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #1: Yes

Reviewer #2: Partly

Reviewer #3: Partly

**********

2. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #1: Yes

Reviewer #2: Yes

Reviewer #3: No

**********

3. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: No

Reviewer #2: No

Reviewer #3: Yes

**********

4. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #1: Yes

Reviewer #2: No

Reviewer #3: Yes

**********

5. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #1: The data underlying the results are unavailable - not conforming to PLos Policy. The raw data are likely protected/confidential, which is fine. The covariance matrices which are the basis for the tangent space projection and classification presented can however be shared without chance to breach confidentiality. The code underlying the analysis is to be declared/available. A method paper without these is no use to anyone.

All data/method parameters should be disclosed fully following eg. https://cobidasmeeg.wordpress.com/.

Until those criteria are met, independently of the quality of the work (which looks good), publication is not acceptable IMO. Once satisfied, I'll provide a complete review.

Reviewer #2: The Authors Cédric Simar et al. proposed a new approach to classify ERP evoked by different visual stimuli, at single trial level. To do so, they did identify a classification pipeline based on the Riemannian geometry of covariance matrices applied to EEG scalp signals and reconstructed source signals (sLORETA algorithm employed for the purpose). It is certainly not a novel topic considering the wide attention that it has always garnered, especially in the field of BCI applications, but the results reported in the present paper are relevant and promising. Although the proposed methodological framework is in my opinion robust, a more precise description is needed in order to make those results reproducible and, more importantly, applicable to several other applications different from visual stimulation. The impact of this paper would benefit from the possible generalization of the classifier performance in other contexts. Although I do not think that further analyses are necessary, major revisions in the description of the experiment and in the presentation of the results need to be done before publishing the paper. In the present shape, I found it confusing and almost not informative as a consequence. I suggest the Authors stressing the hypothesis behind this work and even more the impact. In the following, I listed more specific comments.

1. In the Introduction section there is a general lack of information and connection between the different parts of this study and it does not provide a comprehensive description of the state of the art able to clearly define the space in which this paper will make a difference. The employment of this method for BCI applications is not even mentioned so it is difficult to understand the importance of moving from the GA approach, used successfully for decades. Another example is the fact that the Authors mentioned the results relative to the classification accuracy for the inter- and intra-subject condition without first introducing those concepts and the reason why both those analysis were performed. Since the objective of the paper is to classify at single trial level, it is not obvious to understand how inter-subjects data should be involved in the training phase and what the hypothesis behind this choice is.

2. Why did the Authors design the two visual tasks with unbalanced number of trials (96 trials for the Checkerboard task and more than double for the 3D-Tunnel)? My guess is that this choice was dictated by the fact that the 3D-Tunnel can be presented in 4 different orientations and a decent amount of trials is required for each of them in order to test possible differences between them. Please include the rationale behind this choice in the paragraph 2.2.

3. Paragraph 2.3 – The sentence “Checkerboard pattern and the 3D-Tunnel were alternatively presented with a uniform grey image (Figure 1A, B)” is confusing in addition to poorly written. The adverb “alternately”, for example, is more appropriate than “alternatively”. The figure certainly helps but reading this description it is not clear how the stimuli are actually presented. It suggests that Checkerboard pattern and 3D-Tunnel are presented within the same run along with gray screens, which is not correct. Please, rephrase.

4. The paragraph 2.4 is called “EEG data treatment and event related potentials”. Please replace event related potentials with ERP for consistency with the rest of the paper. More important is the fact that ERP are the title but not even mentioned in the text. Please, provide some details about the ERP analysis maybe justifying the choice of the windows of interest, which are the ERP the Authors are interested in and they expect to see in each experimental condition with specific latencies. The sentence at the beginning of paragraph 3.1: “As previously observed by our group [7], the P100 component evoked by the Checkerboard was of higher amplitude than the P100 evoked by the 3D Tunnel, which presented a biphasic configuration during the time of the monophasic classical P100 related to the Checkerboard”, is a good example and should be moved either in the Introduction or in the Method section.

5. Still in the same paragraph (2.4), the Authors provided a list of the 12 EEG channels used for the ERP analysis and subsequential classification. However, most of the results obtained at scalp level are presented for Oz only. This becomes clear only reading the caption of the reported figures. Please, include this information both in the Method section and in the Result section and provide an explanation for this choice, even simply specifying whether it is because ERP results were similar for all the sensors or, vice versa, because Oz was gave the only meaningful results (mentioning the analysis presented in the Paragraph 3.2.1 that should also be described in the method section instead of the results section directly).

6. Left earlobe electrode as EEG reference is not a popular choice for scalp data acquisition. Please justify.

7. In the description of the source analysis, the Authors did not specify the number of scalp sensors (probably all of them) and reconstructed sources. The fact that only 12 of them are included in the ERP analysis might lead to the wrong conclusion that those signals are also enough to estimate accurately the brain activity in cortical sites. Important aspects of the analysis like the chosen atlas and the number of sources of interest is discussed only in the paragraph 2.8 - which should instead focus on the classification pipeline - making the methodological framework confusing. Other important information, such as whether they considered the reconstructed signal on the centroid of each region of interest or the average of all dipoles, or even the number of voxels used in the lead-field are also missing. The Authors mentioned “cortical regions average” but this step is not clearly described anywhere. Those details are necessary to reproduce the results without using the MNE software chosen by the Authors.

8. The Authors wrote that measures like ROC curves, Precision-Recall curves and confusion matrices are appropriate since the dataset is not balanced (paragraph 2.8). Can they please explain more this relationship? I think that those are the best measures to evaluate the performances of a classifier regardless of the number of trials difference. In this case, that sentence might be inaccurate.

9. I strongly suggest revising Paragraph 3.1, including the captions of Figure 4 and 5. The results description is not clear and very long sentences end up not carrying any message. Here few examples: i) “visual distinction” is a poor choice when the main result here is the distinction between 2 visual stimuli. I would replace that expression with “The discrimination by visual inspection between the 2 stimuli, was not possible anymore if/when…” ii) what’s a “single raw EEG signal”? Does it mean single trial? iii) Panels A and B in Figure 5 are redundant. My suggestion is either to report a plot similar to Figure 4 (it would be the most consistent way to present the results besides making immediate the comparison between the two conditions) or to keep only one of the two current panels.

10. Figure 1: please improve the quality/resolution of the 3D-TUNNEL image.

11. Paragraph 3.2.1: the title of this section is not precise because most of the following text refers to the validation of the number of electrodes. I suggest something like: “The effect of the electrodes number and position”. I also would appreciate some clarifications: considering that no statistical analysis has been performed and reported in Figure 6A, how would the Authors justify that (for example) the condition 9 electrodes is better than 10? Which qualitative measures did they observe? Also, it is not clear to me how the classifier was trained. Is it “on the single trials of all subjects” in both cases? Should this evaluation be performed for inter- and intra-subjects classification separately to be sure that the best number and position of the electrodes is the same?

12. In the same vein of my previous comment, did the Authors considered performing a similar analysis after the source reconstruction? If I understand correctly, the final classifier evaluation without inverse modeling, has been performed using 3 occipital electrodes. How did the Authors use the data from 75 cortical sources? Did they consider their optimal number and location? If not, why did they non consider it an interesting aspect of the analysis? Reducing the number of ROIs might be a key aspect of this pipeline and it would reduce the computational time. Something about this topic has been done by the Authors and reported in the second half of Paragraph 3.2.4 but I could not understand in which way these results are related with the classification analysis and if they are just a mere observation of the brain activations. I want to conclude this comment saying that the importance and relevance of the presented results are completely hidden by the lack of details (both in the main text and in the figures caption), by the quality of the text and by the poor organization of the paragraphs. I strongly suggest the Authors to focus on improving the presentation of the results.

13. Figure 7/8/9: For the sake of clarity and consistency between the results obtained before and after the source reconstruction, I suggest reporting figures containing the same information. If the comparison between inter- and intra-subjects coded by red and pink lines respectively have been chosen for the classification with inverse modeling, similar figures should be reported for the classification without inverse modeling. I suggest combining figure 7 and 8 removing the results relative to the gray screen (eventually the Authors can report them separately in the supplementary). The alternative would be to report the results for the gray screens classification obtained in the source space.

14. The discussion section needs to be improved on the same aspects I listed so far for the other sections with an additional lack of continuity between the different parts. The discussion opens with several comments very specifically BCI-related when this concept was barely touched in the introduction and in the abstract. I suggest i) revising the text because not well written and difficult to follow; ii) mention that contributing to improve the use of ERP in BCI is one of the main goals of the paper toward the end of the Introduction. As I pointed out several times, there is a general lack of common thread throughout the whole paper and highlighting the purpose and which results play the most important role in achieving this goal might help the reader to orient among the different sections.

15. The Authors should acknowledge somewhere the limitation of the study. They can decide to dedicate a separate paragraph of the paper or to add some comments at the end of the discussion. The main points I suggest mentioning are the limited number of subjects (particularly meaningful because we are talking about healthy subjects performing an easy task and because they are used to validate a new approach for the first time) and the fact that the results need to be taken with caution because only tested on two visual stimuli under extremely controlled conditions (no peripheral view). The Authors do not have to forget the final purpose of the classification at single trial level, which is the ability to use measures like ERP in real time in neurofeedback or BCI applications, particularly meaningful in the rehabilitation field where the signals might be acquired in less ideal conditions without significantly degrading the performance of the classifier. If the Authors are thinking making available the code for their pipeline, this should be mentioned because more scientists could apply it and help validating/improving the results obtained on these 15 subjects.

16. Please double check for typos and inaccuracies. Here few examples:

a. The introduction opens with a confusing sentence in which the words “evoked potentials” appear twice. I suggest deleting “which generate the well-defined components of the evoked potentials” that might be redundant.

b. Introduction: “In THE PRESENT STUDY, we use a classification pipeline based on xDAWN spatial filtering [23] and Riemannian geometry applied TO SINGLE-TRIAL EEG DATA recorded during A visual stimulation”.

c. Figure 8C: please add a label to specify that the confusion matrix on the left refers to the actual visual stimulus and the one on the left to the gray screens. Also, as a general comment, the confusion matrices are too big considering that the only relevant information is the number in the middle of each square.

d. Figure 9: The Authors never talked about “patients”. Please replace with “subjects”.

e. I suggest replacing everywhere “Raw data” with “Scalp data” or “Sensors data”. EEG data filtered and segmented are not “raw”.

Reviewer #3: The development of techniques that allow the discrimination of individual brain states, based on the non-invasive recording of brain activity, is probably a fundamental step for the extensive use of BCIs. In this sense, the present work constitutes a step forward in the right direction and therefore of great interest and importance.

The manuscript is well written and the techniques used are novel and of great interest today. The discussion about the current approach versus conventional techniques is especially interesting.

However, there are important details that need to be checked and some minor errors that need to be fixed.

Major comments

From a methodological point of view, it is not clear whether this is one or two separate experiments.

In what order were the experiments done? Was there a first session in which the checkerboard and the grey images were alternated, followed by another session in which the images of the tunnels and the grey images alternated?

Was there a break between sessions? Were the tunnel images always presented in the same order? Was the checkerboard session always the first or were they alternated between subjects? In my opinion, the description of the methodology is very poor.

Even more important to understanding the experiments is why the images were presented in this way. Maybe it would have been better to have presented the three images (checkerboard/ tunnel/gray) in a randomized way in the same session? Perhaps it would have been more appropriate to present the same number of images (checkerboard /tunnel /gray)?

The datasets appear to have come from previous experiments and have been re-analyzed to obtain the present results. This is not problematic, but if it is, and is mentioned in the manuscript, it explains some of the inconsistencies discussed here.

In another sense, it is not clear from the manuscript what value gray images have in these experiments. The fact that the gray images have less visual structure does not necessarily imply that they are "neutral images" or controls for any situation. This is especially important because the approach to the analysis of the results would be much more robust if a comparison were made between the three images instead of comparisons between only two. Making confusion matrices using the three images would give more information and strengthen the classification capacity of the technique.

Finally, the statistical analysis of the comparisons is not described and is poor. Although ROC is probably the best analysis, the use of "accuracy" independently of the rest of the elements of the confusion matrix is not entirely appropriate. A more effective measure is that based on the Matthews Correlation Coefficient, which is much more illustrative of the behavior of the matrix, especially in the case of binary classifications.

Minor comments

3.1 ERP analysis:

- Fig 3 Where the baselines were taken?

- In the description of figure 4, in the main text, figures 4 A and B are cited instead of the left side and right side of figure 4.

In the legend of figure 4 (left) it is said that the signals were recorded between 100 and 300 ms but it must be between 0 and 300 ms.

3.2.1 Validation of the electrode selection:

Results about Fig. 6. Statistical analyzes are not mentioned.

In Fig. 6a, the authors talk about global maxima using 9 electrodes, but it is not stated how it is shown that there are significant differences between the electrode configurations. On the contrary, it seems that when more than 2 electrodes were used, the accuracy did not increase significantly.

Similarly for Fig. 6b, the description of the results lacked statistical analysis.

3.2.2 Inter-subject class…

- Fig. 7 C (and 8C and 9C) the description of the color code is mixing.

. … Accuracies are significantly higher… Where are the statistics??

3.2.4 inter-subject and intra-subject …

- It is not clear in the text what is to be shown with figures 7C and 8C. Does this comparison refer to the gray images that were presented with the checkerboard and with the tunnels?

If so, what the results would be saying is that the classification system between the gray images is more related to the checkerboard and the tunnel than to the gray images themselves. This requires further explanation in the text.

- Fig. 9. Must be Intra-subjects or Inter-subjects instead intra-patients or inter-patients

**********

6. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: Yes: Cyril Pernet

Reviewer #2: Yes: Alessandra Anzolin

Reviewer #3: No

[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files.]

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com/. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email PLOS at figures@plos.org. Please note that Supporting Information files do not need this step.

Attachment

Submitted filename: Review_PONE-D-21-04037_001.pdf

PLoS One. 2022 Jan 14;17(1):e0262417. doi: 10.1371/journal.pone.0262417.r002

Author response to Decision Letter 0


25 Jul 2021

First of all, we would like to thank the reviewers for their time, their positive comments and their suggestions that significantly improved the quality and the clarity of the revised manuscript. The response to the reviewers comments were uploaded as a pdf file named "Response to Reviewers". Nevertheless, please find hereunder the copy of the content from this file.

Reviewer #1:

The data underlying the results are unavailable - not conforming to PLos Policy. The raw data are likely protected/confidential, which is fine. The covariance matrices which are the basis for the tangent space projection and classification presented can however be shared without chance to breach confidentiality. The code underlying the analysis is to be declared/available. A method paper without these is no use to anyone.

All data/method parameters should be disclosed fully following eg. https://cobidasmeeg.wordpress.com/.

Until those criteria are met, independently of the quality of the work (which looks good), publication is not acceptable IMO. Once satisfied, I'll provide a complete review.

R: Thank you for your positive comment, conforming to PLos Policy, the anonymized dataset necessary to replicate the study’s findings reported in this article, was made publicly available without restriction at https://doi.org/10.6084/m9.figshare.14997735.v1. The dataset consists of covariance matrices of shape 12 X 12, estimated on the output of the xDAWN filtering algorithm applied to either EEG signals or mean cortical sources activations of each trial of each subject. The Python source files implementing the classification pipelines and generating the figures published in this article were also made publicly available without restriction at https://github.com/cedricsimar/TC-EEG-RSTA.

Reviewer #2:

The Authors Cédric Simar et al. proposed a new approach to classify ERP evoked by different visual stimuli, at single trial level. To do so, they did identify a classification pipeline based on the Riemannian geometry of covariance matrices applied to EEG scalp signals and reconstructed source signals (sLORETA algorithm employed for the purpose). It is certainly not a novel topic considering the wide attention that it has always garnered, especially in the field of BCI applications, but the results reported in the present paper are relevant and promising. Although the proposed methodological framework is in my opinion robust, a more precise description is needed in order to make those results reproducible and, more importantly, applicable to several other applications different from visual stimulation. The impact of this paper would benefit from the possible generalization of the classifier performance in other contexts. Although I do not think that further analyses are necessary, major revisions in the description of the experiment and in the presentation of the results need to be done before publishing the paper. In the present shape, I found it confusing and almost not informative as a consequence. I suggest the Authors stressing the hypothesis behind this work and even more the impact. In the following, I listed more specific comments.

R: Thank you for the positive comments and the suggestions to make the manuscript more didactical and clearer. We now completely revised the manuscript according to your suggestions to better highlight the advantage of the present method for a more generalized application in the BCI field.

We really appreciated the time you took for writing such an extensive review of our work. Your suggestions really helped us to significantly improve the quality and clarity of the article.

1. In the Introduction section there is a general lack of information and connection between the different parts of this study and it does not provide a comprehensive description of the state of the art able to clearly define the space in which this paper will make a difference. The employment of this method for BCI applications is not even mentioned so it is difficult to understand the importance of moving from the GA approach, used successfully for decades.

R: Thank you for this important remark, we have now better introduced the general context and the motivation to present our methodological framework as opposed to the GA approach as follows:

“Since its discovery [1], [2], EEG has increasingly been used in fundamental, clinical, and industrial researches. For each of these domains, specific tools were successively developed. These tools include (i) the intracerebral recording with microelectrodes [3], [4] which allowed the recognition of the neuronal origin of EEG signals and a better understanding of the physiological mechanisms that underlie EEG activity; (ii) the grand averaging method, consisting in the average of a series of trials [5] triggered by a repetitive event (visual, auditory, somesthesic…), which opened the evoked-related potential (ERP) field studies, more recently enriched by EEG dynamics tools [6], [7] including EEG source generators [8]–[10]; and (iii) the use of EEG for neurofeedback and brain-computer interfaces (BCI) [11], [12]. In the past, these domains and their related tools evolved separately but the increasing accessibility of computational resources and experimental data motivated the development of transversal approaches and methodological bridges.

…

We hypothesize that the aforementioned ERP components of the EEG signals contain discriminative information characterizing the visual features of the image that can be identified, in single trials, by a state-of-the-art classification pipeline based on the canonical Riemannian geometry of covariance matrices. The main contribution of this study with respect to the state-of-the-art is the proposition of a methodological framework demonstrating that it is possible to gain insights into the classical evoked potentials fields by the application of recent BCI classification techniques [36], allowing the discrimination of visual evoked responses in a single-trial approach across multiple subjects, as opposed to the classical grand average approach based solely on mean EEG signals. For this, we use a classification pipeline based on xDAWN spatial filtering [33] and Riemannian geometry applied to single-trial EEG data recorded during a visual stimulation. Riemannian geometry classifiers have received growing attention in the last few years [42], particularly due to their first-class performance in international Brain-Computer Interface (BCI) competitions [43]. Besides, special attention is given to the potential advantage of introducing inverse modeling to the Riemannian classification pipeline.”

Another example is the fact that the Authors mentioned the results relative to the classification accuracy for the inter- and intra-subject condition without first introducing those concepts and the reason why both those analysis were performed. Since the objective of the paper is to classify at single trial level, it is not obvious to understand how inter-subjects data should be involved in the training phase and what the hypothesis behind this choice is.

R: Thank you for this justified remark, we now introduce these important concepts in the introduction as follows:

“Furthermore, in this study, we compare the discriminative power of our framework when trained on each subject separately (hereunder referred to as intra-subject classification) or on all subjects indistinctively (hereunder referred to as inter-subject classification). Yet, the latter is paramount to estimate how the framework classification model can generalize to unseen subjects.”

2. Why did the Authors design the two visual tasks with unbalanced number of trials (96 trials for the Checkerboard task and more than double for the 3D-Tunnel)? My guess is that this choice was dictated by the fact that the 3D-Tunnel can be presented in 4 different orientations and a decent amount of trials is required for each of them in order to test possible differences between them. Please include the rationale behind this choice in the paragraph 2.2.

R: You are right about the rationale to have an unbalanced number of trials. We now better explain the reason why we have a unbalanced number of recorded trials and the randomized undersampling performed to have a balanced dataset to train our model.

In paragraph 2.4 (EEG data treatment) we wrote:

“As the 3D-Tunnel can be presented in 4 different orientations, and as a decent amount of trials was required for each of them [31], the dataset originally presented an unbalanced number of Checkerboard and 3D-Tunnel trials. Thus, in order to avoid any bias in the classification results, for each subject separately, we applied a randomized undersampling, i.e. randomly removing trials from the majority class (3D-Tunnel), to obtain an equal number of Checkerboard and 3D-Tunnel trials.”

And in paragraph 2.8 (Classification pipelines) we introduced the metrics as follows:

The results of these classification pipelines were reported using the following metrics: ROC curves, Area Under the ROC Curve (AUC), Precision-Recall curves, Average Precision (AP), confusion matrices, and Matthews correlation coefficient (MCC).

3. Paragraph 2.3 – The sentence “Checkerboard pattern and the 3D-Tunnel were alternatively presented with a uniform grey image (Figure 1A, B)” is confusing in addition to poorly written. The adverb “alternately”, for example, is more appropriate than “alternatively”. The figure certainly helps but reading this description it is not clear how the stimuli are actually presented. It suggests that Checkerboard pattern and 3D-Tunnel are presented within the same run along with gray screens, which is not correct. Please, rephrase.

R: Thank you for this remark, we clarified this sentence by rephrasing to “Within one recording run, either 96 Checkerboard patterns or 192 3D-Tunnels were presented to one subject, alternately with a uniform grey image (Figure 1A, B)”.

4. The paragraph 2.4 is called “EEG data treatment and event related potentials”. Please replace event related potentials with ERP for consistency with the rest of the paper. More important is the fact that ERP are the title but not even mentioned in the text. Please, provide some details about the ERP analysis maybe justifying the choice of the windows of interest, which are the ERP the Authors are interested in and they expect to see in each experimental condition with specific latencies. The sentence at the beginning of paragraph 3.1: “As previously observed by our group [7], the P100 component evoked by the Checkerboard was of higher amplitude than the P100 evoked by the 3D Tunnel, which presented a biphasic configuration during the time of the monophasic classical P100 related to the Checkerboard”, is a good example and should be moved either in the Introduction or in the Method section.

R: Thank you for you pertinent remark. The following sentences was added in the introduction to better define the ERP meaning:

• “the grand averaging method, consisting in the average of a series of trials [5] triggered by a repetitive event (visual, auditory, somesthesic…), which opened the evoked-related potential (ERP) field studies”.

• “Visual evoked potentials (VEP) are a particular type of ERP, extracted from EEG signals recorded over the occipital cortex, that may be triggered by the display of different sorts of visual stimuli, from simple (e.g. checkerboard) [13, p.], [14], [15] to more complex ones (e.g. human face, 3D or moving image) [14], [16]–[20]. VEP are obtained by computing the grand average of numerous trials of ongoing EEG signals (see Equation 1), resulting in well-designed and easily recognizable potentials that are subsequently used to better understand the successive processing stages of visual inputs.”

As for the signal window of interest, we took the whole window of 500ms which encompasses most of the information of the early visual potential components.

5. Still in the same paragraph (2.4), the Authors provided a list of the 12 EEG channels used for the ERP analysis and subsequential classification. However, most of the results obtained at scalp level are presented for Oz only. This becomes clear only reading the caption of the reported figures. Please, include this information both in the Method section and in the Result section and provide an explanation for this choice, even simply specifying whether it is because ERP results were similar for all the sensors or, vice versa, because Oz was gave the only meaningful results (mentioning the analysis presented in the Paragraph 3.2.1 that should also be described in the method section instead of the results section directly).

R: Thank you for this remark. All occipital electrodes (O1, O2 and Oz) exhibited similar ERP dynamics so we chose Oz more for its central occipital position rather than a difference in the ERP quality.

6. Left earlobe electrode as EEG reference is not a popular choice for scalp data acquisition. Please justify.

R: Thank you for pointing our choice of reference which remains an important but unresolved debate, which hopefully, did not have any major consequences on the presently reported classification results. There is no best reference according to the EEGLab community, however it is very important to indicate where the reference was taken and to maintain the same reference during the whole study in order to allow the reproducibility of these results by other groups. In addition, in case of the median nerve stimulation in one side of the body (e.g. Desmedt and Cheron, 1980), the left and the right electrodes signals (farfield potentials P11, P14) measured with non-cephalic reference are not exactly the same. However, in the present bilateral visual stimulation, left and right electrodes signals should be identical when referenced with non-cephalic reference. Because we are aware of the linear mixing recorded over the scalp, we have performed an analysis of the source estimation in which the average reference is a previous requirement.

7. In the description of the source analysis, the Authors did not specify the number of scalp sensors (probably all of them) and reconstructed sources. The fact that only 12 of them are included in the ERP analysis might lead to the wrong conclusion that those signals are also enough to estimate accurately the brain activity in cortical sites. Important aspects of the analysis like the chosen atlas and the number of sources of interest is discussed only in the paragraph 2.8 - which should instead focus on the classification pipeline - making the methodological framework confusing. Other important information, such as whether they considered the reconstructed signal on the centroid of each region of interest or the average of all dipoles, or even the number of voxels used in the lead-field are also missing. The Authors mentioned “cortical regions average” but this step is not clearly described anywhere. Those details are necessary to reproduce the results without using the MNE software chosen by the Authors.

R: Thank you for this important remark. In this work, we chose to consider the same number of 12 electrodes for the pipeline with and without inverse modelling. We acknowledge that 12 electrodes are certainly not enough to estimate cortical activity with good precision. Nevertheless, we believed that, methodologically, it would be biased to compare the performances of classification pipelines trained with two different numbers of electrodes, and thus two different quantities of information. This limitation of the study was better highlighted in Section 4.1 Limitations.

Regarding the cortical regions average, this step is now described in Section 2.8 Classification pipelines as : “(i) the estimation of cortical sources based on EEG signals using the Desikan-Killiany atlas [52], [53], (ii) the averaging of cortical sources activations per atlas region, (iii) xDAWN spatial filtering operating on the 75 averaged sources activations”.

8. The Authors wrote that measures like ROC curves, Precision-Recall curves and confusion matrices are appropriate since the dataset is not balanced (paragraph 2.8). Can they please explain more this relationship? I think that those are the best measures to evaluate the performances of a classifier regardless of the number of trials difference. In this case, that sentence might be inaccurate.

R: Thank you for your question and this important remark. This sentence in the first version of our manuscript was indeed confusing and did not fully reflect the data treatment implemented. In order to clarify this point, we added the following sentenced in paragraph 2.4 : “As the 3D-Tunnel can be presented in 4 different orientations, and as a decent amount of trials was required for each of them [31], the dataset originally presented an unbalanced number of Checkerboard and 3D-Tunnel trials. Thus, in order to avoid any bias in the classification results, for each subject separately, we applied a randomized undersampling, i.e. randomly removing trials from the majority class (3D-Tunnel), to obtain an equal number of Checkerboard and 3D-Tunnel trials.”

Concerning the reported metrics, ROC curves, Precision-Recall curves, confusion matrices and MCC are indeed appropriate to evaluate the performances of a classifier regardless of the number of trials difference. Nevertheless, we wanted to stress that, unlike simple accuracy, these measures are generally more informative to assess and compare the performance of classification models.

9. I strongly suggest revising Paragraph 3.1, including the captions of Figure 4 and 5. The results description is not clear and very long sentences end up not carrying any message. Here few examples: i) “visual distinction” is a poor choice when the main result here is the distinction between 2 visual stimuli. I would replace that expression with “The discrimination by visual inspection between the 2 stimuli, was not possible anymore if/when…” ii) what’s a “single raw EEG signal”? Does it mean single trial? iii) Panels A and B in Figure 5 are redundant. My suggestion is either to report a plot similar to Figure 4 (it would be the most consistent way to present the results besides making immediate the comparison between the two conditions) or to keep only one of the two current panels.

R: Thank you for your remarks.

For (i), we replaced the expression in the article with your proposed one.

For (ii), we replaced “single raw EEG signal” by “EEG signal from single trials” in the caption of Figure 4 and by “EEG signals recorded on electrode Oz from all the single trials of Tunnels and Checkerboards stimuli” in the caption of Figure 5.

For (iii), since the analysis of grey images were moved to the supplementary materials section, we partially rewrote and condensed the ERP analysis in the revised version to make it clearer and avoid redundancy, as you suggested.

10. Figure 1: please improve the quality/resolution of the 3D-TUNNEL image.

R: Thank you for your comment, the quality of the 3D-Tunnel image (Figure 1A and 1B) was improved in the revised version of the manuscript.

11. Paragraph 3.2.1: the title of this section is not precise because most of the following text refers to the validation of the number of electrodes. I suggest something like: “The effect of the electrodes number and position”. I also would appreciate some clarifications: considering that no statistical analysis has been performed and reported in Figure 6A, how would the Authors justify that (for example) the condition 9 electrodes is better than 10? Which qualitative measures did they observe? Also, it is not clear to me how the classifier was trained. Is it “on the single trials of all subjects” in both cases? Should this evaluation be performed for inter- and intra-subjects classification separately to be sure that the best number and position of the electrodes is the same?

R: Thank you for the title suggestion, we changed this accordingly in the revised version.

Thank you for your remark concerning the number of electrodes. Even though we report in Section 3.2.1 “The effect of the number and position of the electrodes” that “the classification score for the Tunnel vs. Checkerboard reaches a global maximum using 9 electrodes”, we actually used the whole set of 12 electrodes to train the main classification algorithms and report the main results of the article. The purpose of checking the classification scores with regards to the number and position of the electrodes was to evaluate if adding more electrodes would effectively add more information that would increase the classification scores. The fact that we use the whole set of 12 electrodes or 75 mean cortical sources activations was made clearer in the revised version by adding the following sentences in Section 2.8: “xDAWN spatial filtering operating on the EEG signals from all 12 electrodes” and “xDAWN spatial filtering operating on the 75 averaged sources activations”. Moreover, we added the following paragraph in Section 3.2.1: “Considering that the positions of the 12 electrodes are uniformly distributed on the scalp and that the cross-validated classification accuracy reached a plateau before the 12th electrode, we can reasonably conclude that adding EEG signals from more electrodes will not substantially increase the amount of non-artifactual information”.

In both cases, we computed these results using only an inter-subjects classifier trained on the single trials of all subjects using a LOSO Cross-Validation. We understand your remark about the interest to check the effect of the number of electrodes on the intra-subjects but, finally, the most challenging task concerns the inter-subjects discrimination in single trials.

12. In the same vein of my previous comment, did the Authors considered performing a similar analysis after the source reconstruction? If I understand correctly, the final classifier evaluation without inverse modeling, has been performed using 3 occipital electrodes. How did the Authors use the data from 75 cortical sources? Did they consider their optimal number and location? If not, why did they non consider it an interesting aspect of the analysis? Reducing the number of ROIs might be a key aspect of this pipeline and it would reduce the computational time. Something about this topic has been done by the Authors and reported in the second half of Paragraph 3.2.4 but I could not understand in which way these results are related with the classification analysis and if they are just a mere observation of the brain activations. I want to conclude this comment saying that the importance and relevance of the presented results are completely hidden by the lack of details (both in the main text and in the figures caption), by the quality of the text and by the poor organization of the paragraphs. I strongly suggest the Authors to focus on improving the presentation of the results.

13. Figure 7/8/9: For the sake of clarity and consistency between the results obtained before and after the source reconstruction, I suggest reporting figures containing the same information. If the comparison between inter- and intra-subjects coded by red and pink lines respectively have been chosen for the classification with inverse modeling, similar figures should be reported for the classification without inverse modeling. I suggest combining figure 7 and 8 removing the results relative to the gray screen (eventually the Authors can report them separately in the supplementary). The alternative would be to report the results for the gray screens classification obtained in the source space.

R: Thank you for your comment. We did not perform the study of the effect of the electrodes number and position on the inverse modelling analysis. The final classifier evaluation without inverse modelling was based on all 12 selected electrodes. You are right that we used mean cortical sources from 75 areas that are used as direct input to the xDAWN filtering algorithm. In order to better clarify this in our manuscript we included the sentences “operating on the EEG signals from all 12 electrodes” and “operating on the 75 averaged sources activations” for the description of the classification pipelines of raw EEG and cortical sources respectively.

We well understand your idea to make a similar testing about the 75 cortical sources as we did for the 12 electrodes for the classification based raw EEG signals. However, this was not presently made because (i) the first aim of the present study was to demonstrate the feasibility to classify raw EEG signals in inter-subjects with Riemannian geometry; (ii) in the field of inverse modelling, it is well-admitted that a number of 12 electrodes is quite limited (this was recognized in paragraph 4.1 Limitations introduced in the new discussion) and that the study of the influence of the number of related sources does not represent the same scientific interest in this context. However, the present results offer the advantage to use a more practical and cheaper EEG cap as used in clinical applications and to prove that, even with this simplified configuration, the inverse modelling was able to reach substantial intra-subjects classification accuracy. The question whether the increase of scalp electrodes could contribute to a better classification based on inverse modelling should need a complete new future study.

We followed your recommendation to simplify the second half of Paragraph 3.2.4 which consisted on a detailed description of the anatomical regions pointed out by the inverse-modelling study.

Thank you for your pertinent remark about the clarity of the results presentation. We followed your suggestion to (i) transfer the figures containing the classification results of the grey screens in the supplementary and (ii) to combine Figures 7 and 8 without the grey information. This indeed simplify and clarify the presentation of the results.

14. The discussion section needs to be improved on the same aspects I listed so far for the other sections with an additional lack of continuity between the different parts. The discussion opens with several comments very specifically BCI-related when this concept was barely touched in the introduction and in the abstract. I suggest i) revising the text because not well written and difficult to follow; ii) mention that contributing to improve the use of ERP in BCI is one of the main goals of the paper toward the end of the Introduction. As I pointed out several times, there is a general lack of common thread throughout the whole paper and highlighting the purpose and which results play the most important role in achieving this goal might help the reader to orient among the different sections.

R: Thank you for this comment. We have made the best we can to significantly increase the fluidity and clarity of the manuscript following your recommendations in order to highlight the originality and the interest for future applications in the BCI and clinical fields.

15. The Authors should acknowledge somewhere the limitation of the study. They can decide to dedicate a separate paragraph of the paper or to add some comments at the end of the discussion. The main points I suggest mentioning are the limited number of subjects (particularly meaningful because we are talking about healthy subjects performing an easy task and because they are used to validate a new approach for the first time) and the fact that the results need to be taken with caution because only tested on two visual stimuli under extremely controlled conditions (no peripheral view). The Authors do not have to forget the final purpose of the classification at single trial level, which is the ability to use measures like ERP in real time in neurofeedback or BCI applications, particularly meaningful in the rehabilitation field where the signals might be acquired in less ideal conditions without significantly degrading the performance of the classifier. If the Authors are thinking making available the code for their pipeline, this should be mentioned because more scientists could apply it and help validating/improving the results obtained on these 15 subjects.

R: Thank you for your comment. We agree that an additional paragraph concerning the limitations of the study should be profitable for the readers. Following your suggestions, we wrote this paragraph to better indicate the present weaknesses and shortcomings, but also the future actions which could be taken to improve the present study. The following paragraph was added at the end of the discussion of the revised version: “There are several limitations to the current study. Firstly, the limited number of electrodes (n=12) used, to favor clinical and BCI applications, may have reduced the precision of the 3D inverse modeling estimation performed with sLORETA and may thus have impacted the related classification performance. Secondly, although the number of subjects (n=15) was limited compared to other EEG studies, the dataset, consisting of the number of trials per subject times the number of subjects, was considered sufficient to obtain meaningful inter-subject classification results using the LOSO-cross-validated RSTA approach. Nevertheless, further studies with a larger number of participants will be necessary in order to generalize to population. Thirdly, we are also aware that the presented results are directed towards the global aspect of the visual image, though the two different images presented different physical characteristics (bottom-up features such as luminescence and contrast) and different representational contents (top-down influence). The distinctive influence of these physical and neuro-cognitive factors on the Riemannian classification pipelines will be further investigated. Future research could also be oriented towards new stimulation paradigms in order to differentiate EEG signals evoked by images with similar physical characteristics but different representational contents. Besides, in order to better understand the fundamental underlying neurophysiological mechanisms, future research may also be dedicated to quantifying the importance of the discriminative patterns identified by the RSTA approach.”

16. Please double check for typos and inaccuracies. Here few examples:

a. The introduction opens with a confusing sentence in which the words “evoked potentials” appear twice. I suggest deleting “which generate the well-defined components of the evoked potentials” that might be redundant.

R: Thank you for your comment, we deleted the suggested sentence and double-checked for typos and inaccuracies.

b. Introduction: “In THE PRESENT STUDY, we use a classification pipeline based on xDAWN spatial filtering [23] and Riemannian geometry applied TO SINGLE-TRIAL EEG DATA recorded during A visual stimulation”.

R: The introduction has been modified following your comment and other reviewers comments.

c. Figure 8C: please add a label to specify that the confusion matrix on the left refers to the actual visual stimulus and the one on the left to the gray screens. Also, as a general comment, the confusion matrices are too big considering that the only relevant information is the number in the middle of each square.

R: Figure 7 and 8 have been changed according to your previous requirement.

d. Figure 9: The Authors never talked about “patients”. Please replace with “subjects”.

R: Thank you, we replaced every occurrence of patients by subjects in the text and in the graphs.

e. I suggest replacing everywhere “Raw data” with “Scalp data” or “Sensors data”. EEG data filtered and segmented are not “raw”.

R: We replaced each occurrence of “raw signals” by “EEG signals”

Reviewer #3:

The development of techniques that allow the discrimination of individual brain states, based on the non-invasive recording of brain activity, is probably a fundamental step for the extensive use of BCIs. In this sense, the present work constitutes a step forward in the right direction and therefore of great interest and importance.

The manuscript is well written and the techniques used are novel and of great interest today. The discussion about the current approach versus conventional techniques is especially interesting.

However, there are important details that need to be checked and some minor errors that need to be fixed.

R: Thank you for the positive and encouraging comments about our study. Your suggestions and recommendations really helped us to significantly improve the quality and clarity of the article.

Major comments

From a methodological point of view, it is not clear whether this is one or two separate experiments.

In what order were the experiments done? Was there a first session in which the checkerboard and the grey images were alternated, followed by another session in which the images of the tunnels and the grey images alternated?

R: Thank you for this comment, this is only one experiment in which, within one recording run, either 96 Checkerboard patterns or 192 3D-Tunnels were presented to one subject, alternately with a uniform grey image (Figure 1A, B). We clarified this point in the revised version at paragraph 2.3 Stimulation and recording parameters.

Was there a break between sessions? Were the tunnel images always presented in the same order? Was the checkerboard session always the first or were they alternated between subjects? In my opinion, the description of the methodology is very poor.

R: There was no break between recording sessions of checkerboard and tunnels patterns. The direction of the tunnel were presented in a random order. The first recording session, either checkerboard or tunnel, was random and alternated between subjects. These information are now added in Section 2.2 Experimental paradigms.

Even more important to understanding the experiments is why the images were presented in this way. Maybe it would have been better to have presented the three images (checkerboard/ tunnel/gray) in a randomized way in the same session? Perhaps it would have been more appropriate to present the same number of images (checkerboard /tunnel /gray)? The datasets appear to have come from previous experiments and have been re-analyzed to obtain the present results. This is not problematic, but if it is, and is mentioned in the manuscript, it explains some of the inconsistencies discussed here.

R: Thank you for your comment. In Section 2.4 EEG data treatment, we now better explain that the present dataset originated from a previously published study [32]. We have thus maintained the original unbalanced number of Checkerboard and 3D-Tunnel trials, which come from the fact that the 3D-Tunnel can be presented in 4 different orientations and a decent amount of trials was required for each of them. Additionally, we know explain the subsequent randomized undersampling performed to have a balanced dataset to train our model. In paragraph 2.4 (EEG data treatment) we wrote:

“As the 3D-Tunnel can be presented in 4 different orientations, and as a decent amount of trials was required for each of them [31], the dataset originally presented an unbalanced number of Checkerboard and 3D-Tunnel trials. Thus, in order to avoid any bias in the classification results, for each subject separately, we applied a randomized undersampling, i.e. randomly removing trials from the majority class (3D-Tunnel), to obtain an equal number of Checkerboard and 3D-Tunnel trials.”

In another sense, it is not clear from the manuscript what value gray images have in these experiments. The fact that the gray images have less visual structure does not necessarily imply that they are "neutral images" or controls for any situation. This is especially important because the approach to the analysis of the results would be much more robust if a comparison were made between the three images instead of comparisons between only two. Making confusion matrices using the three images would give more information and strengthen the classification capacity of the technique.

R: Thank you for this pertinent remark about the presence of the alternated grey images. This is classically performed in visual evoked studies where different type of images are successively presented to the subjects. The grey images are used to avoid post-fusion effect between images, allowing a sort of reset between the presentation of two images. As suggested by one reviewer, the results related to the grey images classification are not central to the present aim of the study and were thus moved to a supplementary materials section. Moreover, Figures 3, 4, 5, 6 and 8 are now modified accordingly for highlighting the essential classification results between checkerboards and tunnels. Figures including results with grey screens were move to the supplementary materials section.

Finally, the statistical analysis of the comparisons is not described and is poor. Although ROC is probably the best analysis, the use of "accuracy" independently of the rest of the elements of the confusion matrix is not entirely appropriate. A more effective measure is that based on the Matthews Correlation Coefficient, which is much more illustrative of the behavior of the matrix, especially in the case of binary classifications.

R: Thank you for your remark about the efficiency of the Matthews Correlation Coefficient which seems particularly suitable for binary classification of unbalanced data as demonstrated in Chicco and Jurman, 2020. We included this measure in the revised version. A succinct statistical analysis using a Mann-Whitney U test was presented in Section 3.2.4 Summary of results.

Minor comments

3.1 ERP analysis:

- Fig 3 Where the baselines were taken?

R: Thank you for this remark. The baselines for Figure 3 were taken between -500 ms and 0 ms. To better clarify this point, we added the following sentence in Section 2.4 of the revised version: “The averaged signal value of the pre-stimulus interval from -500 ms to 0 ms was divided from the epochs for baseline correction”

- In the description of figure 4, in the main text, figures 4 A and B are cited instead of the left side and right side of figure 4.

R: Thank you for this comment, it is now modified in the revised version.

In the legend of figure 4 (left) it is said that the signals were recorded between 100 and 300 ms but it must be between 0 and 300 ms.

R: Thank you for this comment, it is now modified in the revised version.

3.2.1 Validation of the electrode selection:

Results about Fig. 6. Statistical analyzes are not mentioned.

In Fig. 6a, the authors talk about global maxima using 9 electrodes, but it is not stated how it is shown that there are significant differences between the electrode configurations. On the contrary, it seems that when more than 2 electrodes were used, the accuracy did not increase significantly.

Similarly for Fig. 6b, the description of the results lacked statistical analysis.

R: Thank you for your remark concerning the number of electrodes. Even though we report in Section 3.2.1 “The effect of the number and position of the electrodes” that “the classification score for the Tunnel vs. Checkerboard reaches a global maximum using 9 electrodes” , we used the whole set of 12 electrodes to train the main classification algorithms and report the main results of the article. The purpose of checking the classification scores with regards to the number and position of the electrodes was to evaluate if adding more electrodes would effectively add more information that would increase the classification scores. The fact that we use the whole set of 12 electrodes or 75 mean cortical sources activations was made clearer by adding the following sentences in Section 2.8: “xDAWN spatial filtering operating on the EEG signals from all 12 electrodes” and “xDAWN spatial filtering operating on the 75 averaged sources activations”. Moreover, we added the following paragraph in Section 3.2.1: “Considering that the positions of the 12 electrodes are uniformly distributed on the scalp and that the cross-validated classification accuracy reached a plateau before the 12th electrode, we can reasonably conclude that adding EEG signals from more electrodes will not substantially increase the amount of non-artifactual information”.

3.2.2 Inter-subject class…

- Fig. 7 C (and 8C and 9C) the description of the color code is mixing.

. … Accuracies are significantly higher… Where are the statistics??

R: Thank you for your comment. Regarding the color code, we now uniformized the color code across the new figures in the revised version as you suggested.

Regarding the words “significantly higher”, it was indeed a poor choice of words since the expression could be misinterpreted as statistically significantly higher, thus your comment about the reporting of the statistics. Since, in the section about the impact of the number and position of electrodes, a statistical analysis of the results will not add meaningful information. Thus we chose to remove the word “significantly” where no statistical tests were not performed and reported.

When the word “significantly” was used in the article, statistical tests were performed and reported in Section 3.2.4 Summary of results.

3.2.4 inter-subject and intra-subject …

- It is not clear in the text what is to be shown with figures 7C and 8C. Does this comparison refer to the gray images that were presented with the checkerboard and with the tunnels?

If so, what the results would be saying is that the classification system between the gray images is more related to the checkerboard and the tunnel than to the gray images themselves. This requires further explanation in the text.

R: Thank you this pertinent remark. We now better explained the fact that the two types of grey images were not exactly the same depending on the preceding checkerboard or tunnel image. In other words, the grey screens play the role of avoiding a post-fusion between checkerboard and tunnel but, and were thus influenced by the type of preceding visual stimulation. The ERP and RSTA analysis of grey images were move to the supplementary material section for better clarity.

- Fig. 9. Must be Intra-subjects or Inter-subjects instead intra-patients or inter-patients

R: Thank you for this remark, we now changed this in the text and in the graphs of the revised version.

Attachment

Submitted filename: Response to Reviewers.pdf

Decision Letter 1

Yury Ivanenko

27 Oct 2021

PONE-D-21-04037R1Riemannian classification of single-trial surface EEG and sources during checkerboard and navigational images in humansPLOS ONE

Dear Dr. Simar,

Thank you for submitting your manuscript to PLOS ONE. After careful consideration, we feel that it has merit but does not fully meet PLOS ONE’s publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process. While one of the original reviewers approved publication, the reviewer that previously asked for making the material available as per Plos policy, provided now complete comments. This reviewer finds that the manuscript has been improved and is easier to follow, nevertheless, he/she still suggests a revision asking for additional analysis related to the classification method and interpretation of this approach. Please submit your revised manuscript by Dec 11 2021 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at plosone@plos.org. When you're ready to submit your revision, log on to https://www.editorialmanager.com/pone/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

Please include the following items when submitting your revised manuscript:

  • A rebuttal letter that responds to each point raised by the academic editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'.

  • A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'.

  • An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.

If you would like to make changes to your financial disclosure, please include your updated statement in your cover letter. Guidelines for resubmitting your figure files are available below the reviewer comments at the end of this letter.

If applicable, we recommend that you deposit your laboratory protocols in protocols.io to enhance the reproducibility of your results. Protocols.io assigns your protocol its own identifier (DOI) so that it can be cited independently in the future. For instructions see: https://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols. Additionally, PLOS ONE offers an option for publishing peer-reviewed Lab Protocol articles, which describe protocols hosted on protocols.io. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols.

We look forward to receiving your revised manuscript.

Kind regards,

Yury Ivanenko

Academic Editor

PLOS ONE

[Note: HTML markup is below. Please do not edit.]

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. If the authors have adequately addressed your comments raised in a previous round of review and you feel that this manuscript is now acceptable for publication, you may indicate that here to bypass the “Comments to the Author” section, enter your conflict of interest statement in the “Confidential to Editor” section, and submit your "Accept" recommendation.

Reviewer #1: (No Response)

Reviewer #3: All comments have been addressed

**********

2. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #1: Yes

Reviewer #3: Yes

**********

3. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #1: Yes

Reviewer #3: Yes

**********

4. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

Reviewer #3: Yes

**********

5. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #1: Yes

Reviewer #3: Yes

**********

6. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #1: Thank for making the material available as per Plos policy. As for the manuscript, and given the reviewer 2 revision I think it now look great and easy to follow. Yet, I have a major problem with the manuscript. The paper shows, convincingly, that XDAWN+Riemannian projection at the geometric mean gives good results. The problem is that other classification pipelines not using XDAWN and not using Riemannian geometry can also discriminate between conditions. In my opinion, for a publication in a general outlet you need more than showing it works, you need a comparison. Not a comparison to a grand average, which make no sense since the framework (fitting vs predicting) are different, but a comparison of performances with the data without XDAWN or without projecting onto the tangent space. My point is you need to show it outperforms other approaches or at least provides a more straightforward interpretation.

Given the authors track record, I'm sure they are well aware of the various other methods out there. Just pointing out for instance in the introduction when it sounds like there is noting else but grand averages and single trial analyses are new ... well see eg https://www.frontiersin.org/articles/10.3389/fpsyg.2011.00322/full and references therein - starting with Donchin, E. (1969). Discriminant analysis in average evoked response studies: the study of single-trial data. Electroencephalogr. Clin. Neurophysiol. 27, 311–314.

Concretely, my suggestion is to a logistic regression on the data, then with XDAWN, then in tangent space without DAWN - that way we have all 4 ways to process and show your approach works best ; otherwise you just say that you can classify like many other can. I don't mean to sound harsh, I think the method is great and the paper is well written, but it's not convincing enough, especially in a generic outlet.

Dr Cyril Pernet

Reviewer #3: All comments on the manuscript have been reviewed. The manuscript has been considerably improved and is ready for publication in my opinion.

**********

7. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: Yes: Cyril Pernet

Reviewer #3: No

[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files.]

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com/. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email PLOS at figures@plos.org. Please note that Supporting Information files do not need this step.

PLoS One. 2022 Jan 14;17(1):e0262417. doi: 10.1371/journal.pone.0262417.r004

Author response to Decision Letter 1


17 Dec 2021

Reviewer #1:

Reviewer’s comment:

Thank for making the material available as per Plos policy. As for the manuscript, and given the reviewer 2 revision I think it now look great and easy to follow. Yet, I have a major problem with the manuscript. The paper shows, convincingly, that XDAWN+Riemannian projection at the geometric mean gives good results. The problem is that other classification pipelines not using XDAWN and not using Riemannian geometry can also discriminate between conditions. In my opinion, for a publication in a general outlet you need more than showing it works, you need a comparison. Not a comparison to a grand average, which make no sense since the framework (fitting vs predicting) are different, but a comparison of performances with the data without XDAWN or without projecting onto the tangent space. My point is you need to show it outperforms other approaches or at least provides a more straightforward interpretation.

Given the authors track record, I'm sure they are well aware of the various other methods out there. Just pointing out for instance in the introduction when it sounds like there is noting else but grand averages and single trial analyses are new ... well see eg https://www.frontiersin.org/articles/10.3389/fpsyg.2011.00322/full and references therein - starting with Donchin, E. (1969). Discriminant analysis in average evoked response studies: the study of single-trial data. Electroencephalogr. Clin. Neurophysiol. 27, 311–314.

Concretely, my suggestion is to a logistic regression on the data, then with XDAWN, then in tangent space without DAWN - that way we have all 4 ways to process and show your approach works best ; otherwise you just say that you can classify like many other can. I don't mean to sound harsh, I think the method is great and the paper is well written, but it's not convincing enough, especially in a generic outlet.

Authors’ response:

Thank you for your important comment and suggestion. In the previous version of the manuscript, although we showed that our approach (xDAWN filtering and Riemannian projection) is able to discriminate between the presentation of the two displays, we did not indeed show a comparison of multiple pipelines and thus did not show that our approach outperformed other approaches.

You are right that it is important to show the comparative advantage of our method with respect to other classification pipelines and this would be a considerable improvement of the manuscript, as well as important information for the readers. Therefore, in the new version of the manuscript, we added section “3.2.5 Comparison of classification pipelines” that describes and compares 5 additional classification pipelines with our approach in order to show the benefits of applying xDAWN filtering and Riemannian projection, as well as to establish the robustness and generalizability of our approach with respect to the other classification pipelines. As you suggested, the additional pipelines include the use of a logistic regression on the vectorized EEG signals or cortical sources, as well as the selective use of xDAWN filtering and Riemannian projection. We also added a classification pipeline using the CSP algorithm. The results of these comparisons are presented with statistical significance tests computed with a Mann–Whitney U test.

These results show that

• the classification pipeline used in our approach outperforms the other pipelines in both intra-subject and inter-subject conditions, using either EEG signals or cortical sources

• xDAWN spatial filtering significantly improves inter-subject generalizability

• the projection onto the tangent space significantly improves the classification accuracy in the intra-subject condition

• the classification pipeline used in our approach significantly outperforms the CSP algorithm in the inter-subject condition

Please find hereunder the complete section that we added in the new version of the manuscript.

Lastly, the reference you suggested, referring to the relevance of single-trial analysis for neuroimaging data, was interesting and we thus included this sentence in the new version of the manuscript: “The relevance of considering single-trial analyses with neuroimaging data is also discussed in [42].”

3.2.5 Comparison of classification pipelines

As suggested by a reviewer, after the comparative analysis in section 2.8, we compare here the classification accuracy of our approach with other classification pipelines using the same cross-validation methodology. The purposes of this comparison are to (i) quantify the benefits of applying xDAWN filtering and projecting covariance matrices onto the tangent space, and (ii) establish the robustness and generalizability of our approach with respect to other classification pipelines.

To that end, Figure 9 compares the mean cross-validated accuracy, with respect to the intra-subject or inter-subject conditions, computed on the following classification pipelines with and without inverse modelling:

• LR on vectorized EEG signals/sources activations: the EEG signals or cortical sources activations are unrolled into a 1-dimensional vector and classified using a logistic regression (LR).

• Covariance matrices and LR: covariance matrices of EEG signals or cortical sources are estimated, unrolled into a 1-dimensional vector and classified using a logistic regression.

• Covariance matrices, TS and LR: covariance matrices of EEG signals or cortical sources are estimated, projected onto the tangent space and classified using a logistic regression.

• xDAWN covariance and LR: covariance matrices are estimated from the result of xDAWN spatial filtering applied on EEG signals or cortical sources, unrolled into a 1-dimensional vector and classified using a logistic regression.

• CSP and LR: the output of the Common Spatial Patterns (CSP) algorithm [59], [60] applied on EEG signals or cortical sources is classified using a logistic regression.

• xDAWN covariance, TS and LR: covariance matrices are estimated from the result of xDAWN spatial filtering applied on EEG signals or cortical sources, projected onto the tangent space and classified using a logistic regression.

The comparison of classification results from these different pipelines illustrated in Figure 9 highlights several interesting patterns. Firstly, we can observe that the classification pipeline used in our approach outperforms the other pipelines in both intra-subject and inter-subject conditions, using either EEG signals or cortical sources. Secondly, we observe that the use of xDAWN spatial filtering significantly improves the classification accuracy in the inter-subject condition (p < 0.001), i.e. inter-subject generalizability, but not in the intra-subject condition (p > 0.001). Whereas, conversely, the use of the projection onto the tangent space significantly improves the classification accuracy in the intra-subject condition (p < 0.001) but not in the inter-subject condition (p > 0.001), although this latter absence of accuracy improvement in the inter-subject condition may also be explained by the difficulty to discriminate inter-subject EEG signals and cortical sources without xDAWN spatial filtering for this task. Lastly, we observe that the classification pipeline used in our approach significantly outperforms the CSP algorithm in the inter-subject condition (p < 0.001) but not in the intra-subject condition (p > 0.001). These statistical comparisons were computed using a Mann–Whitney U test.

<Please see the figure in the "Response to Reviewers.pdf" file attached>

Figure 9. Comparison of the mean accuracies reached by different inter-subject and intra-subject classification pipelines based on EEG signals and (sub)cortical sources. The asterisk designates the classification pipeline used in our approach.

Reviewer #3:

Reviewer’s comment:

All comments on the manuscript have been reviewed. The manuscript has been considerably improved and is ready for publication in my opinion.

Authors’ response:

Thank you for your previous comments that contributed to the considerable improvement of the manuscript and for accepting it for publication.

Attachment

Submitted filename: Response to Reviewers.pdf

Decision Letter 2

Yury Ivanenko

24 Dec 2021

Riemannian classification of single-trial surface EEG and sources during checkerboard and navigational images in humans

PONE-D-21-04037R2

Dear Dr. Simar,

We’re pleased to inform you that your manuscript has been judged scientifically suitable for publication and will be formally accepted for publication once it meets all outstanding technical requirements.

Within one week, you’ll receive an e-mail detailing the required amendments. When these have been addressed, you’ll receive a formal acceptance letter and your manuscript will be scheduled for publication.

An invoice for payment will follow shortly after the formal acceptance. To ensure an efficient process, please log into Editorial Manager at http://www.editorialmanager.com/pone/, click the 'Update My Information' link at the top of the page, and double check that your user information is up-to-date. If you have any billing related questions, please contact our Author Billing department directly at authorbilling@plos.org.

If your institution or institutions have a press office, please notify them about your upcoming paper to help maximize its impact. If they’ll be preparing press materials, please inform our press team as soon as possible -- no later than 48 hours after receiving the formal acceptance. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org.

Kind regards,

Yury Ivanenko

Academic Editor

PLOS ONE

Additional Editor Comments (optional):

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. If the authors have adequately addressed your comments raised in a previous round of review and you feel that this manuscript is now acceptable for publication, you may indicate that here to bypass the “Comments to the Author” section, enter your conflict of interest statement in the “Confidential to Editor” section, and submit your "Accept" recommendation.

Reviewer #1: All comments have been addressed

**********

2. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #1: Yes

**********

3. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #1: Yes

**********

4. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

**********

5. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #1: Yes

**********

6. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #1: (No Response)

**********

7. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: Yes: Cyril Pernet

Acceptance letter

Yury Ivanenko

5 Jan 2022

PONE-D-21-04037R2

Riemannian classification of single-trial surface EEG and sources during checkerboard and navigational images in humans

Dear Dr. Simar:

I'm pleased to inform you that your manuscript has been deemed suitable for publication in PLOS ONE. Congratulations! Your manuscript is now with our production department.

If your institution or institutions have a press office, please let them know about your upcoming paper now to help maximize its impact. If they'll be preparing press materials, please inform our press team within the next 48 hours. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information please contact onepress@plos.org.

If we can help with anything else, please email us at plosone@plos.org.

Thank you for submitting your work to PLOS ONE and supporting open access.

Kind regards,

PLOS ONE Editorial Office Staff

on behalf of

Dr. Yury Ivanenko

Academic Editor

PLOS ONE

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Supplementary Materials

    S1 File

    (DOCX)

    Attachment

    Submitted filename: Review_PONE-D-21-04037_001.pdf

    Attachment

    Submitted filename: Response to Reviewers.pdf

    Attachment

    Submitted filename: Response to Reviewers.pdf

    Data Availability Statement

    The anonymized dataset necessary to replicate the study’s findings reported in this article, was made publicly available without restriction at https://doi.org/10.6084/m9.figshare.14997735.v1. The dataset consists of covariance matrices of shape 12 X 12, estimated on the output of the xDAWN filtering algorithm applied to either EEG signals or mean cortical sources activations of each trial of each subject. The Python source files implementing the classification pipelines and generating the figures published in this article were also made publicly available without restriction at https://github.com/cedricsimar/TC-EEG-RSTA.


    Articles from PLoS ONE are provided here courtesy of PLOS

    RESOURCES