Summary
Hybrid EEG-fNIRS-based cognitive workload recognition is essential for brain-computer interfaces; however, the complex data acquisition environments inherent to such systems introduce inter-channel interference that degrades model accuracy. To address this challenge, we propose an improved dynamic graph attention network for channel selection. The network leverages attention scores to filter out task-irrelevant channels, thereby reducing computational cost and environmental noise while enhancing model robustness. To further overcome the inherent heterogeneity across physiological modalities, we introduce a hierarchical feature fusion module that integrates EEG and fNIRS features at multiple levels. A collaborative attention loss function is additionally employed to mitigate cross-modal discrepancies. Validated on three public datasets under two training strategies, our model achieved average accuracies of 89.99%, 91.10%, and 98.26% under the subject-dependent paradigm (ten-fold cross-validation). Under the leave-one-subject-out (LOSO) paradigm, the model achieved average accuracies of 69.71%, 52.86%, and 69.67%, respectively. These results demonstrate that the proposed architecture enables highly efficient and effective cognitive workload recognition in complex data environments.
Keywords
Channel selection; EEG; fNIRS; Multimodal fusion; Deep learning
Introduction
Background
Cognitive workload refers to the mental effort required to perform a
specific task or process information within a given context 1,
2. In the literature, it
is often defined as the interaction between task demands and the cognitive resources
available to an individual 3. Measuring
cognitive workload is critical, particularly in
safety-critical human-machine systems, such as aviation, healthcare, or autonomous driving,
where excessive or insufficient workload can lead to performance errors, decision-making
failures, or accidents 4. Understanding
cognitive workload levels enables system designers
and operators to optimize interfaces, improve situational awareness, and enhance overall
system safety, thereby reducing the risks associated with human limitations.
Cognitive workload levels can be evaluated via subjective
self-assessments, behavioral metrics, and objective neurophysiological markers such as
Electroencephalogram (EEG) and functional Near-Infrared Spectroscopy (fNIRS) 5. EEG
directly records spontaneous cortical electrical activity with millisecond-level temporal
resolution 6, whereas fNIRS monitors local
hemodynamic oxygenation changes with superior
spatial localization 7. Given their
complementary spatiotemporal characteristics,
integrating EEG and fNIRS has emerged as a promising strategy for cognitive workload
recognition 8. Specifically, combining
rapid electrophysiological responses with spatially
localized hemodynamic activations facilitates a more comprehensive characterization of
cortical dynamics under varying cognitive demands 9.
Motivation
Interactions and interferences within the spatial domain of the same
modality primarily stem from the coupling effects between adjacent channels. These effects
cause the information between channels to intertwine or overlap, significantly increasing
the complexity of data processing. In practical applications, such interference introduces
substantial redundant information. Therefore, when designing and implementing signal
processing algorithms, it is essential to fully consider such spatial-domain interactions
and interferences to enhance overall neurophysiological data processing performance 10.
The inherent differences between EEG and fNIRS, including spatial and
temporal resolution, sampling rate, and noise sensitivity, prevent information transmission
between the two modalities. Such interference may affect the independence of the data.
Feature selection frameworks, such as those based on mutual information, can effectively
evaluate the complementarity and correlation between different modalities, identify key
features, and reduce the impact of redundant information 11. This process ensures the
accuracy and stability of the two modalities when used together, which is of great
significance for optimizing multimodal data fusion.
Furthermore, in the process of classifying cognitive workload events based on fNIRS and EEG signals, researchers also face a challenging task of addressing individual variability in complex environments. This task requires accurately distinguishing between the cognitive workload states of different individuals and handling high-dimensional feature spaces with limited training data. Traditional methods require prior feature selection before model training, which is a challenging and widely studied problem.
Contributions and novelties
This study proposes a GAT-based channel selection and hierarchical feature multimodal fusion model (GCFFNet) motivated by the aforementioned challenges. It is designed to better integrate EEG and fNIRS data, reduce the high-dimensional complexity, and identify cognitive workload tasks. The main contributions of GCFFNet are summarized as follows:
(1) A GAT-based channel selection method is proposed, which utilizes the returned graph attention scores to control graph structure simplification and select task-relevant channels, thereby adapting to cognitive workload recognition tasks under varying cost and accuracy requirements.
(2) After the channel selection stage, a hierarchical fusion module is introduced to process data from EEG and fNIRS modalities. To effectively capture key information, an encoder with multi-head self-attention layers is designed to handle inter-domain information of unimodal data. Subsequently, an interactive attention mechanism layer is employed to learn information from different modalities, generating new feature representations through weighted summation. Finally, global feature concatenation is performed to obtain the new fused features.
(3) During the model error propagation phase, a collaborative error loss function is designed to mitigate individual differences. This combines cross-entropy loss and an attention regularization term to promote feature alignment and fusion of multimodal data.
(4) Extensive experiments were conducted on three public datasets to evaluate the model’s performance under subject-dependent and leave-one-subject-out (LOSO) training paradigms. Additionally, the optimal channel distribution for cognitive workload recognition was investigated using different proportions of channels across unimodal and multimodal data.
Materials
Data Acquisition for Bimodal Databases
The Open Access Dataset for EEG+NIRS Single-Trial Classification
(denoted as OAD1), introduced by Shin et al., was employed in this study 28. The dataset
comprises recordings from 29 participants (28 right-handed, 1 left-handed; 14 males, 15
females; mean age ≈ 28 years). None of the participants reported any neurological,
psychiatric, or other brain-related disorders. All volunteers provided written informed
consent after being fully apprised of the experimental procedures. EEG signals were recorded
using a multichannel BrainAmp EEG amplifier equipped with 30 active electrodes mounted on a
customized elastic fabric cap. fNIRS data were collected using the NIRScout system, with
each adjacent source-detector pair forming a physiological NIRS channel. The experimental
paradigm comprised a mental arithmetic task with two conditions: mental arithmetic and
resting state. During the baseline resting-state condition, participants sat in a relaxed
posture and were instructed to avoid task-unrelated thoughts. The protocol consisted of
three sessions, each containing a 1-minute pre-experiment rest period, 20 task repetitions,
and a 1-minute post-experiment rest period, yielding a total of 60 trials per participant.
The second database, “Simultaneous Acquisition of EEG and NIRS during
Cognitive Tasks for an Open Access Dataset (denoted as OAD2),” comprised 26 right-handed
healthy participants (9 males, 17 females; mean age ≈ 26 years) performing cognitive tasks
29. Exclusion criteria included
neurological, psychiatric, or other brain-related
disorders that could confound the results. All participants provided written informed
consent after being apprised of the experimental procedures. The dataset encompasses three
n-back conditions (0-back, 2-back, and 3-back), administered in a counterbalanced order.
Each experimental trial comprised a 2-second instruction screen indicating the task type,
followed by a 40-second task period and a 20-second rest period. A 250-ms auditory beep
signaled the commencement and conclusion of each task period. During the 20-second rest
interval, a fixation cross was displayed to facilitate relaxation and minimize eye
movements.
The study further employed a dual-modality database titled “Open Access
Dataset Integrating EEG and fNIRS during Stroop Tasks (denoted as Stroop),” which included
21 participants (9 females, 12 males; mean age ≈ 23 years) 30. All participants exhibited
normal color vision, had no history of mental disorders or other conditions that could
affect the study’s conclusions, and were native Chinese speakers. The entire experimental
paradigm was administered in a Chinese linguistic environment. Written informed consent was
obtained from all participants prior to the experiment. The experiment employed a
block-design classical Stroop verbal color-word task, in which participants determined
whether the color of an upper Chinese character matched the meaning of a lower Chinese
character. The experiment comprised four blocks, with each stimulus presented for 2 s and a
5 s inter-trial interval. A 30 s rest period preceded the first block and followed the
fourth block, during which a white fixation cross on a black background was displayed at the
screen center. A beep sound was emitted 0.5 s before each block to alert participants.
Throughout the experiment, the brightness in the lower right corner of the screen varied
with stimulus type, enabling a photoelectric marking module to generate distinct signals for
both the fNIRS and EEG systems via a capture card. Figure 1 illustrates the electrode and
optode locations employed for EEG and fNIRS data acquisition across the three datasets.
Signal Preprocessing and Feature Description
For EEG preprocessing of three datasets (Table 1), a global average reference was first applied, followed by bandpass filtering using a third-order Butterworth filter at 4–45 Hz. Baseline time data were discarded, and only experimental data during the task period were processed. Independent component analysis (ICA) was subsequently applied to the bandpass-filtered EEG data to remove artifacts; specifically, bandpass filtering reduced.
Table 1. Summary of the three datasets.
| Datasets | OAD1 | OAD2 | Stroop |
| Participants | 29 | 26 | 21 |
| Mean age (±SD) | 28.5 ± 3.7 | 26.1±3.5 | 23.0±2.3 |
| Male/Female ratio | 14/15 | 9/17 | 12/9 |
| Task | MA | n-back | Stroop |
| Sessions for a participant | 3 | 3 | 4 |
| Trials for a session | 20 | 180 | 16 |
| Physiological modalities | EEG/fNIRS | EEG/fNIRS | EEG/fNIRS |
| Sampling rate of EEGs | 1000 Hz | 1000 Hz | 1000 Hz |
| Sampling rate of fNIRS | 12.5 Hz | 10 Hz | 100 Hz |
| NIRS channel locations | Prefrontal, motor, visual | Prefrontal, motor, occipital | Prefrontal, parietal |
| Target MW classes | Binary | Three | Binary |
For fNIRS preprocessing, the Beer-Lambert law was employed to
compute
concentration changes in oxyhemoglobin and deoxyhemoglobin, followed by bandpass
filtering
at 0.01-0.2 Hz to remove noise. Finally, data for each task period were extracted based
on
task marking locations, and baseline correction was performed using data from 5 to 2
seconds
prior to each marking point to account for the delay characteristics of the fNIRS
signal.
Additionally, considering that the cerebral hemodynamic response
typically peaks 4 to 6 seconds after stimulus onset, the window from 5 to 2 seconds
prior to
task onset could potentially contain residual hemodynamic activity from the preceding
trial.
To further evaluate the impact of baseline selection and ensure a clean resting state, a
supplementary comparative preprocessing scheme was conducted by shifting the fNIRS
baseline
correction window to 10 to 5 seconds prior to each stimulus onset, while maintaining all
other filtering and feature extraction procedures identical.
For feature extraction from the preprocessed data, a sliding window
of 1
s with a 1 s step was applied. Each EEG segment was divided into four frequency bands:
theta
(4–8 Hz), alpha (8–12 Hz), beta (12–30 Hz), and gamma (30–40 Hz). The power spectral
density
(PSD) of the EEG was then computed within these bands. Additionally, statistical
features,
including skewness, kurtosis, and zero crossing rate of EEG, as well as the mean and
average
slope of fNIRS, and complexity features (Shannon entropy of fNIRS) were extracted.
Method
The architecture of the proposed cognitive classifier, GCFFNet, is illustrated in Fig. 2. First, the EEG and fNIRS are preprocessed and feature-extracted separately. The extracted features from the two modalities are then imported into the channel selection module, where the attention scores for each channel are obtained, sorted based on these scores, and the channel dataset contributing the most to the task is selected. The selected channels are then input into the inter-domain feature fusion module, where multi-head attention mechanisms are used for integration. The inter-domain fused features from the two modalities are further fused through an interactive attention mechanism.Unlike conventional hybrid BCI frameworks that perform static feature selection or direct early concatenation, the core methodological innovation of GCFFNet lies in its progressive, structure-aware information bottleneck. First, incorporating edge-weight modulation into GAT dynamically prunes redundant spatial channels prior to cross-modal interaction, preventing noisy sensors from corrupting subsequent attention layers. Second, the two-stage hierarchical fusion decouples intra-modal multi-view integration from inter-modal temporal-spatial alignment, effectively resolving the dimensional and sampling heterogeneity between fast electrophysiological (EEG) and slow hemodynamic (fNIRS) signals. Finally, coupling the hierarchical encoder with the collaborative attention loss establishes a closed-loop optimization mechanism that regularizes cross-modal attention distributions in an end-to-end manner.
Feature learning and representation module
Modality-specific feature learning for EEG features
This paper adopts a strategy where the features of two types of signals are arranged by different channels and input into the GAT model in batches. Meanwhile, to more effectively utilize graph structure information, the normalized Laplacian matrix of each sample is also incorporated into the model input. To enable the model to provide a metric as the basis for channel selection, this study uses graph attention layers to construct the channel selection module of the model. GAT considers the edge weights of the graph during computation, and thus can use the normalized Laplacian matrix to guide the model in attention allocation during the information propagation stage.
Here, an undirected weighted graph is defined as \( \mathbf{G} = \{\mathbf{V}, \mathbf{E}, \mathbf{A}\} \). \( \mathbf{V} \) represents the set of nodes and \( |\mathbf{V}| = n_c \), with \( n_c \) denotes the number of channels for different modalities. \( \mathbf{E} \) represents the set of edges connecting the nodes. \( \mathbf{A} \) is defined as the weighted adjacency matrix, which represents the correlation between two nodes. To compute the adjacency matrix, this paper introduces the absolute Pearson Correlation Coefficient (PCC) matrix to illustrate the linear correlation between channels. \( |\mathbf{P}| \in [0,1] \), with \( \mathbf{P} \) denoting the PCC matrix. \( \mathbf{A} \) is defined as \( \mathbf{A} = |\mathbf{P}| - \mathbf{I} \), \( \mathbf{I} \) is the identity matrix. The resulting degree matrix is a diagonal matrix. Moreover, the \( ith\) diagonal element can be calculated from \( \mathbf{D}_{ii} = \sum_{i=1}^{n_c} \mathbf{A}_{ij} \). Finally, the normalized Laplacian matrix is calculated, \( \mathbf{L} = \mathbf{I}_{n_c} - \mathbf{D}^{-1/2}\,\mathbf{A}\,\mathbf{D}^{1/2} \). As shown in Fig. 3, the PCC matrix, absolute PCC matrix, weighted adjacency matrix, and Laplacian matrix of a subject are shown.
GAT considers the edge weights of the graph during computation, and thus can use the normalized Laplacian matrix to guide the model in attention allocation during the information propagation stage. The core idea of GAT lies in computing the correlation strength between a node and its neighbors through an attention mechanism, followed by a weighted summation of their features. Formally, for a given graph, the update rule of the GAT can be expressed as:
\[ \mathbf{h}_i^{\prime} = \sum_{j \in \mathcal{N}(i)\cup\{i\}} \alpha_{ij} \mathbf{W} \mathbf{h}_j, \tag{1} \]
In the equation, \( \mathbf{h}_i \) represents the feature vector of a node \( i \), \( \mathcal{N}(i) \) represents the neighbor node set of the node \( \mathbf{h}_i \), \( \mathbf{W} \) denotes the learned weight matrix, \( \alpha_{ij} \) denotes the attention coefficient. To calculate \( \alpha_{ij} \), GAT uses a learnable attention mechanism. It can be expressed by the following formula:
\[ \alpha_{ij} = \frac{\exp(\text{LeakyReLU}(\mathbf{a}^{\top}[\mathbf{Wh}_i\|\mathbf{Wh}_j]))}{ \sum_{k \in \mathcal{N}(i)\cup\{i\}} \exp(\text{LeakyReLU}(\mathbf{a}^{\top}[\mathbf{Wh}_i\|\mathbf{Wh}_k]))}, \tag{2} \]
Here, \( \mathbf{a} \) is a learnable weight vector used to compute the relevance between nodes. The operator \( \| \) denotes vector concatenation, which represents the feature stitching of node \( i \) and node \( j \). The function LeakyReLU refers to a non-linear activation function, such as LeakyReLU, which introduces nonlinearity into the model. The denominator performs normalization over the attention coefficients of all neighboring nodes of node \( i \) ensuring that the resulting attention weights sum to 1 via a softmax function.
Further, we improved the GAT by incorporating the edge weight information during the computation of unnormalized attention scores, thereby providing a more comprehensive representation of the underlying graph structure:
\[ f_{ij}^{'} = \text{LeakyReLU}\big( \mathbf{W} [\mathbf{h}_i \parallel f_{ij} \parallel \mathbf{h}_j] \big). \tag{3} \]
Here, \( f_{ij}^{'} \) represents the edge weight, \( \mathbf{W} \) represents the weight matrix, \( \mathbf{h}_i \) and \( \mathbf{h}_j \) represent the feature of the node \( i \) and node \( j \), respectively, and \( f_{ij} \) denotes the weight of the previous edge. The improved GAT shares a similar node feature update mechanism with the original GAT and each node corresponds directly to a physiological signal acquisition channel (as shown in Fig. 4).
Therefore, by optimizing the graph structure to retain only the nodes most relevant to the cognitive workload task, the model can significantly reduce the burden of data acquisition and enhance learning efficiency. From a theoretical perspective, employing the absolute PCC matrix to construct the initial graph topology offers two main advantages for short-window physiological signals. First, within a short 1-second sliding window, linear correlation estimators maintain high statistical stability and computational efficiency, avoiding the probability density estimation bias and sample-size sensitivity often encountered by nonlinear estimators on short time series. Second, while the absolute PCC defines the primary zero-lag spatial topology across cortical regions, the complex nonlinear interactions among channels are further captured by the subsequent nonlinear activation functions (LeakyReLU) in the improved GAT layers and the multi-head self-attention mechanisms. In addition, to evaluate the effect of nonlinear inter-channel dependencies during initial graph construction, Mutual Information (MI) is also investigated as an alternative adjacency metric in the experimental analysis.
Integrating multiview features from EEG and fNIRS
To integrate complexity features, frequency domain features and statistical domain features from the EEG modality, a multi-head self-attention mechanism was incorporated. On the basis of channel selection, it requires to construct EEG complexity-domain feature matrix \(\mathbf{X}_{co} \in \mathbb{R}^{m \times D_{co}}\), frequency-domain feature matrix \(\mathbf{X}_{fre} \in \mathbb{R}^{m \times D_{fre}}\), and statistical-domain feature matrix \(\mathbf{X}_{std} \in \mathbb{R}^{m \times D_{std}}\). Here, \(m\) represents the number of selected channels, \(D_{co}\), \(D_{fre}\), and \(D_{std}\) denote the dimensionality of complexity-domain features, frequency-domain features, and statistical-domain features, respectively. The integrated feature matrix of EEG is denoted as \(\mathbf{X}_{EEG} \in \mathbb{R}^{m \times (D_{co} + D_{fre} + D_{std})}\). The same operation as fNIRS, mapping the \(\mathbf{X}_{EEG}\) via weight matrix \(\mathbf{W}^Q\), \(\mathbf{W}^K\), and \(\mathbf{W}^V\) to generate the query matrix \(\mathbf{Q}_{EEG}\), key matrix \(\mathbf{K}_{EEG}\), and value matrix \(\mathbf{V}_{EEG}\):
\[ \begin{aligned} \mathbf{Q}_{EEG} &= \mathbf{X}_{EEG}\mathbf{W}^{Q}, \\ \mathbf{K}_{EEG} &= \mathbf{X}_{EEG}\mathbf{W}^{K}, \\ \mathbf{V}_{EEG} &= \mathbf{X}_{EEG}\mathbf{W}^{V}. \end{aligned} \tag{4} \]
Then, the multi-head self-attention (MDSA) dynamically captures the complex dependencies within the EEG features by computing attention weights. The outputs from all attention heads are then concatenated and passed through a linear transformation to produce the final output:
\[ \mathrm{head}_i = \mathrm{Attention}\big(\mathbf{X}_\mathrm{EEG} \mid \mathbf{Q}_\mathrm{EEG}\mathbf{W}_i^Q,\mathbf{K}_\mathrm{EEG}\mathbf{W}_i^K,\mathbf{V}_\mathrm{EEG}\mathbf{W}_i^V\big), \tag{5} \]
\[ \mathrm{MHSA}(\mathbf{X}_\mathrm{EEG}) = \mathrm{Concat}\big(\mathrm{head}_1,\dots,\mathrm{head}_h\big)\mathbf{W}^Q, \tag{6} \]
Finally, the transformed features are weighted and summed accordingly to achieve inter-domain feature fusion, enabling the model to integrate information from multiple attention subspaces in a unified representation.
\[ \mathbf{X}_{\text{EEG}}^{\text{fused}} = \text{FC}(\text{LN}(\text{MHSA}(\mathbf{X}_{\text{EEG}})) + \mathbf{X}_{\text{EEG}}). \tag{7} \]
Here, \(\text{LN}(\cdot)\) and \(\text{FC}(\cdot)\) represent the layer normalization and fully connected layer, respectively. In the same way, we can obtain the inter-domain fusion features \(\mathbf{X}_{\text{fNIRS}}^{\text{fused}}\) of fNIRS. Consequently, the multi-view features from each modality are properly integrated based on the MHSA mechanism.
Feature fusion module
Since cognitive workload may be influenced by interactions across multiple modalities, we design two interactive attention components (as shown in Fig. 5). First, we extract the query matrix set \(\mathbf{Q}^{\text{EEG}}\) and \(\mathbf{Q}^{\text{fNIRS}}\), key matrix set \(\mathbf{K}^{\text{EEG}}\) and \(\mathbf{K}^{\text{fNIRS}}\), value matrix set \(\mathbf{V}^{\text{EEG}}\) and \(\mathbf{V}^{\text{fNIRS}}\). Next, we take the features of a modal and the key matrix and value matrix of another mode into interactive fusion. To be specific, through interacting EEG features with the key matrix and value matrix of fNIRS, we gain the interactive features \(\mathbf{X}_{\text{EEG} \to \text{fNIRS}}\).
Meanwhile, by interacting fNIRS features with the key and value matrices of EEG, we obtain interactive features that capture the bidirectional information exchange between the two modalities. These two sets of interactive features \(\mathbf{X}_{\text{fNIRS} \to \text{EEG}}\). are regarded as the final output, reflecting the mutual interaction between EEG and fNIRS:
\[ \begin{aligned} \text{Attention}_{\text{EEG} \to \text{fNIRS}} &= \text{softmax}\left(\frac{\mathbf{Q}^{\text{EEG}} (\mathbf{K}^{\text{fNIRS}})^{\top}}{\sqrt{d}}\right) \mathbf{V}^{\text{fNIRS}}, \\ \text{Attention}_{\text{fNIRS} \to \text{EEG}} &= \text{softmax}\left(\frac{\mathbf{Q}^{\text{fNIRS}} (\mathbf{K}^{\text{EEG}})^{\top}}{\sqrt{d}}\right) \mathbf{V}^{\text{EEG}}. \end{aligned} \tag{8} \]
Here, \(\text{Attention}_{\text{EEG} \to \text{fNIRS}}\) and \(\text{Attention}_{\text{fNIRS} \to \text{EEG}}\) represent the weighted feature of EEG with respect to fNIRS and the weighted feature of fNIRS with respect to EEG, respectively. To further integrate the weighted feature representation of the dual modalities, the fusion operation is performed as:
\[ \begin{aligned} \mathbf{X}_{\text{EEG} \to \text{fNIRS}} &= \text{Concat}(\mathbf{X}_{\text{fused}}^{\text{EEG}}, \text{Attention}_{\text{EEG} \to \text{fNIRS}}), \\ \mathbf{X}_{\text{fNIRS} \to \text{EEG}} &= \text{Concat}(\mathbf{X}_{\text{fused}}^{\text{fNIRS}}, \text{Attention}_{\text{fNIRS} \to \text{EEG}}). \end{aligned} \tag{9} \]
In the equation, \(\mathbf{X}_{\text{EEG} \to \text{fNIRS}}\) and \(\mathbf{X}_{\text{fNIRS} \to \text{EEG}}\) represent the final fusion features of the paper of EEG and fNIRS.
Training Procedure
In this section, EEG and fNIRS features are integrated into unified fusion features through a sampling linear concatenation method. Subsequently, the model projects the output of the multi-head self-attention mechanism and generates the label sequence via a fully connected layer followed by a softmax function. To optimize model performance, this study employs a collaborative attention loss function that compares the predicted labels with the ground truth, thereby obtaining the final identification result.
The collaborative attention loss function enhances the model’s focus on key features while promoting feature alignment and fusion across different modalities. Specifically, the collaborative attention loss combines the cross-entropy loss and an attention regularization term. First, the attention weights of the fused features are calculated as:
\[ \alpha_{\text{co}} = \sigma (\mathbf{W}_{\text{attn}} \mathbf{X}_{\text{fused}}), \tag{10} \]
In the equation, \(\sigma\) represents the sigmoid activation function, \(\mathbf{W}_{\text{attn}}\) is the learned attention weight matrix. By weighting and fusing the obtained attention weight matrix and fusion feature, we gain the new features \(\mathbf{X}_{\text{attn}}\), which is shown as follows.
\[ \mathbf{X}_{\text{attn}} = \alpha_{\text{co}} \cdot \mathbf{X}_{\text{fused}}. \tag{11} \]
We define the predicted label as \(\hat{y} = \text{softmax}(\mathbf{W}_{\text{Class}} \mathbf{X}_{\text{attn}})\). Next, the cross-entropy loss function is incorporated:
\[ L_{\text{CE}} = -\frac{1}{N} \sum_{i=1}^{N} \sum_{j=1}^{C} y_{i,j} \log(\hat{y}_{i,j}). \tag{12} \]
Here, \(N\) represents the sample number, \(C\) means the number of categories, \(y_{i,j}\) represents the \(i\)-th true label, \(\hat{y}_{i,j}\) represents the predictive label, and the attention regularization loss is defined as follows:
\[ L_{\text{attn}} = \frac{1}{N} \sum_{i=1}^{N} |\alpha_{i}|. \tag{13} \]
The final collaborative attention loss can be defined as follows: \[ L_{\text{CoAttn}} = L_{\text{CE}} + \lambda L_{\text{attn}}. \tag{14} \]
Here, \(\lambda\) represents the hyper-parameter used to balance the cross-entropy loss and the attention regularization term.
Results
Hyperparameter Configuration
The experiments in this study were conducted on an NVIDIA GeForce RTX 4080 GPU using the PyTorch deep learning framework with CUDA version 11.6. Table 2 presents a detailed overview of the hyperparameter settings used in the evaluation of the GCFFNet model, under both subject-dependent cross-validation (SDCV) and LOSO cross-validation strategies. The hyperparameter configurations listed in Table 2 are adaptively adjusted based on the characteristics of each physiological dataset. To ensure fairness and reliability in model evaluation, the same number of training epochs was applied across all three datasets, with an early stopping mechanism incorporated to prevent overfitting.
To rigorously prevent data leakage and ensure a fair evaluation, the cross-validation dataset partitioning was strictly executed at the independent trial level. Specifically, all sliding windows derived from the same trial were grouped together and assigned exclusively to either the training set or the testing set. This trial-level split strategy guarantees that temporally adjacent and highly correlated segments from the same cognitive event do not appear simultaneously in both sets, thereby authentically reflecting the true generalization capability of the proposed model.
Table 2. Hyperparameter settings of the GCFFNet network.
| Hyperparameters | SDCV | LOSO | ||||
| OAD1 | OAD2 | Stroop | OAD1 | OAD2 | Stroop | |
| Training epochs | 200 | 200 | 200 | 200 | 200 | 200 |
| Early stopping parameter | 150 | 150 | 150 | 150 | 150 | 150 |
| Batch size | 64 | 64 | 32 | 64 | 64 | 32 |
| Learning rate | 0.001 | 0.001 | 0.001 | 0.001 | 0.001 | 0.001 |
| Random seed | 42 | 42 | 42 | 42 | 42 | 42 |
| Number of graph attention heads | 8 | 16 | 8 | 8 | 8 | 8 |
| Number of cross-attention heads | 4 | 4 | 4 | 4 | 4 | 4 |
| Number of interactive attention heads |
16 | 16 | 16 | 16 | 16 | 16 |
| Loss function weight coefficient | 0.5 | 0.5 | 0.5 | 0.5 | 0.5 | 0.5 |
Performance Evaluation across Modalities
To investigate the effectiveness of the proposed model in cognitive workload recognition, EEG signals, fNIRS signals, and fused EEG-fNIRS signals were respectively input into the model for evaluation. A comparative analysis was conducted under unimodal and multimodal conditions. Figure 6 presents the performance of the model across different modalities. Specifically, subfigures (a) and (c) illustrate the accuracy and F1-score under the subject-dependent cross-validation (SDCV) setting, while subfigures (b) and (d) show the average accuracy and F1-score under the LOSO setting.
Under the SDCV paradigm (Table 3), fNIRS consistently outperforms EEG in classification accuracy. In the OAD1 achieves 80.91% versus EEG’s 78.86%; in the OAD2, fNIRS reaches 83.11%, substantially exceeding EEG’s 68.40%; and in the Stroop, fNIRS attains 91.53%, surpassing EEG at 85.61%. Under the LOSO setting, however, both modalities exhibit degraded performance, with fNIRS experiencing a more pronounced decline. In the OAD1, EEG achieves 67.69%, higher than fNIRS’s 63.72%; in the OAD2, fNIRS achieves 49.67%, marginally outperforming EEG at 47.50%; and in the Stroop, fNIRS attains 66.94%, slightly above EEG’s 65.46%, though the difference is negligible. In conclusion, multimodal fusion demonstrates significant advantages for cognitive workload recognition, most notably under the SDCV paradigm. While fNIRS achieves strong performance under SDCV, its results are less stable under LOSO. Conversely, EEG exhibits more consistent behavior across both validation settings. These findings underscore the need for improved generalization strategies under LOSO to better accommodate individual variability.
Furthermore, Table 4 presents the classification performance under the SDCV and LOSO protocols after shifting the fNIRS baseline correction window to 10 to 5 seconds prior to stimulus onset and integrating mutual information into the graph construction. Under the SDCV paradigm, the unimodal fNIRS branch achieves accuracies of 81.77% on OAD1, 81.52% on OAD2, and 91.26% on Stroop, while the fused EEG-fNIRS model reaches 91.71%, 85.32%, and 92.64%, respectively. Notably, on the OAD1 dataset under the SDCV setting, the adjusted baseline yields an accuracy of 91.71% and an F1-score of 91.41%, surpassing the 89.99% accuracy obtained with the original baseline window. Under the LOSO paradigm, the adjusted configuration achieves multimodal accuracies of 68.56% on OAD1 and 47.97% on OAD2, while on the Stroop dataset, the accuracy reaches 90.25% (F1-score: 90.14%), outperforming both unimodal EEG (65.46%) and unimodal fNIRS (89.96%). Moreover, the standard deviations of both fNIRS and EEG-fNIRS across all three datasets are reduced to the range of 0.02% to 0.07%, indicating that utilizing the 10 to 5 seconds pre-stimulus baseline effectively mitigates inter-trial hemodynamic contamination and enhances the stability of multimodal feature representations.
Furthermore, Table 4 presents the supplementary classification results under the SDCV and LOSO protocols after shifting the fNIRS baseline correction window to 10 to 5 seconds prior to stimulus onset and replacing the absolute PCC with Mutual Information (MI) for adjacency matrix construction. Under the SDCV paradigm, the unimodal fNIRS branch achieves accuracies of 81.77% on OAD1, 81.52% on OAD2, and 91.26% on Stroop, while the fused EEG-fNIRS model reaches 91.71%, 85.32%, and 92.64%, respectively. Notably, on the OAD1 dataset under the SDCV setting, this adjusted configuration yields an accuracy of 91.71% and an F1-score of 91.41%, surpassing the 89.99% accuracy obtained with the original setup in Table 3. Under the LOSO paradigm, the multimodal model achieves accuracies of 68.56% on OAD1 and 47.97% on OAD2, while on the Stroop dataset, the accuracy reaches 90.25% (F1-score: 90.14%), outperforming both unimodal EEG (65.46%) and unimodal fNIRS (89.96%). Moreover, the standard deviations across all three datasets are maintained within a low range of 0.02% to 0.07%. These comparative findings demonstrate that shifting to a 10 to 5 seconds pre-stimulus baseline effectively mitigates inter-trial hemodynamic contamination, and constructing the graph adjacency matrix via nonlinear MI yields competitive and stable performance consistent with the PCC-based architecture.
Table 3. Accuracy and F1-score achieved by the proposed method
under the SDCV and LOSO evaluation protocols (ACC/F1).
| OAD1 | SDCV | LOSO |
| EEG | 78.86±0.39/76.46±0.48 | 67.69±0.08/67.58±0.08 |
| fNIRS | 80.91±0.39/80.50±0.54 | 63.72±0.05/62.64±0.08 |
| EEG-fNIRS | 89.99±0.27/88.57±0.29 | 69.71±0.06/68.72±0.09 |
| OAD2 | SDCV | LOSO |
| EEG | 68.40±0.26/66.89±0.30 | 47.50±0.08/38.46±0.10 |
| fNIRS | 83.11±0.44/80.86±0.61 | 49.67±0.05/40.52±0.05 |
| EEG-fNIRS | 91.72±0.27/91.41±0.29 | 52.86±0.06/48.02±0.08 |
| Stroop | SDCV | LOSO |
| EEG | 85.61±0.53/85.13±0.54 | 65.46±0.07/64.47±0.07 |
| fNIRS | 91.53±0.58/90.91±0.63 | 66.94±0.09/66.19±0.10 |
| EEG-fNIRS | 98.26±0.21/97.25±0.39 | 69.67±0.07/68.89±0.08 |
Table 4. Comparison of the proposed method's accuracy and
F1-score after fNIRS data adjustment under the SDCV and LOSO protocols (ACC/F1).
| OAD1 | SDCV | LOSO |
| EEG | 78.86±0.39/76.46±0.48 | 67.69±0.08/67.58±0.08 |
| fNIRS | 81.77±0.04/81.08±0.05 | 61.99±0.04/58.54±0.04 |
| EEG-fNIRS | 91.71±0.04/91.41±0.04 | 68.56±0.07/67.88±0.07 |
| OAD2 | SDCV | LOSO |
| EEG | 68.40±0.26/66.89±0.30 | 47.50±0.08/38.46±0.10 |
| fNIRS | 81.52±0.03/81.10±0.04 | 42.90±0.02/39.33±0.03 |
| EEG-fNIRS | 85.32±0.04/85.00±0.04 | 47.97±0.03/40.32±0.03 |
| Stroop | SDCV | LOSO |
| EEG | 85.61±0.53/85.13±0.54 | 65.46±0.07/64.47±0.07 |
| fNIRS | 91.26±0.04/90.52±0.05 | 89.96±0.07/89.85±0.07 |
| EEG-fNIRS | 92.64±0.04/90.33±0.05 | 90.25±0.06/90.14±0.06 |
Specifically, Table 3 shows that the accuracy drop from SDCV to LOSO is larger in fNIRS (17.19% to 33.44%) than in EEG (11.17% to 20.90%), mainly because near-infrared light attenuation and hemodynamic delays are highly sensitive to individual anatomical factors such as skull thickness and scalp-to-cortex distance. Moreover, while the collaborative attention loss promotes cross-modal feature alignment within the training set, it does not explicitly align marginal feature distributions between training and unseen test participants. Under severe inter-subject variability, such as in the three-class OAD2 dataset, over-penalizing the attention weights on source participants can restrict adaptability to unseen individuals, whereas reducing the regularization weight toward standard cross-entropy loss helps prevent source-domain overfitting.
Channel Selection Results
Given the disparity in raw channel counts between EEG and fNIRS modalities, a fixed channel number was not assigned across datasets. Instead, varying proportions of the original channels were retained via sampling to assess model generalization. Mean accuracy, mean F1-score, and their respective variances served as performance metrics, with results reported in Table 5 and 6.
The channel selection method employing attention scores derived from the improved GAT yields notable improvements in classification performance. Under the LOSO scheme, however, the highest average accuracy on the OAD2 was achieved when all channels were retained. This outcome may be attributed to the loss of informative features resulting from channel reduction, which impairs classification performance. Nonetheless, the results indicate that retaining only 20% of the channels generally leads to less than a 5% decrease in accuracy across all datasets, demonstrating the method’s robustness in preserving critical information.
Additionally, for certain datasets, performance was observed to improve as the number of channels decreased, suggesting the model effectively filtered out task-irrelevant channels and enhanced feature representation. In particular, for the Stroop, classification performance nearly peaked when only 20% of channels were used (accuracy: 97.49%, macro F1-score: 6.50%), with further channel additions offering limited benefit. This implies that a small subset of key channels suffices for high classification performance, while excessive channels may yield diminishing returns.
Table 5. Performance under the SDCV paradigm using different
numbers of selected channels (ACC/F1).
| Channels | OAD1 | OAD2 | Stroop |
| 10% | 84.25±0.29/83.32±0.33 | 77.71±0.26/76.81±0.29 | 94.61±0.30/93.01±0.45 |
| 20% | 87.31±0.29/86.60±0.30 | 84.69±0.25/84.13±0.27 | 97.49±0.24/96.50±0.38 |
| 30% | 87.29±0.28/86.58±0.31 | 86.89±0.22/86.39±0.24 | 97.06±0.27/95.87±0.44 |
| 40% | 87.46±0.27/86.68±0.32 | 88.11±0.22/87.75±0.23 | 97.32±0.28/96.24±0.43 |
| 50% | 88.39±0.27/88.75±0.29 | 88.86±0.23/88.47±0.24 | 97.52±0.23/96.81±0.34 |
| 60% | 88.63±0.25/88.06±0.27 | 89.69±0.32/89.35±0.24 | 97.38±0.27/96.50±0.39 |
| 70% | 89.06±0.26/88.52±0.28 | 90.24±0.22/89.92±0.23 | 97.89±0.24/96.82±0.42 |
| 80% | 88.93±0.27/88.46±0.28 | 91.72±0.27/91.41±0.29 | 98.13±0.20/97.75±0.27 |
| 90% | 89.99±0.27/88.57±0.29 | 91.10±0.22/90.81±0.23 | 98.26±0.21/97.25±0.39 |
| 100% | 89.18±0.27/88.61±0.30 | 91.10±0.30/90.79±0.31 | 98.08±0.25/97.53±0.32 |
Table 6. Performance under LOSO paradigm with varying numbers
of selected channels (ACC/F1).
| Channels | OAD1 | OAD2 | Stroop |
| 10% | 64.69±0.07/64.20±0.07 | 47.36±0.06/42.67±0.06 | 65.50±7.42/56.90±8.75 |
| 20% | 65.33±0.07/64.42±0.08 | 47.65±0.06/44.63±0.07 | 66.28±0.06/65.04±0.06 |
| 30% | 65.47±0.08/64.60±0.09 | 49.37±0.07/45.57±0.08 | 65.79±0.06/64.79±0.07 |
| 40% | 66.37±0.07/65.57±0.08 | 49.26±0.06/44.57±0.07 | 66.94±0.06/65.59±0.08 |
| 50% | 65.01±0.08/64.29±0.08 | 49.62±0.06/45.15±0.07 | 65.71±0.08/64.69±0.08 |
| 60% | 66.99±0.07/65.96±0.09 | 50.61±0.06/46.50±0.08 | 69.67±0.07/68.89±0.08 |
| 70% | 66.23±0.07/65.25±0.08 | 48.77±0.06/45.08±0.06 | 65.13±0.08/62.00±0.11 |
| 80% | 69.71±0.07/68.72±0.09 | 52.63±0.06/49.13±0.08 | 65.71±0.05/63.80±0.07 |
| 90% | 67.20±0.06/66.85±0.07 | 49.69±0.07/45.24±0.09 | 64.14±0.08/62.89±0.09 |
| 100% | 68.91±0.06/68.59±0.07 | 52.86±0.06/50.02±0.08 | 68.75±0.08/67.26±0.09 |
The proposed GAT-based channel selection method consistently improves classification performance, though its efficacy is task- and dataset-dependent. In practice, the number of channels and recognition accuracy should be balanced according to the specific task and data characteristics to achieve optimal model performance. To elucidate the key channels involved in physiological signal acquisition and to investigate the relationship between specific brain regions and cognitive workload tasks, we developed a channel selection algorithm based on an improved graph attention network. We further analyze the selected EEG channels to assess whether their spatial distribution, as depicted in Fig. 7.
We extracted the top 10 highest-weighted channels from OAD1 and visualized their spatial distribution. The results show that certain electrodes, most notably AFF6h (EEG) and AFpz (fNIRS), were consistently selected across participants. Fig. 7(a) reveals that the selected EEG channels were predominantly located in the left prefrontal cortex. Among them, AFF6h was the most frequently chosen electrode, followed by AFp2, CZ, and others. Correspondingly, the fNIRS channels selected in Fig. 7(b) exhibited a similarly concentrated distribution in the left prefrontal region, consistent with the EEG pattern. This spatial convergence aligns with prior neuroscientific evidence establishing the prefrontal cortex as a key region for cognitive workload processing.
Comparative Results and Analysis
Among channel selection methods, EEG-ARNN (EEG Channel Active Inference
Neural Network) employs an end-to-end deep learning framework based on graph convolutional
networks, automatically selecting optimal channels via edge and aggregation selection to
capture both temporal and spatial correlations 31
. In contrast, PAPC adopts an adaptive
channel selection strategy within a semi-supervised deep learning model that integrates
Generative Adversarial Networks (GANs) and Bidirectional Long Short-Term Memory (BiLSTM),
improving epileptic seizure prediction performance while substantially reducing the number
of EEG channels and dependence on labeled data 33
. BGWO-SVM, meanwhile, formulates channel
selection as a binary optimization problem, combining a binary version of the Grey Wolf
Optimizer (BGWO) with Support Vector Machines (SVM) to achieve high-accuracy biometric
identification with efficient channel selection 32.
Among time-series deep learning models, EEGNet employs deep and
separable convolutions to process EEG signals, yet exhibits limited capacity for capturing
long-range temporal dependencies 24.
DeepConvNet directly decodes raw EEG signals,
integrating Batch Normalization (BN) and Exponential Linear Units (ELU) to attain
performance comparable to Filter Bank Common Spatial Patterns (FBCSP)
25. DCCA (Deep
Canonical Correlation Analysis) learns nonlinear transformations of data views to maximize
linear correlations, thereby circumventing the inner product operations required by Kernel
Canonical Correlation Analysis (KCCA) and substantially reducing training time 26; TSLANet
enhances feature representation and temporal pattern extraction through Adaptive Spectral
Blocks (ASB) and Interactive Convolution Blocks (ICB). Among feature fusion algorithms,
RHPRNet (Hierarchical Multimodal Network for Robust Heterogeneous Physiological
Representations) extracts spatial and frequency features from EEG signals using a
spatial-frequency pattern extractor, and incorporates a cross-domain emotion encoder
alongside a hierarchical fusion module 34.
In general, the experimental results demonstrate that the proposed method outperforms most comparative approaches in terms of channel selection number, classification accuracy, and computational efficiency under the SDCV paradigm. As shown in Fig. 8 and Table 7, although the PAPC method achieves higher classification accuracies of 90.32% and 92.34% on OAD1 and OAD2, our approach significantly reduces computation time, making it more suitable for practical applications. In contrast, the traditional EEGNet shows notably lower accuracy compared to recent deep learning algorithms, highlighting its limitations in handling complex EEG signals.
Table 7. Performance comparison between the proposed GCFFNet
and state-of-the-art methods under the SDCV paradigm (ACC/F1).
| Method | OAD1 | OAD2 | Stroop |
| EEG-ARNN 31
|
88.15±0.30*/87.93±0.33* | 89.64±0.24*/89.45±0.24* | 91.59±0.50*/90.71±0.62* |
| BGWO-SVM 32
|
75.87±0.35*/68.42±1.33* | 80.34±0.49*/78.67±0.55* | 80.54±1.21*/77.40±1.19* |
| PAPC 33
|
90.32±0.26/90.17±0.23 | 92.34±0.12/92.25±0.12 | 90.65±0.36*/89.62±0.47* |
| EEGNet 24
|
82.01±0.47*/81.41±0.49* | 82.41±0.35*/81.87±0.36* | 85.58±0.39*/84.30±0.54* |
| DeepConvNet 25
|
88.66±0.30*/88.08±0.34* | 85.81±0.25*/85.43±0.26* | 79.10±0.64*/66.06±1.04* |
| DCCA 26
|
85.09±0.45*/83.68±0.59* | 84.94±0.66*/83.59±0.75* | 88.48±0.60*/82.28±0.96* |
| TSLANet 34
|
84.95±0.20*/84.76±0.21* | 87.52±0.11*/87.43±0.11* | 89.36±0.13*/89.36±0.13* |
| RHPRNet 27
|
88.71±0.28*/88.19±0.32* | 89.91±0.23*/89.57±0.24* | 67.68±0.61*/47.34±0.76* |
| Ours | 89.99±0.27/88.57±0.29 | 91.10±0.30/90.79±0.31 | 98.26±0.21/97.25±0.39 |
RHPRNet achieves only 67.68% average accuracy on the Stroop, substantially lower than its performance on other benchmarks. The performance degradation likely stems from insufficient feature extraction capability for high-dimensional, nonlinear EEG signals: in complex tasks, the multimodal fusion mechanism may fail to adequately capture critical temporal and spatial features. The proposed method achieves competitive classification accuracy while demonstrating superior computational efficiency, establishing itself as an effective and reliable solution for EEG signal processing. Furthermore, two-tailed t-tests were conducted across participants to verify the statistical significance of the performance differences between GCFFNet and the baseline models. As indicated in Table 7, GCFFNet outperforms most competing methods with statistical significance (p < 0.001), particularly on the Stroop dataset where it surpasses all comparative baselines.
Table. 8. Performance comparison between GCFFNet and
state-of-the-art methods under the LOSO paradigm (ACC/F1).
| Methods | OAD1 | OAD2 | Stroop |
| EEG-ARNN 31
|
68.15±0.08*/68.08±0.07* | 52.64±0.07*/52.81±0.08 | 63.66±0.10*/59.91±0.14* |
| BGWO-SVM 32
|
68.57±0.05*/68.42±0.08* | 51.62±0.09*/51.42±0.09 | 64.04±0.08*/63.40±0.09* |
| PAPC 33
|
69.16±0.06*/69.09±0.08 | 52.34±0.09*/52.25±0.09 | 60.65±0.06*/59.62±0.10* |
| EEGNet 24
|
68.94±0.07*/68.84±0.07 | 56.95±0.10/56.43±0.10 | 61.10±0.12*/60.95±0.12* |
| DeepConvNet 25
|
65.48±0.07*/63.47±0.08* | 56.24±0.09/55.27±0.09 | 61.92±0.06*/59.59±0.08* |
| DCCA 26
|
69.98±0.07/69.74±0.07 | 49.84±0.07*/47.65±0.07* | 56.09±0.06*/51.44±0.10* |
| TSLANet 34
|
71.22±0.08/71.02±0.08 | 56.60±0.07/56.13±0.08 | 68.09±0.07*/67.37±0.07* |
| RHPRNet 27
|
69.52±0.07/69.21±0.07 | 50.16±0.05*/46.11±0.06* | 54.61±0.06*/43.66±0.13* |
| Ours | 69.71±0.06/68.72±0.09 | 52.86±0.06/50.02±0.08 | 69.67±0.07/68.89±0.008 |
Figure 9 and Table 8 present the experimental results, which demonstrate that the proposed method achieves excellent performance across multiple datasets. It exhibits particular competitiveness on OAD1 and the Stroop. The proposed method shows significant advantages in handling complex cognitive tasks. On the challenging Stroop task, GCFFNet attains the highest accuracy of 69.67% and F1-score of 68.89%, outperforming most comparative models including the runner-up TSLANet (68.09%) as well as traditional models such as EEGNet and DeepConvNet. Moreover, statistical t-tests confirm that the improvements achieved by GCFFNet over the comparative baselines on the Stroop dataset and most baselines on OAD1 and OAD2 are statistically meaningful (p < 0.001), demonstrating competitive performance and high stability with low standard deviations.
Ablation Study
Under the SDCV paradigm, the ablation study of GCFFNet revealed substantial performance gains from the progressive integration of modules, as summarized in Table 8 and Fig. 10. The GATCS model, a channel selection module based on an improved GAT network, yielded EEG classification accuracies of 78.86%, 68.40%, and 85.61%, and fNIRS accuracies of 80.91%, 83.11%, and 91.53% on OAD1, OAD2, and Stroop, respectively. The integration of the IDMF module (multi-head attention-based inter-domain fusion) yielded further performance gains. On the Stroop, this addition elevated EEG and fNIRS accuracies to 88.20% and 93.48%, respectively. The incorporation of the IAMCF module (interactive attention-based cross-modal fusion) yielded substantial performance gains across all datasets. On the Stroop, EEG and fNIRS accuracies rose to 97.11% and 96.99%, respectively. Integration of the cooperative attention loss function (CAloss) yielded the highest performance across all datasets. On the Stroop, this configuration achieved EEG and fNIRS accuracies of 98.26% and 97.25%, respectively, substantially surpassing all other model variants.
Table. 9. Ablation study results of GCFFNet under the SDCV
Paradigm (ACC/F1).
| Model | OAD1 | OAD2 | Stroop |
| GATCS |
EEG: 78.86±0.39/ 76.46±0.48 fNIRS: 80.91±0.39/ 80.50±0.54 |
EEG: 68.40±0.26/ 66.89±0.30 fNIRS: 83.11±0.44/ 80.86±0.61 |
EEG: 85.61±0.53/ 85.13±0.54 fNIRS: 91.53±0.58/ 90.91±0.63 |
| GATCS + IDMF |
EEG: 78.66±0.36/ 77.74±0.37 fNIRS: 82.34±0.41/ 81.76±0.43 |
EEG: 69.87±0.27/ 66.78±0.31 fNIRS: 85.53±0.25/ 82.49±0.29 |
EEG: 88.20±0.37/ 87.95±0.44 fNIRS: 93.48±0.44/ 92.83±0.51 |
| GATCS +IAMCF |
Mul: 88.25±0.21/ 88.06±0.22 |
Mul: 89.62±0.11/ 89.53±0.11 |
Mul: 97.11±0.15/ 96.99±0.17 |
| GATCS + IDMF + IAMCF |
Mul: 89.17±0.21/ 88.98±0.22 |
Mul: 89.77±0.12/ 89.68±0.13 |
Mul: 97.62±0.33/ 95.65±0.46 |
| GCFFNet |
Mul: 89.99±0.27/ 88.57±0.29 |
Mul: 91.10±0.30/ 90.79±0.31 |
Mul: 98.26±0.21/ 97.25±0.39 |
To validate the model’s capacity to learn cognitive workload patterns from multimodal physiological data, we present scatterplots of the learned feature representations for selected participants across three databases. These representations were reduced to two-dimensional embeddings using t-distributed stochastic neighbor embedding (t-SNE) (as shown in Fig. 11).
Conclusions
This study systematically investigated multimodal feature selection and fusion methods for EEG and fNIRS signals in cognitive workload recognition. Three public EEG and fNIRS datasets were employed to evaluate the generalizability of the proposed framework. The model incorporates an adaptive feature selection mechanism to identify task-relevant channels and remove uncertain and irrelevant features. We proposed a graph attention network-based channel selection method. In this approach, multimodal physiological signals were represented as graph structures, and attention scores were employed to dynamically select task-relevant channels. We further designed a hierarchical feature fusion framework that integrates intra-modal multi-domain features with cross-modal information. Specifically, the framework combines a multi-head self-attention encoder, an interactive attention mechanism, and global feature concatenation to generate discriminative multimodal representations. Additionally, a collaborative attention loss function was introduced to improve multimodal feature alignment and fusion during model optimization.
Despite the demonstrated effectiveness of model for multimodal feature selection and GCFFNet for integrating graph attention-based channel selection with multi-layer attention-driven feature fusion, several limitations persist. The current feature extraction strategy relies exclusively on handcrafted features derived from the time, frequency, time-frequency, and nonlinear dynamics domains. These features are heavily dependent on expert knowledge, exhibit sensitivity to inter-subject variability and noise, and possess limited capacity to characterize the high-order nonlinear dynamics of brain activity. Future work should explore advanced deep learning approaches capable of automatically learning hierarchical feature representations and capturing more discriminative neural patterns. Such developments hold the potential to further enhance the accuracy, robustness, and adaptability of multimodal brain–computer interface systems across diverse cognitive tasks and individuals.
Furthermore, to mitigate the cross-subject performance degradation under the LOSO paradigm, future work will integrate explicit distribution alignment strategies into the multimodal fusion framework. Specifically, unsupervised domain adaptation and domain-adversarial training will be explored to extract subject-invariant neural representations and improve generalization to unseen individuals.
Conflict of Interests
The authors declare no conflict of interest.
Acknowledgements
This work is sponsored by the Natural Science Foundation of Shanghai under Grant No. 25ZR1401270, Humanities and Social Sciences Project of the Ministry of Education under Grant No. 24YJCZH443, and National Natural Science Foundation of China under Grant No. 61703277.
References
Figure Legends(6)
Citation