ViT2EEG: Leveraging Hybrid Pretrained Vision Transformers for EEG Data

Ruiqi Yang, Eric Modesitt
8/1/2023
cs.CVeess.SP

No official code found. Best implementation: ruiqiRichard/EEGViT (33 stars, last commit 2024-01-27).

Abstract

In this study, we demonstrate the application of a hybrid Vision Transformer (ViT) model, pretrained on ImageNet, on an electroencephalogram (EEG) regression task. Despite being originally trained for image classification tasks, when fine-tuned on EEG data, this model shows a notable increase in performance compared to other models, including an identical architecture ViT trained without the ImageNet weights. This discovery challenges the traditional understanding of model generalization, suggesting that Transformer models pretrained on seemingly unrelated image data can provide valuable priors for EEG regression tasks with an appropriate fine-tuning pipeline. The success of this approach suggests that the features extracted by ViT models in the context of visual tasks can be readily transformed for the purpose of EEG predictive modeling. We recommend utilizing this methodology not only in neuroscience and related fields, but generally for any task where data collection is limited by practical, financial, or ethical constraints. Our results illuminate the potential of pretrained models on tasks that are clearly distinct from their original purpose.

View on arXivView PDF

Code Implementations(1)

ruiqiRichard/EEGViTCommunity100%
3311PythonMay 25, 20232 years ago

Similar Papers

Cite this paper

@article{yang2023viteeg,
  title  = {ViT2EEG: Leveraging Hybrid Pretrained Vision Transformers for EEG Data},
  author = {Ruiqi Yang and Eric Modesitt},
  year   = {2023},
  eprint = {2308.00454},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.00454v1}
}

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/2308.00454.svg)](https://codeofpaper.com/paper/2308.00454)

Discussion