<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" article-type="research-article" dtd-version="2.3" xml:lang="EN">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Neurol.</journal-id>
<journal-title>Frontiers in Neurology</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Neurol.</abbrev-journal-title>
<issn pub-type="epub">1664-2295</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fneur.2024.1390465</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Neurology</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Automated sleep staging on reduced channels in children with epilepsy</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes"><name><surname>Proost</surname> <given-names>Renee</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="c001"><sup>&#x002A;</sup></xref>
<uri xlink:href="https://loop.frontiersin.org/people/2664105/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
<role content-type="https://credit.niso.org/contributor-roles/formal-analysis/"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/visualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
<contrib contrib-type="author"><name><surname>Heremans</surname> <given-names>Elisabeth</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
<role content-type="https://credit.niso.org/contributor-roles/formal-analysis/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/software/"/>
<role content-type="https://credit.niso.org/contributor-roles/visualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
<contrib contrib-type="author"><name><surname>Lagae</surname> <given-names>Lieven</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<uri xlink:href="https://loop.frontiersin.org/people/426974/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/funding-acquisition/"/>
<role content-type="https://credit.niso.org/contributor-roles/supervision/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
<contrib contrib-type="author"><name><surname>Van Paesschen</surname> <given-names>Wim</given-names></name><xref ref-type="aff" rid="aff3"><sup>3</sup></xref>
<uri xlink:href="https://loop.frontiersin.org/people/442098/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/funding-acquisition/"/>
<role content-type="https://credit.niso.org/contributor-roles/supervision/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
<contrib contrib-type="author"><name><surname>De Vos</surname> <given-names>Maarten</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<uri xlink:href="https://loop.frontiersin.org/people/1539398/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/funding-acquisition/"/>
<role content-type="https://credit.niso.org/contributor-roles/supervision/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
<contrib contrib-type="author"><name><surname>Jansen</surname> <given-names>Katrien</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<uri xlink:href="https://loop.frontiersin.org/people/679049/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/funding-acquisition/"/>
<role content-type="https://credit.niso.org/contributor-roles/supervision/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
</contrib-group>
<aff id="aff1"><sup>1</sup><institution>Pediatric Neurology Department, University Hospitals Leuven, KU Leuven</institution>, <addr-line>Leuven</addr-line>, <country>Belgium</country></aff>
<aff id="aff2"><sup>2</sup><institution>Department of Electrical Engineering (ESAT), STADIUS Center for Dynamical Systems, Signal Processing and Data Analytics, KU Leuven</institution>, <addr-line>Leuven</addr-line>, <country>Belgium</country></aff>
<aff id="aff3"><sup>3</sup><institution>Neurology Department, University Hospitals Leuven, KU Leuven</institution>, <addr-line>Leuven</addr-line>, <country>Belgium</country></aff>
<author-notes>
<fn fn-type="edited-by" id="fn0001">
<p>Edited by: Yvonne H&#x00F6;ller, University of Akureyri, Iceland</p>
</fn>
<fn fn-type="edited-by" id="fn0002">
<p>Reviewed by: Kapil Gururangan, University of California, Los Angeles, United States</p>
<p>Jianghai Ruan, The Affiliated Hospital of Southwest Medical University, China</p>
</fn>
<corresp id="c001">&#x002A;Correspondence: Renee Proost, <email>renee.proost@uzleuven.be</email></corresp>
</author-notes>
<pub-date pub-type="epub">
<day>10</day>
<month>05</month>
<year>2024</year>
</pub-date>
<pub-date pub-type="collection">
<year>2024</year>
</pub-date>
<volume>15</volume>
<elocation-id>1390465</elocation-id>
<history>
<date date-type="received">
<day>23</day>
<month>02</month>
<year>2024</year>
</date>
<date date-type="accepted">
<day>15</day>
<month>04</month>
<year>2024</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x00A9; 2024 Proost, Heremans, Lagae, Van Paesschen, De Vos and Jansen.</copyright-statement>
<copyright-year>2024</copyright-year>
<copyright-holder>Proost, Heremans, Lagae, Van Paesschen, De Vos and Jansen</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p>
</license>
</permissions>
<abstract>
<sec id="sec1">
<title>Objectives</title>
<p>This study aimed to validate a sleep staging algorithm using in-hospital video-electroencephalogram (EEG) in children without epilepsy, with well-controlled epilepsy (WCE), and with drug-resistant epilepsy (DRE).</p>
</sec>
<sec id="sec2">
<title>Methods</title>
<p>Overnight video-EEG, along with electrooculogram (EOG) and chin electromyogram (EMG), was recorded in children between 4 and 18&#x2009;years of age. Classical sleep staging was performed manually as a ground truth. An end-to-end hierarchical recurrent neural network for sequence-to-sequence automatic sleep staging (SeqSleepNet) was used to perform automated sleep staging using three channels: C4-A1, EOG, and chin EMG.</p>
</sec>
<sec id="sec3">
<title>Results</title>
<p>In 176 children sleep stages were manually scored: 47 children without epilepsy, 74 with WCE, and 55 with DRE. The 5-class sleep staging accuracy of the automatic sleep staging algorithm was 84.7% for the children without epilepsy, 83.5% for those with WCE, and 80.8% for those with DRE (Kappa of 0.79, 0.77, and 0.73 respectively). Performance per sleep stage was assessed with an F1 score of 0.91 for wake, 0.50 for N1, 0.83 for N2, 0.84 for N3, and 0.86 for rapid eye movement (REM) sleep.</p>
</sec>
<sec id="sec4">
<title>Conclusion</title>
<p>We concluded that the tested algorithm has a high accuracy in children without epilepsy and with WCE. Performance in children with DRE was acceptable, but significantly lower, which could be explained by a tendency of more time spent in N1, and by abundant interictal epileptiform discharges and intellectual disability leading to less recognizable sleep stages. REM sleep time, however, significantly affected in children with DRE, can be detected reliably by the algorithm.</p>
<p><bold>Clinical trial registration</bold>: <ext-link xlink:href="https://clinicaltrials.gov/" ext-link-type="uri">ClinicalTrials.gov</ext-link>, identifier NCT04584385.</p>
</sec>
</abstract>
<kwd-group>
<kwd>children</kwd>
<kwd>epilepsy</kwd>
<kwd>REM sleep</kwd>
<kwd>automated sleep staging</kwd>
<kwd>machine learning</kwd>
</kwd-group>
<counts>
<fig-count count="4"/>
<table-count count="1"/>
<equation-count count="0"/>
<ref-count count="36"/>
<page-count count="8"/>
<word-count count="5345"/>
</counts>
<custom-meta-wrap>
<custom-meta>
<meta-name>section-at-acceptance</meta-name>
<meta-value>Epilepsy</meta-value>
</custom-meta>
</custom-meta-wrap>
</article-meta>
</front>
<body>
<sec sec-type="intro" id="sec5">
<label>1</label>
<title>Introduction</title>
<p>A bidirectional relationship between sleep and epilepsy has long been considered and it has slowly gained more attention in recent years. Most of the literature on this topic comes from studies in adults (<xref ref-type="bibr" rid="ref1">1</xref>), although an increasing amount of pediatric literature is emerging (<xref ref-type="bibr" rid="ref2 ref3 ref4">2&#x2013;4</xref>). There is a need to better understand the complex interaction between all sleep and epilepsy-related factors. If we want to study this on a larger scale, we need automated sleep staging. The golden standard of manual sleep staging according to the American Academy of Sleep Medicine (AASM) guidelines is labor-intensive and time-consuming (<xref ref-type="bibr" rid="ref5">5</xref>). Moreover, the question arises as to whether automated sleep staging algorithms can become more reliable than human scoring over time. Inter-rater reliability of human sleep stage scoring has been studied in the adult population without epilepsy, but not in children (<xref ref-type="bibr" rid="ref6 ref7 ref8">6&#x2013;8</xref>). As classical sleep architecture is disturbed in children with drug-resistant epilepsy (DRE) and intellectual disability (<xref ref-type="bibr" rid="ref2">2</xref>, <xref ref-type="bibr" rid="ref4">4</xref>), we assume that inter-rater reliability will be lower in children without epilepsy or with well-controlled epilepsy (WCE). Although sleep parameters such as the qualitative presence of spindles and K-complexes are reported on video-EEG, sleep staging is not part of standard investigations in current childhood epilepsy practice. However, from research, we know that even in children with WCE, sleep architecture does change (<xref ref-type="bibr" rid="ref2">2</xref>), and decreased rapid eye movement (REM) sleep time is a consistent finding in children with DRE (<xref ref-type="bibr" rid="ref4">4</xref>). These changes could be therapeutic targets, to impact the vicious cycle between sleep and epilepsy and improve, for example, daytime sleepiness, a well-known complaint in children with DRE.</p>
<p>An automated sleep staging algorithm could serve various purposes in clinical practice. First, children coming for overnight video EEGs can be screened for sleep disturbances. For instance, children with epilepsy often have comorbid parasomnias, which could be more precisely classified after sleep staging (<xref ref-type="bibr" rid="ref2">2</xref>). Second, it could be beneficial to use automated sleep staging in the presurgical work-up in children with epilepsy. Since interictal epileptiform discharges are known to focalize during REM sleep, the irritative zone could be delineated more easily (<xref ref-type="bibr" rid="ref9">9</xref>). Finally, it can facilitate long-term sleep monitoring, which can help overcome the first-night effect and reveal ultradian rhythms (<xref ref-type="bibr" rid="ref10">10</xref>). In such cases, at-home monitoring with a wearable device featuring limited channels would be ideal. In addition to clinical use, automated sleep staging algorithms have the potential to accelerate sleep research (<xref ref-type="bibr" rid="ref11">11</xref>). It will also help to process larger sample sizes and improve the reliability of staging.</p>
<p>Most sleep staging algorithms were developed on adult datasets, although the performance of state-of-the-art algorithms on pediatric populations provided good test results as well (<xref ref-type="bibr" rid="ref12">12</xref>, <xref ref-type="bibr" rid="ref13">13</xref>). The pediatric databases used by previous studies included either healthy children or children with obstructive sleep apnea syndrome (OSAS), but no other sleep disorders or neurologic disorders were included, to our knowledge. Recent sleep staging methods predominantly rely on deep learning, particularly deep neural networks employing a sequence-to-sequence approach, which is indispensable for accurate sleep staging. These models are capable of taking into account the long-range context of the epoch that is being scored, comparable to how a human would visually score sleep (<xref ref-type="bibr" rid="ref11">11</xref>). The most widely used network architectures are recurrent neural networks and convolutional neural networks (<xref ref-type="bibr" rid="ref14">14</xref>).</p>
<p>In this study, we investigated the performance of an end-to-end hierarchical recurrent neural network for sequence-to-sequence automatic sleep staging (SeqSleepNet) using video-EEG data, with a limited number of electrodes, in a cohort of children without epilepsy, children with WCE, and children with DRE. We performed automated sleep staging on a limited number of electrodes, instead of using full scalp EEG, to investigate its usability for at-home monitoring.</p>
</sec>
<sec sec-type="methods" id="sec6">
<label>2</label>
<title>Methods</title>
<sec id="sec7">
<label>2.1</label>
<title>Recruitment</title>
<p>Between March 2021 and January 2023, children aged 4 to 18&#x2009;years who were admitted to the pediatric epilepsy monitoring unit (EMU) for 24-h video-EEG were invited to participate. This included children with DRE, WCE, or children without epilepsy who were admitted to the EMU to either exclude epilepsy or for other reasons. DRE was defined as &#x201C;failure of adequate trials of two tolerated and appropriately chosen and used anti-seizure medication (ASM) schedules (whether as monotherapies or in combination) to achieve sustained seizure freedom,&#x201D; according to the International League Against Epilepsy (ILAE) (<xref ref-type="bibr" rid="ref15">15</xref>). Informed consent was given by all parents before the measurements and an assent was completed in children older than 11&#x2009;years, if intellectually able. The study was approved by the ethics commission (S64658) of the Catholic University of Leuven, Belgium. This study was part of a larger project called &#x201C;Advanced EEG Technology in Childhood Epilepsy&#x201D; (<ext-link xlink:href="http://ClinicalTrials.gov" ext-link-type="uri">ClinicalTrials.gov</ext-link> NCT04584385). Full scalp video-EEG used a Schwarzer EEG amplifier (O.S.G. Belgium) and Ag/AgCl cup electrodes (Ambu Neuroline Cup, Ambu, Denmark). Twenty-one electrodes were placed using the 10&#x2013;20 system. Furthermore, extra electrodes for eye movements, electrooculogram (EOG), and chin electromyogram (EMG) were added to make sleep staging possible. Impedance was &#x2264;5 k&#x03A9; at the beginning of the measurement. In addition, multiple patient and epilepsy-related characteristics were obtained from the EEG data and the patients&#x2019; records.</p>
<p>In total, 182 children were recruited for the study. In six children, EOG and chin EMG data were missing, and hence, sleep stages were manually scored in 176 children: 47 children without epilepsy, 74 with WCE, and 55 with DRE.</p>
</sec>
<sec id="sec8">
<label>2.2</label>
<title>Manual sleep stage annotation</title>
<p>We used BrainRT software (O.S.G. Belgium) to visualize video-EEG data. Manual scoring was performed by RP, a certified somnologist-technologist by the European Sleep Research Society, according to the most recent AASM guidelines (<xref ref-type="bibr" rid="ref5">5</xref>). In children with epilepsy, some additional decisions were made for consistent scoring: When no activity without interictal epileptiform discharges (IEDs) was present, the frequency of the discharges was used to classify the sleep stage: e.g. &#x003C; 2.5&#x2009;Hz and&#x2009;&#x003E;&#x2009;70&#x2009;mV was scored as N3. Furthermore, in children with epileptic encephalopathies, the presence of low chin tone together with rapid eye movements (REM) was classified as REM sleep, even in the presence of slow waves instead of low amplitude mixed frequency (LAMF). Similar to children with epileptic encephalopathies, those with LAMF do not exhibit normal background rhythms during wakefulness, nor do they present with LAMF during REM sleep. It was particularly noted while scoring if there were subjectively abundant IEDs and when sleep scoring was particularly difficult.</p>
</sec>
<sec id="sec9">
<label>2.3</label>
<title>Algorithm</title>
<p>Automated sleep stage scoring was performed with a state-of-the-art deep learning algorithm for sleep staging called SeqSleepNet (<xref ref-type="bibr" rid="ref16">16</xref>). After segmenting the physiological signals into segments of 30&#x2009;s, we transformed each segment into a time-frequency representation. SeqSleepNet takes these time-frequency representations as input and returns probabilities for each of the five sleep stages. This neural network architecture uses a sequence-to-sequence prediction framework, which means it learns the dependencies between consecutive segments. Hence, it is fed with a sequence of multiple consecutive segments and it returns the corresponding sequence of predictions. We used sequences of size <italic>N</italic>&#x2009;=&#x2009;10 in this study.</p>
<p>We pre-trained SeqSleepNet on the Montreal Archive of Sleep Studies (MASS), with a dataset of 200 healthy adults (<xref ref-type="bibr" rid="ref17">17</xref>), using three channels: the C4-A1 channel, the EOG (ROC-LOC), and the chin EMG. Sleep staging rules (<xref ref-type="bibr" rid="ref5">5</xref>) are the same for adults and children, so we expect an algorithm trained on adults to achieve a fair performance in a pediatric population. This approach was further motivated by the scarcity of publicly available pediatric polysomnography datasets. However, small age-related changes in the EEG may result in a suboptimal performance when training on an adult dataset. Therefore, we fine-tuned the algorithm to the pediatric population, hypothesizing that this would correct for age-related differences.</p>
<p>We first evaluated the pre-trained version of the algorithm on the pediatric patients. The pre-trained algorithm was then fine-tuned to the pediatric dataset using the same three channels and the sleep stage labels of the manual scoring. This was achieved with a supervised transfer learning approach. In order to evaluate the performance of the fine-tuned algorithm, we performed 15-fold cross-validation by randomly dividing the dataset into 15 groups of 11&#x2013;12 patients each. At every iteration of the cross-validation, all except one group were used for training (fine-tuning), and the remaining group was used for testing.</p>
</sec>
<sec id="sec10">
<label>2.4</label>
<title>Data analysis</title>
<p>Agreement between the algorithm and manual hypnogram was evaluated for the 5-stage hypnogram (wake/N1/N2/N3/REM). Accuracy was defined as the percentage of epochs correctly scored by the algorithm compared to the manually scored hypnogram. Kappa was calculated as the agreement between the two hypnograms corrected for agreement by chance (<xref ref-type="bibr" rid="ref18">18</xref>). The sensitivity [true positives/(true positives + false negatives)] and specificity [true negatives/(true negative + false positive)] were calculated per sleep stage. The F1 score was calculated as the harmonic mean of sensitivity and specificity [2x(specificityxsensitivtiy)/(specificity+sensitivity)].</p>
<p>Between-group differences for continuous data were tested using either a two-tailed t-test (with unequal variance) for normally distributed data or the Mann&#x2013;Whitney U for non-normally distributed data. The chi-square test was performed for categorical data. Simple and multiple linear regression was performed to predict continuous outcomes. <italic>p</italic>-values less than 0.05 were considered significant.</p>
</sec>
</sec>
<sec sec-type="results" id="sec11">
<label>3</label>
<title>Results</title>
<sec id="sec12">
<label>3.1</label>
<title>Overall accuracy</title>
<p>The accuracy of the pre-trained algorithm was 78.1% in children without epilepsy, 74.9% in children with WCE, and dropped to 63.8% in children with DRE. After re-training, the accuracy increased to 84.7% (Kappa 0.79), 83.5% (Kappa 0.77), and 80.8% (Kappa 0.73) respectively. All performance results are summarized in <xref ref-type="table" rid="tab1">Table 1</xref>.</p>
<table-wrap position="float" id="tab1">
<label>Table 1</label>
<caption>
<p>Performance of SeqSleepNet trained on adult dataset, and fine-tuned on the children&#x2019;s dataset.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th/>
<th align="center" valign="top" colspan="2">Pre-trained</th>
<th align="center" valign="top" colspan="2">Fine-tuned</th>
</tr>
<tr>
<th/>
<th align="center" valign="top">Accuracy (%)</th>
<th align="center" valign="top">Kappa score</th>
<th align="center" valign="top">Accuracy (%)</th>
<th align="center" valign="top">Kappa score</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">No epilepsy</td>
<td align="center" valign="top">78.1</td>
<td align="center" valign="top">0.697</td>
<td align="center" valign="top">84.7</td>
<td align="center" valign="top">0.789</td>
</tr>
<tr>
<td align="left" valign="top">Well-controlled epilepsy</td>
<td align="center" valign="top">74.9</td>
<td align="center" valign="top">0.653</td>
<td align="center" valign="top">83.5</td>
<td align="center" valign="top">0.769</td>
</tr>
<tr>
<td align="left" valign="top">Drug-resistant epilepsy</td>
<td align="center" valign="top">63.8</td>
<td align="center" valign="top">0.531</td>
<td align="center" valign="top">80.8</td>
<td align="center" valign="top">0.726</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<p>Accuracy and Kappa scores are reported and segregated by group.</p>
</table-wrap-foot>
</table-wrap>
</sec>
<sec id="sec13">
<label>3.2</label>
<title>Performance for different sleep stages</title>
<p>The performance of the fine-tuned algorithm was evaluated separately for the wake and all sleep stages. The sensitivity was best in wake and REM sleep, while the precision was best for wake and N3. Both metrics were the lowest for N1 by a large margin. The harmonic mean of the sensitivity and precision, the F1-score, was 0.905 for wake, 0.503 for N1, 0.825 for N2, 0.843 for N3, and 0.860 for REM. The performance results per sleep stage are illustrated in <xref ref-type="fig" rid="fig1">Figure 1</xref>. The confusion matrix is shown as a heat map in <xref ref-type="supplementary-material" rid="SM1">Supplementary Figure S1</xref>.</p>
<fig position="float" id="fig1">
<label>Figure 1</label>
<caption>
<p>Performance metrics per sleep stage. Sensitivity: true positives/(true positives + false negatives), specificity: true negatives/(true negative + false positive), F1 score: 2x(specificityxsensitivtiy)/(specificity+sensitivity).</p>
</caption>
<graphic xlink:href="fneur-15-1390465-g001.tif"/>
</fig>
</sec>
<sec id="sec14">
<label>3.3</label>
<title>Interpretation of between-group differences</title>
<p>Patients with drug-resistant epilepsy Had significantly lower kappa scores compared To patients without epilepsy and well-controlled epilepsy (PDRE-control&#x2009;=&#x2009;0.005, PDRE-WCE&#x2009;=&#x2009;0.039). The kappa scores, before and after re-training, Per group Are illustrated In <xref ref-type="fig" rid="fig2">Figure 2</xref>. In order To identify The reasons for lower scoring performance In The DRE group, We looked at some sleep and patient characteristics. Initially, N1 staging Was difficult for The algorithm; a difference between groups for time spent In N1 could explain The different performances. Although there Was indeed a trend towards more time spent In N1 for The DRE group, this Was Not statistically significant (PDRE-WCE&#x2009;=&#x2009;0.066). In The drug-resistant group, there were significantly more patients with intellectual disability and multifocal and/or abundant IEDs, for All of whom significantly lower kappa-scores In The complete cohort could Be found (<italic>p</italic>&#x2009;&#x003C;&#x2009;0.001 for intellectual disability, <italic>p</italic>&#x2009;=&#x2009;0.013 for multifocal IEDs&#x2019; and <italic>p</italic>&#x2009;&#x003C;&#x2009;0.001 for abundant IEDs) (<xref ref-type="fig" rid="fig3">Figure 3</xref>). Multiple linear regression analysis Was used To test if intellectual disability, drug-resistant epilepsy, multifocal IEDs, and abundant IEDs significantly predicted lower kappa scores. The overall model Was statistically significant (F&#x2009;=&#x2009;9.723, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.001); however, only intellectual disability (<italic>t</italic>&#x2009;=&#x2009;&#x2212;2.433, <italic>p</italic>&#x2009;=&#x2009;0.016) and abundant IEDs (<italic>t</italic>&#x2009;=&#x2009;&#x2212;4.167, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.001) significantly predicted The lower kappa scores, But having DRE (<italic>t</italic>&#x2009;=&#x2009;0.891, <italic>p</italic>&#x2009;=&#x2009;0.891) or having multifocal IEDs (<italic>t</italic>&#x2009;=&#x2009;0.403, <italic>p</italic>&#x2009;=&#x2009;0.688) Did Not.</p>
<fig position="float" id="fig2">
<label>Figure 2</label>
<caption>
<p>Box-plot of Kappa scores per group before and after fine-tuning the algorithm on the children&#x2019;s dataset.</p>
</caption>
<graphic xlink:href="fneur-15-1390465-g002.tif"/>
</fig>
<fig position="float" id="fig3">
<label>Figure 3</label>
<caption>
<p>Univariate analyses conducted using the Mann&#x2013;Whitney U test. Kappa per subgroup: intellectual disability ((<italic>p</italic>&#x2009;&#x003C; 0.001), abundant interictal epileptiform discharges (IEDs) ((<italic>p</italic>&#x2009;&#x003C; 0.001), multifocal IEDs ((<italic>p</italic>&#x2009;= 0.013). Blue = not present, purple = present.</p>
</caption>
<graphic xlink:href="fneur-15-1390465-g003.tif"/>
</fig>
<p>In children with DRE, the amount of REM sleep time was significantly lower than in children with WCE and without epilepsy (P<sub>DRE-control</sub>&#x2009;&#x003C;&#x2009;0.001, P<sub>DRE-WCE</sub>&#x2009;&#x003C;&#x2009;0.001) (<xref ref-type="fig" rid="fig4">Figure 4</xref>). This finding could be reliably reproduced by the algorithm (P<sub>DRE-control</sub>&#x2009;&#x003C;&#x2009;0.001, P<sub>DRE-WCE</sub>&#x2009;&#x003C;&#x2009;0.001). The REM sleep time as calculated by the algorithm and with the manual hypnogram was significantly correlated with a Pearson correlation coefficient of <italic>r</italic>&#x2009;=&#x2009;0.91 (<italic>p</italic>&#x2009;&#x003C;&#x2009;0.001).</p>
<fig position="float" id="fig4">
<label>Figure 4</label>
<caption>
<p>Box-plot comparing rapid eye movement (REM) sleep time of the ground truth and scored by the retrained algorithm. REM sleep time in hours on the y-axis.</p>
</caption>
<graphic xlink:href="fneur-15-1390465-g004.tif"/>
</fig>
</sec>
</sec>
<sec sec-type="discussion" id="sec15">
<label>4</label>
<title>Discussion</title>
<p>We investigated the performance of an automated sleep staging algorithm in a large pediatric cohort. The original SeqSleepNet, pre-trained on 200 healthy adults, already had good results in children without epilepsy and in children with WCE. After re-training the algorithm on the pediatric cohort, the agreement was substantial in all three of the groups, with Kappa scores of 0.79 in patients without epilepsy, 0.77 in patients with WCE, and 0.73 in patients with DRE. Nonetheless, in children with DRE, Kappa scores were significantly lower than in the other two groups. Furthermore, when looking at the different sleep stages separately, the scoring performance of the algorithm was good for all sleep stages except for stage N1.</p>
<p>When it comes to automated sleep staging based on EEG data in healthy adults, the problem can be considered solved (<xref ref-type="bibr" rid="ref11">11</xref>), and as was shown by Phan et al. (<xref ref-type="bibr" rid="ref12">12</xref>), the performance of automated sleep staging in healthy children was good. Furthermore, for neonatal sleep staging and sleep staging on stereo-EEG, there are promising results as well (<xref ref-type="bibr" rid="ref19">19</xref>, <xref ref-type="bibr" rid="ref20">20</xref>).</p>
<p>There is limited data on automated sleep staging in children with epilepsy specifically. Skorucak et al. used a long short-term memory recurrent neural network to detect NREM sleep stages 2 and 3 in children with epilepsy and found a Kappa of 0.71 on a validation dataset (<xref ref-type="bibr" rid="ref21">21</xref>). Since intellectual disability could have an independent effect on sleep architecture, research on patients with intellectual disability both with and without epilepsy is warranted. van den Broek et al. investigated an automated sleep scoring algorithm in patients older than 16 years old with intellectual disabiliy, including patients with epilepsy. The algorithm used ECG and respiratory effort as modalities (<xref ref-type="bibr" rid="ref22">22</xref>). They found that the algorithm was least reliable in children who also had epilepsy, although these were also children with the most severe intellectual disabilities.</p>
<p>Our results showed significantly lower Kappa scores in the DRE group. Increased N1 time in this group could not fully explain this finding, but lower Kappa scores were found in children with intellectual disability and abundant IEDs. It must be said that scoring sleep stages on EEG signals is particularly difficult in children with abundant epileptiform activity, and one must be cautious in this population to assume that the ground truth is correct. One could argue that a more data-driven approach in automated sleep interpretation could be more informative in sleep and epilepsy research than classical sleep staging (<xref ref-type="bibr" rid="ref23">23</xref>, <xref ref-type="bibr" rid="ref24">24</xref>). Sleep has a lot of temporal dynamics, which are not captured fully by the quite arbitrary classical sleep staging, divided into 30-s epochs. Frthermore, as it is clearly shown in the epilepsy population, pathology can disturb the sleep architecture in such a way that sleep stages, as such, might not be classifiable anymore. A microstructural approach [presence of spindles (<xref ref-type="bibr" rid="ref25">25</xref>, <xref ref-type="bibr" rid="ref26">26</xref>), rapid eye movements (<xref ref-type="bibr" rid="ref27">27</xref>) or cyclic alternating pattern (<xref ref-type="bibr" rid="ref28">28</xref>)] or spectral power analysis are then helpful but are often still combined with sleep staging. Complete unsupervised learning could reveal intrinsic patterns, however, translating these patterns into clinically relevant information will be challenging. Furthermore, at a time when clinicians are only just getting to know artificial intelligence and their possibilities, it would still be valuable to have an easy way to quantify the sleep stages, something they have known and interpreted for the previous decades.</p>
<p>In some studies on sleep and epilepsy, the focus was mainly on N2-N3 sleep (<xref ref-type="bibr" rid="ref21">21</xref>, <xref ref-type="bibr" rid="ref29">29</xref>). Although for N3 our algorithm showed a good performance, we feel that in the DRE group, encephalopathic slow waves and spike&#x2013;wave discharges can be mistaken for N3 sleep, both by the human rater and algorithm at this point. A possible solution might be to train the algorithm to recognize the epileptiform activity from non-epileptiform slow waves or use a spike detector to remove all epileptiform activity in advance (<xref ref-type="bibr" rid="ref21">21</xref>). If we assume that sleep, and most importantly non-REM sleep, is not erased but rather hijacked by epileptiform activity (<xref ref-type="bibr" rid="ref30">30</xref>), important information might be lost. Studying slow wave characteristics and power spectral analysis throughout the night could be more insightful here, given the synaptic homeostasis hypothesis (<xref ref-type="bibr" rid="ref21">21</xref>). Although we agree that slow-wave sleep is an important target for cognitive function, we feel a 5-stage sleep scoring including REM sleep is not to be neglected in children with epilepsy. There is sufficient evidence on the suppressive role of REM sleep on epileptiform activity (<xref ref-type="bibr" rid="ref9">9</xref>, <xref ref-type="bibr" rid="ref27">27</xref>, <xref ref-type="bibr" rid="ref31 ref32 ref33">31&#x2013;33</xref>). Our algorithm can reliably detect REM sleep and thus can be used to identify drug-resistant epilepsy patients with low REM sleep, which in the future could become a targeted treatment (<xref ref-type="bibr" rid="ref34">34</xref>). Although not directly reported by the algorithm, all standard sleep parameters that rely on sleep staging, such as Total Sleep Time (TST, time spent in any sleep stage), Sleep Efficiency (SE, TST divided by time spent in bed), Sleep Onset Latency (SOL, time to first N1 sleep), and the percentage of TST in every sleep stage, can be calculated using a five-class sleep staging algorithm. Arousals and apneic events, however, are not detected.</p>
<p>In order to know how accurate the algorithm should be to be clinically useful, we can compare it to human inter-rater reliability. Lee et al. (<xref ref-type="bibr" rid="ref7">7</xref>) performed a meta-analysis of 11 papers in which manual sleep staging was performed in an adult population without epilepsy. They reported a mean agreement of 0.83 between raters (Kappa 0.76), which our algorithm surpasses, at least for children with and without well-controlled epilepsy. The agreement of our algorithm in different sleep stages revealed the lowest value for N1, which is in line with inter-rater reliability between human raters. Furthermore, a high agreement for REM sleep has been described for human raters (<xref ref-type="bibr" rid="ref6">6</xref>, <xref ref-type="bibr" rid="ref7">7</xref>). We assume that human inter-rater reliability in children with epilepsy, and even more so in drug-resistant epilepsy, is lower.</p>
<p>The algorithm can help accelerate sleep research in children with epilepsy. Since it uses only one EEG derivation to score sleep, it could potentially be used on reduced channel wearable EEG data, although we might need additional eye movements and chin EMG information for adequate results. Although commercially available non-EEG wearables can differentiate sleep and wake quite well, sleep staging performance is poor and not usable for clinical or research purposes (<xref ref-type="bibr" rid="ref35">35</xref>). A wrist-worn wearable, detecting photoplethysmography and accelerometry was compared to polysomnography in an experimental setting, with a 4-class sleep staging kappa of 0.62 (<xref ref-type="bibr" rid="ref36">36</xref>). This performance could be increased by combining behind-the-ear EEG with accelerometry.</p>
<p>However, there are some limitations to our study. Manual sleep scoring was performed by one experienced rater, hence no manual inter-rater reliability could be calculated for the manual sleep scoring. We acknowledge that the sleep parameters in some drug-resistant patients and the epileptic encephalopathies are so severely disturbed, that no human or algorithm could reliably say what sleep stage the patient is in. Before implementation, the algorithm should be validated in another scored dataset of children with DRE.</p>
<p>We conclude that the tested algorithm has a high sleep staging accuracy in children without epilepsy and with well-controlled epilepsy and can be used on hospital video-EEG data to estimate the hypnogram. Furthermore, when available in the future, it could be tested on a limited-channel wearable device. In our opinion, implementing such an algorithm in daily practice could detect children who suffer from sleep architecture changes more rapidly, and doing so could help in making treatment decisions. For drug-resistant patients with abundant nightly IEDs and intellectual disability, we feel the results should always be interpreted critically. Consequently, when sleep architecture disturbance is suspected from the clinical picture and the automated hypnogram used as a screening tool is indicative of this, a full polysomnography can be planned.</p>
</sec>
<sec sec-type="data-availability" id="sec16">
<title>Data availability statement</title>
<p>The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.</p>
</sec>
<sec sec-type="ethics-statement" id="sec17">
<title>Ethics statement</title>
<p>The studies involving humans were approved by Ethics Committee Research UZ/KU Leuven. The studies were conducted in accordance with the local legislation and institutional requirements. Written informed consent for participation in this study was provided by the participants&#x2019; legal guardians/next of kin.</p>
</sec>
<sec sec-type="author-contributions" id="sec18">
<title>Author contributions</title>
<p>RP: Conceptualization, Data curation, Formal analysis, Investigation, Methodology, Visualization, Writing &#x2013; original draft, Writing &#x2013; review &#x0026; editing. EH: Data curation, Formal analysis, Methodology, Software, Visualization, Writing &#x2013; review &#x0026; editing. LL: Funding acquisition, Supervision, Writing &#x2013; review &#x0026; editing. WP: Funding acquisition, Supervision, Writing &#x2013; review &#x0026; editing. MV: Funding acquisition, Supervision, Writing &#x2013; review &#x0026; editing. KJ: Conceptualization, Funding acquisition, Supervision, Writing &#x2013; review &#x0026; editing.</p>
</sec>
</body>
<back>
<sec sec-type="funding-information" id="sec19">
<title>Funding</title>
<p>The author(s) declare that financial support was received for the research, authorship, and/or publication of this article. This study was supported by Vlaamse Agentschap Innoveren &#x0026; Ondernemen (VLAIO) through the grant for Interdisciplinar and Cooperative Research (ICON) &#x2013; Personalized Medicine A19/TT/1549.</p>
</sec>
<ack>
<p>We offer special thanks to the technicians and clinical team of the Leuven University Hospital Pediatric Epilepsy Center, especially to Nele Aerts, Marleen Devos, Anja Likens, and Birgit Verhelle.</p>
</ack>
<sec sec-type="COI-statement" id="sec20">
<title>Conflict of interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec sec-type="disclaimer" id="sec21">
<title>Publisher's note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<sec sec-type="supplementary-material" id="sec22">
<title>Supplementary material</title>
<p>The Supplementary material for this article can be found online at: <ext-link xlink:href="https://www.frontiersin.org/articles/10.3389/fneur.2024.1390465/full#supplementary-material" ext-link-type="uri">https://www.frontiersin.org/articles/10.3389/fneur.2024.1390465/full#supplementary-material</ext-link></p>
<supplementary-material xlink:href="Data_Sheet_1.docx" id="SM1" mimetype="application/vnd.openxmlformats-officedocument.wordprocessingml.document" xmlns:xlink="http://www.w3.org/1999/xlink"/>
</sec>
<ref-list>
<title>References</title>
<ref id="ref1">
<label>1.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Nobili</surname> <given-names>L</given-names></name> <name><surname>Frauscher</surname> <given-names>B</given-names></name> <name><surname>Eriksson</surname> <given-names>S</given-names></name> <name><surname>Gibbs</surname> <given-names>SA</given-names></name> <name><surname>Halasz</surname> <given-names>P</given-names></name> <name><surname>Lambert</surname> <given-names>I</given-names></name> <etal/></person-group>. <article-title>Sleep and epilepsy: a snapshot of knowledge and future research lines</article-title>. <source>J Sleep Res</source>. (<year>2022</year>) <volume>31</volume>:<fpage>e13622</fpage>. doi: <pub-id pub-id-type="doi">10.1111/jsr.13622</pub-id>, PMID: <pub-id pub-id-type="pmid">35487880</pub-id></citation>
</ref>
<ref id="ref2">
<label>2.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Winsor</surname> <given-names>AA</given-names></name> <name><surname>Richards</surname> <given-names>C</given-names></name> <name><surname>Bissell</surname> <given-names>S</given-names></name> <name><surname>Seri</surname> <given-names>S</given-names></name> <name><surname>Liew</surname> <given-names>A</given-names></name> <name><surname>Bagshaw</surname> <given-names>AP</given-names></name></person-group>. <article-title>Sleep disruption in children and adolescents with epilepsy: a systematic review and meta-analysis</article-title>. <source>Sleep Med Rev</source>. (<year>2021</year>) <volume>57</volume>:<fpage>101416</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.smrv.2021.101416</pub-id>, PMID: <pub-id pub-id-type="pmid">33561679</pub-id></citation>
</ref>
<ref id="ref3">
<label>3.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chan</surname> <given-names>SY</given-names></name>
</person-group>. <article-title>Sleep architecture and homeostasis in children with epilepsy: a neurodevelopmental perspective</article-title>. <source>Dev Med Child Neurol</source>. (<year>2020</year>) <volume>62</volume>:<fpage>426</fpage>&#x2013;<lpage>33</lpage>. doi: <pub-id pub-id-type="doi">10.1111/dmcn.14437</pub-id>, PMID: <pub-id pub-id-type="pmid">31879946</pub-id></citation>
</ref>
<ref id="ref4">
<label>4.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Proost</surname> <given-names>R</given-names></name> <name><surname>Lagae</surname> <given-names>L</given-names></name> <name><surname>Van Paesschen</surname> <given-names>W</given-names></name> <name><surname>Jansen</surname> <given-names>K</given-names></name></person-group>. <article-title>Sleep in children with refractory epilepsy and epileptic encephalopathies: a systematic review of literature</article-title>. <source>Eur J Paediatr Neurol</source>. (<year>2022</year>) <volume>38</volume>:<fpage>53</fpage>&#x2013;<lpage>61</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.ejpn.2022.03.010</pub-id>, PMID: <pub-id pub-id-type="pmid">35395626</pub-id></citation>
</ref>
<ref id="ref5">
<label>5.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Rb</surname> <given-names>B</given-names></name> <name><surname>Sf</surname> <given-names>Q</given-names></name> <name><surname>Ar</surname> <given-names>A</given-names></name></person-group>. <source>The AASM manual for the scoring of sleep and associated events: Rules, terminology and technical specifications, version 2.6</source> <publisher-name>American Academy of sleep medicine</publisher-name> Available at: <ext-link xlink:href="http://www.aasmnet.org" ext-link-type="uri">www.aasmnet.org</ext-link> (<year>2020</year>).</citation>
</ref>
<ref id="ref6">
<label>6.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Rosenberg</surname> <given-names>RS</given-names></name> <name><surname>Van Hout</surname> <given-names>S</given-names></name></person-group>. <article-title>The American Academy of sleep medicine inter-scorer reliability program: sleep stage scoring</article-title>. <source>J Clin Sleep Med</source>. (<year>2013</year>) <volume>9</volume>:<fpage>81</fpage>&#x2013;<lpage>7</lpage>. doi: <pub-id pub-id-type="doi">10.5664/jcsm.2350</pub-id></citation>
</ref>
<ref id="ref7">
<label>7.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lee</surname> <given-names>YJ</given-names></name> <name><surname>Lee</surname> <given-names>JY</given-names></name> <name><surname>Cho</surname> <given-names>JH</given-names></name> <name><surname>Choi</surname> <given-names>JH</given-names></name></person-group>. <article-title>Interrater reliability of sleep stage scoring: a meta-analysis</article-title>. <source>J Clin Sleep Med</source>. (<year>2022</year>) <volume>18</volume>:<fpage>193</fpage>&#x2013;<lpage>202</lpage>. doi: <pub-id pub-id-type="doi">10.5664/jcsm.9538</pub-id>, PMID: <pub-id pub-id-type="pmid">34310277</pub-id></citation>
</ref>
<ref id="ref8">
<label>8.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Danker-hopfe</surname> <given-names>H</given-names></name> <name><surname>Anderer</surname> <given-names>P</given-names></name> <name><surname>Zeitlhofer</surname> <given-names>J</given-names></name> <name><surname>Boeck</surname> <given-names>M</given-names></name> <name><surname>Dorn</surname> <given-names>H</given-names></name> <name><surname>Gruber</surname> <given-names>G</given-names></name> <etal/></person-group>. <article-title>Interrater reliability for sleep scoring according to the Rechtschaffen &#x0026; Kales and the new AASM standard</article-title>. <source>J Sleep Res</source>. (<year>2009</year>) <volume>18</volume>:<fpage>74</fpage>&#x2013;<lpage>84</lpage>. doi: <pub-id pub-id-type="doi">10.1111/j.1365-2869.2008.00700.x</pub-id>, PMID: <pub-id pub-id-type="pmid">19250176</pub-id></citation>
</ref>
<ref id="ref9">
<label>9.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Frauscher</surname> <given-names>B</given-names></name> <name><surname>von Ellenrieder</surname> <given-names>N</given-names></name> <name><surname>Dubeau</surname> <given-names>F</given-names></name> <name><surname>Gotman</surname> <given-names>J</given-names></name></person-group>. <article-title>EEG desynchronization during phasic REM sleep suppresses interictal epileptic activity in humans</article-title>. <source>Epilepsia</source>. (<year>2016</year>) <volume>57</volume>:<fpage>879</fpage>&#x2013;<lpage>88</lpage>. doi: <pub-id pub-id-type="doi">10.1111/epi.13389</pub-id>, PMID: <pub-id pub-id-type="pmid">27112123</pub-id></citation>
</ref>
<ref id="ref10">
<label>10.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chouraki</surname> <given-names>A</given-names></name> <name><surname>Tournant</surname> <given-names>J</given-names></name> <name><surname>Arnal</surname> <given-names>P</given-names></name> <name><surname>Pepin</surname> <given-names>JL</given-names></name> <name><surname>Bailly</surname> <given-names>S</given-names></name></person-group>. <article-title>Objective multi-night sleep monitoring at home: variability of sleep parameters between nights and implications for the reliability of sleep assessment in clinical trials</article-title>. <source>Sleep</source>. (<year>2023</year>) <volume>46</volume>:<fpage>zsac319</fpage>. doi: <pub-id pub-id-type="doi">10.1093/sleep/zsac319</pub-id>, PMID: <pub-id pub-id-type="pmid">36583300</pub-id></citation>
</ref>
<ref id="ref11">
<label>11.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Phan</surname> <given-names>H</given-names></name> <name><surname>Mikkelsen</surname> <given-names>K</given-names></name></person-group>. <article-title>Automatic sleep staging of EEG signals: recent development, challenges, and future directions</article-title>. <source>Physiol Meas</source>. (<year>2022</year>) <volume>43</volume>:<fpage>49</fpage>. doi: <pub-id pub-id-type="doi">10.1088/1361-6579/ac6049</pub-id>, PMID: <pub-id pub-id-type="pmid">35320788</pub-id></citation>
</ref>
<ref id="ref12">
<label>12.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Phan</surname> <given-names>H</given-names></name> <name><surname>Mertins</surname> <given-names>A</given-names></name> <name><surname>Baumert</surname> <given-names>M</given-names></name></person-group>. <article-title>Pediatric automatic sleep staging: a comparative study of state-of-the-art deep learning methods</article-title>. <source>IEEE Trans Biomed Eng</source>. (<year>2022</year>) <volume>69</volume>:<fpage>3612</fpage>&#x2013;<lpage>22</lpage>. doi: <pub-id pub-id-type="doi">10.1109/TBME.2022.3174680</pub-id>, PMID: <pub-id pub-id-type="pmid">35552153</pub-id></citation>
</ref>
<ref id="ref13">
<label>13.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Baumert</surname> <given-names>M</given-names></name> <name><surname>Hartmann</surname> <given-names>S</given-names></name> <name><surname>Phan</surname> <given-names>H</given-names></name></person-group>. <article-title>Automatic sleep staging for the young and the old - evaluating age bias in deep learning</article-title>. <source>Sleep Med</source>. (<year>2023</year>) <volume>107</volume>:<fpage>18</fpage>&#x2013;<lpage>25</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.sleep.2023.04.002</pub-id>, PMID: <pub-id pub-id-type="pmid">37099916</pub-id></citation>
</ref>
<ref id="ref14">
<label>14.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Fiorillo</surname> <given-names>L</given-names></name> <name><surname>Puiatti</surname> <given-names>A</given-names></name> <name><surname>Papandrea</surname> <given-names>M</given-names></name> <name><surname>Ratti</surname> <given-names>P-L</given-names></name> <name><surname>Favaro</surname> <given-names>P</given-names></name> <name><surname>Roth</surname> <given-names>C</given-names></name> <etal/></person-group>. <article-title>Automated sleep scoring: a review of the latest approaches</article-title>. <source>Sleep Med Rev</source>. (<year>2019</year>) <volume>48</volume>:<fpage>101204</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.smrv.2019.07.007</pub-id>, PMID: <pub-id pub-id-type="pmid">31491655</pub-id></citation>
</ref>
<ref id="ref15">
<label>15.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kwan</surname> <given-names>P</given-names></name> <name><surname>Arzimanoglou</surname> <given-names>A</given-names></name> <name><surname>Berg</surname> <given-names>AT</given-names></name> <name><surname>Brodie</surname> <given-names>MJ</given-names></name> <name><surname>Allen Hauser</surname> <given-names>W</given-names></name> <name><surname>Mathern</surname> <given-names>G</given-names></name> <etal/></person-group>. <article-title>Definition of drug resistant epilepsy: consensus proposal by the ad hoc task force of the ILAE commission on therapeutic strategies</article-title>. <source>Epilepsia</source>. (<year>2010</year>) <volume>51</volume>:<fpage>1069</fpage>&#x2013;<lpage>77</lpage>. doi: <pub-id pub-id-type="doi">10.1111/j.1528-1167.2009.02397.x</pub-id>, PMID: <pub-id pub-id-type="pmid">19889013</pub-id></citation>
</ref>
<ref id="ref16">
<label>16.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Phan</surname> <given-names>H</given-names></name> <name><surname>Andreotti</surname> <given-names>F</given-names></name> <name><surname>Cooray</surname> <given-names>N</given-names></name> <name><surname>Chen</surname> <given-names>OY</given-names></name> <name><surname>De Vos</surname> <given-names>M</given-names></name></person-group>. <article-title>SeqSleepNet: end-to-end hierarchical recurrent neural network for sequence-to-sequence automatic sleep staging</article-title>. <source>IEEE Trans Neural Syst Rehabil Eng</source>. (<year>2019</year>) <volume>27</volume>:<fpage>400</fpage>&#x2013;<lpage>10</lpage>. doi: <pub-id pub-id-type="doi">10.1109/TNSRE.2019.2896659</pub-id>, PMID: <pub-id pub-id-type="pmid">30716040</pub-id></citation>
</ref>
<ref id="ref17">
<label>17.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>O'Reilly</surname> <given-names>C</given-names></name> <name><surname>Gosselin</surname> <given-names>N</given-names></name> <name><surname>Carrier</surname> <given-names>J</given-names></name> <name><surname>Nielsen</surname> <given-names>T</given-names></name></person-group>. <article-title>Montreal archive of sleep studies: an open-access resource for instrument benchmarking and exploratory research</article-title>. <source>J Sleep Res</source>. (<year>2014</year>) <volume>23</volume>:<fpage>628</fpage>&#x2013;<lpage>35</lpage>. doi: <pub-id pub-id-type="doi">10.1111/jsr.12169</pub-id>, PMID: <pub-id pub-id-type="pmid">24909981</pub-id></citation>
</ref>
<ref id="ref18">
<label>18.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Landis</surname> <given-names>JR</given-names></name> <name><surname>Koch</surname> <given-names>GG</given-names></name></person-group>. <article-title>The measurement of observer agreement for categorical data</article-title>. <source>Biometrics</source>. (<year>1977</year>) <volume>33</volume>:<fpage>159</fpage>&#x2013;<lpage>74</lpage>. doi: <pub-id pub-id-type="doi">10.2307/2529310</pub-id>, PMID: <pub-id pub-id-type="pmid">843571</pub-id></citation>
</ref>
<ref id="ref19">
<label>19.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ansari</surname> <given-names>AH</given-names></name> <name><surname>de Wel</surname> <given-names>O</given-names></name> <name><surname>Pillay</surname> <given-names>K</given-names></name> <name><surname>Dereymaeker</surname> <given-names>A</given-names></name> <name><surname>Jansen</surname> <given-names>K</given-names></name> <name><surname>van Huffel</surname> <given-names>S</given-names></name> <etal/></person-group>. <article-title>A convolutional neural network outperforming state-of-the-art sleep staging algorithms for both preterm and term infants</article-title>. <source>J Neural Eng</source>. (<year>2020</year>) <volume>17</volume>:<fpage>016028</fpage>. doi: <pub-id pub-id-type="doi">10.1088/1741-2552/ab5469</pub-id>, PMID: <pub-id pub-id-type="pmid">31689694</pub-id></citation>
</ref>
<ref id="ref20">
<label>20.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>von Ellenrieder</surname> <given-names>N</given-names></name> <name><surname>Peter-Derex</surname> <given-names>L</given-names></name> <name><surname>Gotman</surname> <given-names>J</given-names></name> <name><surname>Frauscher</surname> <given-names>B</given-names></name></person-group>. <article-title>SleepSEEG: automatic sleep scoring using intracranial EEG recordings only</article-title>. <source>J Neural Eng</source>. (<year>2022</year>) <volume>19</volume>:<fpage>ac6829</fpage>. doi: <pub-id pub-id-type="doi">10.1088/1741-2552/ac6829</pub-id>, PMID: <pub-id pub-id-type="pmid">35439736</pub-id></citation>
</ref>
<ref id="ref21">
<label>21.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Skorucak</surname> <given-names>J</given-names></name> <name><surname>Bolsterli</surname> <given-names>BK</given-names></name> <name><surname>Storz</surname> <given-names>S</given-names></name> <name><surname>Leach</surname> <given-names>S</given-names></name> <name><surname>Schmitt</surname> <given-names>B</given-names></name> <name><surname>Ramantani</surname> <given-names>G</given-names></name> <etal/></person-group>. <article-title>Automated analysis of a large-scale paediatric dataset illustrates the interdependent relationship between epilepsy and sleep</article-title>. <source>Sci Rep</source>. (<year>2023</year>) <volume>13</volume>:<fpage>12882</fpage>. doi: <pub-id pub-id-type="doi">10.1038/s41598-023-39984-9</pub-id></citation>
</ref>
<ref id="ref22">
<label>22.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>van den Broek</surname> <given-names>N</given-names></name> <name><surname>van Meulen</surname> <given-names>F</given-names></name> <name><surname>Ross</surname> <given-names>M</given-names></name> <name><surname>Cerny</surname> <given-names>A</given-names></name> <name><surname>Anderer</surname> <given-names>P</given-names></name> <name><surname>van Gilst</surname> <given-names>M</given-names></name> <etal/></person-group>. <article-title>Automated sleep staging in people with intellectual disabilities using heart rate and respiration variability</article-title>. <source>J Intellect Disabil Res</source>. (<year>2023</year>) <volume>67</volume>:<fpage>720</fpage>&#x2013;<lpage>33</lpage>. doi: <pub-id pub-id-type="doi">10.1111/jir.13060</pub-id>, PMID: <pub-id pub-id-type="pmid">37291951</pub-id></citation>
</ref>
<ref id="ref23">
<label>23.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hermans</surname> <given-names>LW</given-names></name> <name><surname>Huijben</surname> <given-names>IA</given-names></name> <name><surname>van Gorp</surname> <given-names>H</given-names></name> <name><surname>Leufkens</surname> <given-names>TR</given-names></name> <name><surname>Fonseca</surname> <given-names>P</given-names></name> <name><surname>Overeem</surname> <given-names>S</given-names></name> <etal/></person-group>. <article-title>Representations of temporal sleep dynamics: review and synthesis of the literature</article-title>. <source>Sleep Med Rev</source>. (<year>2022</year>) <volume>63</volume>:<fpage>101611</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.smrv.2022.101611</pub-id>, PMID: <pub-id pub-id-type="pmid">35278893</pub-id></citation>
</ref>
<ref id="ref24">
<label>24.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lechat</surname> <given-names>B</given-names></name> <name><surname>Scott</surname> <given-names>H</given-names></name> <name><surname>Naik</surname> <given-names>G</given-names></name> <name><surname>Hansen</surname> <given-names>K</given-names></name> <name><surname>Nguyen</surname> <given-names>DP</given-names></name> <name><surname>Vakulin</surname> <given-names>A</given-names></name> <etal/></person-group>. <article-title>New and emerging approaches to better define sleep disruption and its consequences</article-title>. <source>Front Neurosci</source>. (<year>2021</year>) <volume>15</volume>:<fpage>751730</fpage>. doi: <pub-id pub-id-type="doi">10.3389/fnins.2021.751730</pub-id>, PMID: <pub-id pub-id-type="pmid">34690688</pub-id></citation>
</ref>
<ref id="ref25">
<label>25.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Schiller</surname> <given-names>K</given-names></name> <name><surname>Avigdor</surname> <given-names>T</given-names></name> <name><surname>Abdallah</surname> <given-names>C</given-names></name> <name><surname>Sziklas</surname> <given-names>V</given-names></name> <name><surname>Crane</surname> <given-names>J</given-names></name> <name><surname>Stefani</surname> <given-names>A</given-names></name> <etal/></person-group>. <article-title>Focal epilepsy disrupts spindle structure and function</article-title>. <source>Sci Rep</source>. (<year>2022</year>) <volume>12</volume>:<fpage>11137</fpage>. doi: <pub-id pub-id-type="doi">10.1038/s41598-022-15147-0</pub-id>, PMID: <pub-id pub-id-type="pmid">35778434</pub-id></citation>
</ref>
<ref id="ref26">
<label>26.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>McLaren</surname> <given-names>JR</given-names></name> <name><surname>Luo</surname> <given-names>Y</given-names></name> <name><surname>Kwon</surname> <given-names>H</given-names></name> <name><surname>Shi</surname> <given-names>W</given-names></name> <name><surname>Kramer</surname> <given-names>MA</given-names></name> <name><surname>Chu</surname> <given-names>CJ</given-names></name></person-group>. <article-title>Preliminary evidence of a relationship between sleep spindles and treatment response in epileptic encephalopathy</article-title>. <source>Ann Clin Transl Neurol</source>. (<year>2023</year>) <volume>10</volume>:<fpage>1513</fpage>&#x2013;<lpage>24</lpage>. doi: <pub-id pub-id-type="doi">10.1002/acn3.51840</pub-id>, PMID: <pub-id pub-id-type="pmid">37363864</pub-id></citation>
</ref>
<ref id="ref27">
<label>27.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Simor</surname> <given-names>P</given-names></name> <name><surname>van der Wijk</surname> <given-names>G</given-names></name> <name><surname>Nobili</surname> <given-names>L</given-names></name> <name><surname>Peigneux</surname> <given-names>P</given-names></name></person-group>. <article-title>The microstructure of REM sleep: why phasic and tonic?</article-title> <source>Sleep Med Rev</source>. (<year>2020</year>) <volume>52</volume>:<fpage>101305</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.smrv.2020.101305</pub-id>, PMID: <pub-id pub-id-type="pmid">32259697</pub-id></citation>
</ref>
<ref id="ref28">
<label>28.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Terzano</surname> <given-names>MG</given-names></name> <name><surname>Parrino</surname> <given-names>L</given-names></name> <name><surname>Smerieri</surname> <given-names>A</given-names></name> <name><surname>Chervin</surname> <given-names>R</given-names></name> <name><surname>Chokroverty</surname> <given-names>S</given-names></name> <name><surname>Guilleminault</surname> <given-names>C</given-names></name> <etal/></person-group>. <article-title>Atlas, rules, and recording techniques for the scoring of cyclic alternating pattern (CAP) in human sleep</article-title>. <source>Sleep Med</source>. (<year>2002</year>) <volume>3</volume>:<fpage>187</fpage>&#x2013;<lpage>99</lpage>. doi: <pub-id pub-id-type="doi">10.1016/S1389-9457(02)00003-5</pub-id>, PMID: <pub-id pub-id-type="pmid">14592244</pub-id></citation>
</ref>
<ref id="ref29">
<label>29.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Eriksson</surname> <given-names>MH</given-names></name> <name><surname>Baldeweg</surname> <given-names>T</given-names></name> <name><surname>Pressler</surname> <given-names>R</given-names></name> <name><surname>Boyd</surname> <given-names>SG</given-names></name> <name><surname>Huber</surname> <given-names>R</given-names></name> <name><surname>Cross</surname> <given-names>JH</given-names></name> <etal/></person-group>. <article-title>Sleep homeostasis, seizures, and cognition in children with focal epilepsy</article-title>. <source>Dev Med Child Neurol</source>. (<year>2023</year>) <volume>65</volume>:<fpage>701</fpage>&#x2013;<lpage>11</lpage>. doi: <pub-id pub-id-type="doi">10.1111/dmcn.15403</pub-id>, PMID: <pub-id pub-id-type="pmid">36069073</pub-id></citation>
</ref>
<ref id="ref30">
<label>30.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Beenhakker</surname> <given-names>MP</given-names></name> <name><surname>Huguenard</surname> <given-names>JR</given-names></name></person-group>. <article-title>Neurons that fire together also conspire together: is normal sleep circuitry hijacked to generate epilepsy?</article-title> <source>Neuron</source>. (<year>2009</year>) <volume>62</volume>:<fpage>612</fpage>&#x2013;<lpage>32</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.neuron.2009.05.015</pub-id>, PMID: <pub-id pub-id-type="pmid">19524522</pub-id></citation>
</ref>
<ref id="ref31">
<label>31.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Giacomini</surname> <given-names>T</given-names></name> <name><surname>Luria</surname> <given-names>G</given-names></name> <name><surname>D&#x2019;Amario</surname> <given-names>V</given-names></name> <name><surname>Croci</surname> <given-names>C</given-names></name> <name><surname>Cataldi</surname> <given-names>M</given-names></name> <name><surname>Piai</surname> <given-names>M</given-names></name> <etal/></person-group>. <article-title>On the role of REM sleep microstructure in suppressing interictal spikes in electrical status epilepticus during sleep</article-title>. <source>Clin Neurophysiol</source>. (<year>2022</year>) <volume>136</volume>:<fpage>62</fpage>&#x2013;<lpage>8</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.clinph.2022.01.008</pub-id>, PMID: <pub-id pub-id-type="pmid">35139436</pub-id></citation>
</ref>
<ref id="ref32">
<label>32.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ng</surname> <given-names>M</given-names></name> <name><surname>Pavlova</surname> <given-names>M</given-names></name></person-group>. <article-title>Why are seizures rare in rapid eye movement sleep? Review of the frequency of seizures in different sleep stages</article-title>. <source>Epilepsy Res Treat</source>. (<year>2013</year>) <volume>2013</volume>:<fpage>932790</fpage>. doi: <pub-id pub-id-type="doi">10.1155/2013/932790</pub-id>, PMID: <pub-id pub-id-type="pmid">23853720</pub-id></citation>
</ref>
<ref id="ref33">
<label>33.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ho</surname> <given-names>A</given-names></name> <name><surname>Hannan</surname> <given-names>S</given-names></name> <name><surname>Thomas</surname> <given-names>J</given-names></name> <name><surname>Avigdor</surname> <given-names>T</given-names></name> <name><surname>Abdallah</surname> <given-names>C</given-names></name> <name><surname>Dubeau</surname> <given-names>F</given-names></name> <etal/></person-group>. <article-title>Rapid eye movement sleep affects interictal epileptic activity differently in mesiotemporal and neocortical areas</article-title>. <source>Epilepsia</source>. (<year>2023</year>) <volume>64</volume>:<fpage>3036</fpage>&#x2013;<lpage>48</lpage>. doi: <pub-id pub-id-type="doi">10.1111/epi.17763</pub-id>, PMID: <pub-id pub-id-type="pmid">37714213</pub-id></citation>
</ref>
<ref id="ref34">
<label>34.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Berteotti</surname> <given-names>C</given-names></name> <name><surname>Calvello</surname> <given-names>C</given-names></name> <name><surname>Liguori</surname> <given-names>C</given-names></name></person-group>. <article-title>Role of the orexin system in the bidirectional relation between sleep and epilepsy: new chances for patients with epilepsy by the antagonism to orexin receptors?</article-title> <source>Epilepsia</source>. (<year>2023</year>) <volume>64</volume>:<fpage>1991</fpage>&#x2013;<lpage>2005</lpage>. doi: <pub-id pub-id-type="doi">10.1111/epi.17661</pub-id>, PMID: <pub-id pub-id-type="pmid">37212716</pub-id></citation>
</ref>
<ref id="ref35">
<label>35.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chinoy</surname> <given-names>ED</given-names></name> <name><surname>Cuellar</surname> <given-names>JA</given-names></name> <name><surname>Huwa</surname> <given-names>KE</given-names></name> <name><surname>Jameson</surname> <given-names>JT</given-names></name> <name><surname>Watson</surname> <given-names>CH</given-names></name> <name><surname>Bessman</surname> <given-names>SC</given-names></name> <etal/></person-group>. <article-title>Performance of seven consumer sleep-tracking devices compared with polysomnography</article-title>. <source>Sleep</source>. (<year>2021</year>) <volume>44</volume>:<fpage>zsaa291</fpage>. doi: <pub-id pub-id-type="doi">10.1093/sleep/zsaa291</pub-id>, PMID: <pub-id pub-id-type="pmid">33378539</pub-id></citation>
</ref>
<ref id="ref36">
<label>36.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wulterkens</surname> <given-names>BM</given-names></name> <name><surname>Fonseca</surname> <given-names>P</given-names></name> <name><surname>Hermans</surname> <given-names>LWA</given-names></name> <name><surname>Ross</surname> <given-names>M</given-names></name> <name><surname>Cerny</surname> <given-names>A</given-names></name> <name><surname>Anderer</surname> <given-names>P</given-names></name> <etal/></person-group>. <article-title>It is all in the wrist: wearable sleep staging in a clinical population versus reference polysomnography</article-title>. <source>Nat Sci Sleep</source>. (<year>2021</year>) <volume>13</volume>:<fpage>885</fpage>&#x2013;<lpage>97</lpage>. doi: <pub-id pub-id-type="doi">10.2147/NSS.S306808</pub-id>, PMID: <pub-id pub-id-type="pmid">34234595</pub-id></citation>
</ref>
</ref-list>
</back>
</article>