<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article">
<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.2022.755094</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>Time-Series Generative Adversarial Network Approach of Deep Learning Improves Seizure Detection From the Human Thalamic SEEG</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name><surname>Ganti</surname> <given-names>Bhargava</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="author-notes" rid="fn002"><sup>&#x02020;</sup></xref>
<xref ref-type="author-notes" rid="fn005"><sup>&#x02021;</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/1445793/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Chaitanya</surname> <given-names>Ganne</given-names></name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<xref ref-type="aff" rid="aff3"><sup>3</sup></xref>
<xref ref-type="author-notes" rid="fn005"><sup>&#x02021;</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/1435367/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Balamurugan</surname> <given-names>Ridhanya Sree</given-names></name>
<xref ref-type="aff" rid="aff4"><sup>4</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/1434965/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Nagaraj</surname> <given-names>Nithin</given-names></name>
<xref ref-type="aff" rid="aff5"><sup>5</sup></xref>
<xref ref-type="author-notes" rid="fn004"><sup>&#x02020;</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/1435170/overview"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name><surname>Balasubramanian</surname> <given-names>Karthi</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="corresp" rid="c001"><sup>&#x0002A;</sup></xref>
<xref ref-type="author-notes" rid="fn003"><sup>&#x02020;</sup></xref>
<xref ref-type="author-notes" rid="fn006"><sup>&#x000A7;</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/1375303/overview"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name><surname>Pati</surname> <given-names>Sandipan</given-names></name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<xref ref-type="aff" rid="aff3"><sup>3</sup></xref>
<xref ref-type="corresp" rid="c002"><sup>&#x0002A;</sup></xref>
<xref ref-type="author-notes" rid="fn006"><sup>&#x000A7;</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/1219807/overview"/>
</contrib>
</contrib-group>
<aff id="aff1"><sup>1</sup><institution>Department of Electronics and Communication Engineering, Amrita School of Engineering, Amrita Vishwa Vidyapeetham</institution>, <addr-line>Coimbatore</addr-line>, <country>India</country></aff>
<aff id="aff2"><sup>2</sup><institution>Texas Institute of Restorative Neurotechnologies, University of Texas Health Science Center</institution>, <addr-line>Houston, TX</addr-line>, <country>United States</country></aff>
<aff id="aff3"><sup>3</sup><institution>Department of Neurology, University of Alabama at Birmingham</institution>, <addr-line>Birmingham, AL</addr-line>, <country>United States</country></aff>
<aff id="aff4"><sup>4</sup><institution>School of Biotechnology, National Institute of Technology Calicut</institution>, <addr-line>Kozhikode</addr-line>, <country>India</country></aff>
<aff id="aff5"><sup>5</sup><institution>Consciousness Studies Programme, National Institute of Advanced Studies</institution>, <addr-line>Bengaluru</addr-line>, <country>India</country></aff>
<author-notes>
<fn fn-type="edited-by"><p>Edited by: Taylor J. Abel, University of Pittsburgh, United States</p></fn>
<fn fn-type="edited-by"><p>Reviewed by: Vasileios Kokkinos, Massachusetts General Hospital and Harvard Medical School, United States; Maxwell Bond Wang, Carnegie Mellon University, United States</p></fn>
<corresp id="c001">&#x0002A;Correspondence: Sandipan Pati <email>patilabuab&#x00040;gmail.com</email></corresp>
<corresp id="c002">Karthi Balasubramanian <email>b_karthi&#x00040;cb.amrita.edu</email></corresp>
<fn fn-type="other" id="fn001"><p>This article was submitted to Epilepsy, a section of the journal Frontiers in Neurology</p></fn>
<fn fn-type="equal" id="fn002"><p>&#x02020;ORCID: Bhargava Ganti <ext-link ext-link-type="uri" xlink:href="https://orcid.org/0000-0002-3348-3032">orcid.org/0000-0002-3348-3032</ext-link></p></fn>
<fn fn-type="equal" id="fn003"><p>Karthi Balasubramanian <ext-link ext-link-type="uri" xlink:href="https://orcid.org/0000-0002-4418-4898">orcid.org/0000-0002-4418-4898</ext-link></p></fn>
<fn fn-type="equal" id="fn004"><p>Nithin Nagaraj <ext-link ext-link-type="uri" xlink:href="https://orcid.org/0000-0003-0097-4131">orcid.org/0000-0003-0097-4131</ext-link></p></fn>
<fn fn-type="equal" id="fn005"><p>&#x02021;These authors share first authorship</p></fn>
<fn fn-type="equal" id="fn006"><p>&#x000A7;These authors share senior authorship</p></fn></author-notes>
<pub-date pub-type="epub">
<day>16</day>
<month>02</month>
<year>2022</year>
</pub-date>
<pub-date pub-type="collection">
<year>2022</year>
</pub-date>
<volume>13</volume>
<elocation-id>755094</elocation-id>
<history>
<date date-type="received">
<day>07</day>
<month>08</month>
<year>2021</year>
</date>
<date date-type="accepted">
<day>12</day>
<month>01</month>
<year>2022</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x000A9; 2022 Ganti, Chaitanya, Balamurugan, Nagaraj, Balasubramanian and Pati.</copyright-statement>
<copyright-year>2022</copyright-year>
<copyright-holder>Ganti, Chaitanya, Balamurugan, Nagaraj, Balasubramanian and Pati</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>
<p>Seizure detection algorithms are often optimized to detect seizures from the epileptogenic cortex. However, in non-localizable epilepsies, the thalamus is frequently targeted for neuromodulation. Developing a reliable seizure detection algorithm from thalamic SEEG may facilitate the translation of closed-loop neuromodulation. Deep learning algorithms promise reliable seizure detectors, but the major impediment is the lack of larger samples of curated ictal thalamic SEEG needed for training classifiers. We aimed to investigate if synthetic data generated by temporal Generative Adversarial Networks (TGAN) can inflate the sample size to improve the performance of a deep learning classifier of ictal and interictal states from limited samples of thalamic SEEG. Thalamic SEEG from 13 patients (84 seizures) was obtained during stereo EEG evaluation for epilepsy surgery. Overall, TGAN generated synthetic data augmented the performance of the bidirectional Long-Short Term Memory (BiLSTM) performance in classifying thalamic ictal and baseline states. Adding synthetic data improved the accuracy of the detection model by 18.5%. Importantly, this approach can be applied to classify electrographic seizure onset patterns or develop patient-specific seizure detectors from implanted neuromodulation devices.</p></abstract>
<kwd-group>
<kwd>temporal lobe epilepsy</kwd>
<kwd>thalamus</kwd>
<kwd>Bidirectional Long-Short Term Memory (Bi-LSTM)</kwd>
<kwd>seizure detection algorithm</kwd>
<kwd>Generative Adversarial Network (GAN)</kwd>
</kwd-group>
<counts>
<fig-count count="6"/>
<table-count count="3"/>
<equation-count count="0"/>
<ref-count count="40"/>
<page-count count="12"/>
<word-count count="6994"/>
</counts>
</article-meta>
</front>
<body>
<sec sec-type="intro" id="s1">
<title>Introduction</title>
<p>Despite significant advances in diagnostic and therapeutic technologies, over 30 million people worldwide have drug-resistant epilepsy (DRE) (<xref ref-type="bibr" rid="B1">1</xref>). Increased seizure burden plays a central role in morbidity and mortality, thereby emphasizing the need for seizure preventative therapies (<xref ref-type="bibr" rid="B2">2</xref>). Surgical resection of the seizure focus may yield seizure freedom and remains the first line of treatment in DRE. However, in many patients, resection or ablation is not an option if the seizure foci are widespread involving multiple regions or are non-localizable (<xref ref-type="bibr" rid="B3">3</xref>, <xref ref-type="bibr" rid="B4">4</xref>). Neuromodulation of the epileptogenic circuit remotely <italic>via</italic> a central hub like the thalami is often the treatment of choice in this cohort (<xref ref-type="bibr" rid="B5">5</xref>). Accurate and timely detection of seizures is clinically necessary for the development of feedback &#x0201C;responsive&#x0201D; therapy and monitoring seizure counts for therapy adjustment. In recent years, the medical community has widely adopted machine learning approaches to develop seizure detection algorithms. Various linear and non-linear features are extracted and have been used for seizure detection and prediction (<xref ref-type="bibr" rid="B6">6</xref>&#x02013;<xref ref-type="bibr" rid="B12">12</xref>). However, these seizure detection algorithms have been optimized from electrophysiological signals obtained from the seizure focus. Machine learning algorithms to detect seizures from outside the seizure focus are still in their nascency (<xref ref-type="bibr" rid="B13">13</xref>).</p>
<p>There are multiple challenges in developing seizure detectors from regions like the thalamic subnuclei, i.e., (a) the thalami have lower power spectra, and the spectral contents are significantly different from the epileptogenic cortex during interictal and seizure substages (<xref ref-type="bibr" rid="B14">14</xref>), (b) the thalami are not routinely implanted during surgical evaluation, and hence electrophysiological recordings during seizures are scarce. Thus, the sample size is small and often inadequate for data-intensive deep learning models, and (c) Chronic local field potentials (LFPs) can be recorded from the thalami in patients with sensing-enabled deep brain stimulators (DBS) and can potentially be the solution to inadequate data. However, establishing the accuracy of detecting seizures in the ambulatory setting is challenging. In the proposed work, we overcome the inadequate sample size by applying a novel deep learning approach for detecting seizures from LFPs recorded directly from the human thalamic subnuclei.</p>
<p>Several deep learning algorithms have been proposed for automatic seizure detection. These include artificial neural networks, convolution, and deep convolution-based seizure detection systems. Amongst them, a widely popular and high-performing method for seizure classification using EEG is the use of temporal models such as recurrent neural network (RNN) and its variants, including Long-Short Term Memory (<xref ref-type="bibr" rid="B15">15</xref>)(LSTM) Bidirectional LSTM (BiLSTM), Gated Recurrent Unit (GRU) (<xref ref-type="bibr" rid="B16">16</xref>), and Generative Adversarial Networks (GAN). LSTMs are known for their excellence in learning patterns from temporal information while preserving dependencies in very long-time sequences. However, these temporal models (RNN, LSTM, GRU) are first trained in an adequately powered sample to learn the inherent temporal dependencies of the EEG signal that accurately represent the features of a seizure. In the present study, we apply the time-GAN method with the novel goal of detecting temporal lobe seizures from a limited number of the LFPs recorded from the human thalami. We hypothesize that the performance of a deep learning algorithm classifying seizures from the interictal state can be significantly improved by adding synthetic data using the GAN approach.</p></sec>
<sec sec-type="methods" id="s2">
<title>Methods</title>
<sec>
<title>Study Participants and Ethics</title>
<p>Patients diagnosed with drug-refractory temporal lobe epilepsy (TLE) who underwent stereoelectroencephalography (SEEG) for localization of seizure focus were included in the study. The indication for SEEG was clinically necessary and determined in a multidisciplinary patient management conference. Within this cohort, consenting adults who had thalamic implantation for research were included in the present analysis. The multi-step consenting and evaluation process has been described in detail in our previous studies (<xref ref-type="bibr" rid="B13">13</xref>, <xref ref-type="bibr" rid="B14">14</xref>, <xref ref-type="bibr" rid="B17">17</xref>). The electrophysiological sampling of the thalamic subnuclei was performed under the supervision of the IRB, and all patients provided written informed consent. To mitigate the risk associated with implanting an additional depth electrode for research sampling of the thalamus, we modified the trajectory of a clinically indicated depth electrode sampling the operculum-insula to track medially for recording from the thalamus. Clinician-identified seizures were documented for all patients, and the SEEG data was clipped and parsed for analysis. Ictal (<italic>N</italic> = 84 from 13 patients) and baseline interictal data (Length: 550 s prior to seizure) were obtained. The demographic details of the study participants are detailed in <xref ref-type="table" rid="T1">Table 1</xref>.</p>
<table-wrap position="float" id="T1">
<label>Table 1</label>
<caption><p>Demographic details of the study participants.</p></caption>
<table frame="hsides" rules="groups">
<thead><tr>
<th valign="top" align="left"><bold>Demographics</bold></th>
<th valign="top" align="center"><bold><italic>N</italic> &#x0003D; 13</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Age (years)</td>
<td valign="top" align="center">42.8 &#x000B1; 11.9</td>
</tr>
<tr>
<td valign="top" align="left">Gender (M:F)</td>
<td valign="top" align="center">6:7</td>
</tr>
<tr>
<td valign="top" align="left"><bold>Details of recording:</bold></td>
<td/>
</tr>
<tr>
<td valign="top" align="left">Number of contacts</td>
<td valign="top" align="center">2,205<break/> (R: 1,328, L: 877)</td>
</tr>
<tr>
<td valign="top" align="left">Thalamic implant laterality (R:L)</td>
<td valign="top" align="center">8:3</td>
</tr>
<tr>
<td valign="top" align="left">Thalamic target nucleus (Anterior: Central)</td>
<td valign="top" align="center">8:3</td>
</tr>
<tr>
<td valign="top" align="left"><bold>Disease burden measures:</bold></td>
<td/>
</tr>
<tr>
<td valign="top" align="left">Age at Onset (years)</td>
<td valign="top" align="center">28.8 &#x000B1; 16.2</td>
</tr>
<tr>
<td valign="top" align="left">Duration of Epilepsy (years)</td>
<td valign="top" align="center">14.3 &#x000B1; 16.3</td>
</tr>
<tr>
<td valign="top" align="left">Frequency of focal seizures (/month&#x02014;median and range)</td>
<td valign="top" align="center">4 (range: 1&#x02013;48)</td>
</tr>
<tr>
<td valign="top" align="left">H/o FBTCS (Present: Absent)</td>
<td valign="top" align="center">6:7</td>
</tr>
<tr>
<td valign="top" align="left">MRI (Abnormal: Normal)</td>
<td valign="top" align="center">7:6</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<p><italic>M, male; F, female; FBTCS, focal to bilateral tonic-clonic seizures; MRI, magnetic resonance imaging</italic>.</p>
</table-wrap-foot>
</table-wrap></sec>
<sec>
<title>SEEG Recording</title>
<p>All SEEG implantation procedures were performed using robotic assistance (ROSA device, MedTech, Syracuse, NY) (12&#x02013;16 contacts per depth electrode, 2 mm contact length, 0.8 mm contact diameter, 1.5 mm intercontact distance, PMT&#x000AE; Corporation, Chanhassen, MN). Once implanted, the patients were monitored over 4&#x02013;12 days in the epilepsy monitoring unit (EMU). SEED data as recorded using Natus Quantum (Natus Medical Incorporated, Pleasanton, CA, sampling rate 2,048 Hz). Signals were referenced to a common extracranial electrode placed posteriorly in the occiput near the hairline.</p></sec>
<sec>
<title>Accurate Anatomical Localization of SEEG Depth Electrodes</title>
<p>The details of the accuracy of the implantation strategy have been reported in our previous study (<xref ref-type="bibr" rid="B17">17</xref>). Here we highlight the main steps to localize the SEEG electrodes to the various cortical regions and the thalamic subnculei. The post-implant CT-scan was coregistered to preimplant MRI using Advanced Normalization Tools (ANTs) and refined registration of deep structures was performed using brain shift correction to improve the registration of subcortical structures using Lead-DBS v2 software (<xref ref-type="bibr" rid="B18">18</xref>). Both the images were normalized to ICBM 2009b NLIN asymmetric space using the symmetric diffeomorphic image registration. Following this, the localization of the thalamic contacts was performed in Lead-DBS, while the cortical channels were performed in iElecetrodes (<xref ref-type="bibr" rid="B19">19</xref>). Thalamic contacts were registered to Morel&#x00027;s thalamus atlas, while cortical contacts were localized using AAL2 atlas (<xref ref-type="bibr" rid="B20">20</xref>).</p></sec>
<sec>
<title>Identification of Interictal Epochs and Seizures in the Seizure Onset Zone and Thalamus</title>
<p>The time of the seizure onsets and offsets was annotated by a board-certified epileptologist (SP). Seizure onset in the cortex was marked as &#x0201C;unequivocal EEG onset&#x0201D; (UEO) at the earliest occurrence of rhythmic or repetitive spikes that was distinct from the background activity. SEEG segments were clipped to include 10 min before this UEO and 10 min after seizure termination. Four different clinical seizure types were included for analysis: focal aware seizures (FAS), focal impaired awareness seizures (FIAS), and focal to bilateral tonic clonic seizures (FBTCS) (<xref ref-type="bibr" rid="B21">21</xref>). Epochs of &#x0201C;interictal state&#x0201D; (28 epochs with each epoch lasting 9 min) were visually screened and identified from the non-seizure segment of the SEEG that was at least 1 h preceding seizure. Our previous study showed that the interictal spikes in baseline data need not be actively removed for classifying ictal states from baseline states (<xref ref-type="bibr" rid="B13">13</xref>). Secondly, interictal spikes will be present while training real-time data, e.g., line length detection in responsive neuromodulation systems (RNS) (<xref ref-type="bibr" rid="B22">22</xref>). Hence for translational purposes, no effort was made to exclude epileptiform spikes in the baseline epochs. <xref ref-type="supplementary-material" rid="SM1">Supplementary Material</xref> shows the details of the ictal and baseline data.</p></sec>
<sec>
<title>Deep Learning Architectures</title>
<p>The input to the BiLSTM classifier was the interictal baseline and ictal thalamic EEG data. The baseline and the ictal data from the 84 seizures (13 subjects) were initially grouped by the subject identification. Since the length of ictal data was variable, we chose the length of the shortest seizure for any given subject (i.e., 14 s) as the length of the analyzable data. To avoid a discrepancy in the length of data between ictal and baseline segments, we chose a similar 14 s length of SEEG data from the initial segment of the baseline data. The input to the BiLSTM classifier is a 2D array of data. Hence, the 14 s of the data were then clipped into multiple 1 s epochs and rearranged into a two-dimensional array of 14 &#x000D7; 2,048 samples (<xref ref-type="fig" rid="F1">Figures 1A&#x02013;C</xref>).</p>
<fig id="F1" position="float">
<label>Figure 1</label>
<caption><p>Study pipeline: <bold>(A)</bold> Clinician identified seizure onset timings in the hippocampal-amygdalar complex were determined. We then clipped thalamic EEG segments into epochs of baseline and seizure onset. <bold>(B)</bold> Each epoch consisted of 14 s of raw thalamic EEG segments <bold>(C)</bold>. As an initial step, each 14-s 1D signal epoch was fragmented into 1-s segments to generate a 2D matrix of time &#x000D7; signal (sampling rate: 2,048 samples/s) <bold>(D)</bold>. The data was then submitted to the TGAN system to generate synthetic data at the individual subject level. TGAN is expected to generate synthetic data that mimics original data and augment the sample size required for deep learning. <bold>(E)</bold> Two separate bidirectional long short-term memory (BiLSTM) models were tested independently on original and synthetic data.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fneur-13-755094-g0001.tif"/>
</fig>
<p>Principally, the LSTM network only obtains information from the previous input observations but cannot use that information for future input observations. However, the BiLSTM model, composed of two independent LSTM networks, can transmit information bi-directionally and increase the learning ability of the system output (<xref ref-type="fig" rid="F2">Figure 2</xref>) (<xref ref-type="bibr" rid="B23">23</xref>). Sixty three seizures from 11 subjects (were used to train the classifier differentiating ictal from baseline. Subsequently, 21 seizures collected from 2 patients were used for testing the model. Each BiLSTM classification model consisted of 64 units of LSTMs in the encoding layer and a kernel regularizer of 12 followed by a drop-out layer with a drop-out ratio of 0.25 and a batch normalization layer. This was followed by a dense layer of 64 units with rectified layer unit (ReLU) activation function (<xref ref-type="bibr" rid="B24">24</xref>). For the final output, a dense layer with SoftMax activation function of two units was used for the binary classification of baseline interictal and ictal states.</p>
<fig id="F2" position="float">
<label>Figure 2</label>
<caption><p>Block diagram of bidirectional long short-term memory learning (BiLSTM): A BiLSTM, is a serial sequence learning model that consists of two LSTMs operating in two directions effectively increase the amount of information available to train and test the network. The first LSTM inputs in data in a forward direction, and the second LSTM in a backwards direction. This improved the context available to the learning algorithm helping it to learn the sequence of the time series data, i.e., what data immediately follows (X<sub>t&#x0002B;1</sub>) and precedes (X<sub>t&#x02212;1</sub>) the events of interest such as the seizure (X).</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fneur-13-755094-g0002.tif"/>
</fig></sec>
<sec>
<title>Generation of Synthetic Data With GAN</title>
<p>GANs learn and generate synthetic data by preserving the data distributions. For a generation of sequential data, the temporal dynamics need to be preserved. Yoon et al. (<xref ref-type="bibr" rid="B25">25</xref>) proposed the concept of time-series GAN (TGAN) that was able to capture not only the distribution of data at each instant but also the presence of various features across time (<xref ref-type="fig" rid="F3">Figures 3A,B</xref>). TGAN differs from other GAN architectures in two ways. (a) By introducing an embedding network, it reduces the dimension of the adversarial learning space, and (b) uses supervised adversarial loss, unlike GAN, where unsupervised methods are used. In our analysis, TGAN was used to generate synthetic data that was 10 times the original data. The data (ictal and baseline) were fed into the TGAN model to produce the augmented data (<xref ref-type="fig" rid="F1">Figure 1D</xref>).</p>
<fig id="F3" position="float">
<label>Figure 3</label>
<caption><p>The architecture of GAN <bold>(A)</bold> and time GAN <bold>(B)</bold>. <bold>(A)</bold> Generative Adversarial Networks (GAN) is an unsupervised learning system that involves discovering and learning the patterns in input data to generate a new set of synthetic data that mimics the original dataset. <bold>(B)</bold> Time-series Generative Adversarial Networks (Time-GAN) combines the flexibility of the unsupervised paradigm with the control by incorporating supervised training.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fneur-13-755094-g0003.tif"/>
</fig></sec>
<sec>
<title>Validation of Synthetic Data</title>
<p>The second level BiLSTM analysis classifies ictal and baseline states based on the synthetic TGAN data (<xref ref-type="fig" rid="F1">Figure 1E</xref>). Hence it was necessary to validate the similarity of the synthetic data with the original data. The validation was quantified using the Train-Synthetic-Test-Real method (TSTR), where a logistic regression classifier model with a single layer gated recurring units (GRU) with 12 units was used for training both the original and the synthetic data. Each model was trained separately with 75% of the original and the synthetic data, respectively. The testing of both the models is done with the remaining 25% of only the original data set (<xref ref-type="bibr" rid="B25">25</xref>). This allowed us to estimate individual seizure level and subject level coefficient of determination (<italic>R</italic><sup>2</sup>) values and the percentage difference between original and synthetic data (<xref ref-type="table" rid="T2">Table 2</xref>). Finally, a <italic>t</italic>-distributed stochastic neighbor embedding (<italic>t</italic>-SNE) analysis was performed to visualize if the ictal and baseline data could be better segregated using the original or the synthetic data. T-SNEs were generated in MATLAB using the &#x0201C;<italic>exact</italic>&#x0201D; algorithm, with Mahalanobis distance, the perplexity of 50, and PCA dimensions of 3.</p>
<table-wrap position="float" id="T2">
<label>Table 2</label>
<caption><p>Coefficient of determination (R2) and mean absolute error (MAE) values obtained from regression models comparing original and synthetic data for the baseline and ictal data.</p></caption>
<table frame="hsides" rules="groups">
<thead><tr>
<th valign="top" align="center" style="border-bottom: thin solid #000000;"><bold>S_ID</bold></th>
<th valign="top" align="center" style="border-bottom: thin solid #000000;"><bold>&#x00023;Seizures</bold></th>
<th valign="top" align="center" colspan="6" style="border-bottom: thin solid #000000;"><bold>Baseline</bold></th>
</tr>
<tr>
<th valign="top" align="center" colspan="2"><bold>Validation</bold></th>
<th valign="top" align="center" colspan="3" style="border-bottom: thin solid #000000;"><bold><bold>R</bold><sup><bold>2</bold></sup></bold></th>
<th valign="top" align="center" colspan="3" style="border-bottom: thin solid #000000;"><bold>MAE</bold></th>
</tr>
<tr>
<th/>
<th/>
<th valign="top" align="center"><bold>Original</bold></th>
<th valign="top" align="center"><bold>Synthetic</bold></th>
<th valign="top" align="center"><bold>% Difference</bold></th>
<th valign="top" align="center"><bold>Original</bold></th>
<th valign="top" align="center"><bold>Synthetic</bold></th>
<th valign="top" align="center"><bold>% Difference</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="center">7</td>
<td valign="top" align="center">10</td>
<td valign="top" align="center">0.468</td>
<td valign="top" align="center">0.469</td>
<td valign="top" align="center">0</td>
<td valign="top" align="center">3.219</td>
<td valign="top" align="center">3.219</td>
<td valign="top" align="center">0</td>
</tr>
<tr>
<td valign="top" align="center">8</td>
<td valign="top" align="center">7</td>
<td valign="top" align="center">0.367</td>
<td valign="top" align="center">0.370</td>
<td valign="top" align="center">1</td>
<td valign="top" align="center">9.220</td>
<td valign="top" align="center">9.146</td>
<td valign="top" align="center">1</td>
</tr>
<tr>
<td valign="top" align="center">9</td>
<td valign="top" align="center">9</td>
<td valign="top" align="center">0.260</td>
<td valign="top" align="center">0.268</td>
<td valign="top" align="center">3</td>
<td valign="top" align="center">4.876</td>
<td valign="top" align="center">4.877</td>
<td valign="top" align="center">0</td>
</tr>
<tr>
<td valign="top" align="center">10</td>
<td valign="top" align="center">7</td>
<td valign="top" align="center">0.182</td>
<td valign="top" align="center">0.180</td>
<td valign="top" align="center">1</td>
<td valign="top" align="center">20.189</td>
<td valign="top" align="center">20.155</td>
<td valign="top" align="center">0</td>
</tr>
<tr>
<td valign="top" align="center">14</td>
<td valign="top" align="center">8</td>
<td valign="top" align="center">0.285</td>
<td valign="top" align="center">0.275</td>
<td valign="top" align="center">4</td>
<td valign="top" align="center">4.349</td>
<td valign="top" align="center">4.348</td>
<td valign="top" align="center">0</td>
</tr>
<tr>
<td valign="top" align="center">15</td>
<td valign="top" align="center">6</td>
<td valign="top" align="center">0.850</td>
<td valign="top" align="center">0.880</td>
<td valign="top" align="center">3</td>
<td valign="top" align="center">32.485</td>
<td valign="top" align="center">32.350</td>
<td valign="top" align="center">0</td>
</tr>
<tr>
<td valign="top" align="center">16</td>
<td valign="top" align="center">11</td>
<td valign="top" align="center">0.910</td>
<td valign="top" align="center">0.920</td>
<td valign="top" align="center">1</td>
<td valign="top" align="center">8.976</td>
<td valign="top" align="center">8.976</td>
<td valign="top" align="center">0</td>
</tr>
<tr>
<td valign="top" align="center">17</td>
<td valign="top" align="center">3</td>
<td valign="top" align="center">0.253</td>
<td valign="top" align="center">0.250</td>
<td valign="top" align="center">1</td>
<td valign="top" align="center">4.348</td>
<td valign="top" align="center">4.368</td>
<td valign="top" align="center">0</td>
</tr>
<tr>
<td valign="top" align="center">18</td>
<td valign="top" align="center">3</td>
<td valign="top" align="center">0.413</td>
<td valign="top" align="center">0.420</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">7.171</td>
<td valign="top" align="center">7.170</td>
<td valign="top" align="center">0</td>
</tr>
<tr>
<td valign="top" align="center">19</td>
<td valign="top" align="center">5</td>
<td valign="top" align="center">0.380</td>
<td valign="top" align="center">0.380</td>
<td valign="top" align="center">0</td>
<td valign="top" align="center">3.104</td>
<td valign="top" align="center">3.104</td>
<td valign="top" align="center">0</td>
</tr>
<tr>
<td valign="top" align="center">20</td>
<td valign="top" align="center">4</td>
<td valign="top" align="center">0.400</td>
<td valign="top" align="center">0.420</td>
<td valign="top" align="center">5</td>
<td valign="top" align="center">12.628</td>
<td valign="top" align="center">12.608</td>
<td valign="top" align="center">0</td>
</tr>
<tr>
<td valign="top" align="center">21</td>
<td valign="top" align="center">6</td>
<td valign="top" align="center">0.680</td>
<td valign="top" align="center">0.640</td>
<td valign="top" align="center">6</td>
<td valign="top" align="center">12.979</td>
<td valign="top" align="center">12.881</td>
<td valign="top" align="center">1</td>
</tr>
<tr>
<td valign="top" align="center">22</td>
<td valign="top" align="center">5</td>
<td valign="top" align="center">0.854</td>
<td valign="top" align="center">0.866</td>
<td valign="top" align="center">1</td>
<td valign="top" align="center">10.977</td>
<td valign="top" align="center">10.977</td>
<td valign="top" align="center">0</td>
</tr>
<tr>
<td/>
<td valign="top" align="center"><bold>Group</bold></td>
<td valign="top" align="center">0.484 &#x000B1; 0.251</td>
<td valign="top" align="center">0.487 &#x000B1; 0.256</td>
<td valign="top" align="center">2 &#x000B1; 1%</td>
<td valign="top" align="center">10.34 &#x000B1; 8.25</td>
<td valign="top" align="center">10.32 &#x000B1; 8.21</td>
<td valign="top" align="center">0.1 &#x000B1; 0.3%</td>
</tr> <tr style="border-top: thin solid #000000;">
<td/>
<td/>
<td valign="top" align="center" colspan="6"><bold>Ictal</bold></td>
</tr> <tr style="border-top: thin solid #000000;">
<td valign="top" align="center">7</td>
<td valign="top" align="center">10</td>
<td valign="top" align="center">0.868</td>
<td valign="top" align="center">0.869</td>
<td valign="top" align="center">0</td>
<td valign="top" align="center">2.958</td>
<td valign="top" align="center">2.957</td>
<td valign="top" align="center">0</td>
</tr>
<tr>
<td valign="top" align="center">8</td>
<td valign="top" align="center">7</td>
<td valign="top" align="center">0.456</td>
<td valign="top" align="center">0.470</td>
<td valign="top" align="center">3</td>
<td valign="top" align="center">14.710</td>
<td valign="top" align="center">14.710</td>
<td valign="top" align="center">0</td>
</tr>
<tr>
<td valign="top" align="center">9</td>
<td valign="top" align="center">9</td>
<td valign="top" align="center">0.380</td>
<td valign="top" align="center">0.370</td>
<td valign="top" align="center">3</td>
<td valign="top" align="center">4.828</td>
<td valign="top" align="center">4.828</td>
<td valign="top" align="center">0</td>
</tr>
<tr>
<td valign="top" align="center">10</td>
<td valign="top" align="center">7</td>
<td valign="top" align="center">0.218</td>
<td valign="top" align="center">0.210</td>
<td valign="top" align="center">4</td>
<td valign="top" align="center">23.593</td>
<td valign="top" align="center">23.602</td>
<td valign="top" align="center">0</td>
</tr>
<tr>
<td valign="top" align="center">14</td>
<td valign="top" align="center">8</td>
<td valign="top" align="center">0.360</td>
<td valign="top" align="center">0.365</td>
<td valign="top" align="center">1</td>
<td valign="top" align="center">6.533</td>
<td valign="top" align="center">6.533</td>
<td valign="top" align="center">0</td>
</tr>
<tr>
<td valign="top" align="center">15</td>
<td valign="top" align="center">6</td>
<td valign="top" align="center">0.420</td>
<td valign="top" align="center">0.426</td>
<td valign="top" align="center">1</td>
<td valign="top" align="center">59.375</td>
<td valign="top" align="center">59.376</td>
<td valign="top" align="center">0</td>
</tr>
<tr>
<td valign="top" align="center">16</td>
<td valign="top" align="center">11</td>
<td valign="top" align="center">0.910</td>
<td valign="top" align="center">0.910</td>
<td valign="top" align="center">0</td>
<td valign="top" align="center">5.825</td>
<td valign="top" align="center">5.825</td>
<td valign="top" align="center">0</td>
</tr>
<tr>
<td valign="top" align="center">17</td>
<td valign="top" align="center">3</td>
<td valign="top" align="center">0.340</td>
<td valign="top" align="center">0.335</td>
<td valign="top" align="center">1</td>
<td valign="top" align="center">5.215</td>
<td valign="top" align="center">5.215</td>
<td valign="top" align="center">0</td>
</tr>
<tr>
<td valign="top" align="center">18</td>
<td valign="top" align="center">3</td>
<td valign="top" align="center">0.413</td>
<td valign="top" align="center">0.420</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">8.114</td>
<td valign="top" align="center">8.144</td>
<td valign="top" align="center">0</td>
</tr>
<tr>
<td valign="top" align="center">19</td>
<td valign="top" align="center">5</td>
<td valign="top" align="center">0.278</td>
<td valign="top" align="center">0.269</td>
<td valign="top" align="center">3</td>
<td valign="top" align="center">5.617</td>
<td valign="top" align="center">5.636</td>
<td valign="top" align="center">0</td>
</tr>
<tr>
<td valign="top" align="center">20</td>
<td valign="top" align="center">4</td>
<td valign="top" align="center">0.400</td>
<td valign="top" align="center">0.400</td>
<td valign="top" align="center">0</td>
<td valign="top" align="center">3.729</td>
<td valign="top" align="center">3.729</td>
<td valign="top" align="center">0</td>
</tr>
<tr>
<td valign="top" align="center">21</td>
<td valign="top" align="center">6</td>
<td valign="top" align="center">0.600</td>
<td valign="top" align="center">0.600</td>
<td valign="top" align="center">0</td>
<td valign="top" align="center">21.081</td>
<td valign="top" align="center">21.082</td>
<td valign="top" align="center">0</td>
</tr>
<tr>
<td valign="top" align="center">22</td>
<td valign="top" align="center">5</td>
<td valign="top" align="center">0.750</td>
<td valign="top" align="center">0.760</td>
<td valign="top" align="center">1</td>
<td valign="top" align="center">6.807</td>
<td valign="top" align="center">6.661</td>
<td valign="top" align="center">2</td>
</tr>
<tr>
<td/>
<td valign="top" align="center"><bold>Group</bold></td>
<td valign="top" align="center">0.491 &#x000B1; 0.221</td>
<td valign="top" align="center">0.492 &#x000B1; 0.224</td>
<td valign="top" align="center">1 &#x000B1; 1</td>
<td valign="top" align="center">12.95 &#x000B1; 15.42</td>
<td valign="top" align="center">12.94 &#x000B1; 15.42</td>
<td valign="top" align="center">0.1 &#x000B1; 0.5</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<p><italic>S_ID, Subject Identification number; &#x00023;, number of; R<sup>2</sup>, coefficient of determination; MAE, mean absolute error; % difference, absolute percentage change in original and synthetic</italic>.</p>
</table-wrap-foot>
</table-wrap></sec>
<sec>
<title>Performance of BiLSTM on Original vs. Synthetic Data</title>
<p>To estimate the performance of the BiLSTM following metrics were computed: sensitivity (Sn or recall), specificity, accuracy (for training, validation, and testing data), positive predictive value (PPV or precision), F1-score, and area under the curve (AUC). The difference in the performance of the BiLSTM classifiers for original and synthetic data was visualized using ROC (receiver operating characteristic) curve by testing the relationship between sensitivity and 1-specificity.</p></sec>
<sec>
<title>Implementation Details</title>
<p>The BiLSTM and TGAN models were tested in Python, and t-SNE analysis was performed in MATLAB. We utilized Keras (<xref ref-type="bibr" rid="B26">26</xref>), scikit-learn, an open-source Python API that takes into account the neural organization structures based on top of TensorFlow, to construct all learning models.</p></sec></sec>
<sec sec-type="results" id="s3">
<title>Results</title>
<sec>
<title>Safety and Localization of Thalamic Electrodes</title>
<p>Thirteen subjects were included in the study, with 10 had electrodes localized to the anterior nucleus of the thalamus (ANT) and 3 in the centrolateral thalamic nuclei (<xref ref-type="table" rid="T1">Table 1</xref>, <xref ref-type="fig" rid="F4">Figure 4</xref>). CT brain (post-implant and post-explant) did not show any thalamic hemorrhage. Eight subjects were implanted on the right side and three on the left side.</p>
<fig id="F4" position="float">
<label>Figure 4</label>
<caption><p><bold>(A)</bold> Coregistration of post-implant CT scan on pre-implant MRI and Morel&#x00027;s thalamic atlas to determine the exact localization of thalamic targets. <bold>(A)</bold> An example of the electrode localized to the central thalamic nucleus (CL). <bold>(B)</bold> An example of the electrode localized to the anterior thalamic nucleus (ANT).</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fneur-13-755094-g0004.tif"/>
</fig></sec>
<sec>
<title>Clinico-Demographic Details of Subjects</title>
<p><xref ref-type="table" rid="T1">Table 1</xref> summarizes the clinic-demographic details of the subjects included in this study. A total of 84 seizures from 13 subjects were analyzed. The seizure onset zone was determined based on the clinical consensus among the epileptologists during the epilepsy surgical conference. The identified seizure focus was: medial temporal (4 subjects), mesial &#x0002B; temporal pole onset (3 subjects), temporal plus (5 subjects), with the plus representing additional seizure foci (orbitofrontal or insula or suprasylvian operculum) (<xref ref-type="bibr" rid="B27">27</xref>). The seizure types were: ES (<xref ref-type="bibr" rid="B19">19</xref>), FAS (<xref ref-type="bibr" rid="B24">24</xref>), FIAS (<xref ref-type="bibr" rid="B28">28</xref>), and FBTCS (<xref ref-type="bibr" rid="B6">6</xref>).</p></sec>
<sec>
<title>TGAN Augmented Synthetic Data Were Comparable to the Original SEEG Data</title>
<p>The TGAN generated synthetic data was similar to the original SEEG data. At baseline, there was no difference between the mean coefficient of determination (<italic>R</italic><sup>2</sup>) of the original and synthetic data (original: 0.484 &#x000B1; 0.251, synthetic: 0.487 &#x000B1; 0.256, <italic>t</italic> = &#x02212;0.6, <italic>p</italic> = 0.27). Similarly, there was no difference in the mean absolute error (MAE) of original and synthetic data (original: 10.34 &#x000B1; 8.25, synthetic: 10.32 &#x000B1; 8.21, <italic>t</italic> = 0.008, <italic>p</italic> = 0.49). Similarly, the TGAN augmented data synthesized during the ictal period did not differ from the original data in <italic>R</italic><sup>2</sup> (original: 0.491 &#x000B1; 0.221, synthetic: 0.492 &#x000B1; 0.224, <italic>t</italic> = &#x02212;0.0097, <italic>p</italic> = 0.49) and the MAE (original: 12.95 &#x000B1; 15.42, synthetic: 12.94 &#x000B1; 15.42, <italic>t</italic> = 0.001, <italic>p</italic> = 0.49).</p></sec>
<sec>
<title>TGAN Augmented Synthetic Data Enhanced the Performance of the BiLSTM Classifier</title>
<p>We constructed ROC curves to determine the performance of the BiLSTM on original, and TGAN augmented synthetic data. The classification of the ictal from the baseline data was superior with the synthetic TGAN augmented data compared to the original data (original: AUC: 60% and synthetic: 78.5%, <xref ref-type="fig" rid="F5">Figure 5A</xref>). This improvement in the performance of the BiLSTM models could be better visualized using three component t-SNE plots (<xref ref-type="fig" rid="F5">Figures 5B&#x02013;D</xref>). T-SNE of original data failed to parse the ictal and baseline clusters separately (<xref ref-type="fig" rid="F5">Figure 5B</xref>), while T-SNE performed on the TGAN augmented synthetic data with the same parameters, demonstrated a clear separation into ictal and the baseline clusters (<xref ref-type="fig" rid="F5">Figure 5C</xref>). We initially noted that the ictal clusters were further separated in space into multiple clusters. A t-SNE indexed by the subject ID showed that TGAN amplifies the ictal data specific to each patient that is distinctly different from their comparable baselines (<xref ref-type="fig" rid="F5">Figure 5D</xref>). The result suggests that the patient-specific electrographic seizure onset patterns were retained in the TGAN augmented data (<xref ref-type="fig" rid="F5">Figure 5D</xref>).</p>
<fig id="F5" position="float">
<label>Figure 5</label>
<caption><p><bold>(A)</bold> Receiver operator characteristic (ROC) curves comparing the performance of BiLSTM models trained with original and TGAN augmented synthetic data. <bold>(B)</bold> T-SNE plot of the original SEEG data showing the baseline (red) and ictal (blue) data. <bold>(C)</bold> T-SNE plot of the TGAN augmented synthetic data shows a clear distinction between the two groups (baseline in red and ictal in blue). <bold>(D)</bold> A t-SNE indexed by the subject ID showed that TGAN amplifies the ictal data specific to each patient that is distinctly different from their comparable baselines (the different colors are indicative of the data different 13 different subjects). In conjunction with C, we understand that data is not only classified based on ictal and interictal data, but also distinctly clustered based on individual subjects&#x00027; data.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fneur-13-755094-g0005.tif"/>
</fig>
<p>Overall, the performance of the BiLSTM in classifying ictal and baseline states from thalamic SEEG data was enhanced by the use of TGAN generated synthetic data over the original data. The accuracy of the training data improved by 31.75%, the validation data improved by 32.1%, and finally, the testing data improved by 18.5%. The sensitivity and PPV of the BiLSTM classifier on improved by 13 and 10% on the testing data (<xref ref-type="fig" rid="F6">Figure 6</xref>).</p>
<fig id="F6" position="float">
<label>Figure 6</label>
<caption><p>Bi-directional Long Short-Term memory (BiLSTM) classification results using original and time generative adversarial networks (Time-GAN) generated synthetic data. Ac, accuracy; PPV, positive predictive value, Sn, sensitivity; Sp, specificity; F1, F-score; AUC, area under the curve, %, percentage.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fneur-13-755094-g0006.tif"/>
</fig></sec></sec>
<sec id="s4">
<title>Discussions</title>
<p>Currently the only clinically available neuromodulation system that is based on a close loop system approved by the United States Food and Drug Administration (FDA) is the Responsive neurostimulation. To date this device has been extensively used to target neuromodulation in the cortical regions. This device uses amplitude threshold and line-length as the main seizure detection algorithms. There have been anecdotal reports of implanting the human thalamus with RNS, where the seizures were still detected in the cortex but the stimulation was performed in the ANT. There has been growing literature that thalamus is involved early in focal seizures, particularly in TLE. Some studies have also tried to detect seizures from human thalamus. This detection of seizures from the human thalamus and understanding the pattern of involvement of thalamus on focal seizures is of utmost importance while developing closed-loop DBS systems. To date, it has been shown that ANT DBS (open loop) has had great success in patients with drug resistant epilepsy particularly those patients who are negative for a lesion on the MRI, with a median seizure frequency reduction of 75% at 7 years of therapy.</p>
<p>Newer sensing-enabled DBS systems have been approved by the FDA since 2018 in the practice of epilepsy and since 2002 for Parkinson&#x00027;s disease. These devices offer closed loop sensing and diary functions (record of events) to monitor symptoms and tailor therapeutic stimulation. A recent study has shown that closed loop neurostimulation within the human thalamus has shown a &#x02265;50% reduction in seizure frequency with no adverse effects on mood, memory or behavior. With the advent of such sensing-enabled closed loop systems, there is a clinical need to develop seizure detection algorithms from the thalamic SEEG and not just from the cortical seizure onset zone. One of the most critical steps in enabling sensing, is to develop patient-specific detection based on individual subject&#x00027;s thalamic seizure patterns. Often, the data obtained from a single subject is limited and hence the translation of deep learning approaches has been hindered by the lack of larger samples of curated ictal thalamic SEEG needed for training these classifiers. Here, we demonstrate the utility of generating synthetic data using GAN that can augment the sample size and improve the performance of BiLSTM. Importantly, this approach can be applied to classify electrographic seizure onset patterns or develop patient-specific seizure detectors from implanted neuromodulation devices. In summary, we found that Time-GAN helps generate synthetic time series that resemble the original data, with a very small mean absolute error rate of 0.1 &#x000B1; 0.5% between the original and the augmented data. In fact, when this time-GAN augmented data was used in BiLSTM classifier to detect the ictal state, we noticed that the accuracy of the classifier improved by 18.5%, sensitivity by 13% and PPV by 10% when compared to classifying using the original data. Though marginal, such an improvement is promising and further refinement of such models are required to optimize seizure detection in the thalamus.</p>
<sec>
<title>Performance of Deep Learning Algorithms for Seizure Detection</title>
<p><xref ref-type="table" rid="T3">Table 3</xref> summarizes the performance of deep learning algorithms in detecting seizures from electrophysiological signals recorded from the scalp and intracortical regions (LFPs). To date, deep learning algorithms to detect seizures were applied to EEG obtained from the cortical areas that participate in seizure generation. Our study is distinct and the first of its kind to perform deep learning detection on EEG recordings from a brain region that is remote to the seizure focus.</p>
<table-wrap position="float" id="T3">
<label>Table 3</label>
<caption><p>Summary of prior studies evaluating deep learning for seizure detection.</p></caption>
<table frame="hsides" rules="groups">
<thead><tr>
<th valign="top" align="left"><bold>References</bold></th>
<th valign="top" align="left"><bold>Algorithm</bold></th>
<th valign="top" align="center"><bold>No. of classes</bold></th>
<th valign="top" align="center"><bold>No. of patients:No. of seizures</bold></th>
<th valign="top" align="center"><bold>Accuracy (%)</bold></th>
<th valign="top" align="left"><bold>Data type</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Tsiouris et al. (<xref ref-type="bibr" rid="B29">29</xref>)</td>
<td valign="top" align="left">LSTM</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">23:198</td>
<td valign="top" align="center">99.8</td>
<td valign="top" align="left">ICEEG</td>
</tr>
<tr>
<td valign="top" align="left">Ullah et al. (<xref ref-type="bibr" rid="B30">30</xref>)</td>
<td valign="top" align="left">CNN</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">5:100</td>
<td valign="top" align="center">99.8</td>
<td valign="top" align="left">Scalp and ICEEG</td>
</tr>
<tr>
<td valign="top" align="left">Abdelhameed et al. (<xref ref-type="bibr" rid="B31">31</xref>)</td>
<td valign="top" align="left">Deep LSTM</td>
<td valign="top" align="center">5</td>
<td valign="top" align="center">5:100</td>
<td valign="top" align="center">100</td>
<td valign="top" align="left">Scalp and ICEEG</td>
</tr>
<tr>
<td valign="top" align="left">Avcu et al. (<xref ref-type="bibr" rid="B32">32</xref>)</td>
<td valign="top" align="left">Deep CNN</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">29:120</td>
<td valign="top" align="center">93.3</td>
<td valign="top" align="left">ICEEG</td>
</tr>
<tr>
<td valign="top" align="left">San-segundo et al. (<xref ref-type="bibr" rid="B33">33</xref>)</td>
<td valign="top" align="left">Deep CNN</td>
<td valign="top" align="center">3</td>
<td valign="top" align="center">5, 500:3,750, 11,500</td>
<td valign="top" align="center">95.7</td>
<td valign="top" align="left">ICEEG</td>
</tr>
<tr>
<td valign="top" align="left">Lu et al. (<xref ref-type="bibr" rid="B34">34</xref>)</td>
<td valign="top" align="left">Deep CNN</td>
<td valign="top" align="center">3</td>
<td valign="top" align="center">5, 500:3,750, 11,500</td>
<td valign="top" align="center">91.8</td>
<td valign="top" align="left">Scalp</td>
</tr>
<tr>
<td valign="top" align="left">Asif et al. (<xref ref-type="bibr" rid="B35">35</xref>)</td>
<td valign="top" align="left">SeizureNet</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">500:11,500</td>
<td valign="top" align="center">94.0</td>
<td valign="top" align="left">Scalp</td>
</tr>
<tr>
<td valign="top" align="left">Yao et al. (<xref ref-type="bibr" rid="B28">28</xref>)</td>
<td valign="top" align="left">BiLSTM</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">23:665</td>
<td valign="top" align="center">84.55</td>
<td valign="top" align="left">Scalp</td>
</tr>
<tr>
<td valign="top" align="left">Hu et al. (<xref ref-type="bibr" rid="B36">36</xref>)</td>
<td valign="top" align="left">BiLSTM</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">23:665</td>
<td valign="top" align="center">93.61</td>
<td valign="top" align="left">Scalp</td>
</tr>
<tr>
<td valign="top" align="left">Yan et al. (<xref ref-type="bibr" rid="B37">37</xref>)</td>
<td valign="top" align="left">CNN</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">679:177</td>
<td valign="top" align="center">98</td>
<td valign="top" align="left">ICEEG</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<p><italic>ICEEG, intracranial EEG; LSTM, long short term memory; BiLSTM, bidirectional long short-term memory; CNN, Convolutional Neural Network</italic>.</p>
</table-wrap-foot>
</table-wrap>
<p>As expected, the performance of these classifiers was higher with biosignals obtained directly from the cortex than from the scalp which is likely to be closer to the seizure focus. In those studies, the sample size for deep learning consisted of over 100 ictal EEG data. The main motivation of this study is to highlight how data augmentation techniques can improve the accuracy of the classifier, albeit a lower overall performance of our classifier in comparison to other studies. Even when data is smaller (84 seizures), we can use data-augmentation methods to enhance the performance of the classifier (accuracy improved by 18% in our current study) and improve the detection performed in subcortical neuromodulatory targets such as the thalamus, which are distant and outside the seizure cortex. Wei et al. (<xref ref-type="bibr" rid="B38">38</xref>) were among the pioneering teams in demonstrating improved seizure detection in scalp EEG with GAN models. They used the Wasserstein Generative Adversarial Nets (WGANs) combined with a convolutional neural network (CNN) to demonstrate a 3% improvement in accuracy (81.5&#x02013;84.4%) and a near 2% improvement in the sensitivity (70.68&#x02013;72.11%). In our study, the accuracy and sensitivity improved by 18.5 and 13%, respectively. Zhao et al. (<xref ref-type="bibr" rid="B39">39</xref>), in their model with a 1D-CNN with data-augmentation on data obtained from intracranial EEG data that was close to seizure focus, achieve an improvement of only 3% (accuracy of 89.28% compared to 86.89 with a support vector machine). They proposed a data augmentation method which leverages feature correlations in the transformed domain rather than in the original domain where time-domain data is converted to the frequency domain by discrete cosine transform (DCT), and new artificial data is generated by combining different frequency bands from different data, and converted back to time-domain data. Overall, these studies and ours, point to the promising future of using data augmentation techniques for better seizure detection to improve therapeutic stimulation.</p></sec>
<sec>
<title>Augmented Subject-Specific Classification With Temporal GAN</title>
<p>GANs, are deep-learning algorithms where two competing networks, namely the generator and the discriminator, compete against each other until the generator generates artificial data of high quality. According to Goodfellow et al. (<xref ref-type="bibr" rid="B40">40</xref>), &#x0201C;the generative models are analogous to a team of counterfeiters trying to produce fake currency without being detected. The discriminative model is analogous to the police trying to detect fake currency. The competition between the generator and discriminator drives improvement until the counterfeiters are indistinguishable from the genuine currency.&#x0201D; Thus, GAN has been used to classify interictal spikes and in EEG-based brain-computer interfaces. Our result supports the use of GAN to produce synthetic data to augment the performance by 18% as compared to using only the original data. The ability to classify seizures from limited samples of unprocessed LFP signals may provide a clinical advantage in neuromodulation devices where efficient processing at a lower computational expense is desired.</p></sec>
<sec>
<title>Study Limitations</title>
<p>There is a proof-of-concept study evaluating the use of synthetic data in augmenting sample size for deep learning. The study needs to be extended to a larger cohort with thalamic recordings of seizures and interictal baseline. One major challenge of the temporal GAN model is that it is computationally intense and consumes time to learn or converge to local minima and hence slows the training process. Another limitation of GAN is that the presence of discontinuous (e.g., ECoGs obtained from clinical neuromodulation devices) data may synthesize incorrect data. In our study, the duration of the data used for time-GAN analysis was 14 s based on the shortest duration of the ictal event from our cohort and in the future the results need to be optimized to individual patients, in whom the seizure durations are likely to vary significantly. This will also have a bearing on minimizing the detection latencies in the future models. Such sophisticated models will help build closed-loop neuromodulation strategies where early seizure detection can be used to pace the brain to abort seizures. Regarding the size of our data-set, we used 63 seizures from 11 patients&#x00027; data for training and 21 seizures from 2 patients&#x00027;s data for testing the BiLSTM and Time-GAN models. While our study did show a reasonable improvement in the accuracy of the BiLSTM models and can be used as a proof of concept, in the future it is essential to validate this using random sampling of the patients&#x00027; data and at individual subject level to emphasize and validate its clinical use. Also, cross validation across all patients&#x00027; data would further strengthen the validity of the model. Since GAN is time consuming and resource demanding, our purpose was not to run it on all subjects but show how even in few subjects an improved accuracy can be obtained. Another limitation is that we did not determine the exact cause of improved accuracy and test the fidelity, diversity, and generalization of the data augmentation method, i.e., TGAN. These measures help determine the point at which the generative model surpasses and fools the discriminative network. Once the TGAN augmented data robustly mimics the real data, the TGAN-output is then used as the input in BiLSTM models improve accuracy. TGANs supersede BiLSTMs at finding a better low dimensional representation and hence may contribute to improved accuracy. In our study, we were interested in showing if the TGAN is able to produce synthetic data effectively from available limited samples and whether that use of the synthetic data shows elevated performance as compared to the using the original data only and a more detailed validation of TGAN was to voluminous for this study.</p></sec></sec>
<sec sec-type="conclusions" id="s5">
<title>Conclusion</title>
<p>The ability to detect seizures from the thalamus- a structure remote to the seizure focus is clinically necessary for monitoring seizure burden in drug-resistant epilepsies where seizure foci are non-localizable. In this study, we demonstrate the use of synthetic data to augment sample size and improve deep learning performance in detecting seizures from the human thalamic SEEG. The proposed framework should be extended to a larger cohort of patients with thalamic DBS in multifocal epilepsies.</p></sec>
<sec sec-type="data-availability" id="s6">
<title>Data Availability Statement</title>
<p>The datasets presented in this article are not readily available because the data is controlled by IRB. Requests to access the datasets should be directed to <email>patilabuab&#x00040;gmail.com</email>.</p></sec>
<sec id="s7">
<title>Ethics Statement</title>
<p>The studies involving human participants were reviewed and approved by University of Alabama Birmingham Medical Center. The patients/participants provided their written informed consent to participate in this study.</p></sec>
<sec id="s8">
<title>Author Contributions</title>
<p>BG and GC analyzed, interpreted, and helped in writing the mansucript. KB supervised data analysis, interpretation, and revised the mansucript. RB and NN provided analytical tools and helped in analysis of the data. SP obtained IRB approval, designed the study, interpreted the data, and wrote and revised the manuscript. All authors approved the final version of the manuscript.</p></sec>
<sec sec-type="funding-information" id="s9">
<title>Funding</title>
<p>SP would like to acknowledge the USA National Science Foundation Grant (NSF RII-2 FEC OIA-1632891) that provided protected time for research.</p></sec>
<sec sec-type="COI-statement" id="conf1">
<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="s10">
<title>Publisher&#x00027;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> </body>
<back><sec sec-type="supplementary-material" id="s11">
<title>Supplementary Material</title>
<p>The Supplementary Material for this article can be found online at: <ext-link ext-link-type="uri" xlink:href="https://www.frontiersin.org/articles/10.3389/fneur.2022.755094/full#supplementary-material">https://www.frontiersin.org/articles/10.3389/fneur.2022.755094/full#supplementary-material</ext-link></p>
<supplementary-material xlink:href="Data_Sheet_1.PDF" id="SM1" mimetype="application/pdf" xmlns:xlink="http://www.w3.org/1999/xlink"/></sec>
<ref-list>
<title>References</title>
<ref id="B1">
<label>1.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Neligan</surname> <given-names>A</given-names></name> <name><surname>Hauser</surname> <given-names>WA</given-names></name> <name><surname>Sander</surname> <given-names>JW</given-names></name></person-group>. <article-title>The epidemiology of the epilepsies</article-title>. <source>Handb Clin Neurol.</source> (<year>2012</year>) <volume>107</volume>:<fpage>113</fpage>&#x02013;<lpage>33</lpage>. <pub-id pub-id-type="doi">10.1016/B978-0-444-52898-8.00006-9</pub-id></citation>
</ref>
<ref id="B2">
<label>2.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Devinsky</surname> <given-names>O</given-names></name> <name><surname>Hesdorffer</surname> <given-names>DC</given-names></name> <name><surname>Thurman</surname> <given-names>DJ</given-names></name> <name><surname>Lhatoo</surname> <given-names>S</given-names></name> <name><surname>Richerson</surname> <given-names>G</given-names></name></person-group>. <article-title>Sudden unexpected death in epilepsy: epidemiology, mechanisms, and prevention</article-title>. <source>Lancet Neurol.</source> (<year>2016</year>) <volume>15</volume>:<fpage>1075</fpage>&#x02013;<lpage>88</lpage>. <pub-id pub-id-type="doi">10.1016/S1474-4422(16)30158-2</pub-id><pub-id pub-id-type="pmid">27571159</pub-id></citation></ref>
<ref id="B3">
<label>3.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Muhlhofer</surname> <given-names>W</given-names></name> <name><surname>Tan</surname> <given-names>Y-L</given-names></name> <name><surname>Mueller</surname> <given-names>SG</given-names></name> <name><surname>Knowlton</surname> <given-names>R</given-names></name></person-group>. <article-title>MRI-negative temporal lobe epilepsy-What do we know?</article-title> <source>Epilepsia.</source> (<year>2017</year>) <volume>58</volume>:<fpage>727</fpage>&#x02013;<lpage>42</lpage>. <pub-id pub-id-type="doi">10.1111/epi.13699</pub-id><pub-id pub-id-type="pmid">28266710</pub-id></citation></ref>
<ref id="B4">
<label>4.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wang</surname> <given-names>X</given-names></name> <name><surname>Zhang</surname> <given-names>C</given-names></name> <name><surname>Wang</surname> <given-names>Y</given-names></name> <name><surname>Hu</surname> <given-names>W</given-names></name> <name><surname>Shao</surname> <given-names>X</given-names></name> <name><surname>Zhang</surname> <given-names>J-G</given-names></name> <etal/></person-group>. <article-title>Prognostic factors for seizure outcome in patients with MRI-negative temporal lobe epilepsy: a meta-analysis and systematic review</article-title>. <source>Seizure.</source> (<year>2016</year>) <volume>38</volume>:<fpage>54</fpage>&#x02013;<lpage>62</lpage>. <pub-id pub-id-type="doi">10.1016/j.seizure.2016.04.002</pub-id><pub-id pub-id-type="pmid">27182689</pub-id></citation></ref>
<ref id="B5">
<label>5.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Salanova</surname> <given-names>V</given-names></name> <name><surname>Witt</surname> <given-names>T</given-names></name> <name><surname>Worth</surname> <given-names>R</given-names></name> <name><surname>Henry</surname> <given-names>TR</given-names></name> <name><surname>Gross</surname> <given-names>RE</given-names></name> <name><surname>Nazzaro</surname> <given-names>JM</given-names></name> <etal/></person-group>. <article-title>Long-term efficacy and safety of thalamic stimulation for drug-resistant partial epilepsy</article-title>. <source>Neurology.</source> (<year>2015</year>) <volume>84</volume>:<fpage>1017</fpage>&#x02013;<lpage>25</lpage>. <pub-id pub-id-type="doi">10.1212/WNL.0000000000001334</pub-id><pub-id pub-id-type="pmid">25663221</pub-id></citation></ref>
<ref id="B6">
<label>6.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Manzouri</surname> <given-names>F</given-names></name> <name><surname>Heller</surname> <given-names>S</given-names></name> <name><surname>D&#x000FC;mpelmann</surname> <given-names>M</given-names></name> <name><surname>Woias</surname> <given-names>P</given-names></name> <name><surname>Schulze-Bonhage</surname> <given-names>A</given-names></name></person-group>. <article-title>A comparison of machine learning classifiers for energy-efficient implementation of seizure detection</article-title>. <source>Front Syst Neurosci</source>. (<year>2018</year>) <volume>12</volume>:<fpage>43</fpage>. <pub-id pub-id-type="doi">10.3389/fnsys.2018.00043</pub-id><pub-id pub-id-type="pmid">30294263</pub-id></citation></ref>
<ref id="B7">
<label>7.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Shen</surname> <given-names>Y</given-names></name></person-group>. <article-title>Machine learning based epileptic seizure detection for responsive neurostimulator system optimization</article-title>. <source>J Phys.</source> (<year>2020</year>) <volume>1453</volume>:<fpage>012089</fpage>. <pub-id pub-id-type="doi">10.1088/1742-6596/1453/1/012089</pub-id></citation>
</ref>
<ref id="B8">
<label>8.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>D&#x000FC;mpelmann</surname> <given-names>M</given-names></name></person-group>. <article-title>Early seizure detection for closed loop direct neurostimulation devices in epilepsy</article-title>. <source>J Neural Eng.</source> (<year>2019</year>) <volume>16</volume>:<fpage>041001</fpage>. <pub-id pub-id-type="doi">10.1088/1741-2552/ab094a</pub-id><pub-id pub-id-type="pmid">30790780</pub-id></citation></ref>
<ref id="B9">
<label>9.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sridevi</surname> <given-names>V</given-names></name> <name><surname>Ramasubba Reddy</surname> <given-names>M</given-names></name> <name><surname>Srinivasan</surname> <given-names>K</given-names></name> <name><surname>Radhakrishnan</surname> <given-names>K</given-names></name> <name><surname>Rathore</surname> <given-names>C</given-names></name> <name><surname>Nayak</surname> <given-names>DS</given-names></name></person-group>. <article-title>Improved patient-independent system for detection of electrical onset of seizures</article-title>. <source>J Clin Neurophysiol.</source> (<year>2019</year>) <volume>36</volume>:<fpage>14</fpage>&#x02013;<lpage>24</lpage>. <pub-id pub-id-type="doi">10.1097/WNP.0000000000000533</pub-id><pub-id pub-id-type="pmid">30383718</pub-id></citation></ref>
<ref id="B10">
<label>10.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Sharathappriyaa</surname> <given-names>V</given-names></name> <name><surname>Gautham</surname> <given-names>S</given-names></name> <name><surname>Lavanya</surname> <given-names>R</given-names></name></person-group>. <article-title>Auto-encoder based automated epilepsy diagnosis</article-title>. In: <source>2018 International Conference on Advances in Computing, Communications and Informatics (ICACCI).</source> <publisher-loc>Bangalore</publisher-loc>: <publisher-name>IEEE</publisher-name> (<year>2018</year>). p. <fpage>976</fpage>&#x02013;<lpage>982</lpage>. <pub-id pub-id-type="doi">10.1109/ICACCI.2018.8554697</pub-id><pub-id pub-id-type="pmid">27295638</pub-id></citation></ref>
<ref id="B11">
<label>11.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Bulusu</surname> <given-names>S</given-names></name> <name><surname>Sai Surya Siva Prasad</surname> <given-names>R</given-names></name> <name><surname>Telluri</surname> <given-names>P</given-names></name> <name><surname>Neelima</surname> <given-names>N</given-names></name></person-group>. <article-title>Methods for epileptic seizure prediction using EEG signals: a survey. In: Hemanth DJ, Vadivu G, Sangeetha M, Balas VE, editors</article-title>. <source>Artificial Intelligence Techniques for Advanced Computing Applications</source>. <publisher-loc>Singapore</publisher-loc>: <publisher-name>Springer</publisher-name> (<year>2020</year>). p. <fpage>101</fpage>&#x02013;<lpage>15</lpage>. <pub-id pub-id-type="doi">10.1007/978-981-15-5329-5_10</pub-id></citation>
</ref>
<ref id="B12">
<label>12.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Naderi</surname> <given-names>MA</given-names></name> <name><surname>Mahdavi-Nasab</surname> <given-names>H</given-names></name></person-group>. <article-title>Analysis and classification of EEG signals using spectral analysis and recurrent neural networks</article-title>. in <source>2010 17th Iranian Conference of Biomedical Engineering (ICBME)</source>. Isfahan (<year>2010</year>). p. <fpage>1</fpage>&#x02013;<lpage>4</lpage>. <pub-id pub-id-type="doi">10.1109/ICBME.2010.5704931</pub-id><pub-id pub-id-type="pmid">27295638</pub-id></citation></ref>
<ref id="B13">
<label>13.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Toth</surname> <given-names>E</given-names></name> <name><surname>Kumar</surname> <given-names>S</given-names></name> <name><surname>Ganne</surname> <given-names>C</given-names></name> <name><surname>Riley</surname> <given-names>KO</given-names></name> <name><surname>Balasubramanian</surname> <given-names>K</given-names></name> <name><surname>Pati</surname> <given-names>S</given-names></name></person-group>. <article-title>Machine learning approach to detect focal-onset seizures in the human anterior nucleus of the thalamus</article-title>. <source>J Neural Eng.</source> (<year>2020</year>) <volume>17</volume>:<fpage>1</fpage>&#x02013;<lpage>12</lpage>. <pub-id pub-id-type="doi">10.1101/2020.09.18.20196857</pub-id><pub-id pub-id-type="pmid">33059336</pub-id></citation></ref>
<ref id="B14">
<label>14.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Pizarro</surname> <given-names>D</given-names></name> <name><surname>Ilyas</surname> <given-names>A</given-names></name> <name><surname>Chaitanya</surname> <given-names>G</given-names></name> <name><surname>Toth</surname> <given-names>E</given-names></name> <name><surname>Irannejad</surname> <given-names>A</given-names></name> <name><surname>Romeo</surname> <given-names>A</given-names></name> <etal/></person-group>. <article-title>Spectral organization of focal seizures within the thalamotemporal network</article-title>. <source>Ann Clin Transl Neurol.</source> (<year>2019</year>) <volume>6</volume>:<fpage>1836</fpage>&#x02013;<lpage>48</lpage>. <pub-id pub-id-type="doi">10.1002/acn3.50880</pub-id><pub-id pub-id-type="pmid">31468745</pub-id></citation></ref>
<ref id="B15">
<label>15.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hochreiter</surname> <given-names>S</given-names></name> <name><surname>Schmidhuber</surname> <given-names>J</given-names></name></person-group>. <article-title>Long short-term memory</article-title>. <source>Neural Comput.</source> (<year>1997</year>) <volume>9</volume>:<fpage>1735</fpage>&#x02013;<lpage>80</lpage>. <pub-id pub-id-type="doi">10.1162/neco.1997.9.8.1735</pub-id><pub-id pub-id-type="pmid">9377276</pub-id></citation></ref>
<ref id="B16">
<label>16.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Yu</surname> <given-names>Y</given-names></name> <name><surname>Si</surname> <given-names>X</given-names></name> <name><surname>Hu</surname> <given-names>C</given-names></name> <name><surname>Zhang</surname> <given-names>J</given-names></name></person-group>. <article-title>A review of recurrent neural networks: LSTM cells and network architectures</article-title>. <source>Neural Comput.</source> (<year>2019</year>) <volume>31</volume>:<fpage>1235</fpage>&#x02013;<lpage>70</lpage>. <pub-id pub-id-type="doi">10.1162/neco_a_01199</pub-id><pub-id pub-id-type="pmid">31113301</pub-id></citation></ref>
<ref id="B17">
<label>17.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chaitanya</surname> <given-names>G</given-names></name> <name><surname>Romeo</surname> <given-names>AK</given-names></name> <name><surname>Ilyas</surname> <given-names>A</given-names></name> <name><surname>Irannejad</surname> <given-names>A</given-names></name> <name><surname>Toth</surname> <given-names>E</given-names></name> <name><surname>Elsayed</surname> <given-names>G</given-names></name> <etal/></person-group>. <article-title>Robot-assisted stereoelectroencephalography exploration of the limbic thalamus in human focal epilepsy: implantation technique and complications in the first 24 patients</article-title>. <source>Neurosurg Focus.</source> (<year>2020</year>) <volume>48</volume>:<fpage>E2</fpage>. <pub-id pub-id-type="doi">10.3171/2020.1.FOCUS19887</pub-id><pub-id pub-id-type="pmid">32234983</pub-id></citation></ref>
<ref id="B18">
<label>18.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Horn</surname> <given-names>A</given-names></name> <name><surname>Li</surname> <given-names>N</given-names></name> <name><surname>Dembek</surname> <given-names>TA</given-names></name> <name><surname>Kappel</surname> <given-names>A</given-names></name> <name><surname>Boulay</surname> <given-names>C</given-names></name> <name><surname>Ewert</surname> <given-names>S</given-names></name> <etal/></person-group>. <article-title>Lead-DBS v2: towards a comprehensive pipeline for deep brain stimulation imaging</article-title>. <source>Neuroimage.</source> (<year>2019</year>) <volume>184</volume>:<fpage>293</fpage>&#x02013;<lpage>316</lpage>. <pub-id pub-id-type="doi">10.1016/j.neuroimage.2018.08.068</pub-id><pub-id pub-id-type="pmid">30179717</pub-id></citation></ref>
<ref id="B19">
<label>19.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Blenkmann</surname> <given-names>AO</given-names></name> <name><surname>Phillips</surname> <given-names>HN</given-names></name> <name><surname>Princich</surname> <given-names>JP</given-names></name> <name><surname>Rowe</surname> <given-names>JB</given-names></name> <name><surname>Bekinschtein</surname> <given-names>TA</given-names></name> <name><surname>Muravchik</surname> <given-names>CH</given-names></name> <etal/></person-group>. <article-title>iElectrodes: a comprehensive open-source toolbox for depth and subdural grid electrode localization</article-title>. <source>Front Neuroinform</source>. (<year>2017</year>) <volume>11</volume>:<fpage>14</fpage>. <pub-id pub-id-type="doi">10.3389/fninf.2017.00014</pub-id><pub-id pub-id-type="pmid">28303098</pub-id></citation></ref>
<ref id="B20">
<label>20.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Krauth</surname> <given-names>A</given-names></name> <name><surname>Blanc</surname> <given-names>R</given-names></name> <name><surname>Poveda</surname> <given-names>A</given-names></name> <name><surname>Jeanmonod</surname> <given-names>D</given-names></name> <name><surname>Morel</surname> <given-names>A</given-names></name> <name><surname>Sz&#x000E9;kely</surname> <given-names>G</given-names></name></person-group>. <article-title>A mean three-dimensional atlas of the human thalamus: generation from multiple histological data</article-title>. <source>Neuroimage</source>. (<year>2010</year>) <volume>49</volume>:<fpage>2053</fpage>&#x02013;<lpage>62</lpage>. <pub-id pub-id-type="doi">10.1016/j.neuroimage.2009.10.042</pub-id><pub-id pub-id-type="pmid">19853042</pub-id></citation></ref>
<ref id="B21">
<label>21.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Fisher</surname> <given-names>RS</given-names></name> <name><surname>Cross</surname> <given-names>JH</given-names></name> <name><surname>French</surname> <given-names>JA</given-names></name> <name><surname>Higurashi</surname> <given-names>N</given-names></name> <name><surname>Hirsch</surname> <given-names>E</given-names></name> <name><surname>Jansen</surname> <given-names>FE</given-names></name> <etal/></person-group>. <article-title>Operational classification of seizure types by the International League Against Epilepsy: position paper of the ILAE Commission for Classification and Terminology</article-title>. <source>Epilepsia.</source> (<year>2017</year>) <volume>58</volume>:<fpage>522</fpage>&#x02013;<lpage>30</lpage>. <pub-id pub-id-type="doi">10.1111/epi.13670</pub-id><pub-id pub-id-type="pmid">28276060</pub-id></citation></ref>
<ref id="B22">
<label>22.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Esteller</surname> <given-names>R</given-names></name> <name><surname>Echauz</surname> <given-names>J</given-names></name> <name><surname>Tcheng</surname> <given-names>T</given-names></name> <name><surname>Litt</surname> <given-names>B</given-names></name> <name><surname>Pless</surname> <given-names>B</given-names></name></person-group>. <article-title>Line length: an efficient feature for seizure onset detection</article-title>. In: <source>2001 Conference Proceedings of the 23rd Annual International Conference of the IEEE Engineering in Medicine and Biology Society</source>, <volume>Vol. 2</volume>. <publisher-loc>Istanbul</publisher-loc>: <publisher-name>IEEE</publisher-name> (<year>2001</year>). p. <fpage>1707</fpage>&#x02013;<lpage>10</lpage>.</citation>
</ref>
<ref id="B23">
<label>23.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Graves</surname> <given-names>A</given-names></name> <name><surname>Schmidhuber</surname> <given-names>J</given-names></name></person-group>. <article-title>Framewise phoneme classification with bidirectional LSTM and other neural network architectures</article-title>. <source>Neural Networks.</source> (<year>2005</year>) <volume>18</volume>:<fpage>602</fpage>&#x02013;<lpage>10</lpage>. <pub-id pub-id-type="doi">10.1016/j.neunet.2005.06.042</pub-id><pub-id pub-id-type="pmid">16112549</pub-id></citation></ref>
<ref id="B24">
<label>24.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Goyal</surname> <given-names>M</given-names></name> <name><surname>Goyal</surname> <given-names>R</given-names></name> <name><surname>Venkatappa Reddy</surname> <given-names>P</given-names></name> <name><surname>Lall</surname> <given-names>B</given-names></name></person-group>. <article-title>Activation functions. In: Pedrycz W, Chen SM, editors</article-title>. <source>Deep Learning: Algorithms and Applications Studies in Computational Intelligence</source>. <publisher-loc>Cham</publisher-loc>: <publisher-name>Springer International Publishing</publisher-name> (<year>2020</year>). p. <fpage>1</fpage>&#x02013;<lpage>30</lpage>. <pub-id pub-id-type="doi">10.1007/978-3-030-31760-7_1</pub-id></citation>
</ref>
<ref id="B25">
<label>25.</label>
<citation citation-type="web"><person-group person-group-type="author"><name><surname>Jinsung</surname> <given-names>Y</given-names></name> <name><surname>Daniel</surname> <given-names>J</given-names></name></person-group>. <article-title>Time-series Generative Adversarial Networks</article-title>. (<year>2019</year>). Available online at: <ext-link ext-link-type="uri" xlink:href="https://www.damtp.cam.ac.uk/user/dkj25/pdf/yoon2019time.pdf">https://www.damtp.cam.ac.uk/user/dkj25/pdf/yoon2019time.pdf</ext-link> (accessed October 31, 2021).</citation>
</ref>
<ref id="B26">
<label>26.</label>
<citation citation-type="web"><person-group person-group-type="author"><name><surname>Chollet</surname> <given-names>F</given-names></name></person-group>. <article-title>keras-team/keras. Keras</article-title> (<year>2021</year>). Available online at: <ext-link ext-link-type="uri" xlink:href="https://github.com/keras-team/keras">https://github.com/keras-team/keras</ext-link> (accessed April 2, 2021).</citation>
</ref>
<ref id="B27">
<label>27.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Barba</surname> <given-names>C</given-names></name> <name><surname>Rheims</surname> <given-names>S</given-names></name> <name><surname>Minotti</surname> <given-names>L</given-names></name> <name><surname>Gu&#x000E9;not</surname> <given-names>M</given-names></name> <name><surname>Hoffmann</surname> <given-names>D</given-names></name> <name><surname>Chabard&#x000E8;s</surname> <given-names>S</given-names></name> <etal/></person-group>. <article-title>Temporal plus epilepsy is a major determinant of temporal lobe surgery failures</article-title>. <source>Brain.</source> (<year>2016</year>) <volume>139</volume>(<issue>Pt 2</issue>):<fpage>444</fpage>&#x02013;<lpage>51</lpage>. <pub-id pub-id-type="doi">10.1093/brain/awv372</pub-id><pub-id pub-id-type="pmid">26966138</pub-id></citation></ref>
<ref id="B28">
<label>28.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Yao</surname> <given-names>X</given-names></name> <name><surname>Li</surname> <given-names>X</given-names></name> <name><surname>Ye</surname> <given-names>Q</given-names></name> <name><surname>Huang</surname> <given-names>Y</given-names></name> <name><surname>Cheng</surname> <given-names>Q</given-names></name> <name><surname>Zhang</surname> <given-names>G-Q</given-names></name> <etal/></person-group>. <article-title>robust deep learning approach for automatic classification of seizures against non-seizures</article-title>. <source>Biomed Signal Process Control.</source> (<year>2021</year>) <volume>64</volume>:<fpage>102215</fpage>. <pub-id pub-id-type="doi">10.1016/j.bspc.2020.102215</pub-id></citation>
</ref>
<ref id="B29">
<label>29.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Tsiouris</surname></name> <name><surname>Pezoulas</surname> <given-names>VC</given-names></name> <name><surname>Zervakis</surname> <given-names>M</given-names></name> <name><surname>Konitsiotis</surname> <given-names>S</given-names></name> <name><surname>Koutsouris</surname> <given-names>DD</given-names></name> <name><surname>Fotiadis</surname> <given-names>DI</given-names></name></person-group>. <article-title>A long short-term memory deep learning network for the prediction of epileptic seizures using EEG signals</article-title>. <source>Comput Biol Med.</source> (<year>2018</year>) <volume>99</volume>:<fpage>24</fpage>&#x02013;<lpage>37</lpage>. <pub-id pub-id-type="doi">10.1016/j.compbiomed.2018.05.019</pub-id><pub-id pub-id-type="pmid">29807250</pub-id></citation></ref>
<ref id="B30">
<label>30.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ullah</surname> <given-names>I</given-names></name> <name><surname>Hussain</surname> <given-names>M</given-names></name> <name><surname>Qazi</surname> <given-names>E-H</given-names></name> <name><surname>Aboalsamh</surname> <given-names>H</given-names></name></person-group>. <article-title>An automated system for epilepsy detection using EEG brain signals based on deep learning approach</article-title>. <source>Expert Syst Appl.</source> (<year>2018</year>) <volume>107</volume>:<fpage>61</fpage>&#x02013;<lpage>71</lpage>. <pub-id pub-id-type="doi">10.1016/j.eswa.2018.04.021</pub-id></citation>
</ref>
<ref id="B31">
<label>31.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Abdelhameed</surname> <given-names>AM</given-names></name> <name><surname>Daoud</surname> <given-names>HG</given-names></name> <name><surname>Bayoumi</surname> <given-names>M</given-names></name></person-group>. <article-title>Deep convolutional bidirectional LSTM recurrent neural network for epileptic seizure detection</article-title>. In: <source>2018 16th IEEE International New Circuits and Systems Conference (NEWCAS)</source>. Montreal, QC (<year>2018</year>). p. <fpage>139</fpage>&#x02013;<lpage>43</lpage>. <pub-id pub-id-type="doi">10.1109/NEWCAS.2018.8585542</pub-id><pub-id pub-id-type="pmid">27295638</pub-id></citation></ref>
<ref id="B32">
<label>32.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Avcu</surname> <given-names>MT</given-names></name> <name><surname>Zhang</surname> <given-names>Z</given-names></name> <name><surname>Chan</surname> <given-names>DWS</given-names></name></person-group>. <article-title>Seizure detection using least EEG channels by deep convolutional neural network</article-title>. In: <source>ICASSP 2019 - 2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP).</source> Brighton (<year>2019</year>). p. <fpage>1120</fpage>&#x02013;<lpage>4</lpage>. <pub-id pub-id-type="doi">10.1109/ICASSP.2019.8683229</pub-id><pub-id pub-id-type="pmid">27295638</pub-id></citation></ref>
<ref id="B33">
<label>33.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>San-Segundo</surname> <given-names>R</given-names></name> <name><surname>Gil-Mart&#x000ED;n</surname> <given-names>M</given-names></name> <name><surname>D&#x00027;Haro-Enr&#x000ED;quez</surname> <given-names>LF</given-names></name> <name><surname>Pardo</surname> <given-names>JM</given-names></name></person-group>. <article-title>Classification of epileptic EEG recordings using signal transforms and convolutional neural networks</article-title>. <source>Comput Biol Med.</source> (<year>2019</year>) <volume>109</volume>:<fpage>148</fpage>&#x02013;<lpage>58</lpage>. <pub-id pub-id-type="doi">10.1016/j.compbiomed.2019.04.031</pub-id><pub-id pub-id-type="pmid">31055181</pub-id></citation></ref>
<ref id="B34">
<label>34.</label>
<citation citation-type="web"><person-group person-group-type="author"><name><surname>Lu</surname> <given-names>D</given-names></name> <name><surname>Triesch</surname> <given-names>J</given-names></name></person-group>. <article-title>Residual deep convolutional neural network for EEG signal classification in epilepsy</article-title>. <source>arXiv preprint</source> arXiv:190308100 (<year>2019</year>). Available online at: <ext-link ext-link-type="uri" xlink:href="https://arxiv.org/abs/1903.08100">https://arxiv.org/abs/1903.08100</ext-link><pub-id pub-id-type="pmid">35077027</pub-id></citation></ref>
<ref id="B35">
<label>35.</label>
<citation citation-type="web"><person-group person-group-type="author"><name><surname>Asif</surname> <given-names>U</given-names></name> <name><surname>Roy</surname> <given-names>S</given-names></name> <name><surname>Tang</surname> <given-names>J</given-names></name> <name><surname>Harrer</surname> <given-names>S</given-names></name></person-group>. <article-title>SeizureNet: A Deep Convolutional Neural Network for Accurate Seizure Type Classification Seizure Detection. DeepAI</article-title> (<year>2019</year>). Available online at: <ext-link ext-link-type="uri" xlink:href="https://deepai.org/publication/seizurenet-a-deep-convolutional-neural-network-for-accurate-seizure-type-classification-and-seizure-detection">https://deepai.org/publication/seizurenet-a-deep-convolutional-neural-network-for-accurate-seizure-type-classification-and-seizure-detection</ext-link> (accessed March 26, 2021).</citation>
</ref>
<ref id="B36">
<label>36.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hu</surname> <given-names>X</given-names></name> <name><surname>Yuan</surname> <given-names>S</given-names></name> <name><surname>Xu</surname> <given-names>F</given-names></name> <name><surname>Leng</surname> <given-names>Y</given-names></name> <name><surname>Yuan</surname> <given-names>K</given-names></name> <name><surname>Yuan</surname> <given-names>Q</given-names></name></person-group>. <article-title>Scalp EEG classification using deep Bi-LSTM network for seizure detection</article-title>. <source>Comput Biol Med.</source> (<year>2020</year>) <volume>124</volume>:<fpage>103919</fpage>. <pub-id pub-id-type="doi">10.1016/j.compbiomed.2020.103919</pub-id><pub-id pub-id-type="pmid">32771673</pub-id></citation></ref>
<ref id="B37">
<label>37.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Yan</surname> <given-names>P</given-names></name> <name><surname>Wang</surname> <given-names>F</given-names></name> <name><surname>Grinspan</surname> <given-names>Z</given-names></name></person-group>. <article-title>Spectrographic seizure detection using deep learning with convolutional neural networks (S19</article-title>.004). <source>Neurology.</source> (<year>2018</year>) <volume>90</volume>:<fpage>15</fpage>&#x02013;<lpage>6</lpage>. <pub-id pub-id-type="doi">10.1016/j.seizure.2019.07.009</pub-id><pub-id pub-id-type="pmid">31325819</pub-id></citation></ref>
<ref id="B38">
<label>38.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wei</surname> <given-names>Z</given-names></name> <name><surname>Zou</surname> <given-names>J</given-names></name> <name><surname>Zhang</surname> <given-names>J</given-names></name> <name><surname>Xu</surname> <given-names>J</given-names></name></person-group>. <article-title>Automatic epileptic EEG detection using convolutional neural network with improvements in time-domain</article-title>. <source>Biomed Signal Process Control.</source> (<year>2019</year>) <volume>53</volume>:<fpage>101551</fpage>. <pub-id pub-id-type="doi">10.1016/j.bspc.2019.04.028</pub-id></citation>
</ref>
<ref id="B39">
<label>39.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zhao</surname> <given-names>W</given-names></name> <name><surname>Wang</surname> <given-names>W</given-names></name></person-group>. <article-title>SeizureNet: A model for robust detection of epileptic seizures based on convolutional neural network</article-title>. <source>Cogn Comput Syst.</source> (<year>2020</year>) <volume>2</volume>:<fpage>119</fpage>&#x02013;<lpage>24</lpage>. <pub-id pub-id-type="doi">10.1049/ccs.2020.0011</pub-id></citation>
</ref>
<ref id="B40">
<label>40.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Goodfellow</surname> <given-names>I</given-names></name> <name><surname>Pouget-Abadie</surname> <given-names>J</given-names></name> <name><surname>Mirza</surname> <given-names>M</given-names></name> <name><surname>Xu</surname> <given-names>B</given-names></name> <name><surname>Warde-Farley</surname> <given-names>D</given-names></name> <name><surname>Ozair</surname> <given-names>S</given-names></name> <etal/></person-group>. <article-title>Generative adversarial networks</article-title>. <source>Commun ACM.</source> (<year>2020</year>) <volume>63</volume>:<fpage>139</fpage>&#x02013;<lpage>44</lpage>. <pub-id pub-id-type="doi">10.1145/3422622</pub-id></citation>
</ref>
</ref-list> 
</back>
</article>