Tokenizing Single-Channel EEG with Time-Frequency Motif Learning
Not on the map. Why?
Abstract (arXiv)
Foundation models are reshaping EEG analysis, yet an important problem of EEG tokenization remains a challenge. This paper presents TFM-Tokenizer, a novel tokenization framework that learns a vocabulary of time-frequency motifs from single-channel EEG signals and encodes them into discrete tokens. We propose a dual-path architecture with time-frequency masking to capture robust motif representations, and it is model-agnostic, supporting both lightweight transformers and existing foundation models for downstream tasks. Our study demonstrates three key benefits: Accuracy: Experiments on four diverse EEG benchmarks demonstrate consistent performance gains across both single- and multi-dataset pretraining settings, achieving up to 11% improvement in Cohen's Kappa over strong baselines. Generalization: Moreover, as a plug-and-play component, it consistently boosts the performance of diverse foundation models, including BIOT and LaBraM. Scalability: By operating at the single-channel level rather than relying on the strict 10-20 EEG system, our method has the potential to be device-agnostic. Experiments on ear-EEG sleep staging, which differs from the pretraining data in signal format, channel configuration, recording device, and task, show that our tokenizer outperforms baselines by 14%. A comprehensive token analysis reveals strong class-discriminative, frequency-aware, and consistent structure, enabling improved representation quality and interpretability. Code is available at https://github.com/Jathurshan0330/TFM-Tokenizer.
Key facts. Cited by 17 papers in the map (data through 14 Oct 2026). Builds on 30 of its 54 references that are in the map. First posted on arXiv 22 Feb 2025.
Builds on
30 of 54 references.
References · 30
- 2017Attention Is All You Needcited by 60,361
- 2017Neural Discrete Representation Learningcited by 4,712
- 2024GPT-4o System Cardcited by 4,588
- 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,253
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2021Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecastingcited by 1,676
- 2022TimesNet: Temporal 2D-Variation Modeling for General Time Series Analysiscited by 1,058
- 2019Frequency Principle: Fourier Analysis Sheds Light on Deep Neural Networkscited by 368
- 2024Large Brain Model for Learning Generic Representations with Tremendous EEG Data in BCIcited by 327
- 2024CBraMod: A Criss-Cross Brain Foundation Model for EEG Decodingcited by 199
- 2024An Introduction to Vision-Language Modelingcited by 178
- 2022ETSformer: Exponential Smoothing Transformers for Time-series Forecastingcited by 148
18 more
- 2021Transformer-based Spatial-Temporal Feature Learning for EEG Decodingcited by 97
- 2024Tokenization Is More Than Compressioncited by 89
- 2024NeuroLM: A Universal Multi-task Foundation Model for Bridging the Gap between Language and EEG Signalscited by 88
- 2022Transformer Convolutional Neural Networks for Automated Artifact Detection in Scalp EEGcited by 55
- 2024EEG2Rep: Enhancing Self-supervised EEG Representation Through Informative Masked Inputscited by 50
- 2024Fredformer: Frequency Debiased Transformer for Time Series Forecastingcited by 45
- 2018Improved EEG Event Classification Using Differential Energycited by 32
- 2024The Foundations of Tokenization: Statistical and Computational Concernscited by 22
- 2023REBAR: Retrieval-Based Reconstruction for Time-series Contrastive Learningcited by 21
- 2017Learning the Morphology of Brain Signals Using Alpha-Stable Convolutional Sparse Codingcited by 20
- 2024EEG2TEXT: Open Vocabulary EEG-to-Text Decoding with EEG Pre-Training and Multi-View Transformercited by 20
- 2022Motiflets -- Simple and Accurate Detection of Motifs in Time Seriescited by 16
- 2024Enhancing EEG-to-Text Decoding through Transferable Representations from Pre-trained Contrastive EEG-Text Masked Autoencodercited by 15
- 2022Toward Interpretable Sleep Stage Classification Using Cross-Modal Transformerscited by 13
- 2022Automated Sleep Staging via Parallel Frequency-Cut Attentioncited by 7
- 2020Defining Fundamental Frequency for Almost Harmonic Signalscited by 4
- 2022Multi-Tier Platform for Cognizing Massive Electroencephalogramcited by 4
- 2013Multivariate Temporal Dictionary Learning for EEGcited by 2
Built on by
Citing papers per year: 2025: 2; 2026: 15.
17 papers.
Sort:
By area:
- 2025CodeBrain: Bridging Decoupled Tokenizer and Multi-Scale Architecture for EEG Foundation Modelcited by 28
- 2026ODEBrain: Continuous-Time EEG Graph for Modeling Dynamic Brain Networkscited by 3
- 2025Integrating Biological and Machine Intelligence: Attention Mechanisms in Brain-Computer Interfacescited by 2
- 2026A Systematic Evaluation of Sample-Level Tokenization Strategies for MEG Foundation Modelscited by 1
- 2026SpecMoE: Spectral Mixture-of-Experts Foundation Model for Cross-Species EEG Decodingcited by 1
- 2026Making Conformal Predictors Robust in Healthcare Settings: a Case Study on EEG Classificationcited by 0
- 2026Test-Time Adaptation for EEG Foundation Models: A Systematic Study under Real-World Distribution Shiftscited by 0
- 2026Context-aware tokenization for Cross-subject Emotion Decoding from EEGcited by 0
- 2026Channel-Preserving Representation Alignment for EEG-to-Music Reconstructioncited by 0
- 2026Interpretable EEG biomarkers with bag-of-waves: Spatial and temporal waveform dictionaries for low-data regimescited by 0
- 2026EEGForceFusion: Joint Tokenised-Continuous Representation Learning for Subject-Independent Grasp Force Decodingcited by 0
- 2026Continuous-Latent Predictive Modeling with Semantic Alignment for EEG-Language Foundation Modelscited by 0
5 more
- 2026A Roadmap for MEG Foundation Modelscited by 0
- 2026GRFBrain: Graph-Structured Rectified Flows for EEG Dynamic Modelingcited by 0
- 2026SPERA: Spherical Prior EEG Foundation Model with Geometry- and Frequency-Aware Latent Predictioncited by 0
- 2026DEFT: Disentanglement-Enhanced Fine-Tuning for EEG Foundation Modelscited by 0
- 2026NeuroDETR: Multiscale Discrete Spatiotemporal Tokenization for Asynchronous EEG Event Detectioncited by 0
- 2026NeuroDETR: Multiscale Discrete Spatiotemporal Tokenization for Asynchronous EEG Event Detection14 Oct 2026
- 2026DEFT: Disentanglement-Enhanced Fine-Tuning for EEG Foundation Models10 Oct 2026
- 2026SPERA: Spherical Prior EEG Foundation Model with Geometry- and Frequency-Aware Latent Prediction4 Oct 2026
- 2026GRFBrain: Graph-Structured Rectified Flows for EEG Dynamic Modeling29 Sep 2026
- 2026A Roadmap for MEG Foundation Models3 Sep 2026
- 2026Continuous-Latent Predictive Modeling with Semantic Alignment for EEG-Language Foundation Models12 Aug 2026
- 2026EEGForceFusion: Joint Tokenised-Continuous Representation Learning for Subject-Independent Grasp Force Decoding27 Jul 2026
- 2026Interpretable EEG biomarkers with bag-of-waves: Spatial and temporal waveform dictionaries for low-data regimes24 Jul 2026
- 2026Channel-Preserving Representation Alignment for EEG-to-Music Reconstruction2 Jun 2026
- 2026Context-aware tokenization for Cross-subject Emotion Decoding from EEG30 May 2026
- 2026Test-Time Adaptation for EEG Foundation Models: A Systematic Study under Real-World Distribution Shifts18 Apr 2026
- 2026SpecMoE: Spectral Mixture-of-Experts Foundation Model for Cross-Species EEG Decoding17 Mar 2026
5 more
- 2026ODEBrain: Continuous-Time EEG Graph for Modeling Dynamic Brain Networks26 Feb 2026
- 2026Making Conformal Predictors Robust in Healthcare Settings: a Case Study on EEG Classification23 Feb 2026
- 2026A Systematic Evaluation of Sample-Level Tokenization Strategies for MEG Foundation Models18 Feb 2026
- 2025CodeBrain: Bridging Decoupled Tokenizer and Multi-Scale Architecture for EEG Foundation Model10 Jun 2025
- 2025Integrating Biological and Machine Intelligence: Attention Mechanisms in Brain-Computer Interfaces26 Feb 2025
- 2025CodeBrain: Bridging Decoupled Tokenizer and Multi-Scale Architecture for EEG Foundation Modelcited by 28
- 2026ODEBrain: Continuous-Time EEG Graph for Modeling Dynamic Brain Networkscited by 3
- 2025Integrating Biological and Machine Intelligence: Attention Mechanisms in Brain-Computer Interfacescited by 2
- 2026A Systematic Evaluation of Sample-Level Tokenization Strategies for MEG Foundation Modelscited by 1
- 2026Making Conformal Predictors Robust in Healthcare Settings: a Case Study on EEG Classificationcited by 0
- 2026Test-Time Adaptation for EEG Foundation Models: A Systematic Study under Real-World Distribution Shiftscited by 0
- 2026Context-aware tokenization for Cross-subject Emotion Decoding from EEGcited by 0
- 2026Channel-Preserving Representation Alignment for EEG-to-Music Reconstructioncited by 0
- 2026Interpretable EEG biomarkers with bag-of-waves: Spatial and temporal waveform dictionaries for low-data regimescited by 0
- 2026EEGForceFusion: Joint Tokenised-Continuous Representation Learning for Subject-Independent Grasp Force Decodingcited by 0
- 2026Continuous-Latent Predictive Modeling with Semantic Alignment for EEG-Language Foundation Modelscited by 0
- 2026A Roadmap for MEG Foundation Modelscited by 0
12 most cited of 15 All 15 (JSON)
- 2026NeuroDETR: Multiscale Discrete Spatiotemporal Tokenization for Asynchronous EEG Event Detection14 Oct 2026
- 2026DEFT: Disentanglement-Enhanced Fine-Tuning for EEG Foundation Models10 Oct 2026
- 2026SPERA: Spherical Prior EEG Foundation Model with Geometry- and Frequency-Aware Latent Prediction4 Oct 2026
- 2026A Roadmap for MEG Foundation Models3 Sep 2026
- 2026Continuous-Latent Predictive Modeling with Semantic Alignment for EEG-Language Foundation Models12 Aug 2026
- 2026EEGForceFusion: Joint Tokenised-Continuous Representation Learning for Subject-Independent Grasp Force Decoding27 Jul 2026
- 2026Interpretable EEG biomarkers with bag-of-waves: Spatial and temporal waveform dictionaries for low-data regimes24 Jul 2026
- 2026Channel-Preserving Representation Alignment for EEG-to-Music Reconstruction2 Jun 2026
- 2026Context-aware tokenization for Cross-subject Emotion Decoding from EEG30 May 2026
- 2026Test-Time Adaptation for EEG Foundation Models: A Systematic Study under Real-World Distribution Shifts18 Apr 2026
- 2026ODEBrain: Continuous-Time EEG Graph for Modeling Dynamic Brain Networks26 Feb 2026
- 2026Making Conformal Predictors Robust in Healthcare Settings: a Case Study on EEG Classification23 Feb 2026
12 newest of 15 All 15 (JSON)