A Systematic Evaluation of Sample-Level Tokenization Strategies for MEG Foundation Models

SungJun Cho, Chetan Gohil, Rukuang Huang, Oiwi Parker Jones, Mark W. Woolrich
2/18/2026
cs.LGcs.AIq-bio.NC

Official code: OHBA-analysis/Cho2026_Tokenizer (1 star, MIT, last commit 2026-03-31).

Abstract

Recent success in natural language processing has motivated growing interest in large-scale foundation models for neuroimaging data. Such models often require discretization of continuous neural time series data, a process referred to as 'tokenization'. However, the impact of different tokenization strategies for neural data is currently poorly understood. In this work, we present a systematic evaluation of sample-level tokenization strategies for transformer-based large neuroimaging models (LNMs) applied to magnetoencephalography (MEG) data. We compare learnable and non-learnable tokenizers by examining their signal reconstruction fidelity and their impact on subsequent foundation modeling performance (token prediction, biological plausibility of generated data, preservation of subject-specific information, and performance on downstream tasks). For the learnable tokenizer, we introduce a novel approach based on an autoencoder. Experiments were conducted on three publicly available MEG datasets spanning different acquisition sites, scanners, and experimental paradigms. Our results show that both learnable and non-learnable discretization schemes achieve high reconstruction accuracy and broadly comparable performance across most evaluation criteria, suggesting that simple fixed sample-level tokenization strategies can be used in the development of neural foundation models. The code is available at https://github.com/OHBA-analysis/Cho2026_Tokenizer.

View on arXivView PDF

Code Implementations(1)

MIT

Scripts for the Cho et al. (2026) manuscript

10R, PythonAug 28, 20256 months agoMIT
deep-learningfoundation-modelsmegneuroimaging-analysistokenizer

Similar Papers

Cite this paper

@article{cho2026systematic,
  title  = {A Systematic Evaluation of Sample-Level Tokenization Strategies for MEG Foundation Models},
  author = {SungJun Cho and Chetan Gohil and Rukuang Huang and Oiwi Parker Jones and Mark W. Woolrich},
  year   = {2026},
  eprint = {2602.16626},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.16626v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.16626.svg)](https://codeofpaper.com/paper/2602.16626)

Discussion