Saved in:
Bibliographic Details
Main Authors: Chin, Benjamin Wei Hao, Yew, Yuin Torng, Wu, Haocheng, Liang, Lanxin, Chan, Chow Khuen, Zain, Norita Mohd, Samdin, Siti Balqis, Goh, Sim Kuan
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2508.15215
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908560109076480
author Chin, Benjamin Wei Hao
Yew, Yuin Torng
Wu, Haocheng
Liang, Lanxin
Chan, Chow Khuen
Zain, Norita Mohd
Samdin, Siti Balqis
Goh, Sim Kuan
author_facet Chin, Benjamin Wei Hao
Yew, Yuin Torng
Wu, Haocheng
Liang, Lanxin
Chan, Chow Khuen
Zain, Norita Mohd
Samdin, Siti Balqis
Goh, Sim Kuan
contents Classification of sleep stages is essential for assessing sleep quality and diagnosing sleep disorders. However, manual inspection of EEG characteristics for each stage is time-consuming and prone to human error. Although machine learning and deep learning methods have been actively developed, they continue to face challenges arising from the non-stationarity and variability of electroencephalography (EEG) and electrooculography (EOG) signals across diverse clinical configurations, often resulting in poor generalization. In this work, we propose SleepDIFFormer, a multi-channel differential transformer framework for heterogeneous EEG-EOG representation learning. SleepDIFFormer is trained across multiple sleep staging datasets, each treated as a source domain, with the goal of generalizing to unseen target domains. Specifically, it employs a Multi-channel Differential Transformer Architecture (MDTA) designed to process raw EEG and EOG signals while incorporating cross-domain alignment. Our approach mitigates spatial and temporal attention noise and learns a domain-invariant EEG-EOG representation through feature distribution alignment across datasets, thereby enhancing generalization to new domains. Empirically, we evaluated SleepDIFFormer on five diverse sleep staging datasets under domain generalization settings and benchmarked it against existing approaches, achieving state-of-the-art performance. We further conducted a comprehensive ablation study and interpreted the differential attention weights, demonstrating their relevance to characteristic sleep EEG patterns. These findings advance the development of automated sleep stage classification and highlight its potential in quantifying sleep architecture and detecting abnormalities that disrupt restorative rest. Our source code and checkpoint are made publicly available at https://github.com/Ben1001409/SleepDIFFormer
format Preprint
id arxiv_https___arxiv_org_abs_2508_15215
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Multi-Channel Differential Transformer for Cross-Domain Sleep Stage Classification with Heterogeneous EEG and EOG
Chin, Benjamin Wei Hao
Yew, Yuin Torng
Wu, Haocheng
Liang, Lanxin
Chan, Chow Khuen
Zain, Norita Mohd
Samdin, Siti Balqis
Goh, Sim Kuan
Machine Learning
Classification of sleep stages is essential for assessing sleep quality and diagnosing sleep disorders. However, manual inspection of EEG characteristics for each stage is time-consuming and prone to human error. Although machine learning and deep learning methods have been actively developed, they continue to face challenges arising from the non-stationarity and variability of electroencephalography (EEG) and electrooculography (EOG) signals across diverse clinical configurations, often resulting in poor generalization. In this work, we propose SleepDIFFormer, a multi-channel differential transformer framework for heterogeneous EEG-EOG representation learning. SleepDIFFormer is trained across multiple sleep staging datasets, each treated as a source domain, with the goal of generalizing to unseen target domains. Specifically, it employs a Multi-channel Differential Transformer Architecture (MDTA) designed to process raw EEG and EOG signals while incorporating cross-domain alignment. Our approach mitigates spatial and temporal attention noise and learns a domain-invariant EEG-EOG representation through feature distribution alignment across datasets, thereby enhancing generalization to new domains. Empirically, we evaluated SleepDIFFormer on five diverse sleep staging datasets under domain generalization settings and benchmarked it against existing approaches, achieving state-of-the-art performance. We further conducted a comprehensive ablation study and interpreted the differential attention weights, demonstrating their relevance to characteristic sleep EEG patterns. These findings advance the development of automated sleep stage classification and highlight its potential in quantifying sleep architecture and detecting abnormalities that disrupt restorative rest. Our source code and checkpoint are made publicly available at https://github.com/Ben1001409/SleepDIFFormer
title Multi-Channel Differential Transformer for Cross-Domain Sleep Stage Classification with Heterogeneous EEG and EOG
topic Machine Learning
url https://arxiv.org/abs/2508.15215