BrainLLM: Generative Language Decoding from Brain Recordings

Ziyi Ye, Qingyao Ai, Yiqun Liu, Maarten de Rijke, Min Zhang +2 more
11/16/2023
38 citations
cs.CL

Official code: YeZiyi1998/Brain-language-generation (36 stars, Python, last commit 2025-05-21).

Abstract

Generating human language through non-invasive brain-computer interfaces (BCIs) has the potential to unlock many applications, such as serving disabled patients and improving communication. Currently, however, generating language via BCIs has been previously successful only within a classification setup for selecting pre-generated sentence continuation candidates with the most likely cortical semantic representation.

Show full abstract

Inspired by recent research that revealed associations between the brain and the large computational language models, we propose a generative language BCI that utilizes the capacity of a large language model (LLM) jointly with a semantic brain decoder to directly generate language from functional magnetic resonance imaging (fMRI) input. The proposed model can generate coherent language sequences aligned with the semantic content of visual or auditory language stimuli perceived, without prior knowledge of any pre-generated candidates. We compare the language generated from the presented model with a random control, pre-generated language selection approach, and a standard LLM, which generates common coherent text solely based on the next word likelihood according to statistical language training data. The proposed model is found to generate language that is more aligned with semantic stimulus in response to which brain input is sampled. Our findings demonstrate the potential and feasibility of employing BCIs in direct language generation.

View on arXivView PDF

Code Implementations(1)

Language Generation from Brain Recordings

369Python, ShellNov 12, 20231 years agoNOASSERTION

Similar Papers

Cite this paper

@article{ye2023brainllm,
  title  = {BrainLLM: Generative Language Decoding from Brain Recordings},
  author = {Ziyi Ye and Qingyao Ai and Yiqun Liu and Maarten de Rijke and Min Zhang and Christina Lioma and Tuukka Ruotsalo},
  year   = {2023},
  eprint = {2311.09889},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.09889v6}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.09889.svg)](https://codeofpaper.com/paper/2311.09889)

Discussion