All models

GAT EEG Adaptation

A convolutional EEG classifier trained with an attention-based adaptor to transfer across subjects.

Neuroscience signals · 299 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (28 KB)

Open in a new tab

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

Parameters
812.4K
Operations
299
Framework
PyTorch
Recurrent
No
Published
2023, IEEE Transactions on Neural Systems and Rehabilitation Engineering 31
Cited by
63 (as of 24 October 2026)
Authors
Yonghao Song, Qingqing Zheng, Qiong Wang and others
License
GPL-3.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m16813
Graph hash
30ddfc18170dc7b621bdb3e3c14f644ca9441f7c6ad65d47cca005658ee44187
Skeleton hash
b7ef02f6e9ffe09a61564f9615a0ee535b899e9cbc52e3d3b99df5d39e5e4094
Architecture hash
20a3ba25568dc986e50056508e325d6c69dfa5ed72a4264edb035be8d2e1abc0
Diagram SHA-256
1e2b445444a939df307a7af2b730a6ced6e2ff0930dab9e2e1842877b18598f7
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

Global Adaptive Transformer (GAT) is a domain adaptation method for EEG classification that uses source data from other subjects to improve decoding for a target subject. The difficulty it addresses is individual difference: EEG signals from other subjects can hardly be used to decode the mental intentions of the target subject. The network has four components: a feature extractor, a global adaptor, a domain discriminator and a classifier.

The feature extractor has two parallel temporal and spatial convolutional branches, which preserve both the temporal and the spatial structure of the signal. In the adaptor, attention scores are calculated from the query and the key of the target features and used as weights for the value of the source features. A domain discriminator judges whether features come from the source or the target domain, and an adaptive center loss pulls features of the same category closer while pushing away features of different classes. Only the feature extractor and the classifier are used in the test phase.

The paper evaluates the method on Dataset 2a and Dataset 2b of the BCI competition IV. On Dataset 2a it reports an average accuracy of 76.58% and a kappa value of 0.6877. On Dataset 2b it reports an average accuracy of 84.44% and a kappa of 0.6889.

Key idea. GAT aligns EEG features across subjects with an attention-based adaptor that transfers source features to the target domain, trained against a domain discriminator.

  • Global Adaptive Transformer
  • GAT
  • EEG classification
  • cross-subject EEG
  • domain adaptation
  • motor imagery
  • brain-computer interface
  • BCI
  • global adaptor
  • EEG decoding

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@article{Song_2023, title={Global Adaptive Transformer for Cross-Subject Enhanced EEG Classification}, volume={31}, ISSN={1558-0210}, url={http://dx.doi.org/10.1109/TNSRE.2023.3285309}, DOI={10.1109/tnsre.2023.3285309}, journal={IEEE Transactions on Neural Systems and Rehabilitation Engineering}, publisher={Institute of Electrical and Electronics Engineers (IEEE)}, author={Song, Yonghao and Zheng, Qingqing and Wang, Qiong and Gao, Xiaorong and Heng, Pheng-Ann}, year={2023}, pages={2767–2777} }