EmT
A graph transformer that classifies emotion from a sequence of EEG feature graphs.
Neuroscience signals · 355 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
- 703.5K
- Operations
- 355
- Framework
- PyTorch
- Recurrent
- No
- Published
- IEEE TNNLS (arXiv 2024)
- Cited by
- 86 (as of 28 October 2026)
- Authors
- Yi Ding, Chengxuan Tong, Shuailei Zhang and others
- Source
- GitHub: yi-ding-cs/EmT
- 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
- m16425
- Graph hash
- f6c74e6cbb6377f986ca1cfcb3e9bc950adbdb49f046101617d7b7a3bcb1a5c0
- Skeleton hash
- 5e3c00909fbead1b594bc08ce8aeddb3c4f9d4eb0df936a5c1d4dd511521b41d
- Architecture hash
- b915f7b9fd06a87d447eaa39d3652bd978b2f27632dd8357ef0bc866915d5719
- Diagram SHA-256
- 818fb901d5d68631b11f78d340f17414db0d02e5e1fa3b9e8724b236d60784dc
- 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
EmT (emotion transformer) recognizes emotion from EEG signals and is designed for cross-subject classification and regression tasks. The paper argues that earlier techniques concentrate on spatial and short-term temporal patterns and put limited emphasis on long-term contextual information.
The input is a sequence of graphs. Each EEG segment is split into several sub-segments, and features in different frequency bands are extracted channel by channel. Each EEG channel is then a node, and the extracted features are its attributes. A residual multi-view pyramid GCN module (RMPG) turns each graph into one token, and a temporal contextual transformer module (TCT) uses token mixers to learn the temporal context across the tokens.
The authors propose two versions of the TCT, named TCT-Clas for classification and TCT-Regr for regression. For classification, as in this model, a mean fusion is applied to the learned embeddings before an MLP head produces the output. The paper reports higher results than its baseline methods on four publicly available datasets.
Key idea. EmT turns EEG signals into a sequence of feature graphs, fuses each graph into one token with a pyramid GCN module, and applies a transformer over the tokens.
- EmT
- emotion transformer
- EEG emotion recognition
- cross-subject EEG
- temporal graph
- graph transformer
- EEG classification
- brain signals
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{ding2025emtnoveltransformergeneralized,
title={EmT: A Novel Transformer for Generalized Cross-subject EEG Emotion Recognition},
author={Yi Ding and Chengxuan Tong and Shuailei Zhang and Muyun Jiang and Yong Li and Kevin Lim Jun Liang and Cuntai Guan},
year={2025},
eprint={2406.18345},
archivePrefix={arXiv},
primaryClass={cs.LG},
doi={https://doi.org/10.1109/TNNLS.2025.3552603},
url={https://arxiv.org/abs/2406.18345},
}