Towards Linguistic Neural Representation Learning and Sentence Retrieval from Electroencephalogram Recordings
Jinzhao Zhou, Yiqun Duan, Ziyi Zhao, Yu-Cheng Chang, Yu-Kai Wang, Thomas Do, Chin-Teng Lin
TL;DR
This work tackles the challenge of decoding linguistic content from non-invasive EEG by identifying limitations of end-to-end LLM-based EEG-to-text systems, notably encoder semantics and decoder memorization. It introduces EEG-to-Text Retrieval (ETER), a two-step approach that first learns word-level semantic EEG representations with a Conformer encoder trained via masked contrastive learning, and then retrieves sentences via a training-free beam-search mechanism using keyword sets derived from the EEG predictions. The method is validated on the ZuCo corpus, showing meaningful word-level semantic organization and effective sentence retrieval without relying on a generative decoder, with extensive ablations exploring encoder architecture and vocabulary size. This retrieval-based framework offers a robust direction for linguistic BCIs, enabling transparent evaluation of semantic learning and scalable sentence decoding, while highlighting practical challenges in vocabulary scalability and dataset size.
Abstract
Decoding linguistic information from non-invasive brain signals using EEG has gained increasing research attention due to its vast applicational potential. Recently, a number of works have adopted a generative-based framework to decode electroencephalogram (EEG) signals into sentences by utilizing the power generative capacity of pretrained large language models (LLMs). However, this approach has several drawbacks that hinder the further development of linguistic applications for brain-computer interfaces (BCIs). Specifically, the ability of the EEG encoder to learn semantic information from EEG data remains questionable, and the LLM decoder's tendency to generate sentences based on its training memory can be hard to avoid. These issues necessitate a novel approach for converting EEG signals into sentences. In this paper, we propose a novel two-step pipeline that addresses these limitations and enhances the validity of linguistic EEG decoding research. We first confirm that word-level semantic information can be learned from EEG data recorded during natural reading by training a Conformer encoder via a masked contrastive objective for word-level classification. To achieve sentence decoding results, we employ a training-free retrieval method to retrieve sentences based on the predictions from the EEG encoder. Extensive experiments and ablation studies were conducted in this paper for a comprehensive evaluation of the proposed approach. Visualization of the top prediction candidates reveals that our model effectively groups EEG segments into semantic categories with similar meanings, thereby validating its ability to learn patterns from unspoken EEG recordings. Despite the exploratory nature of this work, these results suggest that our method holds promise for providing more reliable solutions for converting EEG signals into text.
