Time Window Optimization for Motor Imagery Classification Via Temporal Structure Embedded Reinforcement Learning

Online motor imagery-based brain-computer interfaces (MI-BCIs) usually process continuous EEG signals with fixed-length sliding windows, which is inflexible, human intervened, and misaligned with neural events. Time window optimization has shown promising improvement as a substitute solution. However, the existing optimization methods typically evaluate windows in isolation and fail to model temporal dependencies across consecutive windows, which may produce fragmented and physiologically implausible sequences. To address this limitation, we propose a novel Temporal Structure Embedded Reinforcement Learning (TSE-RL) framework. This framework embeds prior temporal-structure knowledge of MI events into a stable RL formulation, reformulating window optimization as a constrained Markov Decision Process with ordinal relation enforcement of neural events. First, the evaluation and action selection upon each window has been changed from simply "retain/discard" to semantic alignment between windows and neural events as Discard/Onset/Sustain/Offset. Second, action masking is imposed by a finite-state machine (FSM) which enforces physiologically plausible decision orders with the constraint of neural activity progress in terms of Planning/Execution/Recovery, enhancing rationality, interpretability, and classification performance. Third, a Transformer-based history encoder is designed to capture long-range inter-window dependencies in parallel, improving training stability and efficiency compared with existing recurrent architectures. In addition, TSE-RL adopts a plug-and-play design that can be integrated with diverse MI classifiers. Extensive experiments on multiple benchmark datasets demonstrate that TSE-RL consistently improves decoding performance in both cross-session and cross-subject settings. Visualization analyses further suggest that the learned policy of window optimization aligns with neurophysiological principles.

Authors

Institutions

Publication Details

Journal
IEEE Journal of Biomedical and Health Informatics
Published
2026-12-02
DOI
https://doi.org/10.1109/jbhi.2026.3759156
Primary Topic
EEG and Brain-Computer Interfaces
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Time Window Optimization for Motor Imagery Classification Via Temporal Structure Embedded Reinforcement Learning

Xiaopeng Wang, Ziyang Shang, Na Lu, Huan Luo
1 links
IEEE Journal of Biomedical and Health Informatics
EEG and Brain-Computer Interfaces
article

Time Window Optimization for Motor Imagery Classification Via Temporal Structure Embedded Reinforcement Learning

Xiaopeng Wang, Ziyang Shang, Na Lu, Huan Luo
article en

Abstract

Online motor imagery-based brain-computer interfaces (MI-BCIs) usually process continuous EEG signals with fixed-length sliding windows, which is inflexible, human intervened, and misaligned with neural events. Time window optimization has shown promising improvement as a substitute solution. However, the existing optimization methods typically evaluate windows in isolation and fail to model temporal dependencies across consecutive windows, which may produce fragmented and physiologically implausible sequences. To address this limitation, we propose a novel Temporal Structure Embedded Reinforcement Learning (TSE-RL) framework. This framework embeds prior temporal-structure knowledge of MI events into a stable RL formulation, reformulating window optimization as a constrained Markov Decision Process with ordinal relation enforcement of neural events. First, the evaluation and action selection upon each window has been changed from simply "retain/discard" to semantic alignment between windows and neural events as Discard/Onset/Sustain/Offset. Second, action masking is imposed by a finite-state machine (FSM) which enforces physiologically plausible decision orders with the constraint of neural activity progress in terms of Planning/Execution/Recovery, enhancing rationality, interpretability, and classification performance. Third, a Transformer-based history encoder is designed to capture long-range inter-window dependencies in parallel, improving training stability and efficiency compared with existing recurrent architectures. In addition, TSE-RL adopts a plug-and-play design that can be integrated with diverse MI classifiers. Extensive experiments on multiple benchmark datasets demonstrate that TSE-RL consistently improves decoding performance in both cross-session and cross-subject settings. Visualization analyses further suggest that the learned policy of window optimization aligns with neurophysiological principles.

IEEE Journal of Biomedical and Health InformaticsVol. PP
Xi'an Jiaotong University (CN)
National Natural Science Foundation of China, Natural Science Basic Research Program of Shaanxi Province
EEG and Brain-Computer Interfaces
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon