Abstract
Brain-computer interfaces (BCIs) allow direct communication between one’s central nervous system and a computer without any muscle movement hence by-passing the peripheral nervous system. They can restore disabled people’s ability to interact with their environment, e.g. communication and wheelchair control. However, to this day their performance is still hindered by the non-stationarity of electroencephalography (EEG) signals, as well as their susceptibility to noise from the users’ environment and from their own physiological activity. Moreover, a non-negligible amount of users struggle to use BCI systems based on motor imagery. In this paper, a new method based on the path signature is introduced to tackle this problem by using features which are different from the usual power-based ones. The path signature is a series of iterated integrals computed from a multidimensional path. It is invariant under translation and time reparametrization, which makes it a robust feature for multichannel EEG time series. The performance can be further boosted by combining the path signature with the gold standard Riemannian classifier in the BCI field exploiting the geometric structure of symmetric positive definite (SPD) matrices. The results obtained on publicly available datasets show that the signature method is more robust to inter-user variability than classical ones, especially on noisy and low-quality data. Hence, this study paves the way towards the use of mathematical tools that until now have been neglected, in order to tackle the EEG-based BCI variability issue. It also sheds light on the lead-lag relationship captured by path signature which seems relevant to assess the underlying neural mechanisms.
Similar content being viewed by others
Introduction
A brain-computer interface (BCI) is a system that allows for interaction with machines using only brain activity and no muscular activity. The major motivation of early BCIs was restoring the ability of severely paralyzed people to communicate and interact with the environment1. A BCI is composed of several parts2: the signal acquisition system records, amplifies and digitizes brain signals; the preprocessing steps consist of removing noise and artifacts in order to improve the signal-to-noise ratio3; and the feature extraction and classification steps to finally transform brain signals into labels sent to the computer as information for explicit or implicit control.
There are many types of BCIs according to the brain signal used and the way to use the system. In this paper we focus on electroencephalography (EEG)-based BCIs using sensorimotor rhythms (SMR). EEG records the extracellular field potentials associated with neural activity with electrodes placed over the scalp. It is non-invasive, accessible, and has a high temporal resolution. It has been found4,5,6 that motor movement as well as motor imagery (MI, i.e. imagination of movement without actually moving) cause modulation in SMR manifested as a decrease of power in the alpha (8–13 Hz)/beta(13–30 Hz) frequency bands, known as event-related desynchronization (ERD), followed by an increase in the beta band, also known as beta rebound or event-related synchronization (ERS), after the actual or imagined movement. Movement or MI of different body parts is associated with an SMR modulation of different regions of the sensorimotor cortex, which leads to discriminant brain signals that allows the control of MI BCI.
One major obstacle to bring EEG-based BCI into everyday life for ordinary people is its lack of robustness due to the high variability of EEG signals. The distribution of EEG data changes between sessions and users which makes it difficult to establish a robust classifier that works across time and users. To deal with this problem, most studies have focused on applying transfer learning techniques to align the data distributions7,8. However, there are some less well known tools that enjoy interesting properties to tackle the variability problem, for example the path signature of a time series is translation invariant and independent of time parametrization. So the path signature-based features may be more robust to the variance related to change of power and speed. This is the initial motivation of applying path signature to BCI applications.
The path signature was originally introduced by Chen9 in the framework of piece-wise smooth curves, then developed by Lyons et al.10 to study stochastic differential equations. Recently, it has been used as a feature generation method for time series in various applications such as handwritten character recognition11, diagnosis of bipolar disorder and borderline personality disorder based on daily mood ratings12, and diagnosis of Alzheimer’s disease based on hippocampal and brain volume time series13, just to name a few. To our knowledge, to this day this method has never been applied to BCI applications.
In this study, we propose two signature-based methods for EEG-based BCI applications to tackle the user-variability issue. The main tools are detailed in the next section, then the experiments performed on several publicly available datasets and their results are presented, followed by a discussion of the results and further analyses.
Methods
The main tools used to compute the signature for EEG-based BCI applications are given in this section. To go further, interested readers can find more details of the theory and also the practical use cases of path signature in the tutorial written by Chevyrev and Kormilitzin14.
Path signature
Suppose we have a d-dimensional multivariate time series \(X_t = (X^1_t, \ldots , X^d_t)\), where \(X^i : [a,b] \rightarrow {\mathbb {R}}\) is a component of this continuous time series. We can interpret this multivariate time series as a continuous path \(X_t: [a, b] \rightarrow {\mathbb {R}}^d\) from [a, b] to \({\mathbb {R}}^d\). The path signature of \(X_t\) is an infinite sequence of tensors (arrays) of increasing dimension,
where \(S_k(X)_{a,b} \in {\mathbb {R}}^{d^k}\) is a k-dimensional array of numbers of length d in each dimension, which we call the level k path signature of X. A component of the array \(S_k(X)_{a,b}\) is indexed by a multi-index \(I = (i_1, \ldots , i_k)\), where each \(i_j \in \{1, \ldots , d\}\). The I-coordinate of \(S_k(X)_{a,b}\) is defined by the iterated integral
In the following we will use the terms path signature or signature interchangeably. Furthermore, we omit the subscript for the endpoints (a, b) when the signature is taken over the entire domain of the path, \(S(X) {:=}S(X)_{a,b}\).
Here we explicitly describe the first two levels of the signature to gain a more intuitive understanding. For \(i \in \{1, \ldots , d\}\), the i-component of the first level signature \(S_1(X)\) is
the displacement of the path in the i component (i.e. the difference between the ending and starting point in dimension i).
The second level signature captures richer information about the relationship between the pair of path components and it has a beautiful geometric interpretation. Suppose \(i, j \in \{1, \ldots , d\}\). As in the first level, we can perform the explicit computation to obtain
This quantity can be interpreted as the area bounded by the path \(X_{[a, b]}\) and the \(X^{j}\)-axis, as shown in Fig. 1a and b. From this, we can see that the signature is in general not symmetric with respect to its components; for instance \(S^{i,j}_2(X) \ne S^{j,i}_2(X)\). In fact, the difference
is the signed area bounded by the path X (appended with a linear path from the end point \(X_b\) to the initial point \(X_a\), see Fig. 1c).
While higher levels of the signature are more difficult to interpret geometrically, we can see from these two examples that the signature captures geometric features of the path. In fact, the path signature fully characterizes the path up to an equivalence relation called tree-like equivalence (roughly speaking, two paths are tree-like equivalent if they differ by a finite number of retracings)15. Even more crucial for data science applications, finite linear combinations of signature terms,
where \(a_j \in {\mathbb {R}}\), and each \(I_j\) is a multi-index (possibly of different lengths), can approximate nonlinear functions on the space of paths under suitable conditions16. This property allows us to transform a non-linear classification problem on the space of paths into a linear classification problem on the space of signature features.
The application of path signatures for EEG-based BCI is strongly motivated by its invariance properties.
-
1.
(Translation Invariance.) For any path \(X_t : [a,b] \rightarrow {\mathbb {R}}^d\) and any vector \(v \in {\mathbb {R}}^d\), we have \(S(X)_{a,b} = S(X+v)_{a,b}\).
-
2.
(Reparametrization Invariance.) For any path \(X_t: [a,b] \rightarrow {\mathbb {R}}^d\) and any reparametrization \(\phi : [a,b] \rightarrow [c,d]\), which is a monotone increasing, bijective function, we have \(S(X)_{a,b} = S(X \circ \phi )_{c,d}\).
In practice, the path signature is truncated at a certain level so it provides a fixed length feature vector of the time series regardless of the number of time steps. The path signature has further algebraic properties which leads to effective algorithms in an online context. Suppose \(X_t: [a,b] \rightarrow {\mathbb {R}}^d\) is signal for which we have already computed the path signature, and \(Y_t: [b,c] \rightarrow {\mathbb {R}}^d\) is a newly obtained signal. We can compute the signature of the concatenated path \((X*Y)_t: [a,c] \rightarrow {\mathbb {R}}^d\) by taking the tensor product of the two signatures, \(S(X*Y)_{a,c} = S(X)_{a,b} \otimes S(Y)_{b,c}\); this relation is called Chen’s identity14. In practice, \(Y_t\) would consist of one additional time point, and by using the fused multiply-exponentiate algorithm17, the complexity of computing \(S_{\le k}(X*Y)\) given \(S_{\le k}(X)\) is \(O(d^k)\), where k is the truncation level of the signature.
Indeed, as mentioned earlier, EEG data vary greatly between sessions and users. By using the path signature, we expect some of these variations (e.g. the covariate shift or the temporal difference) to be absent for the features using this method, and would therefore allow us to build more robust BCIs.
Cyclicity analysis
The cyclic structure or lead-lag relationship (the temporal ordering of cyclic signals) of a multidimensional path can be recovered from the second level signature and has been applied successfully to analyse fMRI data18,19,20. We define the lead matrix18 \(L \in {\mathbb {R}}^{d \times d}\) by
where \(S_2(X) \in {\mathbb {R}}^{d \times d}\) is the second level signature as a \(d \times d\) matrix, and \(S_2(X)^\intercal \) is its transpose. In particular, the (i, j) entry of L is
the signed area of the path X projected onto the coordinates \((X^i_t, X^j_t)\), as discussed in the previous section. An observation from Baryshnikov and Schlafly18 is that a positive value of \(L_{i,j}(X)\) (or equivalently, a negative value of \(L_{j,i}(X)\) due to the skew-symmetry of L(X)) can be interpreted as an indicator that the signal \(X^i\) is leading the signal \(X^j\).
In fact, we can gain further insight into the temporal ordering of cyclic signals from the lead matrix. We consider a simple example to demonstrate this fact. Consider the time series \(X_t : [0,T] \rightarrow {\mathbb {R}}^n\), where \(X^i_t {:=}\sin (t - \alpha _i)\), where \(\alpha _i\) denotes a phase shift.
The goal is to recover the cyclic order of the components, or equivalently the system of offsets \(\alpha _i\), from the lead matrix. The lead matrix of \(X_t\) can be explicitly computed, where
We can rewrite \(L = \frac{T}{2}( x y^\intercal - y x^\intercal )\), where \(x = (\sin \alpha _1, \ldots , \sin \alpha _n)^\intercal \) and \(y = (\cos \alpha _1, \ldots , \cos \alpha _n)^\intercal \); in particular, it is a rank 2 matrix. Following the analysis in Baryshnikov and Schlafly18, the eigenvectors corresponding to the nonzero eigenvalues are
where \(\psi \) is a phase, and \({\bar{v}}_1\) denotes the complex conjugate of \(v_1\). Thus, we find that the phase of the complex components in the eigenvector \(v_1\) recovers the temporal ordering of the signals, and we show an numerical illustration of this example in Fig. 2.
The signals are \(\sin (t - \alpha _i)\) shown at the left. In the middle is the lead matrix in which yellow corresponds to positive values and blue to negative values. If \(L_{i,j}\) is positive it means signal i is leading signal j. At the right is the first eigenvector of the lead matrix. We see a perfect recovery of the cyclic order from the phase of the elements of the first pair of eigenvectors.
If the path X contains more than one set of lagged sine waves, there will be the same number of non zero conjugate pairs of eigenvalues as the number of sets of sine waves. The cyclic order of each set of sine waves can still be recovered from eigenvectors. The magnitude of the eigenvalues indicates the magnitude of the sine wave and the magnitude of the elements in each eigenvector indicates the correlation with the corresponding sine wave21.
Figure 3 shows an example with 2 sets of sine waves. There are 2 conjugate pairs of eigenvalues and 2 blocks in the lead matrix. With the eigenvectors corresponding to the 2 non zero eigenvalues, the cyclic order is again completely recovered. While we only considered simple sinusoids in this example, we emphasize that the same results would hold for any reparametrization of the sine waves, due to reparametrization invariance.
Riemannian classifier
The Riemannian classifier is the gold standard classifier in the field of brain-computer interfaces7. It takes as features the covariance matrices of multi-channel EEG data. When estimated with enough samples, covariance matrices are symmetric positive definite (SPD) matrices, i.e. they belong to the set \(\{A \,|\, A^\intercal = A, \lambda _i > 0, \,\forall i\}\), where \(\lambda _i\) are eigenvalues of A. This set is an open subset of \({\mathbb {R}}^{n\times n}\), so it is a manifold. However, geodesics induced by the Euclidean embedding may leave the SPD manifold. To remedy this, an intrinsic Riemannian metric of the manifold has to be used. The most popular solution in the medical imaging domain is the affine-invariant metric22, and the Log-Euclidean metrics23 provides a fast approximation when the data are concentrated with respect to the curvature. The following study used pyRiemann24 package for the implementation of the Riemannian classifier, and only the affine-invariant metric is used.
The Riemannian classifier has its name since it uses Riemannian geometry to compute the distance between covariance matrices, but the core of the classification algorithm could be any classical machine learning algorithm. For example, with the minimum distance to mean (MDM) classifier, it computes the distance between a sample and the mean of each class and labels it with the label of the nearest class. The novelty is due to the fact that the distance and mean are computed in the Riemannian sense. Another variant is to project all covariance matrices to the tangent plan of a reference point (e.g. identity matrix, geometric mean) via the logarithmic map and then apply classical classifiers such as support vector machine (SVM) in the Euclidean tangent space25.
Datasets
In accordance with the principles of open science, we have exclusively worked with publicly available datasets. We have further chosen the most used datasets among open EEG-based BCI datasets for MI BCI applications: the BCI competition IV 2a dataset26 and the Physionet motor imagery dataset27.
The BCI competition IV 2a dataset is an indispensable classical MI BCI dataset which consists of data collected from 9 subjects on 2 sessions on different days. Each session contains a total of 288 trials of 4 tasks: imagination of movement of left hand, right hand, feet and tongue. Each trial lasts for 6 s with 2 s of resting state at the beginning. After the cue appears on the screen at \(t=2\)s, participants have to perform the motor imagery task. EEG signals were recorded using 22 Ag/AgCl electrodes placed according to the international 10–20 system with the left mastoid as reference and right mastoid as ground electrode. Signals were down-sampled to 250 Hz and band-pass filtered into the 0.5–100 Hz band. A 50 Hz notch filter was applied. There were also 3 EOG channels, but they were not used in our experiments. Trials were checked by human experts and those containing artifacts were marked by the dataset providers. The trials marked with artifacts were excluded in our study.
The Physionet MI dataset contains data recorded from 109 subjects performing motor movement and imagery, but only motor imagery data were used in our experiments. There is only 1 session consisting of 14 runs, each including 2 trials of 1 min resting state (eyes open/closed), and 3 runs of 2 min with the following 4 tasks: open and close left or right fist, imagine opening and closing left or right fist, open and close both fists or both feet, imagine opening and closing both fists or both feet. EEG signals were recorded using the BCI2000 system with 64 channels placed according to the international 10–20 system and were down-sampled to 160 Hz. The data of 4 subjects were rejected because they do not have the same number of trials and time steps as other subjects.
Results and discussion
In this section two ways of applying the path signature on EEG-based BCIs, as illustrated in Fig. 4, are presented, followed by a cyclicity analysis on EEG data. We use the Signatory17 Python package for signature computations.
The first study uses the path signature directly as a feature vector. The second study takes the negative square of the lead matrix constructed from the second level signature and adds a regularization term to get a symmetric positive definite (SPD) matrix to be used as features with the Riemannian classifier.
First study
In the first study, the use of the path signature as a feature map was explored. More precisely, we considered the EEG signal \(X_t\) as an n-dimensional path \(X: [0, T] \mapsto {\mathbb {R}}^n\) and computed the truncated signature up to level k. Then a classical classifier was applied on this feature vector. The focus here was exploring the performance with different truncation levels and classifiers, so only the most classical dataset, the BCI competition IV 2a dataset, was used.
Cross-validation (Ten-fold for intra-subject and leave-one-out for inter-subject) was performed on the data with the left versus right motor-imagery paradigm. The results are summarized in Table 1 and Fig. 5. The full name of the classifiers associated with the acronyms used in the table are: support vector machine (SVM), linear discriminant analysis (LDA), logistic regression (LR), random forest (RF), and multilayer perceptron (MLP). Note that even though we call it “raw data”, the data was still filtered into the 8–30 Hz frequency band relevant to motor imagery before computing path signature.
In both intra- and inter-subject classification, the best results were achieved by level 2 signature: 67.1% with LR for intra-subject classification and 58.7% with MLP for inter-subject classification. As discussed in the Methods section, the second level signature captures the cyclic order and can be reformulated by lead matrices. By focusing our analysis on the second level, we can employ the matrix structure, leading to the second study of this paper.
Second study
It is clear that the lead matrix L is skew-symmetric, i.e. \(L^\intercal = -L\). We can turn this into a symmetric positive semi-definite matrix by taking the negative square, as \(A = -L^2 = L^\intercal L\). In fact, let v be an arbitrary vector, we have \(v^\intercal A v = v^\intercal L^\intercal L v = \Vert L v \Vert ^2 \ge 0\).
The matrix A can be further turned into an SPD matrix by adding a small value on its diagonal28. Now that we have the SPD matrix \(A + \varepsilon I\), we can use them as features and leverage the advantages of Riemannian classifiers. This idea is tested here on both publicly available BCI datasets, both for intra- and inter-subject classification to further evaluate the usefulness of signature features, including a benchmark with usual covariance features. The results are summarized in Table 2 (\(\varepsilon \) was set to 0.001).
Although the signature-based method falls behind traditional Riemannian method for intra-subject classification, the difference is not substantial for inter-subject classification, and it shows better robustness, especially on Physionet dataset with a much larger number of subjects and a relatively low mean classification accuracy with the state-of-the-art methods. Not only is the mean accuracy slightly better (47.0% vs. 46.2%), the standard deviation is also smaller: 11.0% for signature based method and 14.8% for the traditional Riemannian classifier.
If we divide subjects into more and less responsive subjects according to their score under traditional Riemannian classifier with a 50% threshold (chance level29), we were able to see the clear advantage of the signature based method for subjects with low classification accuracy from Fig. 6. Note that 67 of the 105 subjects are categorized as less responsive.
Inter-subject classification accuracy (grouped by performance under RC with a 50% threshold) on the Physionet dataset with leave-one-out cross-validation. A Riemannian classifier is applied on covariance matrices (RC) and on signature-based SPD matrices (Sig) respectively. The p-values of the paired t-test with Bonferroni correction applied on accuracy of RC and Sig for good and bad groups are \(6.828e-05\) and \(8.351e-06\) respectively (marked with **** in the figure).
Cyclicity analysis on EEG data
To better understand the stronger performance of the second level signature, a cyclicity analysis as described in the Methods section was conducted on the same EEG data used in the first study (BCI Competition IV 2a dataset). The eigenvalues and eigenvectors of the lead matrices were computed. Figure 7 shows the absolute value of the eigenvalues averaged across trials and participants. The first 2 conjugate pairs of eigenvalues dominate, which guarantees a good power of explicability of the corresponding eigenvectors.
Frequency that a channel appears in the top 10 largest elements of the first (a) and second (b) leading eigenvectors of the lead matrix in the left/right MI conditions separately (over all subjects in the BCI Competition IV 2a dataset). The channel locations26 are shown in (c).
Figure 8 shows the number of times that one channel appeared in the top 10 largest elements of the first 2 eigenvectors corresponding to the 2 largest pairs of eigenvalues. The color of the bars indicates left/right MI. For the first eigenvector, the channel POz (labeled as 22 in the dataset) from the parieto-occipital region had the largest counts. This might be due to the fact that during a task, brain signals are dominated by visual related signal processed in the occipital lobe and attentional networks related signals from the parietal lobe. Note that there was little difference between left/right conditions. For the second eigenvector, there was a large contribution from channels located above the sensorimotor cortex (e.g. C5 and C6 or 7 and 13 according to the channel labels in the dataset) and a clear difference between left/right conditions.
Conclusion
This paper explored applications of the path signature for EEG-based BCIs. The first study used the path signature directly as a feature vector. Promising results were achieved with the signature truncated at the second level. The second study used the negative square of the lead matrices constructed from the second level signature and added a regularization term to obtain SPD matrices as features. A Riemannian classifier was applied on these signature-based SPD matrices. The classification results on several publicly available MI BCI datasets were compared to those with a Riemannian classifier applied on covariance matrices. The signature-based method showed better performance and robustness on users where the traditional use of Riemannian classifier fails although remaining close to the chance level.
Even though lead-lag relationships in EEG signals could be established by estimating phase differences via a traditional time-frequency analysis, the benefit of using the signature is that it does not rely on the assumption of periodicity, which is more realistic. Moreover, there is no need to first filter the signal into a narrow frequency band to get an interpretable phase. The lead matrix contains the phase information of oscillations of different frequencies.
Moreover, there is evidence that the lead-lag relationship, i.e. the ordering information, does encode information and have a functional role in the brain. At the macroscopic level, cortical travelling waves (oscillations with systematic phase offsets) have been observed in the EEG recording at a wide range of brain areas, e.g. motor cortex, visual cortex and hippocampus30. In particular, the travelling waves in the motor cortex are suggested to have the functional role of movement preparation and motor coordination31, which may justify the relevance to the motor imagery based BCI. At the microscopic level, the neural sequence (the sequence of neuronal activity in which neurons are transiently active during task trials with different neurons active at different parts of the trial) has been used as the representation for a sensorimotor task of a mouse navigating a T-maze32. Zhou et al. argued that the neural sequences represent an ideal and flexible dynamical regime for the brain to read out time information33. However the link between mental states and the lead-lag relationship between channels needs to be further investigated and validated. The lead-lag relationship should also be interpreted with caveat since the implication of lead/lag based on the sign of a signed area assumes that the signals are consubstantial. This is not the case with EEG signal which might have opposite trends in different channels.
Hence, this article advocated for the use of a mathematical method that was until now unexplored for both EEG analysis and BCI applications. Promising results are found which open new perspectives on how to design BCIs that would be more robust to inter-subject variability and that might help tackle – at least in part– the so-called BCI illiteracy. The path signature provides a novel way to generate features from multi-channel EEG data. The features are invariant under time reparametrization and translation and they capture the lead-lag relationship between channels. In the future, a thorough comparison with more methods and on more open datasets via MOABB34 need to be done to further validate the utility of path signature for BCI applications. Ensemble learning could be employed to combine the covariance-based features and the signature-based features to further boost classification accuracy, as it has been shown to be effective with functional connectivity35. Besides, some general techniques to improve the performance of the signature method36, such as the lead-lag augmentation of the times series, could be attempted. It would also be interesting to investigate the link between the lead-lag relationship and other connectivity measures.
Data availibility
The datasets analysed during the current study are publicly available. The BCI competition IV 2a dataset26 can be downloaded from https://www.bbci.de/competition/iv/. The Physionet motor imagery dataset27 can be downloaded from https://physionet.org/content/eegmmidb/1.0.0/.
Code availability
The code is available at https://github.com/XiaoqiXu77/Signature_BCI.
References
Birbaumer, N. et al. A spelling device for the paralysed. Nature 398, 297–298 (1999).
Wolpaw, J. & Wolpaw, E. W. Brain-Computer Interfaces: Principles and Practice (Oxford University Press, 2012).
Kim, S.-P. Preprocessing of EEG 15–33 (Springer Singapore, Singapore, 2018).
Pfurtscheller, G. & Lopes da Silva, F. H. Event-related EEG/MEG synchronization and desynchronization: Basic principles. Clin. Neurophysiol. 110, 1842–1857 (1999).
McFarland, D. J., Miner, L. A., Vaughan, T. M. & Wolpaw, J. R. Mu and beta rhythm topographies during motor imagery and actual movements. Brain Topogr. 12, 177–186 (2000).
Miller, K. J. et al. Cortical activity during motor execution, motor imagery, and imagery-based online feedback. Proc. Natl. Acad. Sci. 107, 4430–4435 (2010).
Lotte, F. et al. A review of classification algorithms for eeg-based brain-computer interfaces: A 10 year update. J. Neural Eng. 15, 031005. https://doi.org/10.1088/1741-2552/aab2f2 (2018).
Wu, D., Xu, Y. & Lu, B.-L. Transfer learning for eeg-based brain-computer interfaces: A review of progress made since 2016. IEEE Trans. Cogn. Dev. Syst. 14, 4–19. https://doi.org/10.1109/TCDS.2020.3007453 (2022).
Chen, K.-T. Integration of paths—A faithful representation of paths by noncommutative formal power series. Trans. Am. Math. Soc 89, 395–407 (1958).
Lyons, T. J., Caruana, M. & Lévy, T. Differential Equations Driven by Rough Paths (Springer, 2007).
Yang, W., Jin, L. & Liu, M. Deepwriterid: An end-to-end online text-independent writer identification system. IEEE Intell. Syst. 31, 45–53. https://doi.org/10.1109/MIS.2016.22 (2016).
Perez Arribas, I., Goodwin, G. M., Geddes, J. R., Lyons, T. & Saunders, K. E. A. A signature-based machine learning model for distinguishing bipolar disorder and borderline personality disorder. Transl. Psychiatry 8, 274–274. https://doi.org/10.1038/s41398-018-0334-0 (2018).
Moore, P. J., Lyons, T. J., Gallacher, J., Alzheimer’s Disease Neuroimaging Initiative. Using path signatures to predict a diagnosis of Alzheimer’s disease. PloS one 14, e0222212. https://doi.org/10.1371/journal.pone.0222212 (2019).
Chevyrev, I. & Kormilitzin, A. A primer on the signature method in machine learning, https://doi.org/10.48550/ARXIV.1603.03788 (2016).
Hambly, B. & Terry, L. Uniqueness for the signature of a path of bounded variation and the reduced path group. Ann. Math.https://doi.org/10.4007/annals.2010.171.109 (2010).
Chevyrev, I. & Oberhauser, H. Signature moments to characterize laws of stochastic processes. J. Mach. Learn. Res. 23, 1–42 (2022).
Kidger, P. & Lyons, T. Signatory: Differentiable computations of the signature and logsignature transforms, on both CPU and GPU. In International Conference on Learning Representations (2021). https://github.com/patrick-kidger/signatory.
Baryshnikov, Y. & Schlafly, E. Cyclicity in multivariate time series and applications to functional mri data. In 2016 IEEE 55th Conference on Decision and Control (CDC), 1625–1630, https://doi.org/10.1109/CDC.2016.7798498 (2016).
Shahsavarani, S., Abraham, I. T., Zimmerman, B. J., Baryshnikov, Y. M. & Husain, F. T. Comparing cyclicity analysis with pre-established functional connectivity methods to identify individuals and subject groups using resting state fMRI. Front. Comput. Neurosci. 13, 94. https://doi.org/10.3389/fncom.2019.00094 (2020).
Abraham, I., Shahsavarani, S., Zimmerman, B., Husain, F. & Baryshnikov, Y. Slow cortical waves through cyclicity analysis. bioRxivhttps://doi.org/10.1101/2021.05.16.444387 (2021). https://www.biorxiv.org/content/early/2021/07/14/2021.05.16.444387.full.pdf.
Zimmerman, B. J., Abraham, I., Schmidt, S. A., Baryshnikov, Y. & Husain, F. T. Dissociating tinnitus patients from healthy controls using resting-state cyclicity analysis and clustering. Netw. Neurosci. 3, 67–89. https://doi.org/10.1162/netn_a_00053 (2018).
Pennec, X., Fillard, P. & Ayache, N. A riemannian framework for tensor computing. Int. J. Comput. Vis. 66, 41–66. https://doi.org/10.1007/s11263-005-3222-z (2006).
Arsigny, V., Fillard, P., Pennec, X. & Ayache, N. Geometric means in a novel vector space structure on symmetric positive-definite matrices. SIAM J. Matrix Anal. Appl. 29, 328–347. https://doi.org/10.1137/050637996 (2007).
Barachant, A. et al. pyriemann/pyriemann: v0.3, https://doi.org/10.5281/zenodo.7547583 (2022).
Barachant, A., Bonnet, S., Congedo, M. & Jutten, C. Classification of covariance matrices using a Riemannian-based kernel for BCI applications. Neurocomputing 112, 172–178. https://doi.org/10.1016/j.neucom.2012.12.039 (2013).
Tangermann, M. et al. Review of the BCI competition IV. Front. Neurosci.https://doi.org/10.3389/fnins.2012.00055 (2012).
Schalk, G., McFarland, D., Hinterberger, T., Birbaumer, N. & Wolpaw, J. BCI 2000: A general-purpose brain-computer interface (BCI) system. IEEE Trans. Biomed. Eng. 51, 1034–1043. https://doi.org/10.1109/TBME.2004.827072 (2004).
Kalaganis, F. P., Laskaris, N. A., Chatzilari, E., Nikolopoulos, S. & Kompatsiaris, I. A Riemannian geometry approach to reduced and discriminative covariance estimation in brain computer interfaces. IEEE Trans. Biomed. Eng. 67, 245–255. https://doi.org/10.1109/TBME.2019.2912066 (2020).
Müller-Putz, G., Scherer, R., Brunner, C., Leeb, R. & Pfurtscheller, G. Better than random: A closer look on BCI results. Int. J. Bioelectromagn. 10, 52–55 (2008).
Muller, L., Chavane, F., Reynolds, J. & Sejnowski, T. Cortical travelling waves: Mechanisms and computational principles. Nat. Rev. Neurosci. 19, 255–268. https://doi.org/10.1038/nrn.2018.20 (2018).
Sanes, J. N. & Donoghue, J. P. Oscillations in local field potentials of the primate motor cortex during voluntary movement. Proc. Natl. Acad. Sci. 90, 4470–4474 (1993).
Driscoll, L. N., Pettit, N. L., Minderer, M., Chettih, S. N. & Harvey, C. D. Dynamic reorganization of neuronal activity patterns in parietal cortex. Cell 170, 986–999 (2017).
Zhou, S., Masmanidis, S. C. & Buonomano, D. V. Neural sequences as an optimal dynamical regime for the readout of time. Neuron 108, 651-658.e5. https://doi.org/10.1016/j.neuron.2020.08.020 (2020).
Jayaram, V. & Barachant, A. Moabb: Trustworthy algorithm benchmarking for BCIs. J. Neural Eng. 15, 066011. https://doi.org/10.1088/1741-2552/aadea0 (2018).
Corsi, M.-C., Chevallier, S., Fallani, F. D. V. & Yger, F. Functional connectivity ensemble method to enhance BCI performance (fucone). IEEE Trans. Biomed. Eng. 69, 2826–2838. https://doi.org/10.1109/TBME.2022.3154885 (2022).
Morrill, J., Fermanian, A., Kidger, P. & Lyons, T. A generalised signature method for multivariate time series feature extraction. https://doi.org/10.48550/ARXIV.2006.00873 (2020).
Acknowledgements
This work was funded by ANITI (Artificial and Natural Intelligence Toulouse Institute), Toulouse, France. DL was supported by NCCR-Synapsy Phase-3 SNSF Grant Number 51NF40-185897 and Hong Kong Innovation and Technology Commission (InnoHK Project CIMDA).
Author information
Authors and Affiliations
Contributions
Original idea: X.X. & D.L.; analyses: X.X.; drafting of the article: X.X.; analysis and writing supervision, critical revisions: N.D. & R.N.R.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher's note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Xu, X., Lee, D., Drougard, N. et al. Signature methods for brain-computer interfaces. Sci Rep 13, 21367 (2023). https://doi.org/10.1038/s41598-023-41326-8
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598-023-41326-8
Comments
By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.