LMDA-Net
A small convolutional EEG decoder with channel and depth attention, built for motor imagery and P300 signals.
Neuroscience signals · 22 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Neuroscience signals
- Parameters
- 10.3K
- Operations
- 22
- Framework
- PyTorch
- Recurrent
- No
- Published
- NeuroImage 2023
- Cited by
- 1 (as of 16 October 2026)
- Authors
- Zhengqing Miao, Xin Zhang, Meirong Zhao, Dong Ming
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m1515
- Graph hash
- 81668c373380363712761d65d89e1061c6ef9d6f59763b3c0692f86cd26a5d88
- Skeleton hash
- 84901916e7dc53f9d3533c7cf3bcfa19d0afad163fcec2a36d282d1d41c6fd39
- Architecture hash
- f700ecb88266f07e2d1a624a3f20ec937c6013580da6f51f09fb30a169e860b2
- Diagram SHA-256
- cfe20da22700c1c13c6ee6042d82344d40018f92283bf7040cd05052cb659188
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
LMDA-Net is a lightweight convolutional network for decoding EEG, the electrical brain signals used in brain-computer interfaces. It adds two attention modules designed for EEG, one over channels and one over depth, to a compact feature extractor. The authors evaluated it on four public datasets covering motor imagery and the P300 speller paradigm.
The backbone combines the feature extraction layout of ConvNet with the separable convolution of EEGNet. A temporal convolution with a kernel of size (24, 1, 75) comes first. It is followed by a spatial convolution whose kernel of size (9, C, 1) spans all C EEG channels. The channel attention module expands the spatial information of the input into a depth dimension by tensor product. The depth attention module sits between the temporal and spatial convolutions and performs semi-global pooling, local cross-depth interaction and adaptive weighting. The activation function is GELU.
The hyperparameters were tuned on the BCI4-2A dataset, where EEG was recorded from 22 channels at a sampling rate of 250 Hz. Its four classes are imagined movements of the left hand, right hand, both feet and tongue. The paper reports 78.8% accuracy and 0.71 kappa for LMDA-Net on BCI4-2A. The code repository states that the paper was accepted by Neuroimage.
Key idea. LMDA-Net introduces channel and depth attention modules designed for EEG and reaches the highest accuracy on all four evaluated datasets within 300 training epochs.
- LMDA-Net
- EEG decoding
- channel attention
- depth attention
- BCI IV-2a
- ConvNet
- EEGNet
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{miao2023lmdanetalightweightmultidimensionalattention,
title={LMDA-Net:A lightweight multi-dimensional attention network for general EEG-based brain-computer interface paradigms and interpretability},
author={Zhengqing Miao and Xin Zhang and Meirong Zhao and Dong Ming},
year={2023},
eprint={2303.16407},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2303.16407},
}