bioRxiv Science⌕ Search

bioRxiv · 10.64898/2026.06.24.734268

Postprocessing of P300 Speller Output with a Large Language Model

Abstract

P300 spellers convert electroencephalographic (EEG) activity into text by presenting users with a matrix of flickering characters. While these systems can achieve high classification accuracy, communication is severely slowed by the need for many stimulus repetitions to obtain a reliable signal. Reducing repetitions accelerates spelling but introduces character-level errors: insertions, deletions, and substitutions that degrade usability and increase user fatigue. Although substantial research has focused on improving performance at the signal acquisition and decoding stages, here we investigate a complementary text post-processing approach that leverages large language models (LLMs) to restore corrupted P300 speller output. We constructed a dataset derived from cLang-8 and simulated realistic P300-style text corruption using both random and empirically derived human-like error strategies. We evaluated several instruction-tuned LLMs alongside an optical character recognition (OCR)-fine-tuned ByT5 model under zero-shot and few-shot prompting conditions. We found that LLMs effectively recovered clean text from noisy inputs. Models employing SentencePiece tokenization consistently outperformed byte-pair encoding (BPE)-based counterparts, and few-shot in-context learning further improved restoration accuracy, with Gemma 3 achieving the strongest performance across all settings. These results suggest that LLM-based post-processing could enable P300 speller systems to operate with fewer repetitions and lower latency while maintaining or improving output accuracy, offering a practical path toward more efficient daily communication for users with motor and speech disabilities.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Paplavsky, N. A., Lebedev, M. A.. 2026-06-25. Postprocessing of P300 Speller Output with a Large Language Model. https://doi.org/10.64898/2026.06.24.734268

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Wall stiffening is a primary contributor to motility loss in Crohn's disease: an electromechanical modeling study

Fibrotic strictures are among the most disabling complications of Crohn's disease, permanently narrowing the bowel and impairing motility, yet no approved therapy reverses them. Chronic inflammation alters pacemaker-network coupling, smooth-muscle excitability, and calcium-dependent contractility, while fibrosis thickens the bowel wall, narrows the lumen, and changes tissue mechanics. The relative contributions of these coupled electrical, contractile, and structural alterations to motility loss remain unclear. To address this gap, we develop an integrated electromechanical finite-element framework for fibrostenosing Crohn's disease that couples a fibrosis-driven growth model with a FitzHugh-Nagumo electromechanical model. A full-factorial 25 design of experiments is used to quantify the relative effects of electrical diffusivity, excitation threshold, peak active stress, wall stiffness, and hypertrophic remodeling on cyclic lumen-volume deformation. Motility is quantified by the standard deviation of lumen volume over one contraction cycle. Within the parameter ranges examined, increased wall stiffness emerged as the dominant contributor to motility loss, followed by impaired smooth-muscle contractility. Changes in excitation threshold, hypertrophic remodeling, and electrical diffusivity produced substantially smaller effects. Pairwise interactions were small relative to the dominant main effects, indicating that the mechanisms contributed largely through their individual effects. Our findings suggest that limiting wall stiffening while preserving smooth-muscle contractile function may provide a therapeutic strategy for maintaining intestinal motility in fibrostenosing Crohn's disease.

bioengineering↗

Lactate Receptor Activation Alleviates Senescence and Preserves Homeostasis of Aged Arteries

Arteries are among the first tissues to exhibit age-related dysfunction, yet the metabolic mechanisms driving vascular senescence remain poorly understood. Here, analysis of human aortic transcriptomic data identified HCAR1, encoding the lactate receptor GPR81, as one of the genes most significantly downregulated with age. We therefore investigated whether age-associated loss of GPR81 contributes to cellular senescence within the vessel wall. Senescent human endothelial cells and vascular smooth muscle cells accumulated neutral and oxidized lipids and exhibited increased labile iron and ferroptosis. Silencing GPR81 in early-passage cells recapitulated this metabolic phenotype together with multiple hallmarks of cellular senescence. Moreover, endothelial-specific deletion of GPR81 in young mice was sufficient to induce senescent cell accumulation, impaired lipid homeostasis, endothelial dysfunction, and elastin disorganization. Conversely, pharmacological activation of GPR81 with the agonist CHBA restored fatty acid metabolism, promoted glycolytic reprogramming, and attenuated ferroptotic stress and senescence-associated phenotypes. In lamin A knock-in (LAKI) progeroid mice, CHBA reduced arterial lipid accumulation and cellular senescence, shifted vascular cell composition toward a youthful state, improved endothelial integrity, and restored extracellular matrix homeostasis. Together, these findings identify age-associated loss of GPR81 as a driver of vascular metabolic dysfunction and cellular senescence and establish pharmacological GPR81 activation as a promising therapeutic strategy for preserving vascular homeostasis and mitigating age-associated cardiovascular disease.

bioengineering↗

Targeted and bilateral blood flow monitoring in middle cerebral artery using diffuse correlation spectroscopy

Objective: To develop and validate a dual-probe Diffuse Correlation Spectroscopy (DCS) system for non-invasive and simultaneous, monitoring of cerebral blood flow (CBF) in the bilateral Middle Cerebral Artery (MCA) territories, and expanding the utility of conventional DCS limited to cortical-volume-based CBF measurements to vessel-specific cerebral perfusion monitoring. Methods: A dual-probe DCS system was designed for non-invasive monitoring of MCA-specific perfusion. Probe placement and protocol optimization study has been performed using anatomical landmarks, motor and speech activation tasks in healthy volunteers. System stability and repeatability were further evaluated in a pilot cohort of 30 healthy (age, 25{+/-}7 years) participants using optimized probe position and protocol. A bilateral MCA ischemic Lacunar Infract stroke case report also validated the feasibility of the system in clinical settings. Results: Measurements demonstrated superior sensitivity towards MCA-territory perfusion at targeted probe locations compared to off-MCA positions. In pilot cohort, significant increase of 30.34 {+/-} 21.56% and 36.48 {+/-} 21.22% in rCBF corresponding to hand squeeze and speech task respectively showed reproducible physiological responsiveness of the system (p<0.001). Measurement done on a patient with bilateral MCA ischemic Lacunar Infract stroke showed a significant change of 30% during speech for both the MCAs but no significant change is observed for hand squeeze tasks. Conclusion: The custom built dual-probe DCS system enables non-invasive, operator-independent, targeted and continuous monitoring of rCBF within bilateral MCA territories. Significance: This approach enables the potential use of DCS system for bilateral and vessel-specific monitoring of cerebral perfusion in the MCA territories.

bioengineering↗