Electrode Clustering and Bandpass Analysis of EEG Data for Gaze Estimation

Ard Kastrati, Martyna Beata Plomecka, Joël Küchler, Nicolas Langer, Roger Wattenhofer

Abstract

In this study, we validate the findings of previously published papers, showing the feasibility of an Electroencephalography (EEG) based gaze estimation. Moreover, we extend previous research by demonstrating that with only a slight drop in model performance, we can significantly reduce the number of electrodes, indicating that a high-density, expensive EEG cap is not necessary for the purposes of EEG-based eye tracking. Using data-driven approaches, we establish which electrode clusters impact gaze estimation and how the different types of EEG data preprocessing affect the models' performance. Finally, we also inspect which recorded frequencies are most important for the defined tasks.

Introduction

Traditional eye tracking typically relies on infrared cameras. While accurate, these systems struggle with individual differences in eye physiology, require time-consuming calibration, and need a clear optical path to the user's face. Electroencephalography (EEG) offers an alternative by recording the electrical activity of the brain and eye muscles (EOG). However, EEG-based gaze estimation has historically been overlooked because the data is notoriously noisy and researchers assumed high-density, expensive electrode arrays were required.

This paper investigates two critical questions:

  1. What is the minimum number of electrodes needed for accurate gaze tracking?
  2. Which specific brain regions and frequency bands carry the most information for this task?

Methodology

The study utilizes the EEGEyeNet benchmark, a comprehensive dataset consisting of synchronized EEG and infrared eye-tracking data collected across three experimental paradigms. The benchmark defines three tasks of increasing complexity:

  • Left-Right (LR): A binary classification of gaze direction.
  • Direction: A regression task predicting the angle and amplitude of a saccade (eye movement).
  • Absolute Position: Predicting the exact XY coordinates of the gaze on a screen.

The authors applied five deep learning architectures, including InceptionTime and PyramidalCNN, to evaluate performance across these tasks. Their methodology employed several key analytical steps:

  • Gradient-Based Feature Importance: To identify which electrodes were most influential, the researchers computed cumulative absolute gradients relative to the input. Electrodes with higher gradients were deemed more important.
  • Symmetrical Clustering: Recognizing the brain's natural symmetry, they developed a clustering method that ranks electrodes and adds them in symmetrical pairs until model performance plateaus.
  • Preprocessing Comparison: The study compared "Minimal Preprocessing" (basic filtering) with "Maximal Preprocessing" (using Independent Component Analysis to remove non-brain artifacts like muscle movements).
  • Bandpass Analysis: They isolated specific frequency bands—Delta (1-4Hz), Theta (4-8Hz), Alpha (8-13Hz), and Beta (13-32Hz)—to determine which frequencies contributed most to prediction accuracy.

Results and Discussion

Spatial Importance and Preprocessing Effects

A primary finding of the study is the dominance of frontal electrodes across both raw and cleaned data. In minimally preprocessed data, this likely reflects the capture of EOG (eye muscle) artifacts, which are strong indicators of gaze direction. In cleaned data, however, the frontal importance likely reflects activity in the Frontal Eye Fields, a region of the brain responsible for controlling visual attention.

Interestingly, once ocular artifacts are removed via Maximal Preprocessing, a secondary region of interest emerges in the occipital part of the head (the visual cortex). This suggests that the deep learning models are capable of "reading" how the brain processes visual input to infer where the eyes are looking, rather than just relying on muscle noise.

Normalized gradient values across different tasks and preprocessing levels. Note the prominent frontal activity in all plots and the emergence of occipital importance in plot (c).

Electrode Reduction and Performance

The research demonstrates that high-density caps are often redundant for gaze estimation. For minimally preprocessed data, 23 electrodes achieved the same accuracy as the full 128-electrode cap. For the simple Left-Right task, just 2 electrodes were sufficient to reach ~98% accuracy.

Even with maximally preprocessed data, only 40 electrodes were required to match full-cap performance. Notably, on the "Angle" task, a PyramidalCNN trained on just 40 electrodes achieved a score of 0.68 radians, which is significantly better than the 0.76 radians achieved with the full 128-electrode set. This "less is more" phenomenon suggests that many electrodes in a high-density cap contribute nothing but noise to the gaze estimation task, and removing them can actually improve model robustness.

Frequency Band Significance

The importance of specific frequency bands shifts significantly based on the level of data cleaning. For raw data, low frequencies (<13Hz) are most informative because they contain the bulk of the ocular artifacts. However, for "clean" brain data, the higher Beta band (13-32Hz) becomes the most meaningful. In the maximally preprocessed dataset, the 13-32Hz band alone provided higher accuracy than a combination of all lower frequency bands (Delta, Theta, and Alpha), indicating that actual neuronal activity is being successfully decoded.

Conclusion

This study confirms that EEG-based gaze estimation is not only feasible but can be achieved with significantly reduced hardware requirements. By identifying specific electrode clusters and frequency bands, the work paves the way for more accessible, lower-cost eye-tracking solutions that do not require cumbersome 128-electrode arrays.

While the results are promising, the authors acknowledge limitations: the detailed bandpass analysis was primarily performed on the Left-Right classification task, and future work is needed to see if these findings hold for complex XY-coordinate regression. Additionally, more fine-grained spectral analysis could pinpoint exact frequencies of interest, further optimizing the balance between hardware cost and tracking accuracy.

Summary updated

BibTeX
@inproceedings{kastrati2022electrode,
  author = {Ard Kastrati and Martyna Beata Plomecka and Joël Küchler and Nicolas Langer and Roger Wattenhofer},
  title = {{Electrode Clustering and Bandpass Analysis of EEG Data for Gaze Estimation}},
  booktitle = {GMML @ NeurIPS},
  year = {2022},
  url = {https://openreview.net/forum?id=We5h1Vcezei},
}
Figure