BIOT
BIOT turns multi-channel biosignals such as EEG into token sequences for a linear-attention transformer.
Neuroscience signals · 380 operations Checked
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
- Task
- Neuroscience signals
- Parameters
- 3.2M
- Operations
- 380
- Framework
- PyTorch
- Recurrent
- No
- Published
- NeurIPS 2023
- Cited by
- 9 (as of 24 October 2026)
- Authors
- Chaoqi Yang, M. Brandon Westover, Jimeng Sun
- Source
- braindecode 1.8.1
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m14843
- Graph hash
- e7bdac38d32f0262af4148fba05663667362c4a50edb9cab7bcf7fbda386f44e
- Skeleton hash
- 9fd98f2167943119988635d74cb82e7208cec586fc06854f4a4dda2dc01de3d8
- Architecture hash
- 85b06f1e5b3a27f02ab468aee238c0ee4fa9ba54524cd687b513591b3dc1ed31
- Diagram SHA-256
- 805797456fb9b92ddedbec2416be237612551a5ed87500d46781af94d8cf8514
- 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
BIOT, the Biosignal Transformer, is a model for biosignals of various formats, built to cope with mismatched channels, variable sample lengths and missing values. The paper starts from the observation that deep learning models for biosignals are usually specialized for specific datasets and clinical settings, which limits where they can be applied.
BIOT cuts each channel separately into fixed-length segments and flattens the segments of all channels into one sequence, which the paper calls a biosignal sentence. Each segment is embedded from its spectrum: a fast Fourier transform gives an energy vector, and a fully connected network turns that vector into the segment embedding. Channel embeddings and relative position embeddings are added so that the sequence keeps its spatial and temporal structure. Since the original Transformer has quadratic complexity in time and space, the transformer blocks use a linear attention mechanism. The final embedding is a mean over all tokens.
For classification, an exponential linear unit (ELU) activation and a linear layer follow the encoder. On the CHB-MIT seizure detection task, the paper reports a 3% improvement over baselines in balanced accuracy for the plain model and up to 4% more with pre-trained models. The paper also pre-trains an unsupervised encoder on 5 million resting EEG samples and 5 million sleep EEG samples.
Key idea. BIOT tokenizes each biosignal channel into fixed-length segments and flattens them into one sentence, so one transformer can learn across datasets with mismatched channels, lengths and missing values.
- biot
- biosignal transformer
- eeg
- ecg
- biosignal
- seizure detection
- eeg classification
- biosignal pre-training
- cross-data learning
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{yang2023biotcrossdatabiosignallearning,
title={BIOT: Cross-data Biosignal Learning in the Wild},
author={Chaoqi Yang and M. Brandon Westover and Jimeng Sun},
year={2023},
eprint={2305.10351},
archivePrefix={arXiv},
primaryClass={eess.SP},
url={https://arxiv.org/abs/2305.10351},
}