Manuscript Offprint

arXiv:2610.23638

Deep LLM layers expose passage-level context in EEG during silent reading

Ingo Marquardt, Anthilia Alchanat, Priyanka Jain

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

In a previous report we showed that a decoder can recover open-vocabulary word-level information from 19-channel EEG recorded during silent reading, by aligning short EEG windows with hidden-state embeddings of the presented word taken from a large language model (LLM). That analysis contrasted two of the model's 33 layers: the context-free input embedding and one mid-depth layer. Here we ask how EEG-decodable structure is distributed over the full depth of the language model. We trained one decoder per layer of Llama-3.1-8B, with and without a causal transformer over the sequence of EEG windows. We distinguish word-level decodability from a context-tracking component. Word-level decodability peaks in early layers and declines steadily towards the last layer. In contrast, the context-tracking component of the retrieval gain rises with depth, both with and without a causal transformer. Unexpectedly, a decoder that sees a single 0.5-s window at a time tracks the text passage too. Two new controls dissect this component. A target-geometry control, a synthetic predictor made of the true target plus noise calibrated to each decoder's word-level accuracy, shows that context tracking is not a by-product of word decoding and target geometry. A control that permutes predictions across runs from either the same or from different sessions shows that most of the observed context-tracking is not caused by an EEG recording session signature. Instead, context tracking mostly follows the text. A single EEG window therefore carries passage-level information that a contextual target can absorb. The results locate word identity in the early layers of the language model, discourse state in the deeper layers, and make the choice of target layer a design dial for EEG language decoders.

1 Introduction

Language models and human readers process text in the same order: one token, or one word, at a time. A causal language model updates a layered internal state with every token, and layer-wise analyses of such models show how that state changes with depth. A token's vector becomes more context-specific and less predictable from the token's identity with every layer (Ethayarajh, 2019). Lexical and local syntactic information is read out from the lower layers and context-dependent structure from the upper layers (Tenney et al., 2019). In a causal model that reads text left-to-right, information about the current token fades with depth while information about the next token accumulates (Voita et al., 2019). A human reader updates an internal state with every word too. When brain activity during language comprehension is aligned with the internal states of a language model, the alignment depends on which layer the states are taken from, and the depth profile of

∗^{*}Corresponding author: ingo@nubrain.com that alignment has become a standard tool for characterising the representation the brain signal is closest to (Caucheteux et al., 2023; Caucheteux & King, 2022; Jain & Huth, 2018; Schrimpf et al., 2021; Toneva & Wehbe, 2019). Most of that work uses linear encoding models, fitted to fMRI or MEG and in some cases to intracranial recordings (Goldstein et al., 2022; Schrimpf et al., 2021). The closest precedent to our paradigm aligned MEG recorded during word-by-word reading with the word embedding and the context state of a recurrent language model (Wehbe et al., 2014). But whereas many previous reports predict brain recordings from text embeddings, we attempt to predict text embeddings from EEG data. Specifically, we train a contrastive decoder to retrieve the presented word from 19-channel dry-electrode EEG.

In a previous report (Marquardt et al., 2026, henceforth report 1) we established the paradigm and the decoder, and showed that word-level information is recoverable from EEG during silent reading of naturalistic text, that it extends to rare and mid-frequency words, that it scales log-linearly with data volume, and that it is not reducible to narrative topic tracking or to a positional prior. That analysis used two target layers of Llama-3.1-8B (Grattafori et al., 2024): layer 0, the context-free input embedding, and layer 20, chosen on the assumption that a mid-to-deep layer would carry rich semantic representations without being dominated by next-token prediction. The present report systematically tests that assumption. We trained one decoder for every layer, 0 to 32, with and without a sequence model over the EEG, on five train/validation splits, and evaluated every fit with the full set of controls of report 1.

We ask two questions. First, how is EEG-decodable structure distributed over the depth of the language model, along each axis report 1 used to characterise decoding: word-level versus passage-level retrieval, the position probes, and the word-frequency bins? Second, a question raised by our initial results. A decoder that sees one 0.5-s EEG window at a time has no access to neighbouring windows, yet if the target carries context, it tracks the passage being read. What does a single window share with its passage? We introduce two controls to answer it, a lag-dependent version of report 1's run-mate swap with a calibrated target-geometry control, and a comparison of narrative neighbours recorded in the same versus different sessions.