SENSE: Efficient EEG-to-Text via Privacy-Preserving Semantic Retrieval
Organizations: The University of Texas at Austin School of Information Austin, Texas, USA · Institute of Applied Computer Science Łódź University of Technology Poland
Abstract
Decoding brain activity into natural language is a major challenge in AI with important applications in assistive communication, neurotechnology, and human-computer interaction. Most existing Brain-Computer Interface (BCI) approaches rely on memory-intensive fine-tuning of Large Language Models (LLMs) or encoder-decoder models on raw EEG signals, resulting in expensive training pipelines, limited accessibility, and potential exposure of sensitive neural data. We introduce SENSE (SEmantic Neural Sparse Extraction), a lightweight and privacy-preserving framework that translates non-invasive electroencephalography (EEG) into text without LLM fine-tuning. SENSE decouples decoding into two stages: on-device semantic retrieval and prompt-based language generation. EEG signals are locally mapped to a discrete textual space to extract a non-sensitive Bag-of-Words (BoW), which conditions an off-the-shelf LLM to synthesize fluent text in a zero-shot manner. The EEG-to-keyword module contains only ~6M parameters and runs fully on-device, ensuring raw neural signals remain local while only abstract semantic cues interact with language models. Evaluated on a 128-channel EEG dataset across six subjects, SENSE matches or surpasses the generative quality of fully fine-tuned baselines such as Thought2Text while substantially reducing computational overhead. By localizing neural decoding and sharing only derived textual cues, SENSE provides a scalable and privacy-aware retrieval-augmented architecture for next-generation BCIs.
Figures & tables
| Similarity Refiner | Decoder | ROUGE-N (%) | ROUGE-L (%) | BLEU-N (%) | METEOR (%) | BERT Score | GPT-5 | |||
| Loss Function Variant | N=1 95% CI | N=2 95% CI | 95% CI | N=1 95% CI | N=4 95% CI | 95% CI | Flu. | Ade. | ||
| Naive Baseline | 25.8 [ 0.5] | 4.8 [ 0.3] | 23.8 [ 0.5] | 21.6 [ 0.5] | 3.8 [ 0.2] | 20.2 [ 0.5] | 0.888 | 4.59 | 1.22 | |
| 22.7 [ 0.4] | 3.1 [ 0.2] | 20.7 [ 0.4] | 20.0 [ 0.4] | 3.1 [ 0.1] | 17.1 [ 0.4] | 0.877 | 4.58 | 1.28 | ||
| 25.8 [ 0.6] | 5.2 [ 0.4] | 24.5 [ 0.6] | 18.1 [ 0.6] | 3.6 [ 0.2] | 19.3 [ 0.5] | 0.888 | 4.70 | 1.28 | ||
| 23.9 [ 0.5] | 3.8 [ 0.3] | 22.3 [ 0.4] | 18.9 [ 0.5] | 3.1 [ 0.1] | 16.9 [ 0.4] | 0.879 | 4.45 | 1.07 | ||
| 10.5 [ 0.5] | 1.2 [ 0.2] | 9.9 [ 0.4] | 5.3 [ 0.4] | 1.0 [ 0.1] | 10.6 [ 0.3] | 0.877 | 4.24 | 1.22 | ||
| ID | Image | Ref. Obj | Pred. Obj | Reference Description | Thought2Text | Sample BoW | SENSE Description |
| 1 | mushroom | mushroom | A large yellow mushroom with a brown stem and a brown cap, surrounded by green foliage. | A group of mushrooms growing on a log. | yellow, mushroom, white, daisy, flower | A yellow mushroom growing in the green grass. | |
| 2 | piano | piano | A black grand piano in a living room. | A grand piano with a stool in front of it. | piano, black, room, grand, floor | A grand piano on a wooden floor. | |
| 3 | camping | camping | A tent in a mountainous area with trees and fog. | A tent set up in a forest with a campfire nearby. | tent, field, grassy, lawn | A tent is set up in a grassy field for camping. | |
| 4 | pumpkin | pumpkin | A carved pumpkin with a face and eyes, sitting on a table. | A carved pumpkin with a spooky face on it. | carved, pumpkin, face, halloween | A carved pumpkin with a spooky face sits on the porch. | |
| 5 | flower | mushroom | A black and white photograph of a single daisy with a white center and a dark brown center. | A group of mushrooms growing on a log. | mushroom, grow, white, forest, red | A white mushroom grows on the forest ground. | |
| 6 | coffee mug | coffee mug | A hand holding a mug with a blue background and a handprint design. | A person holding a coffee mug with a A person holding a coffee mug with the words “World’s Best Dad” written on it. | mug, coffee, white, black, cup | A white coffee mug with a black logo on a table. |