Temporal Contrastive Alignment of EEG and Naturalistic Video Only Beats Linear Decoding on In-Sample Stimuli
Yuanyuan Yao, Simon Geirnaert, Alexander Bertrand
November, 2026
Abstract
Objective. Neural tracking, the temporal alignment between (features of) a continuous stimulus and the elicited brain response, enables decoding attention from electroencephalography (EEG). Heavily studied for speech and music, it remains largely unexplored for naturalistic video, relying on linear canonical correlation analysis (CCA). We investigate whether a nonlinear temporal contrastive model can strengthen EEG-video alignment, and examine the physiological and practical basis of what it learns. Approach. We pair a lightweight EEG encoder with a projection of VideoMAE features, training both branches via a correlation-based InfoNCE objective. The model is benchmarked against CCA under three generalization regimes. To probe the basis and utility of the learned representations, we introduce a sham control with circularly shifted video features, a zero-shot transfer test to selective attention decoding on superimposed videos, and an evaluation against a group-averaged EEG reference. Main results. The model outperforms CCA on unseen subjects, matches CCA on held-out segments of seen videos, but falls behind on entirely novel videos. A sham control shows that this high accuracy on unseen subjects does not certify physically meaningful alignment: a model retrained on circularly shifted video features, with genuine temporal alignment destroyed, still reaches comparable accuracy on seen stimuli. Yet the coupling stays useful: on a zero-shot selective-attention decoding task with seen stimuli, the model still beats CCA, since decoding needs only a strong statistical coupling, regardless of whether it is physiologically meaningful. Finally, against a group-averaged EEG reference, genuine, generalizable coupling is nonetheless learned, only masked in single-subject EEG by measurement noise and subject-specific response differences. Significance. These results demonstrate that neural tracking models should be evaluated by holding out subjects and stimuli jointly. Progress toward open-set generalization hinges on data scale, stimulus diversity, and raising the single-trial signal-to-noise ratio.

Postdoctoral researcher
My research interests include signal processing algorithm design for multi-channel biomedical sensor arrays (e.g., electroencephalography) with applications in attention decoding for brain-computer interfaces.