Abstract
Dynamic mode (DM) decomposition decomposes spatiotemporal signals into basic oscillatory components (DMs). DMs can improve the accuracy of neural decoding when used with the nonlinear Grassmann kernel, compared to conventional power features. However, such kernel-based machine learning algorithms have three limitations: large computational time preventing real-time application, incompatibility with non-kernel algorithms, and low interpretability. Here, we propose a mapping function corresponding to the Grassmann kernel that explicitly transforms DMs into spatial DM (sDM) features, which can be used in any machine learning algorithm. Using electrocorticographic signals recorded during various movement and visual perception tasks, the sDM features were shown to improve the decoding accuracy and computational time compared to conventional methods. Furthermore, the components of the sDM features informative for decoding showed similar characteristics to the high-γ power of the signals, but with higher trial-to-trial reproducibility. The proposed sDM features enable fast, accurate, and interpretable neural decoding.
Introduction
Decoding electrocorticographic (ECoG) signals—electrical activity recorded directly from the brain's surface—is fundamental for high-performance brain-computer interfaces (BCIs). Traditional methods often rely on power features, such as high-gamma band activity, to predict motor or sensory tasks. While Dynamic Mode Decomposition (DMD) has emerged as a robust alternative by treating neural activity as a set of spatiotemporal oscillations, its most accurate implementations have historically relied on the Grassmann kernel. This reliance introduces significant challenges: high computational costs that hinder real-time application, incompatibility with non-kernel algorithms (like L1-regularization), and a lack of interpretability.
Methods: Spatial DM (sDM) Mapping
To overcome these hurdles, we developed a mapping function that explicitly transforms DMD components into spatial DM (sDM) features. By computing $\Phi\Phi^\dagger$ from the matrix of Dynamic Modes ($\Phi$), we generate a matrix representing relationships between all electrode pairs. This matrix is further divided into:
- spatial node DM (snDM): Diagonal elements representing individual electrode activity.
- spatial edge DM (seDM): Off-diagonal elements representing interactions between brain regions.
This explicit feature mapping is mathematically equivalent to the Grassmann projection kernel but allows for the use of standard linear classifiers, such as L1-regularized SVMs, significantly improving computational efficiency and model flexibility.
Key Results and Insights
The sDM method was validated across five ECoG datasets involving motor and visual tasks. Key findings include:
Enhanced Accuracy and Speed
The sDM approach achieved a classification accuracy of approximately 80.5% for arm tasks, significantly outperforming traditional high-gamma power features (~71.4%). Crucially, training time scaled linearly ($O(n^{0.97})$), and prediction time became near-constant ($O(n^{0.001})$), making the system's speed independent of training set size—a vital requirement for real-time BCIs.
Interpretability and Spatial Selectivity
Unlike "black-box" kernel methods, sDM features allow for direct visualization of informative brain regions. F-value analysis revealed high selectivity in the sensorimotor cortex during hand tasks, aligning with known neurophysiology.
Reproducibility and Frequency Characteristics
A major advantage of snDM features is their superior trial-to-trial reproducibility compared to high-gamma power. While snDM features informative for decoding correlated with high-gamma activity (80–150 Hz), the spatial patterns themselves proved more critical for accuracy than specific frequency filtering.
Conclusion
The proposed sDM features provide a fast, accurate, and interpretable framework for neural decoding. By bridging the gap between advanced spatiotemporal decomposition and efficient linear machine learning, this method paves the way for more responsive and reliable BCIs. Future work will explore cross-patient decoding and integration with deep learning architectures like Graph Convolutional Networks.
Summary updated