Skip to content
sleepKIT
Tasks
HELIA

Sleep Detection Task

The objective of sleep detection is to identify periods of sustained sleep over the course of several days or weeks. The de facto standard for long-term, ambulatory sleep detection is actigraphy, which is a method of monitoring gross motor activity using an accelerometer. However, actigraphy is not a reliable method for sleep detection as it employs very simple heuristics to determine sleep. Often actigraphy can misclassify periods of inactivity or even not-worn as detected sleep.

In this task, we look to leverage a light-weight model that can outperform actigraphy similarly using only data from an IMU. For more advanced sleep analysis, refer to the Sleep Stage Classification. By leveraring Ambiq’s ultra-low-power microcontroller along with an ultra-low-power IMU, an efficient AI enabled actigraphy or fitness band will be able to run for weeks off a single charge.

Wrist-based Sleep Classification
Wrist-based Sleep Detection

The following table provides the latest performance and accuracy results for pre-trained models. Additional result details can be found in Model Zoo → Detect.

NAMELOCATION# CLASSESMODELPARAMSFLOPSACCURACYAP
SD-2-TCN-SMWrist2TCN9K1.5M/hr95.9%94.5%

Below outlines the classes available for sleep detect classification. When training a model, the number of classes, mapping, and names must be provided.

CLASSLABELS
0AWAKE
1SLEEP

Class Mapping

Below is an example of a class mapping for a 2-class sleep detect model. The class map keys are the original class labels and the values are the new class labels. Any class not included will be skipped.

JSON example
{
"num_classes": 2,
"class_names": ["AWAKE", "SLEEP"],
"class_map": {
"0": 0,
"1": 1
}
}