A large and rich EEG dataset for modeling human visual object recognition

Alessandro T. Gifford, Kshitij Dwivedi, Gemma Roig, Radoslaw Martin Cichy

Abstract

The human brain achieves visual object recognition through multiple stages of nonlinear transformations operating at a millisecond scale. To predict and explain these rapid transformations, computational neuroscientists employ machine learning modeling techniques. However, state-of-the-art models require massive amounts of data to properly train, and to the present day there is a lack of vast brain datasets which extensively sample the temporal dynamics of visual object recognition. Here we collected a large and rich dataset of high temporal resolution EEG responses to images of objects on a natural background. This dataset includes 10 participants, each with 82,160 trials spanning 16,740 image conditions. Through computational modeling we established the quality of this dataset in five ways. First, we trained linearizing encoding models that successfully synthesized the EEG responses to arbitrary images. Second, we correctly identified the recorded EEG data image conditions in a zero-shot fashion, using EEG synthesized responses to hundreds of thousands of candidate image conditions. Third, we show that both the high number of conditions as well as the trial repetitions of the EEG dataset contribute to the trained models’ prediction accuracy. Fourth, we built encoding models whose predictions well generalize to novel participants. Fifth, we demonstrate full end-to-end training of randomly initialized DNNs that output M/EEG responses for arbitrary input images. We release this dataset as a tool to foster research in visual neuroscience and computer vision.

Introduction

Computational neuroscience aims to build models that predict how the brain transforms visual input into object recognition. While Deep Neural Networks (DNNs) are currently our best models for this, they are notoriously "data-hungry." Until now, researchers faced a trade-off: use functional Magnetic Resonance Imaging (fMRI), which has great spatial resolution but is too slow to capture millisecond-level dynamics, or use Electroencephalography (EEG), which is fast but typically results in small datasets (a few thousand trials). This "data hunger" has prevented researchers from training models that truly capture the rapid, nonlinear transformations the brain performs. This work addresses this by providing a dataset large enough to satisfy modern machine learning requirements.

Methods and Experimental Paradigm

To overcome the limitations of traditional data collection, we utilized a Rapid Serial Visual Presentation (RSVP) paradigm. Participants viewed sequences of images at a rate of 5 images per second (100ms display + 100ms gap). This allowed for the collection of a massive amount of data—over 82,000 trials per participant—in a fraction of the time required by traditional methods.

Experimental paradigm and stimuli overview. (A) The RSVP sequence used for data collection. (B) Examples of the 1,654 training object concepts from the THINGS database. (C) Examples of the 200 test object concepts.

Datasets

  • THINGS Database: The source of the visual stimuli, featuring 1,854 object concepts on natural backgrounds.
  • The New EEG Dataset: Includes 10 participants, each completing 82,160 trials.
  • BioTrain: 16,540 unique image conditions (4 repetitions each).
  • BioTest: 200 unique image conditions (80 repetitions each) used for high-SNR evaluation.

Key Results and Modeling Insights

We validated the dataset through three distinct modeling approaches, demonstrating its richness and utility for machine learning.

Zero-Shot Identification and Encoding

We trained linearizing encoding models using pre-trained DNNs (like ResNet-50) as feature extractors to map features to specific EEG time points. The model achieved 81.3% accuracy in identifying the correct image out of 200 candidates. Remarkably, even when scaled to 150,000 candidates from ImageNet, the zero-shot identification accuracy remained at 21.15% (where chance is near zero).

The End-to-End Milestone

For the first time in the field, this dataset's scale allowed for the end-to-end training of randomly initialized DNNs from scratch to output multi-channel EEG responses directly from image pixels. This proves that with enough high-quality data, we can move away from relying on pre-trained computer vision models and start training "brain-first" AI.

Generalization and Data Quality

  • Quantity vs. Quality: Increasing the number of unique image conditions (diversity) has a larger positive impact on model performance than simply repeating the same images to increase the signal-to-noise ratio.
  • Brain-to-Brain Generalization: Models trained on nine participants accurately predicted the brain activity of a tenth, novel participant, suggesting a consistent neural "code" for object recognition across individuals.
  • Temporal Precision: Encoding models showed significant predictive power starting at 60ms post-stimulus, peaking at 110ms, aligning with known biological timelines for visual processing.

Limitations and Future Directions

While the RSVP paradigm introduces potential "bleeding" between sequential image responses, the scale of the data allows for robust modeling. Future work will aim to increase ecological validity by incorporating eye movements and peripheral processing. Ultimately, we hope this dataset will be used to create more biologically plausible AI by using human brain data as an inductive bias during the training of computer vision algorithms.

Summary updated

BibTeX
@article{gifford2023large,
  author = {Alessandro T. Gifford and Kshitij Dwivedi and Gemma Roig and Radoslaw Martin Cichy},
  title = {{A large and rich EEG dataset for modeling human visual object recognition}},
  journal = {Journal of Vision},
  year = {2023},
  doi = {10.1167/jov.23.9.4579},
}
Figure