LingSante-Pulse reads ECG, EEG and pulse signals with one small encoder, one channel at a time
An MIT-licensed model from inclusionAI turns physiological signals into reusable features, with glucose-monitor weights shipped in the repo. Its own tables show where it trails.
- Model
- LingSante-Pulse
- Maker
- inclusionAI
- License
- MIT
- Weights
- Downloadable →
A smartwatch records pulse. A sleep lab records brain waves, heart rhythm and breathing at once. LingSante-Pulse, released on GitHub by the inclusionAI organization on November 20, is one encoder meant to make useful features out of all of them, so that a builder with a modest set of labeled recordings can train a small classifier on top and skip training a signal model from scratch.
A note on status. The release has two branches. The weights for the continuous glucose monitoring (CGM) branch are files in the GitHub repo, which we opened, and that is what our tracker links. The waveform encoder, which is the subject of the technical report and of every benchmark below, is on Hugging Face as inclusionAI/LingSante-Pulse-1.0 according to the README. Hugging Face was not reachable from our build machine, so we have not seen that page.
How it works
The usual problem with mixing signal types is that recordings rarely contain the same set of channels. Pulse avoids it by encoding each channel alone. One shared transformer handles any single channel, and a short text description of the channel, such as the modality and the ECG lead, is turned into a vector that adjusts the network’s internal scaling for that kind of signal. Three channels in gives three feature vectors side by side; one channel still works.
Per the report’s appendix, the encoder is 12 transformer blocks of width 256. Signals are resampled to 128 Hz and cut into patches of 32 samples, a quarter of a second each. Each channel comes out as a 256-number summary. We did not find a parameter count in the report; those dimensions describe a small model, and the README says both branches run on a CPU.
Pretraining combines three objectives. Alignment pulls together the features of different signals recorded from the same person at the same moment. Masked reconstruction hides parts of a waveform and asks for them back. The third, random-feature prediction, asks the encoder to predict the outputs of randomly generated functions of the signal, with the functions refreshed during training. The report argues that this and reconstruction complement each other in keeping timing and rhythm information in the features.
The CGM branch is a separate model with a 146-number representation per day of glucose readings and up to seven days of history.
The benchmarks
All numbers are the authors’, from the technical report in the repo. The encoder is frozen and only a small readout is trained per task. Mean rank is averaged over tasks within a dataset, then over datasets. Lower is better.
| Domain | Tasks | LingSante-Pulse | Next best |
|---|---|---|---|
| PPG (optical pulse) | 22 | 2.32 | AnyPPG, 2.74 |
| ECG | 6 | 3.08 | ECGFounder-12lead, 4.17 |
| EEG | 7 | 3.00 | CBraMod, 3.80 |
| EMG (muscle) | 3 | 1.33 | NeuroRVQ, 2.00 |
On single tasks, the report gives a heart-rate error of 5.68 beats per minute on PPG-DaLiA against 7.59 for AnyPPG.
Now the fine print, all of it from the same report. A mean rank near 3 means the model is typically third on a task, not first: it places first on 2 of 6 ECG tasks and 2 of 7 EEG tasks. The ECG lead depends on how you read out the features. With patch averaging the rank is 3.08; with the single summary token it is 6.83, behind six other models. The EMG comparison has three tasks and three models. We found no independent results.
Caveats
The README states that the shipped CGM weights were trained partly on private, unlabeled glucose data. The public training recipe in the repo reproduces the workflow, not those weights. The encoders produce features, not diagnoses.
The MIT license covers the code and the included weights. We could not check the Hugging Face page’s license.
Try it yourself
The repo installs with pip under Python 3.11 or 3.12. The CGM example runs from a synthetic file with the packaged weights and no download. The waveform example calls from_pretrained() and fetches from Hugging Face on first use.
We have not installed it or run either model. This is based on the README, the checkpoint directory, and the technical report PDF in the repo.