Task-aware conditional diffusion model for EMG artifact removal in single-channel EEG

OBJECTIVE: Electroencephalography (EEG) is highly susceptible to electromyography (EMG) artifacts, which can obscure task-relevant neural oscillations and degrade downstream analysis. Existing denoising methods usually treat EEG as task-agnostic signals and may attenuate physiologically meaningful rhythms during artifact removal. This study aims to develop a task-aware single-channel EEG denoising framework that suppresses EMG artifacts while preserving task-dependent neural oscillatory characteristics. APPROACH: We propose TaskEEGDiT, a task-conditioned diffusion framework for EMG artifact removal. The model introduces task-wise spectral prototypes as conditioning signals to guide denoising toward task-relevant spectral distributions, while the noisy EEG is used as a sample-specific reference to constrain the reverse diffusion process and enable deterministic reconstruction. TimeMixer is adopted as the noise prediction backbone to capture non-stationary temporal dynamics and multi-scale dependencies. A multi-constraint joint loss further combines denoising diffusion probabilistic model (DDPM) noise prediction, encoder-based temporal content preservation, and power spectral density (PSD)-based spectral style alignment. MAIN RESULTS: Experiments on motor imagery EEG and sleep EEG datasets show that TaskEEGDiT outperforms tuned baseline models and a task-conditioned DSATCN variant across correlation coefficient, signal-to-noise ratio, spectral-domain relative root mean square error, and time-domain relative root mean square error. TaskEEGDiT achieves SNRs of 13.841 dB and 15.781 dB on the motor imagery and sleep EEG datasets, respectively, improving over DSATCN (task-conditioned) by 2.177 dB and 2.433 dB. Additional analyses across signal-to-noise ratio (SNR) levels, task conditions, and sleep EEG subjects support robustness, while real-recording results provide preliminary evidence of applicability. With 10-step Denoising Diffusion Implicit Models (DDIM) accelerated sampling, inference time is reduced to 345.684 ms per 2-s EEG segment. SIGNIFICANCE: TaskEEGDiT demonstrates that task-wise spectral prototype conditioned diffusion modeling can improve EMG artifact removal while limiting alterations to task-relevant EEG spectral characteristics, supporting faster-than-real-time EEG denoising for online brain-computer interface and neurophysiological monitoring scenarios.

Authors

Institutions

Publication Details

Journal
Journal of Neural Engineering
Published
2026-11-25
DOI
https://doi.org/10.1088/1741-2552/aec6dc
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

Task-aware conditional diffusion model for EMG artifact removal in single-channel EEG

Li-Cheng Jin, Wenqiang Li, Bo Wang, Qing‐Hao Meng et al.
3 links
Journal of Neural Engineering
EEG and Brain-Computer Interfaces
article

Task-aware conditional diffusion model for EMG artifact removal in single-channel EEG

Li-Cheng Jin, Wenqiang Li, Bo Wang, Qing‐Hao Meng, Rong-Xing Wei
article en

Abstract

OBJECTIVE: Electroencephalography (EEG) is highly susceptible to electromyography (EMG) artifacts, which can obscure task-relevant neural oscillations and degrade downstream analysis. Existing denoising methods usually treat EEG as task-agnostic signals and may attenuate physiologically meaningful rhythms during artifact removal. This study aims to develop a task-aware single-channel EEG denoising framework that suppresses EMG artifacts while preserving task-dependent neural oscillatory characteristics. APPROACH: We propose TaskEEGDiT, a task-conditioned diffusion framework for EMG artifact removal. The model introduces task-wise spectral prototypes as conditioning signals to guide denoising toward task-relevant spectral distributions, while the noisy EEG is used as a sample-specific reference to constrain the reverse diffusion process and enable deterministic reconstruction. TimeMixer is adopted as the noise prediction backbone to capture non-stationary temporal dynamics and multi-scale dependencies. A multi-constraint joint loss further combines denoising diffusion probabilistic model (DDPM) noise prediction, encoder-based temporal content preservation, and power spectral density (PSD)-based spectral style alignment. MAIN RESULTS: Experiments on motor imagery EEG and sleep EEG datasets show that TaskEEGDiT outperforms tuned baseline models and a task-conditioned DSATCN variant across correlation coefficient, signal-to-noise ratio, spectral-domain relative root mean square error, and time-domain relative root mean square error. TaskEEGDiT achieves SNRs of 13.841 dB and 15.781 dB on the motor imagery and sleep EEG datasets, respectively, improving over DSATCN (task-conditioned) by 2.177 dB and 2.433 dB. Additional analyses across signal-to-noise ratio (SNR) levels, task conditions, and sleep EEG subjects support robustness, while real-recording results provide preliminary evidence of applicability. With 10-step Denoising Diffusion Implicit Models (DDIM) accelerated sampling, inference time is reduced to 345.684 ms per 2-s EEG segment. SIGNIFICANCE: TaskEEGDiT demonstrates that task-wise spectral prototype conditioned diffusion modeling can improve EMG artifact removal while limiting alterations to task-relevant EEG spectral characteristics, supporting faster-than-real-time EEG denoising for online brain-computer interface and neurophysiological monitoring scenarios.

Journal of Neural Engineering
Tianjin University (CN)
National Natural Science Foundation of China, Key Research and Development Program of Jiangxi 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