← Back to projects

Wearable AI Case Study

Real-time sleep staging from wearable EEG

A smartphone-based system for classifying sleep stages from single-channel EEG using deep learning and power spectral analysis.

Wearable EEG sleep staging interface with hypnogram and signal visualization
Smartphone-based sleep staging pipeline using wearable EEG, real-time inference, and sleep-stage visualization.

Technical Layer

Tools & Methods

Period2018–2019
Signal1-channel EEG
PlatformSmartphone
Model1D Convolutional Neural Net
Outcome⋅ NeurIPS ML4H workshop paper ⋅ IEEE BSN conference oral presentation

My role

At the MIT Media Lab, I developed an end-to-end sleep-staging smartphone application using a deep-learning model trained on Sleep-EDF and adapted for wearable EEG. I built EEG and IMU data pipelines, implemented raw EEG visualization, and programmed EEG power spectral analysis across alpha, beta, gamma, delta, and theta bands. I also developed a connector module linking the sleep application with BioEssence, a wearable olfactory display designed to monitor cardio-respiratory information and support physiology-aware scent interventions for mental wellbeing.

The problem

Polysomnography is the gold standard for sleep staging, but it is resource-intensive, wired, and usually dependent on expert scoring in a sleep-lab setting. The project asked whether a lightweight wearable EEG and smartphone pipeline could classify sleep stages in real time.

The system

The system used a modified Muse EEG headband, Bluetooth data streaming, smartphone-based inference, and a TensorFlow Lite application to classify sleep stages from single-channel EEG.

The modelling approach

The deep-learning pipeline adapted a time-distributed convolutional neural network for five-stage sleep classification using the open Sleep-EDF dataset, with inference designed to run directly on a smartphone.

The signal-analysis layer

Alongside the model, I programmed power spectral analysis to inspect EEG power bands including alpha, beta, gamma, delta, and theta across sleep stages. This helped provide an interpretable signal layer beyond the neural-network output.

Why this matters

For digital health and neurotechnology, this project connects wearable biosensing, on-device machine learning, real-time physiological inference, and intervention-ready sleep interfaces.

Continue Exploring

Explore the wider body of work.

Further projects span physiological computing, computational neuroscience, embodied systems, and interdisciplinary engineering.