Skip to main content
QUICK REVIEW

[Paper Review] Human brain activity for machine attention

Lukas Muttenthaler, Nora Hollenstein|arXiv (Cornell University)|Jun 9, 2020
EEG and Brain-Computer InterfacesNeuroscience40 references6 citations
TL;DR

This paper introduces a novel method to extract human language processing signals from EEG data and use them to regularize neural network attention mechanisms in NLP tasks. By combining theoretically motivated cropping with random forest-based feature selection, the authors isolate task-discriminative EEG features from a public corpus, demonstrating that low-frequency EEG bands (theta and alpha) improve relation classification and named entity recognition, even with limited data—proving EEG signals can effectively guide machine attention.

ABSTRACT

Cognitively inspired NLP leverages human-derived data to teach machines about language processing mechanisms. Recently, neural networks have been augmented with behavioral data to solve a range of NLP tasks spanning syntax and semantics. We are the first to exploit neuroscientific data, namely electroencephalography (EEG), to inform a neural attention model about language processing of the human brain. The challenge in working with EEG data is that features are exceptionally rich and need extensive pre-processing to isolate signals specific to text processing. We devise a method for finding such EEG features to supervise machine attention through combining theoretically motivated cropping with random forest tree splits. After this dimensionality reduction, the pre-processed EEG features are capable of distinguishing two reading tasks retrieved from a publicly available EEG corpus. We apply these features to regularise attention on relation classification and show that EEG is more informative than strong baselines. This improvement depends on both the cognitive load of the task and the EEG frequency domain. Hence, informing neural attention models with EEG signals is beneficial but requires further investigation to understand which dimensions are the most useful across NLP tasks.

Motivation & Objective

  • To develop a method for isolating text-processing-specific EEG signals from noisy, high-dimensional EEG data.
  • To investigate whether human brain activity, measured via EEG, can improve machine attention in NLP models.
  • To evaluate the impact of different EEG frequency bands and embedding dimensions on downstream NLP performance.
  • To determine whether EEG-based supervision outperforms strong baselines in sequence classification tasks.

Proposed method

  • Apply theoretically motivated cropping to EEG data to isolate brain signals relevant to text processing.
  • Use random forest tree splits to identify the most informative EEG features for distinguishing reading tasks.
  • Extract EEG attention scores by max-pooling over frequency-domain embeddings of varying dimensionality (5, 15, 30).
  • Inject these EEG-derived attention scores as regularization signals into a multi-task RNN model to guide word-level attention.
  • Train the model on limited EEG data (300 NR and 407 AR sentences across 12 participants) and evaluate on NER and relation classification.
  • Compare performance across EEG frequency bands (theta, alpha, beta, gamma) and embedding dimensions to identify optimal signal sources.

Experimental results

Research questions

  • RQ1Which EEG features are most informative for distinguishing between different cognitive loads during reading?
  • RQ2Can EEG-derived attention signals improve performance on NLP sequence classification tasks like relation classification and named entity recognition?
  • RQ3How does the performance of EEG-supervised models vary across different EEG frequency bands?
  • RQ4Does the dimensionality of EEG embeddings affect the informativeness of the signals for downstream NLP tasks?
  • RQ5How does the cognitive load of the reading task (normal vs. annotation reading) influence the utility of EEG signals for guiding machine attention?

Key findings

  • EEG features extracted via cropping and random forest selection successfully distinguish between Normal Reading (NR) and Annotation Reading (AR) tasks in a public EEG corpus.
  • The theta (4–8 Hz) and alpha (8.5–13 Hz) frequency bands provide more informative signals than beta (13.5–30 Hz) and gamma (30.5–49.5 Hz) bands, improving downstream performance.
  • Max-pooled attention scores from 5-dimensional theta embeddings outperform higher-dimensional embeddings (15, 30) for Wikipedia relation detection.
  • Performance gains are more pronounced in relation classification than in named entity recognition, likely due to the latter’s already strong baseline performance.
  • Lower-dimensional EEG embeddings (e.g., 5D) yield better performance for classifying reading tasks, as they retain the most discriminative signals between NR and AR.
  • Despite using only 300 NR and 407 AR sentences across 12 participants, EEG-based supervision leads to measurable performance improvements, indicating potential even with limited data.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.