Decoding Mandarin Action Verbs from EEG Using a Dual-LSTM Network: Towards Practical Assistive Brain-Computer Interfaces.
Paper
Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
MATLAB · 127 lines · 5.4 KB · no license
- %% Data format transformation
- clear;clc
- data_path = 'E:\dataset\03_ERP_Rawdata\E04_ERP_Rawdata\';
- save_path = 'E:\dataset\03_ERP_Rawdata\E04_ERP_Rawdata\preprocess\1_set\';
- cd(data_path)
- files = dir(fullfile(data_path, '*.cnt'));
- fn = {files.name};
- for i = 1:length(fn)
- EEG = pop_loadcnt(char(fn(i)), 'dataformat', 'auto', 'memmapfile', '');
- EEG = eeg_checkset( EEG );
- setname = [fn{i}(1:end-4),'set'];
- EEG = pop_saveset( EEG, 'filename',setname,'filepath',save_path);
- end
- %% Movement artifacts were identified and removed by visual inspection
- clear;clc
- data_path = 'E:\dataset\03_ERP_Rawdata\E04_ERP_Rawdata\preprocess\1_set\';
- save_path = 'E:\dataset\03_ERP_Rawdata\E04_ERP_Rawdata\preprocess\2_artifact\';
- cd(data_path)
- files = dir('*.set');
- fn = {files.name};
- for i = 1:length(fn)
- EEG = pop_loadset('filename',fn{i},'filepath',data_path);
- EEG = eeg_checkset( EEG );
- EEG=pop_chanedit(EEG, 'lookup','D:\\0_toolboxes\\eeglab13_0_0b\\plugins\\dipfit2.2\\standard_BESA\\standard-10-5-cap385.elp');
- EEG = pop_select( EEG,'nochannel',{'HEO' 'VEO' 'CB1' 'CB2'});
- EEG = pop_epoch( EEG, { '1' '2' '4'}, [-1 1.5], 'newname', ' resampled epochs', 'epochinfo', 'yes');
- EEG = pop_saveset( EEG, 'filename',fn{i},'filepath',save_path);
- end
- % Browse each data manually pop_eegplot( EEG, 1, 1, 1);
- % visually inspected to remove epochs contaminated by eye movements,
- % electrode drifting, amplifier blocking, or EMG artifacts EEG=pop_rejepoch( EEG, [] ,0);
- %% Re-reference
- clear;clc
- data_path = 'E:\dataset\03_ERP_Rawdata\E04_ERP_Rawdata\preprocess\2_artifact\';
- save_path = 'E:\dataset\03_ERP_Rawdata\E04_ERP_Rawdata\preprocess\3_ref\';
- cd(data_path)
- files = dir('*.set');
- fn = {files.name};
- for i = 1:length(fn)
- EEG = pop_loadset('filename',fn{i},'filepath',data_path);
- EEG = eeg_checkset( EEG );
- EEG = pop_reref( EEG, [33 43] );
- EEG = pop_saveset( EEG, 'filename',fn{i},'filepath',save_path);
- end
- %% Filter
- clear;clc
- data_path = 'E:\dataset\03_ERP_Rawdata\E04_ERP_Rawdata\preprocess\3_ref\';
- save_path = 'E:\dataset\03_ERP_Rawdata\E04_ERP_Rawdata\preprocess\4_filter\';
- cd(data_path)
- files = dir('*.set');
- fn = {files.name};
- for i = 1:length(fn)
- EEG = pop_loadset('filename',fn{i},'filepath',data_path);
- EEG = eeg_checkset( EEG );
- EEG = pop_eegfiltnew(EEG, [], 0.1, 16500, true, [], 1);
- EEG = eeg_checkset( EEG );
- EEG = pop_eegfiltnew(EEG, [], 30, 220, 0, [], 1);
- EEG = eeg_checkset( EEG );
- EEG = pop_saveset( EEG, 'filename',fn{i},'filepath',save_path);
- end
- EEG = pop_interp(EEG, [33], 'spherical');
- EEG = eeg_checkset( EEG );
- EEG = pop_epoch( EEG, { '1' '2' '4' }, [-1 1.5], 'newname', 'CNT file epochs', 'epochinfo', 'yes');
- EEG = eeg_checkset( EEG );
- pop_eegplot( EEG, 1, 1, 1);
- EEG = eeg_checkset( EEG );
- EEG = pop_runica(EEG, 'extended',1,'interupt','on');
- EEG = eeg_checkset( EEG );
- pop_ADJUST_interface( );
- EEG = eeg_checkset( EEG );
- EEG = pop_subcomp( EEG, [1 2 4 32], 0);
- EEG = eeg_checkset( EEG );
- pop_eegplot( EEG, 1, 1, 1);
- EEG = eeg_checkset( EEG );
- EEG = pop_rejepoch( EEG, [32 36 38 39 41 42 45 46:50 65 66:68 76 78 79:82 84 85 90 94 95 111 115 117 119 120 128 130:2:132] ,0);
- EEG = pop_reref( EEG, [33 43] );
- EEG = eeg_checkset( EEG );
- EEG = pop_loadset('filename','sub1ICAout.set','filepath','C:\\Users\\X\\Desktop\\EEG results\\results\\MM\\sub1\\');
- EEG = eeg_checkset( EEG );
- EEG = pop_epoch( EEG, { '1' '2' '4' }, [-0.1 0.6], 'newname', 'CNT file epochs pruned with ICA epochs', 'epochinfo', 'yes');
- EEG = eeg_checkset( EEG );
- EEG = pop_rmbase( EEG, [-100 0]);
- EEG = eeg_checkset( EEG );
- EEG = pop_eegthresh(EEG,1,[1:60] ,-100,100,-0.1,0.598,0,0);
- pop_eegplot( EEG, 1, 1, 1);
- %% RunICA
- clear;clc
- data_path = 'E:\dataset\03_ERP_Rawdata\E04_ERP_Rawdata\preprocess\4_filter\';
- save_path = 'E:\dataset\03_ERP_Rawdata\E04_ERP_Rawdata\preprocess\5_ICA\';
- cd(data_path)
- files = dir('*.set');
- fn = {files.name};
- for i = 1:length(fn)
- EEG = pop_loadset('filename',fn{i},'filepath',data_path);
- EEG = eeg_checkset( EEG );
- EEG = pop_runica(EEG, 'extended',1,'interupt','on');
- EEG = pop_saveset( EEG, 'filename',fn{i},'filepath',save_path);
- end
- %% Identify and reject bad ingredients
- %Load each data manually pop_eegplot( EEG, 1, 1, 1);
- %the movement artifacts and eye-blink artifacts were identified and
- %rejected by visual inspection and Adjust pop_ADJUST_interface( );
- %data_path = 'E:\dataset\03_ERP_Rawdata\E04_ERP_Rawdata\5_ICA\';
- %save_path = 'E:\dataset\03_ERP_Rawdata\E04_ERP_Rawdata\6_adjust\';
- %% epoch extract;baseline correction;extreme value artifact removal
- clear;clc
- data_path = 'E:\dataset\03_ERP_Rawdata\E04_ERP_Rawdata\preprocess\6_adjust\';
- save_path = 'E:\dataset\03_ERP_Rawdata\E04_ERP_Rawdata\preprocess\7_epoch\';
- cd(data_path)
- files = dir('*.set');
- fn = {files.name};
- for i = 1:length(fn)
- EEG = pop_loadset('filename',fn{i},'filepath',data_path);
- EEG = eeg_checkset( EEG );
- EEG = pop_epoch( EEG, { '1' '2' '4' }, [-0.1 0.6], 'newname', 'CNT file epochs pruned with ICA epochs', 'epochinfo', 'yes');
- EEG = eeg_checkset( EEG );
- EEG = pop_rmbase( EEG, [-100 0]);
- EEG = eeg_checkset( EEG );
- EEG = pop_eegthresh(EEG,1,[1:60] ,-100,100,-0.1,0.598,0,0);
- EEG = pop_saveset( EEG, 'filename',fn{i},'filepath',save_path);
- end
- %% Finalization
- % Load each data manually to ensure data is clean after preprocessingpop_eegplot( EEG, 1, 1, 1);
preprocessing_code_eegkab.m, no license · at the source
Overview
- International College of Engineering, Changsha University of Science and Technology, Changsha 410114, China; (B.L.); (J.L.)
- College of Mechanical and Vehicle Engineering, Changsha University of Science and Technology, Changsha 410114, China
Abstract
Electroencephalogram (EEG)-based brain–computer interfaces (BCIs) offer a promising pathway for restoring communication. Decoding tonal languages like Mandarin from EEG remains challenging due to homophones and complex temporal dynamics. This study investigates the decoding of six high-frequency Mandarin action verbs—Chi (eat), He (drink), Chuan (wear), Na (take), Kan (look), and Dai (put on)—from EEG signals. We designed a visual-cue-based overt speech production experiment and collected EEG data from 30 participants during visually guided verb reading aloud. A recurrent neural network framework incorporating dual Long Short-Term Memory (LSTM) layers was implemented to model the long-range temporal dependencies in EEG patterns. The proposed model was compared against a traditional Common Spatial Pattern combined with Support Vector Machine (CSP-SVM) baseline. Our LSTM-based model achieved an average classification accuracy of 69.93% ± 3.07% for the six-class task, significantly outperforming the CSP-SVM baseline (36.53% ± 3.17%). Accuracy exceeded 75% under specific training conditions, including more than 15 training repetitions and a training-data proportion of 38%. Furthermore, the model attained this performance level utilizing approximately 38% of the available trial data for training, demonstrating data efficiency. The results indicate that the LSTM architecture can effectively capture the neural signatures associated with Mandarin verb processing, providing a foundation for developing practical EEG-based assistive communication technologies. The inference latency of the trained model, quantified as the post-training per-trial testing time, was under 2 s, supporting near-real-time applications.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above.
OSF nmke5
Availability: 1 check, the latest on 30 September 2026: the link answers (HTTP 200)
- 30 September 2026: the link answers (HTTP 200)
3 files
- 06_Technical Validation/
preprocessing_code_eegka , MATLAB, 127 linesb.m - 06_Technical Validation/
valid_code_M.m , MATLAB, 1,605 lines - 06_Technical Validation/
valid_code_R.R , R, 253 lines
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 3 scripts, each with its path and the digest of its content;
- no match between paragraphs and code yet;
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
No dataset and no data link were found in the paper.
Data Availability Statement
To ensure full reproducibility, the complete preprocessed EEG dataset and all analysis code have been deposited in a public repository [38]. The shared data comprises the EEG signals after standard preprocessing steps, which serves as the direct input to the decoding models. This level of data sharing aligns with best practices for enabling independent verification and extension of the analytical findings presented in this work.
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 30 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 4 authors, 5 keywords, 11 MeSH terms, 3 funders, 48 references.
Cite
This paper
Liu, B., Chen, G., Yin, L., & Liu, J. (2026). Decoding Mandarin Action Verbs from EEG Using a Dual-LSTM Network: Towards Practical Assistive Brain-Computer Interfaces. Sensors (Basel, Switzerland), 26(9), 2749. https://
BibTeX
@article{liu2026decoding
author = {Liu, Binshuo and Chen, Gengbiao and Yin, Lairong and Liu, Jing},
title = {{Decoding Mandarin Action Verbs from EEG Using a Dual-LSTM Network: Towards Practical Assistive Brain-Computer Interfaces}},
journal = {Sensors (Basel, Switzerland)},
year = {2026},
month = apr,
volume = {26},
number = {9},
pages = {2749},
publisher = {Multidisciplinary Digital Publishing Institute (MDPI)},
issn = {1424-8220},
doi = {10.3390/
url = {https://
pmid = {42122470},
pmcid = {PMC13165879}
}
RIS
TY - JOUR
AU - Liu, Binshuo
AU - Chen, Gengbiao
AU - Yin, Lairong
AU - Liu, Jing
TI - Decoding Mandarin Action Verbs from EEG Using a Dual-LSTM Network: Towards Practical Assistive Brain-Computer Interfaces
T2 - Sensors (Basel, Switzerland)
J2 - Sensors (Basel)
PY - 2026
DA - 2026/
VL - 26
IS - 9
SP - 2749
SN - 1424-8220
PB - Multidisciplinary Digital Publishing Institute (MDPI)
DO - 10.3390/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.3390/
"type": "article-journal",
"title": "Decoding Mandarin Action Verbs from EEG Using a Dual-LSTM Network: Towards Practical Assistive Brain-Computer Interfaces",
"container-title": "Sensors (Basel, Switzerland)",
"author": [
{
"family": "Liu",
"given": "Binshuo"
},
{
"family": "Chen",
"given": "Gengbiao"
},
{
"family": "Yin",
"given": "Lairong"
},
{
"family": "Liu",
"given": "Jing"
}
],
"container-title-short":
"volume": "26",
"issue": "9",
"page": "2749",
"DOI": "10.3390/
"PMID": "42122470",
"PMCID": "PMC13165879",
"ISSN": "1424-8220",
"publisher": "Multidisciplinary Digital Publishing Institute (MDPI)",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
29
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1038/s42003-025-07464-7 [code]
- Learning to operate an imagined speech Brain-Computer Interface involves the spatial and frequency tuning of neural activity.Journal: Communications biologyIn common: FieldTrip, lmerTest, lme4, 4 other tools, EEG, cognitive, 3 references
- [2] doi:10.1038/s41597-025-06346-1 [code]
- 3M-CPSEED, An EEG-based Dataset for Chinese Pinyin Production in Overt, Mouthed, and Imagined Speech.Journal: Scientific dataIn common: EEGLAB, EEG, 5 references
- [3] doi:10.1111/ejn.70481 [code]
- Neural and Behavioral Tracking of Musical Phrases Occurs Without Temporal Regularity.Journal: The European journal of neuroscienceIn common: FieldTrip, lme4, ggpubr, 2 other tools, EEG, cognitive, 1 reference
- [4] doi:10.1186/s12911-026-03552-8
- Artificial intelligence for brain-to-speech decoding in paralysis: a systematic review.Journal: BMC medical informatics and decision makingIn common: cognitive, 5 references
- [5] doi:10.1523/eneuro.0368-24.2024 [code]
- Neural Speech Tracking Contribution of Lip Movements Predicts Behavioral Deterioration When the Speaker's Mouth Is Occluded.Journal: eNeuroIn common: lmerTest, lme4, ggpubr, 2 other tools, cognitive, 1 reference
- [6] doi:10.3390/brainsci16010011 [code]
- Lightweight EEG Phase Prediction Based on Channel Attention and Spatio-Temporal Parallel Processing.Journal: Brain sciencesIn common: EEGLAB, FieldTrip, Statistics and Machine Learning Toolbox, EEG, 2 references
- [7] doi:10.1016/j.celrep.2026.117162 [code]
- Decoding intended speech with an intracortical brain-computer interface in a person with long-standing anarthria and locked-in syndrome.Journal: Cell reportsIn common: Statistics and Machine Learning Toolbox, cognitive, 4 references
- [8] doi:10.1523/eneuro.0069-26.2026 [code]
- Electrophysiological Indices of Hierarchical Speech Processing Differentially Reflect the Comprehension of Speech in Noise.Journal: eNeuroIn common: EEGLAB, lmerTest, Statistics and Machine Learning Toolbox, EEG, cognitive, 1 reference
- [9] doi:10.1371/journal.pbio.3003588 [code]
- Sensory sharpening and semantic prediction errors unify competing models of predictive processing in human speech comprehension.Journal: PLoS biologyIn common: lmerTest, lme4, ggplot2, EEG, cognitive, 1 reference
- [10] doi:10.1162/imag_a_00301 [code]
- A supervised data-driven spatial filter denoising method for speech artifacts in intracranial electrophysiological recordings.Journal: Imaging neuroscience (Cambridge, Mass.)In common: EEGLAB, FieldTrip, Statistics and Machine Learning Toolbox, cognitive, 1 reference
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 1 repository of the authors' code, each at its verified commit and with its license, 3 scripts, and 0 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:a47e43736b40063e…
Add the badge to the code's README
If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.
Markdown
<!-- oscr-badge:start -->
[](https://openscicode.org/badge/doi/10.3390/s26092749)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.3390/s26092749.svg
:target: https://openscicode.org/badge/doi/10.3390/s26092749
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.3390/s26092749"><img src="https://openscicode.org/badge/doi/10.3390/s26092749.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.
Report a mismatch between the code and the paper · Report a code error (signed in)
Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.
Report a reproduction failure (signed in)
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
