Back to All Projects
Home / Projects / Decoding Cognitive States: Using Transformers to Find the Linguistic Fingerprints of Reading Effort
Applied NLP in Neuroscience August 21, 2025

Decoding Cognitive States: Using Transformers to Find the Linguistic Fingerprints of Reading Effort

Baseline F1
~0.74
Transformer F1
0.89
Inference Latency
< 15ms
Modality
Linguistic Biomarkers

Abstract

Can the way we use language reveal the cognitive effort we’re expending? This project investigates whether it’s possible to distinguish between two different cognitive states—Normal Reading (NR) and Task-Specific Reading (TSR)—using only the linguistic properties of a text. Starting with classical machine learning models that achieved a baseline F1-score of ~0.74, we developed an attention-based Transformer model to isolate syntactic and lexical strain markers.

The Operational Challenge

Traditional cognitive monitoring methods (e.g. fMRI, high-density EEG) are invasive, bulky, and impossible to deploy in dynamic or high-speed operational settings. This research investigates whether micro-changes in language processing effort can serve as a non-invasive, text-based computational biomarker for real-time cognitive strain.

Architecture & Methodology

We constructed a dual-state corpus under controlled cognitive tasks (Normal Reading vs. Task-Specific Reading under time decay). Baseline SVM and Random Forest classifiers were trained on handcrafted stylistic and lexical features. We then fine-tuned domain-adapted Transformer architectures with specialized self-attention heads focused on clause complexity and syntactic tree depth.

Benchmark Results & Impact

While classical statistical models plateaued at F1 ~0.74 due to cross-subject variability, the transformer architecture reached an F1-score of 0.89 with an inference latency below 15ms. The model successfully highlighted predictive linguistic tokens that correlate with elevated cognitive load before subject-reported fatigue.

Email copied to clipboard!