FAT-fourier
A Transformer for EEG emotion recognition with Fourier-based projections and learnable channel adjacency in attention.
Neuroscience signals · 443 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
- 120.8K
- Operations
- 443
- Framework
- PyTorch
- Recurrent
- No
- Published
- MICCAI 2025
- Cited by
- 1 (as of 28 October 2026)
- Authors
- Jinfeng Wang, Yanhao Huang, Sifan Song and others
- Source
- GitHub: YanhaoHuang23/FAT
- License
- MIT
- 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
- m16529
- Graph hash
- 956da11757b917e0572408bc267b89c3e090fc379857760717411be82e3da755
- Skeleton hash
- 942e21b2e00e0a9f0b1742d7f8d730ab32417f980de3d410241bf0b0d00a3f5a
- Architecture hash
- b41cf9b804c30b5a7bd070da35fed82f273941e99ccfc1adfd2aad70b20b28f1
- Diagram SHA-256
- 342a3626017752c114c4bd2fee101a13221811b76f0565cfbdb180d06e0a8710
- 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
The Fourier Adjacency Transformer (FAT) is a Transformer for EEG emotion recognition that combines Fourier-based periodic analysis with graph-style modeling of how EEG channels relate to one another.
Its query, key and value projections are Fourier Analytic Linear (FAL) layers, which separate each representation into a periodic part and an aperiodic part. FAL is adapted from Fourier Analysis Networks (FAN): the nonlinear activation that FAN applies to the aperiodic part is replaced with an identity function, so that part stays a linear projection. Attention is computed separately for the two parts, and a pair of learnable adjacency matrices, shared across depth, is added to the attention scores through a gating module before the softmax. The paper proposes that these matrices capture structural correlations between EEG channels, alongside the sample-specific correlations in the attention scores.
The input is differential entropy features of the EEG, with five frequency bands per channel. In the paper's experiments the model has eight attention heads and a depth of six. The paper reports improvements of 2.9%, 6.5%, 6.6%, 5.4% and 6.2% over the best earlier results on SEED-IV, SEED-V, SEED-VII, DEAP-Valence and DEAP-Arousal, with competitive performance on SEED.
Key idea. The paper replaces standard self-attention with Fourier Adjacent Attention, which splits queries, keys and values into periodic and aperiodic parts and adds learnable channel adjacency matrices to the attention scores.
- Fourier Adjacency Transformer
- FAT
- FAT-fourier
- EEG emotion recognition
- Fourier Adjacent Attention
- Fourier Analytic Linear
- EEG transformer
- emotion classification
- SEED
- DEAP
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{wang2025novelfourieradjacencytransformer,
title={A novel Fourier Adjacency Transformer for advanced EEG emotion recognition},
author={Jinfeng Wang and Yanhao Huang and Sifan Song and Boqian Wang and Jionglong Su and Jiaman Ding},
year={2025},
eprint={2503.13465},
archivePrefix={arXiv},
primaryClass={eess.SP},
url={https://arxiv.org/abs/2503.13465},
}