Reading Task Classification Using EEG and Eye-Tracking Data

Nora Hollenstein, Marius Tröndle, Martyna Plomecka, Samuel Kiegeland, Yilmazcan Özyurt, Lena A. Jäger, Nicolas LangerarXiv 2021

Abstract

The Zurich Cognitive Language Processing Corpus (ZuCo) provides eye-tracking and EEG signals from two reading paradigms, normal reading and task-specific reading. We analyze whether machine learning methods are able to classify these two tasks using eye-tracking and EEG features. We implement models with aggregated sentence-level features as well as fine-grained word-level features. We test the models in within-subject and cross-subject evaluation scenarios. All models are tested on the ZuCo 1.0 and ZuCo 2.0 data subsets, which are characterized by differing recording procedures and thus allow for different levels of generalizability. Finally, we provide a series of control experiments to analyze the results in more detail.

Introduction

In Natural Language Processing (NLP), a major bottleneck is the need for massive amounts of manually labeled data. This research explores whether we can bypass manual labeling by "reading" the human brain. If a machine can detect when a person is searching for a specific relationship (like a person's job title) versus just reading for pleasure, we could potentially use cognitive signals to automate text annotation or detect mental states like fatigue and "reading intent."

The core challenge is Reading Task Classification: decoding the mental state and cognitive processes occurring in the brain during different reading paradigms using non-invasive physiological measures.

Datasets and Reading Paradigms

The study utilizes the Zurich Cognitive Language Processing Corpus (ZuCo), which contains high-density EEG and high-frequency eye-tracking data of subjects reading natural English sentences from Wikipedia and movie reviews.

Descriptive statistics of the ZuCo 1.0 and ZuCo 2.0 datasets, comparing Normal Reading (NR) and Task-Specific Reading (TSR) paradigms.

Two versions of the dataset were used to test generalizability:

  • ZuCo 1.0: Includes 12 subjects where different reading tasks were recorded in separate sessions on different days.
  • ZuCo 2.0: Includes 18 subjects where tasks were interleaved in blocks within the same session to reduce "session bias."
Examples of the reading paradigms: Normal Reading (left) and Task-Specific Reading for relation extraction (right).

Methodology

The authors implemented two primary modeling approaches to classify these tasks:

  1. Word-level Models: Using a Bidirectional LSTM (Long Short-Term Memory) network, researchers fed the model features for every single word in a sentence. This included eye-tracking metrics and EEG "Fixation-Related Potentials" (FRPs)—the brain activity recorded specifically during the time a word was being looked at.
  2. Sentence-level Models: Using a Support Vector Machine (SVM) with a linear kernel, they used aggregated features for the entire sentence (e.g., total reading speed, omission rate, and mean power across different EEG frequency bands).

These models were tested in within-subject (training and testing on the same person) and cross-subject (training on one group and testing on a new person) scenarios.

Key Insights and Results

  • The "Session Effect" Trap: Models performed significantly better on ZuCo 1.0 (nearly 99% accuracy) than on ZuCo 2.0. This was largely due to "session bias"—the model was learning the specific noise and physiological state unique to the recording day rather than the task itself.
  • Gamma Band Importance: High-frequency EEG activity (the gamma band, 30.5–49.5 Hz) proved to be the most predictive feature for task classification, aligning with neuroscience research on higher-level cognitive functions.
  • Simpler Models Excel: Surprisingly, sentence-level SVMs often outperformed complex word-level LSTMs. This suggests that word-level models may overfit due to having too many parameters relative to the available training samples.
  • EEG as a Fingerprint: In control experiments, EEG features were incredibly effective at identifying who the subject was, suggesting that brain activity is highly subject-specific. This explains why cross-subject generalization (achieving only 52-57% accuracy) is so difficult.

Conclusion

While within-subject models achieved high accuracy (up to 92% using gamma-band features), the primary limitation remains the lack of generalizability. Because physiological signals vary wildly between individuals, future work must focus on transfer learning to "normalize" data across subjects and improving the extraction of cognitive signals from individual-specific noise.

Summary updated

BibTeX
@misc{hollenstein2021reading,
  author = {Nora Hollenstein and Marius Tröndle and Martyna Plomecka and Samuel Kiegeland and Yilmazcan Özyurt and Lena A. Jäger and Nicolas Langer},
  title = {{Reading Task Classification Using EEG and Eye-Tracking Data}},
  year = {2021},
  eprint = {2112.06310},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2112.06310},
}
Figure