mlsanityData to 14 Oct 2026

Training Compute-Optimal Vision Transformers for Brain Encoding

arXiv 2410.19810 ↗First posted 17 Oct 2024eess.IV cs.CV cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

The optimal training of a vision transformer for brain encoding depends on three factors: model size, data size, and computational resources. This study investigates these three pillars, focusing on the effects of data scaling, model scaling, and high-performance computing on brain encoding results. Using VideoGPT to extract efficient spatiotemporal features from videos and training a Ridge model to predict brain activity based on these features, we conducted benchmark experiments with varying data sizes (10k, 100k, 1M, 6M) and different model configurations of GPT-2, including hidden layer dimensions, number of layers, and number of attention heads. We also evaluated the effects of training models with 32-bit vs 16-bit floating point representations. Our results demonstrate that increasing the hidden layer dimensions significantly improves brain encoding performance, as evidenced by higher Pearson correlation coefficients across all subjects. In contrast, the number of attention heads does not have a significant effect on the encoding results. Additionally, increasing the number of layers shows some improvement in brain encoding correlations, but the trend is not as consistent as that observed with hidden layer dimensions. The data scaling results show that larger training datasets lead to improved brain encoding performance, with the highest Pearson correlation coefficients observed for the largest dataset size (6M). These findings highlight that the effects of data scaling are more significant compared to model scaling in enhancing brain encoding performance. Furthermore, we explored the impact of floating-point precision by comparing 32-bit and 16-bit representations. Training with 16-bit precision yielded the same brain encoding accuracy as 32-bit, while reducing training time by 1.17 times, demonstrating its efficiency for high-performance computing tasks.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 21 of its 39 references that are in the map. First posted on arXiv 17 Oct 2024.

Builds on

21 of 39 references.

References · 21

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  4. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
  5. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
  6. 2017Neural Discrete Representation Learningcited by 4,712
  7. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
  8. 2022Training Compute-Optimal Large Language Modelscited by 3,019
  9. 2019VisualBERT: A Simple and Performant Baseline for Vision and Languagecited by 1,296
  10. 2017Mixed Precision Trainingcited by 1,156
  11. 2021Scaling Vision Transformerscited by 999
  12. 2021VideoGPT: Video Generation using VQ-VAE and Transformerscited by 658
9 more
  1. 2022Revisiting Neural Scaling Laws in Language and Visioncited by 132
  2. 2023Getting ViT in Shape: Scaling Laws for Compute-Optimal Model Designcited by 89
  3. 2023Scaling laws for language encoding models in fMRIcited by 68
  4. 2019From voxels to pixels and back: Self-supervision in natural-image reconstruction from fMRIcited by 67
  5. 2022Neural Language Models are not Born Equal to Fit Brain Data, but Training Helpscited by 26
  6. 2022Visio-Linguistic Brain Encodingcited by 13
  7. 2023Applicability of scaling laws to vision encoding modelscited by 4
  8. 2023The Temporal Structure of Language Processing in the Human Brain Corresponds to The Layered Hierarchy of Deep Language Modelscited by 4
  9. 2019Category decoding of visual stimuli from human brain activity using a bidirectional recurrent neural network to simulate bidirectional information flows in human visual corticescited by 3

Built on by

Not cited yet.