In the field of brain-computer interfaces (BCIs) based on functional near-infrared spectroscopy (fNIRS), traditional subject-specific decoding methods suffer from the limitations of long calibration time and low cross-subject generalizability, which restricts the promotion and application of BCI systems in daily life and clinic. To address the above dilemma, this study proposes a novel deep transfer learning approach that combines the revised inception-residual network (rIRN) model and the model-based transfer learning (TL) strategy, referred to as TL-rIRN. This study performed cross-subject recognition experiments on mental arithmetic (MA) and mental singing (MS) tasks to validate the effectiveness and superiority of the TL-rIRN approach. The results show that the TL-rIRN significantly shortens the calibration time, reduces the training time of the target model and the consumption of computational resources, and dramatically enhances the cross-subject decoding performance compared to subject-specific decoding methods and other deep transfer learning methods. To sum up, this study provides a basis for the selection of cross-subject, cross-task, and real-time decoding algorithms for fNIRS-BCI systems, which has potential applications in constructing a convenient and universal BCI system.
Sudden cardiac arrest (SCA) is a lethal cardiac arrhythmia that poses a serious threat to human life and health. However, clinical records of sudden cardiac death (SCD) electrocardiogram (ECG) data are extremely limited. This paper proposes an early prediction and classification algorithm for SCA based on deep transfer learning. With limited ECG data, it extracts heart rate variability features before the onset of SCA and utilizes a lightweight convolutional neural network model for pre-training and fine-tuning in two stages of deep transfer learning. This achieves early classification, recognition and prediction of high-risk ECG signals for SCA by neural network models. Based on 16 788 30-second heart rate feature segments from 20 SCA patients and 18 sinus rhythm patients in the international publicly available ECG database, the algorithm performance evaluation through ten-fold cross-validation shows that the average accuracy (Acc), sensitivity (Sen), and specificity (Spe) for predicting the onset of SCA in the 30 minutes prior to the event are 91.79%, 87.00%, and 96.63%, respectively. The average estimation accuracy for different patients reaches 96.58%. Compared to traditional machine learning algorithms reported in existing literatures, the method proposed in this paper helps address the requirement of large training datasets for deep learning models and enables early and accurate detection and identification of high-risk ECG signs before the onset of SCA.