mlsanityData to 14 Oct 2026

Tokenizing Single-Channel EEG with Time-Frequency Motif Learning

arXiv 2502.16060 ↗First posted 22 Feb 2025cs.LG cs.AI eess.SPcited by 17

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2017Neural Discrete Representation Learningcited by 4,712
  3. 2024GPT-4o System Cardcited by 4,588
  4. 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,253
  5. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  6. 2021Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecastingcited by 1,676
  7. 2022TimesNet: Temporal 2D-Variation Modeling for General Time Series Analysiscited by 1,058
  8. 2019Frequency Principle: Fourier Analysis Sheds Light on Deep Neural Networkscited by 368
  9. 2024Large Brain Model for Learning Generic Representations with Tremendous EEG Data in BCIcited by 327
  10. 2024CBraMod: A Criss-Cross Brain Foundation Model for EEG Decodingcited by 199
  11. 2024An Introduction to Vision-Language Modelingcited by 178
  12. 2022ETSformer: Exponential Smoothing Transformers for Time-series Forecastingcited by 148
18 more
  1. 2021Transformer-based Spatial-Temporal Feature Learning for EEG Decodingcited by 97
  2. 2024Tokenization Is More Than Compressioncited by 89
  3. 2024NeuroLM: A Universal Multi-task Foundation Model for Bridging the Gap between Language and EEG Signalscited by 88
  4. 2022Transformer Convolutional Neural Networks for Automated Artifact Detection in Scalp EEGcited by 55
  5. 2024EEG2Rep: Enhancing Self-supervised EEG Representation Through Informative Masked Inputscited by 50
  6. 2024Fredformer: Frequency Debiased Transformer for Time Series Forecastingcited by 45
  7. 2018Improved EEG Event Classification Using Differential Energycited by 32
  8. 2024The Foundations of Tokenization: Statistical and Computational Concernscited by 22
  9. 2023REBAR: Retrieval-Based Reconstruction for Time-series Contrastive Learningcited by 21
  10. 2017Learning the Morphology of Brain Signals Using Alpha-Stable Convolutional Sparse Codingcited by 20
  11. 2024EEG2TEXT: Open Vocabulary EEG-to-Text Decoding with EEG Pre-Training and Multi-View Transformercited by 20
  12. 2022Motiflets -- Simple and Accurate Detection of Motifs in Time Seriescited by 16
  13. 2024Enhancing EEG-to-Text Decoding through Transferable Representations from Pre-trained Contrastive EEG-Text Masked Autoencodercited by 15
  14. 2022Toward Interpretable Sleep Stage Classification Using Cross-Modal Transformerscited by 13
  15. 2022Automated Sleep Staging via Parallel Frequency-Cut Attentioncited by 7
  16. 2020Defining Fundamental Frequency for Almost Harmonic Signalscited by 4
  17. 2022Multi-Tier Platform for Cognizing Massive Electroencephalogramcited by 4
  18. 2013Multivariate Temporal Dictionary Learning for EEGcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 15.

17 papers.

Sort:

By area:

  1. 2025CodeBrain: Bridging Decoupled Tokenizer and Multi-Scale Architecture for EEG Foundation Modelcited by 28
  2. 2026ODEBrain: Continuous-Time EEG Graph for Modeling Dynamic Brain Networkscited by 3
  3. 2025Integrating Biological and Machine Intelligence: Attention Mechanisms in Brain-Computer Interfacescited by 2
  4. 2026A Systematic Evaluation of Sample-Level Tokenization Strategies for MEG Foundation Modelscited by 1
  5. 2026SpecMoE: Spectral Mixture-of-Experts Foundation Model for Cross-Species EEG Decodingcited by 1
  6. 2026Making Conformal Predictors Robust in Healthcare Settings: a Case Study on EEG Classificationcited by 0
  7. 2026Test-Time Adaptation for EEG Foundation Models: A Systematic Study under Real-World Distribution Shiftscited by 0
  8. 2026Context-aware tokenization for Cross-subject Emotion Decoding from EEGcited by 0
  9. 2026Channel-Preserving Representation Alignment for EEG-to-Music Reconstructioncited by 0
  10. 2026Interpretable EEG biomarkers with bag-of-waves: Spatial and temporal waveform dictionaries for low-data regimescited by 0
  11. 2026EEGForceFusion: Joint Tokenised-Continuous Representation Learning for Subject-Independent Grasp Force Decodingcited by 0
  12. 2026Continuous-Latent Predictive Modeling with Semantic Alignment for EEG-Language Foundation Modelscited by 0
5 more
  1. 2026A Roadmap for MEG Foundation Modelscited by 0
  2. 2026GRFBrain: Graph-Structured Rectified Flows for EEG Dynamic Modelingcited by 0
  3. 2026SPERA: Spherical Prior EEG Foundation Model with Geometry- and Frequency-Aware Latent Predictioncited by 0
  4. 2026DEFT: Disentanglement-Enhanced Fine-Tuning for EEG Foundation Modelscited by 0
  5. 2026NeuroDETR: Multiscale Discrete Spatiotemporal Tokenization for Asynchronous EEG Event Detectioncited by 0