All models

RNN-Transducer BCI speech decoder

A five-layer GRU that turns binned intracortical recordings into phoneme probabilities for a speech BCI.

Neuroscience signals · 20 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (29 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
135.4M
Operations
20
Framework
PyTorch
Recurrent
No
Published
Nature 620, 2023
Cited by
578 (as of 29 October 2026)
Authors
Francis R. Willett, Erin M. Kunz, Chaofei Fan and others
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m19677
Graph hash
c815155cf98a0439d3660c26a1eb3ef5d56fe07cd76de292ee3c3091d77e2ee6
Skeleton hash
08edbea5126a6a49f9b2deb25aee0ed8ba74c77f75af5d7ec52e0b906eba90ba
Architecture hash
296912e510f991465849d7077f57e175e507f409dfa4589696eb35ca9da2190d
Diagram SHA-256
8c88e2daeae969c7a9f46c581e08778b70f4b8facfbeeb71b3173a0138ea5d43
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

This is the neural decoder of a speech-to-text brain-computer interface (BCI) that records spiking activity from intracortical microelectrode arrays. The study participant can no longer speak intelligibly owing to amyotrophic lateral sclerosis. The decoder is a recurrent neural network (RNN) trained to emit, at each 80 ms time step, the probability of each phoneme being spoken at that time.

Neural activity, in the form of multiunit threshold crossings and spike band power, is first binned in time and smoothed on each electrode. The RNN is a five-layer gated recurrent-unit architecture. Besides the phonemes, its outputs include an interword silence token and a blank token associated with the connectionist temporal classification training procedure. Each day has its own input layer to account for across-day changes in neural activity. At each time step the network receives several 20 ms bins stacked together.

The phoneme probabilities are then combined with a language model to infer the most probable underlying sequence of words. The paper reports a 9.1% word error rate on a 50-word vocabulary and a 23.8% word error rate on a 125,000-word vocabulary. Attempted speech was decoded at 62 words per minute. The decoder was originally written in TensorFlow, and the authors later posted a PyTorch implementation.

Key idea. The paper demonstrates a speech-to-text brain-computer interface in which a recurrent network decodes phoneme probabilities from intracortical recordings, reaching a 23.8% word error rate on a 125,000-word vocabulary.

  • speech neuroprosthesis
  • speech BCI
  • brain-computer interface
  • neural speech decoding
  • brain-to-text
  • phoneme decoding
  • intracortical recordings
  • GRU decoder
  • NeuralDecoder
  • Neural Sequence Decoder

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@article{Willett_2023, title={A high-performance speech neuroprosthesis}, volume={620}, ISSN={1476-4687}, url={http://dx.doi.org/10.1038/s41586-023-06377-x}, DOI={10.1038/s41586-023-06377-x}, number={7976}, journal={Nature}, publisher={Springer Science and Business Media LLC}, author={Willett, Francis R. and Kunz, Erin M. and Fan, Chaofei and Avansino, Donald T. and Wilson, Guy H. and Choi, Eun Young and Kamdar, Foram and Glasser, Matthew F. and Hochberg, Leigh R. and Druckmann, Shaul and Shenoy, Krishna V. and Henderson, Jaimie M.}, year={2023}, month=Aug, pages={1031–1036} }