# Hypnos: Learning Generalisable Representations of Sleep Physiology via Next-Token Prediction

DevFeed: [Hypnos: Learning Generalisable Representations of Sleep Physiology via Next-Token Prediction](<https://devfeed.tech/articles/hypnos-learning-generalisable-representations-of-sleep-physiology-via-next-token-prediction-120047.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2606.09605>)

Author: Jonathan F. Carter, Lionel Tarassenko

Published: 2026-11-06T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [Representation learning](<https://devfeed.tech/topics/representation-learning.md>), [AI Foundation Models](<https://devfeed.tech/topics/ai-foundation-models.md>), [multimodal-ai](<https://devfeed.tech/topics/multimodal-ai.md>), [Language models](<https://devfeed.tech/topics/language-models.md>), [Embeddings](<https://devfeed.tech/topics/embeddings.md>)

Tags: [atrial-fibrillation](<https://devfeed.tech/tags/atrial-fibrillation.md>), [classification](<https://devfeed.tech/tags/classification.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [ecg](<https://devfeed.tech/tags/ecg.md>), [eeg](<https://devfeed.tech/tags/eeg.md>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [foundation-model](<https://devfeed.tech/tags/foundation-model.md>), [next-token-prediction](<https://devfeed.tech/tags/next-token-prediction.md>), [quantization](<https://devfeed.tech/tags/quantization.md>), [sleep](<https://devfeed.tech/tags/sleep.md>), [training](<https://devfeed.tech/tags/training.md>), [transformer](<https://devfeed.tech/tags/transformer.md>), [using](<https://devfeed.tech/tags/using.md>)

## AI overview

Hypnos learns representations from eight physiological sensing modalities in more than 20,000 overnight polysomnography recordings. It converts each modality into discrete tokens with residual vector quantization, then trains an autoregressive RQ-Transformer to predict the modalities' next tokens jointly. The resulting model can generate downstream-task embeddings from continuous data using any subset of its supported modalities. The abstract reports that Hypnos outperforms existing foundation models on most evaluated benchmarks, matches strong supervised baselines for sleep-stage classification with 100 times less labeled data, and exceeds a dedicated ECG foundation model on atrial-fibrillation detection. These are reported results; the excerpt does not provide benchmark details.

## Source excerpt

arXiv:2606.09605v2 Announce Type: replace Abstract: Foundation models offer a promising route to compress multi-modal physiological signals into compact representations of human health, with broad applications across sleep medicine, cardiology, neurology and other healthcare domains. Existing models have typically been trained with masked-reconstruction or contrastive objectives. However, masked reconstruction may be poorly suited to the stochastic nature of these signals, while contrastive approaches rely on positive-pair definitions despite the semantic invariances of physiological signals being poorly understood. In this work, we show that next-token prediction is a simple and scalable alternative. We develop Hypnos, a multi-modal sleep foundation model trained using eight different sensing modalities (e.g. EEG, ECG, respiratory signals) drawn from over 20{,}000 overnight polysomnography recordings. We tokenize each modality into streams of discrete tokens using residual vector quantization, then train a large auto-regressive RQ-Transformer to jointly predict the next token across all modalities in parallel. After training, Hypnos can be applied to continuous streams of sensor data from any subset of supported modalities, generating embeddings for downstream tasks. Hypnos significantly outperforms existing foundation models on most benchmarks evaluated. In sleep stage classification, we match the performance of strong supervised baselines on held-out test sets whilst using 100\times less labelled data. Hypnos even generalises beyond sleep recordings, surpassing a dedicated ECG foundation model at detecting atrial fibrillation. Our results demonstrate that auto-regressive token modelling is a strong self-supervised approach for representation learning from multi-modal physiological signals. Code and model weights: https://github.com/joncarter1/hypnos