Abstract
In this study, we explore the potential of using functional near-infrared spectroscopy (fNIRS) signals in conjunction with modern machine-learning techniques to classify specific anatomical movements to increase the number of control commands for a possible fNIRS-based brain-computer interface (BCI) applications. The study focuses on novel individual finger-tapping, a well-known task in fNIRS and fMRI studies, but limited to left/right or few fingers. Twenty-four right-handed participants performed the individual finger-tapping task. Data were recorded by using sixteen sources and detectors placed over the motor cortex according to the 10-10 international system. The event's average oxygenated $\Delta HbO$ and deoxygenated $\Delta HbR$ hemoglobin data were utilized as features to assess the performance of diverse machine learning (ML) models in a challenging multi-class classification setting. These methods include LDA, QDA, MNLR, XGBoost, and RF. A new DL-based model named "Hemo-Net" has been proposed which consists of multiple parallel convolution layers with different filters to extract the features. This paper aims to explore the efficacy of using fNRIS along with ML/DL methods in a multi-class classification task. Complex models like RF, XGBoost, and Hemo-Net produce relatively higher test set accuracy when compared to LDA, MNLR, and QDA. Hemo-Net has depicted a superior performance achieving the highest test set accuracy of 76%, however, in this work, we do not aim at improving the accuracies of models rather we are interested in exploring if fNIRS has the neural signatures to help modern ML/DL methods in multi-class classification which can lead to applications like brain-computer interfaces. Multi-class classification of fine anatomical movements, such as individual finger movements, is difficult to classify with fNIRS data. Traditional ML models like MNLR and LDA show inferior performance compared to the ensemble-based methods of RF and XGBoost. DL-based method Hemo-Net outperforms all methods evaluated in this study and demonstrates a promising future for fNIRS-based BCI applications.
Introduction
Brain-Computer Interfaces (BCIs) aim to translate neural activity into external commands, helping individuals with motor impairments regain autonomy. While functional MRI (fMRI) offers high spatial resolution for detecting fine movements, it is bulky, expensive, and requires the user to remain perfectly still. Functional Near-Infrared Spectroscopy (fNIRS) is a promising alternative—it’s portable, relatively cheap, and less sensitive to motion.
However, fNIRS has a major drawback: lower spatial resolution. Because of this, most fNIRS-based BCIs are limited to simple "left vs. right hand" commands. Classifying fine anatomical movements, such as distinguishing between a thumb tap and an index finger tap on the same hand, has historically been a "holy grail" challenge for the field. This paper investigates whether modern machine learning can extract these subtle signals from fNIRS data.
Experimental Setup and Data Acquisition
The study involved 24 right-handed participants (18 male, 6 female). Participants performed individual finger-tapping (thumb, index, middle, ring, and little finger) of the right hand. The experimental setup utilized a standard fNIRS recording system integrated with monitoring software to track hemodynamic responses in real-time.
To capture the necessary neural signatures, 16 sources and 16 detectors were placed over the motor cortex according to the 10-10 international system. This configuration was designed to maximize the coverage of the primary motor areas responsible for hand and finger movements.
Methodology
Signal Preprocessing
Raw light intensities were converted into changes in oxygenated ($\Delta HbO$) and deoxygenated ($\Delta HbR$) hemoglobin using the Modified Beer-Lambert Law. Temporal Derivative Distribution Repair (TDDR) was applied to correct for motion artifacts, and Butterworth filters were used to remove physiological noise such as heartbeats.
Feature Engineering and Classification
Instead of relying on peak values, the researchers used "event-related averages"—77-time-point windows capturing the hemodynamic response before, during, and after the 10-second tapping task. The final dataset for classification included 9,504 samples across five classes.
The study compared traditional models (LDA, QDA, Random Forest, XGBoost) against several deep learning architectures. The primary contribution is Hemo-Net, a custom deep-learning model inspired by "InceptionTime." It utilizes multiple parallel convolution layers with different filter sizes (kernels of 10, 20, and 40), allowing the model to capture hemodynamic signals at multiple temporal scales simultaneously.
Key Results
Hemo-Net outperformed all other models, achieving a 76% test set accuracy for the five-class classification task. In contrast, traditional linear models like LDA (31.9%) and MNLR (29.7%) performed poorly, highlighting that the relationship between finger movement and fNIRS signals is highly non-linear. While ensemble methods like Random Forest (60.2%) and XGBoost (57.4%) performed better than linear models, they exhibited significant overfitting.
Discussion and Conclusion
The success of Hemo-Net confirms that fNIRS captures distinct neural signatures for individual fingers, even with its inherent spatial resolution limitations. The parallel filtering approach in Hemo-Net proved more effective for hemodynamic data than standard sequential models like LSTMs.
While 76% accuracy is a significant breakthrough for five-class fNIRS classification, practical BCIs require higher reliability. Future work will explore data augmentation techniques like GANs to address data scarcity and investigate the use of raw time-series data to preserve more temporal information. These advancements pave the way for portable, high-command-count BCIs that could significantly improve the quality of life for users with motor impairments.
Summary updated