A Unified SPD Token Transformer Framework for EEG Classification: Systematic Comparison of Geometric Embeddings
Abstract
Spatial covariance matrices of EEG signals are Symmetric Positive Definite (SPD) and lie on a Riemannian manifold, yet the theoretical connection between embedding geometry and optimization dynamics remains unexplored. We provide a formal analysis linking embedding choice to gradient conditioning and numerical stability for SPD manifolds, establishing three theoretical results: (1) BWSPD's gradient conditioning (vs for Log-Euclidean) via Daleckii-Kre\u{\i}n matrices provides better gradient conditioning on high-dimensional inputs (), with this advantage reducing on low-dimensional inputs () where eigendecomposition overhead dominates; (2) Embedding-Space Batch Normalization (BN-Embed) approximates Riemannian normalization up to error, yielding accuracy on 56-channel ERP data but negligible effect on 8-channel SSVEP data, matching the channel-count-dependent prediction; (3) bi-Lipschitz bounds prove BWSPD tokens preserve manifold distances with distortion governed solely by the condition ratio . We validate these predictions via a unified Transformer framework comparing BWSPD, Log-Euclidean, and Euclidean embeddings within identical architecture across 1,500+ runs on three EEG paradigms (motor imagery, ERP, SSVEP; 36 subjects). Our Log-Euclidean Transformer achieves state-of-the-art performance on all datasets, substantially outperforming classical Riemannian classifiers and recent SPD baselines, while BWSPD offers competitive accuracy with similar training time.
Keywords
Cite
@article{arxiv.2601.21521,
title = {A Unified SPD Token Transformer Framework for EEG Classification: Systematic Comparison of Geometric Embeddings},
author = {Chi-Sheng Chen and En-Jui Kuo and Guan-Ying Chen and Xinyu Zhang and Fan Zhang},
journal= {arXiv preprint arXiv:2601.21521},
year = {2026}
}