[Paper Review] Exploring Embedding Methods in Binary Hyperdimensional Computing: A Case Study for Motor-Imagery based Brain-Computer Interfaces
This paper proposes and evaluates multiple embedding methods—random projections, thermometer/Gray coding, and end-to-end learned projections—for mapping EEG signals into binary hyperdimensional (HD) space for motor-imagery brain-computer interfaces. It demonstrates that learned HD representations achieve state-of-the-art accuracy (84.22% on 3-class dataset) while enabling 89.9× faster training and 58.7× lower energy consumption than linear SVM.
Key properties of brain-inspired hyperdimensional (HD) computing make it a prime candidate for energy-efficient and fast learning in biosignal processing. The main challenge is however to formulate embedding methods that map biosignal measures to a binary HD space. In this paper, we explore variety of such embedding methods and examine them with a challenging application of motor imagery brain-computer interface (MI-BCI) from electroencephalography (EEG) recordings. We explore embedding methods including random projections, quantization based thermometer and Gray coding, and learning HD representations using end-to-end training. All these methods, differing in complexity, aim to represent EEG signals in binary HD space, e.g. with 10,000 bits. This leads to development of a set of HD learning and classification methods that can be selectively chosen (or configured) based on accuracy and/or computational complexity requirements of a given task. We compare them with state-of-the-art linear support vector machine (SVM) on an NVIDIA TX2 board using the 4-class BCI competition IV-2a dataset as well as a new 3-class dataset. Compared to SVM, results on 3-class dataset show that simple thermometer embedding achieves moderate average accuracy (79.56% vs. 82.67%) with 26.8$ imes$ faster training time and 22.3$ imes$ lower energy; on the other hand, switching to end-to-end training with learned HD representations wipes out these training benefits while boosting the accuracy to 84.22% (1.55% higher than SVM). Similar trend is observed on the 4-class dataset where SVM achieves on average 74.29%: the thermometer embedding achieves 89.9$ imes$ faster training time and 58.7$ imes$ lower energy, but a lower accuracy (67.09%) than the learned representation of 72.54%.
Motivation & Objective
- To develop universal, efficient embedding methods that map real-valued EEG features to binary hyperdimensional (HD) space for low-power, fast-learning BCI systems.
- To evaluate the trade-offs between classification accuracy, training speed, and energy efficiency across different HD embedding techniques in a real-world BCI application.
- To investigate whether end-to-end learned HD projections can outperform hand-crafted embeddings (e.g., thermometer, Gray coding) and random projections in accuracy and efficiency.
- To benchmark the proposed HD classifiers against state-of-the-art linear SVM on embedded hardware (NVIDIA TX2) using real EEG datasets.
Proposed method
- Employs random projections to map real-valued EEG features into d-dimensional binary hypervectors using i.i.d. random binary matrices.
- Applies quantization-based thermometer and Gray coding to convert continuous EEG features into binary hypervectors by binning and encoding in a binary format.
- Introduces an end-to-end trainable encoder that learns optimal binary projections for EEG features, producing quasi-orthogonal hypervectors through backpropagation.
- Uses a binary HD classifier with vector operations (e.g., superposition, similarity computation) to perform online learning and inference on the HD representations.
- Employs a 10,000-bit hypervector dimensionality for all embeddings, with ablation studies on reduced dimensions (e.g., d=400) to assess efficiency.
- Evaluates performance on two EEG datasets: BCI Competition IV-2a (4-class) and a custom 3-class motor-imagery dataset, using accuracy, training time, and energy consumption as metrics.
Experimental results
Research questions
- RQ1How do different embedding methods (random projections, thermometer/Gray coding, learned projections) compare in classification accuracy for EEG-based motor-imagery BCI?
- RQ2What is the trade-off between training speed and energy efficiency of HD classifiers versus linear SVM on embedded hardware?
- RQ3Can end-to-end learned HD projections achieve higher accuracy than hand-crafted embeddings while maintaining low computational cost?
- RQ4To what extent do HD representations with reduced dimensionality (e.g., d=400) preserve classification performance compared to full-dimensional representations?
- RQ5How does the performance of HD classifiers compare to linear SVM in inference speed and energy consumption under different power modes?
Key findings
- On the 3-class dataset, thermometer embedding achieved 79.56% accuracy—slightly below SVM’s 82.67%—but with 26.8× faster training and 22.3× lower energy consumption.
- End-to-end learned HD representations achieved 84.22% accuracy on the 3-class dataset, surpassing the linear SVM by 1.55% and demonstrating superior accuracy with comparable efficiency.
- On the 4-class dataset, learned HD representations achieved 72.54% accuracy, outperforming thermometer embedding (67.09%) and approaching SVM’s 74.29% with 89.9× faster training and 58.7× lower energy.
- The HD classifier with thermometer embedding reduced memory footprint by an order of magnitude compared to random projections at similar accuracy, enabling efficient deployment.
- Inference on the 3-class dataset showed SVM was 3.5× faster and consumed 3.9× less energy than HD classifier, indicating potential inefficiencies in HD inference implementation that could be optimized.
- Learned projections with d=400 achieved the same accuracy as linear SVM on the 3-class dataset, demonstrating a 283:1 compression ratio from 1768 double-precision features to 400 binary bits.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.