# Next-Token Prediction Enables Scalable Learning of Sleep Physiology

*Jonathan F Carter, Lionel Tarassenko*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/149519) · [OpenReview](https://openreview.net/forum?id=pXVvnchQzY) · [alphaXiv](https://www.alphaxiv.org/abs/2606.09605) · [Open on the map](../papers.html#p149519)

Category: [Brain Signals & Spiking Networks](../pcat/6.md) › [EEG Foundation Models](../pgroup/505.md) · Type: new method · Keywords: next-token prediction, sleep physiology, multi-modal foundation model, physiological signals, self-supervised learning

Areas: [Multimodal](../areas/multimodal.md) › Multimodal Alignment › Multimodal Brain Encoding; [Model Architectures & Sequence Modeling](../areas/architectures.md) › Neural and brain architectures › Brain Foundation Models

## Summary
Hypnos is a multi-modal sleep foundation model that learns representations from eight physiological signals via next-token prediction, achieving state-of-the-art sleep stage classification.

## Explained to a 5-year-old
When we sleep, our bodies make many different signals, like brain waves, heart beats, breathing, and movements. These signals are like a language that tells us how we are sleeping. Scientists want to teach computers to understand this language so they can help doctors. They turn the signals into small pieces, like letters, using a special method. Then they train the computer to guess the next piece, just like predicting the next word in a sentence.

## Explained to a 5-year-old, longer
When we sleep, our bodies make many different signals, like brain waves, heart beats, breathing, and movements. These signals are like a language that tells us how we are sleeping. Scientists want to teach computers to understand this language so they can help doctors. They turn the signals into small pieces, like letters, using a special method. Then they train the computer to guess the next piece, just like predicting the next word in a sentence. This way the computer learns the patterns of healthy sleep. It can also learn from only some signals, like when a sensor stops working. After learning, the computer can tell the difference between normal sleep and problems. It can help find sleep disorders early. The more data they give it, the better it gets. This method works for many kinds of body signals, not just sleep. It could help doctors in many areas, like heart and brain health. Overall, it makes it easier to watch our health using computers.

## For a technical reader
The system tokenizes eight physiological modalities (e.g., EEG, ECG, respiratory signals) into discrete tokens using residual vector quantization. A large auto-regressive transformer is trained to predict the next token across all modalities simultaneously, with a masking strategy that allows inference on any subset of modalities. This next-token prediction objective is applied on a dataset of over 20,000 overnight recordings, enabling scalable self-supervised learning of sleep representations. The model achieves state-of-the-art performance on sleep stage classification tasks, matching or exceeding prior foundation models and supervised baselines.

## Problem
Learning effective representations from multi-modal physiological signals is challenging because existing self-supervised objectives (masked reconstruction and contrastive learning) are ill-suited to the stochastic nature of these signals and lack clear positive-pair definitions. This limits the scalability and performance of foundation models for sleep physiology.

## Method
The approach tokenizes each physiological modality into discrete tokens using residual vector quantization, then trains a large auto-regressive transformer to predict the next token across all modalities in parallel, employing a modality masking strategy to allow inference with subsets of modalities. This self-supervised next-token prediction objective is applied on over 20,000 overnight recordings from nine public datasets.

## Results
The approach shows continued improvement in next-token perplexity and downstream probing performance as model scale increases, and it matches or exceeds prior models and supervised baselines on sleep stage classification in both in-domain and held-out test sets.

## Contributions
It demonstrates that next-token prediction is a simple and scalable self-supervised objective for multi-modal physiological signals, and it introduces a modality masking strategy enabling inference with subsets of modalities. The work also provides large-scale training on over 20,000 recordings and shows that scaling improves representation learning.

## Practical relevance
The work enables scalable learning of sleep physiology that can improve health monitoring and diagnosis across multiple medical domains.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/149519)
