Staging by the Book: Automatic Sleep Stage Classification Using Scoring Rules

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Hardarson, Emil, Popov, Konstantin, Sigurdardottir, Sigridur, Islind, Anna Sigridur, Arnardóttir, Erna Sif, Óskarsdóttir, María
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914590076436480
author Hardarson, Emil
Popov, Konstantin
Sigurdardottir, Sigridur
Islind, Anna Sigridur
Arnardóttir, Erna Sif
Óskarsdóttir, María
author_facet Hardarson, Emil
Popov, Konstantin
Sigurdardottir, Sigridur
Islind, Anna Sigridur
Arnardóttir, Erna Sif
Óskarsdóttir, María
contents Automated sleep staging is commonly approached as a supervised machine learning problem, with deep learning methods dominating recent research. While machine learning models achieve near-human level agreement with human-scored reference sleep stages, their decisions are typically opaque and not designed to follow clinical scoring rules. We propose a transparent alternative: a deterministic, rule-based sleep staging method that explicitly operationalizes the American Academy of Sleep Medicine's (AASM) scoring logic as executable code, coupled with epoch-level natural-language justifications derived from an explanation trace. We evaluate the approach on 50 polysomnography recordings with a 10-scorer majority-vote consensus as reference. Across all recordings, the method agreed with the majority-vote reference in 60.5% of epochs ($κ=0.42$), with substantially higher agreement on a dataset used during development (77.1%, $κ=0.61$). Agreement with the reference was highest for sleep stage N2 (recall 83.5%) and moderate for sleep stage R (recall 68.7%), while Wake and N1 recall were low. Despite lower agreement with the reference than contemporary deep learning models, the method provides deterministic decisions and natural language explanations aligned with AASM scoring rules, making it a complementary tool for auditing, debugging, and governing deep learning-based sleep staging.
format Preprint
id arxiv_https___arxiv_org_abs_2605_22859
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Staging by the Book: Automatic Sleep Stage Classification Using Scoring Rules
Hardarson, Emil
Popov, Konstantin
Sigurdardottir, Sigridur
Islind, Anna Sigridur
Arnardóttir, Erna Sif
Óskarsdóttir, María
Signal Processing
Artificial Intelligence
Automated sleep staging is commonly approached as a supervised machine learning problem, with deep learning methods dominating recent research. While machine learning models achieve near-human level agreement with human-scored reference sleep stages, their decisions are typically opaque and not designed to follow clinical scoring rules. We propose a transparent alternative: a deterministic, rule-based sleep staging method that explicitly operationalizes the American Academy of Sleep Medicine's (AASM) scoring logic as executable code, coupled with epoch-level natural-language justifications derived from an explanation trace. We evaluate the approach on 50 polysomnography recordings with a 10-scorer majority-vote consensus as reference. Across all recordings, the method agreed with the majority-vote reference in 60.5% of epochs ($κ=0.42$), with substantially higher agreement on a dataset used during development (77.1%, $κ=0.61$). Agreement with the reference was highest for sleep stage N2 (recall 83.5%) and moderate for sleep stage R (recall 68.7%), while Wake and N1 recall were low. Despite lower agreement with the reference than contemporary deep learning models, the method provides deterministic decisions and natural language explanations aligned with AASM scoring rules, making it a complementary tool for auditing, debugging, and governing deep learning-based sleep staging.
title Staging by the Book: Automatic Sleep Stage Classification Using Scoring Rules
topic Signal Processing
Artificial Intelligence
url https://arxiv.org/abs/2605.22859