A deep-learning pipeline for rapid phenotyping of spike-wave epilepsy in rats: From invasive electrocorticography to non-invasive electroencephalography
Electrical brain activity in rats is commonly studied using invasive electrocorticography (ECoG) with chronically implanted electrodes, a method that requires invasive surgery and limits the translational potential of rat studies. Although non-invasive electroencephalography (EEG) is standard in human clinical practice, it is rarely used in rats due to technical challenges. To address this gap, we present a non-invasive EEG approach for studying spike-wave epilepsy in genetically predisposed rats. Specifically, we used the WAG/Rij rat model and conducted non-invasive EEG recordings under xylazine administration, considering xylazine’s dual sedative and spike-wave discharge (SWD)-inducing effects. To enable robust analysis of these recordings, we adapted and validated the spike-wave discharge artificial neural network (SWAN)—previously limited to invasive ECoG—for use with non-invasive rat EEG. Our results show high detection accuracy for xylazine-induced SWDs in this new context. Additionally, we introduced a data-driven severity classification scheme and provided the complete Python implementation of the updated SWAN pipeline for open access. This work presents three key advances: (i) a validated deep-learning framework for reliable SWD detection; (ii) a standardized, objective scoring tool that aims to reduce the inherent subjectivity of visual inspection; and (iii) an artifact-tolerant, non-invasive monitoring solution suitable for both long-termand short-term recording paradigms. By eliminating the surgical and inflammatory risks associated with implanted electrodes, our method enables high-efficiency phenotyping and longitudinal studies, ultimately bringing rodent epilepsy research closer to human clinical diagnostics.
- van Luijtelaar G, van Oijen G. Establishing Drug Effects on Electrocorticographic Activity in a Genetic Absence Epilepsy Model: Advances and Pitfalls. Front Pharmacol. 2020;11:395. doi: 10.3389/fphar.2020.00395
- van Luijtelaar G, Lüttjohann A, Makarov VV, Maksimenko VA, Koronovskii AA, Hramov AE. Methods of automated absence seizure detection, interference by stimulation, and possibilities for prediction in genetic absence models. J Neurosci Methods. 2016;260:144–158. doi: 10.1016/j.jneumeth.2015.07.010
- Taylor JA, Reuter JD, Kubiak RA, et al. Spontaneous Recurrent Absence Seizure-like Events in Wild-Caught Rats. J Neurosci. 2019;39(24):4829-4841. doi: 10.1523/JNEUROSCI.1167-18.2019
- Lüttjohann A, van Luijtelaar G. Dynamics of networks during absence seizure’s on- and offset in rodents and man. Front Physiol. 2015;6:16. doi: 10.3389/fphys.2015.00016
- Bosnyakova D, Gabova A, Kuznetsova G, et al. Time–frequency analysis of spike-wave discharges using a modified wavelet transform. J Neurosci Methods. 2006;154(1-2):80-88. doi: 10.1016/j.jneumeth.2005.12.006
- Neckelmann D, Ursin R. Sleep stages and EEG power spectrum in relation to acoustical stimulus arousal threshold in the rat. Sleep. 1993;16(5):467-477. doi: 10.1093/sleep/16.5.467
- Kozák G, Földi T, Berényi A. Spike-and-Wave Discharges Are Not Pathological Sleep Spindles, Network-Level Aspects of Age-Dependent Absence Seizure Development in Rats. eneuro. 2020;7(1):ENEURO.0253-19.2019. doi: 10.1523/ENEURO.0253-19.2019
- André ES, Bruno-Neto R, Marino-Neto J, Valle AC do, Timo-Iaria C. Spontaneous absence-like activity in Wistar rats: Behavioral and electrographic characteristics and the effects of antiepileptic drugs. Acta Sci Biol Sci. 2014;36(2):231. doi: 10.4025/actascibiolsci.v36i2.18517
- Vyazovskiy VV, Faraguna U, Cirelli C, Tononi G. Triggering slow waves during NREM sleep in the rat by intracortical electrical stimulation: Effects of sleep/wake history and background activity. J Neurophysiol. 2009;101(4):1921-1931. doi: 10.1152/jn.91157.2008
- Moon H, Kwon J, Eun J, et al. Electrocorticogram (ECoG): Engineering Approaches and Clinical Challenges for Translational Medicine. Adv Mater Technol. 2024;9(12):2301692. doi: 10.1002/admt.202301692
- Pupikina M, Sitnikova E. Non-invasive electroencephalography-based technique for rapid diagnostics of absence epilepsy in rats. Adv Neurol. 2024;3(4):4464. doi: 10.36922/an.4464
- Sitnikova E, Pupikina M. Distinct phenotypes, shared etiology: Dissociation of absence epilepsy, audiogenic seizures, and anhedonia in a genetic rat model. Adv Neurol. 2026;5(4):025010133. doi: 10.36922/AN025010133
- Sitnikova E, Pupikina M, Rutskova E. Alpha2 Adrenergic Modulation of Spike-Wave Epilepsy: Experimental Study of Pro-Epileptic and Sedative Effects of Dexmedetomidine. Int J Mol Sci. 2023;24(11):9445. doi: 10.3390/ijms24119445
- Yavuz M, Akkol S, Onat F. Alpha-2a adrenergic receptor activation in genetic absence epilepsy: An absence status model? Epilepsia Open. 2024;9(2):534-547. doi: 10.1002/EPI4.12879
- van Luijtelaar ELJM, Coenen AML. Two types of electrocortical paroxysms in an inbred strain of rats. Neurosci Lett. 1986;70(3):393-397. doi: 10.1016/0304-3940(86)90586-0
- Coenen AML, van Luijtelaar ELJM. Genetic animal models for absence epilepsy: a review of the WAG/Rij strain of rats. Behav Genet. 2003;33(6):635-655. doi: 10.1023/a:1026179013847
- Russo E, Citraro R, Constanti A, et al. Upholding WAG/Rij rats as a model of absence epileptogenesis: Hidden mechanisms and a new theory on seizure development. Neurosci Biobehav Rev. 2016;71:388-408. doi: 10.1016/j.neubiorev.2016.09.017
- Coenen AML, van Luijtelaar ELJM. The WAG/Rij rat model for absence epilepsy: age and sex factors. Epilepsy Res. 1987;1(5):297-301. doi: 10.1016/0920-1211(87)90005-2
- van Luijtelaar G, Onat FY, Gallagher MJ. Animal models of absence epilepsies: What do they model and do sex and sex hormones matter? Neurobiol Dis. 2014;72:167-179. doi: 10.1016/j.nbd.2014.08.014
- Lüttjohann A, Schoffelen JM, van Luijtelaar G. Peri-ictal network dynamics of spike-wave discharges: Phase and spectral characteristics. Exp Neurol. 2013;239:235-247. doi: 10.1016/j.expneurol.2012.10.021
- Blumenfeld H. Cellular and Network Mechanisms of Spike-Wave Seizures. Epilepsia. 2005;46(s9):21-33. doi: 10.1111/j.1528-1167.2005.00311.x
- Kim J Bin, Suh Si, Seo WK, Oh K, Koh SB, Kim JH. Altered thalamocortical functional connectivity in idiopathic generalized epilepsy. Epilepsia. 2014;55(4):592-600. doi: 10.1111/epi.12580
- Huguenard J. Current Controversy: Spikes, Bursts, and Synchrony in Generalized Absence Epilepsy: Unresolved Questions Regarding Thalamocortical Synchrony in Absence Epilepsy. Epilepsy Curr. 2019;19(2):105-111. doi: 10.1177/1535759719835355
- Crunelli V, Lőrincz ML, McCafferty C, et al. Clinical and experimental insight into pathophysiology, comorbidity and therapy of absence seizures. Brain. 2020;143(8):2341-2368. doi: 10.1093/brain/awaa072
- Pearce PS, Friedman D, LaFrancois JJ, et al. Spike–wave discharges in adult Sprague–Dawley rats and their implications for animal models of temporal lobe epilepsy. Epilepsy Behav. 2014;32:121-131. doi: 10.1016/j.yebeh.2014.01.004
- Shaw FZ. Is Spontaneous High-Voltage Rhythmic Spike Discharge in Long Evans Rats an Absence-Like Seizure Activity? J Neurophysiol. 2004;91(1):63-77. doi: 10.1152/jn.00487.2003
- Lazarenko I, Sitnikova E. A novel ANN-based classification of spike-wave activity in 24-hour EEG recordings in rats using spectrograms: Spike-Wave Discharge Artificial Neural Network (SWAN). J Neurosci Methods. 2025;423:110555. doi: 10.1016/j.jneumeth.2025.110555
- Leal A, Curty J, Lopes F, et al. Unsupervised EEG preictal interval identification in patients with drug-resistant epilepsy. Sci Rep. 2023;13(1):784. doi: 10.1038/s41598-022-23902-6
- Bolzan W, Farias K. Investigating EEG Microstate Analysis in Cognitive Software Engineering Tasks: A Systematic Mapping Study and Taxonomy. ACM Comput Surv. 2025;57(12):310. doi: 10.1145/3742899
- Pallav P, Srivastava K. Stress analysis of EEG signal using K-means clustering and hybrid classifier. In: 2024 2nd International Conference on Advancements and Key Challenges in Green Energy and Computing (AKGEC). IEEE; 2024:1-5. doi: 10.1109/AKGEC62572.2024.10869062
- De Dominicis A, Mercier M, Carfi Pavia G, et al. Early Clinical and EEG Association of Genotype and Outcome in Genetic Epilepsies. Neurology. 2026;106(7):e214761. doi: 10.1212/WNL.0000000000214761
- Pfammatter JA, Maganti RK, Jones MV. An automated, machine learning–based detection algorithm for spike-wave discharges (SWDs) in a mouse model of absence epilepsy. Epilepsia Open. 2019;4(1):110-122. doi: 10.1002/epi4.12303
- Iotchev IB, Perevozniuk DA, Lazarenko I, Perescis MFJ, Sitnikova E, van Luijtelaar G. The “Twin Peaks” method of automated Spike-Wave detection: A two-step, two-criteria MATLAB application. J Neurosci Methods. 2024;409:110199. doi: 10.1016/j.jneumeth.2024.110199
- Ozmen B, Yavuz M, Carcak N, et al. Automatic Detection Of Seizure Activity From EEG Recordings Of Genetic Rat Model Of Absence Epilepsy. In: 2021 29th Signal Processing and Communications Applications Conference (SIU). IEEE; 2021:1-4. doi: 10.1109/SIU53274.2021.9478005
- Islam MR, Abdullah JM. Age-dependent Electroencephalographic Differences in the Genetic Absence Epilepsy Rats from Strasbourg (GAERS) Model of Absence Epilepsy. Malays J Med Sci. 2014;21(Spec Issue):34-40.
- Sile B, Larsen PM, Kuba A, et al. Seizure Duration and Timepoint Cutoffs for Statistically Defining a Prolonged Seizure: A Post Hoc Analysis of the SCORE Video-EEG Database (P1-10.009). Neurology. 2026;106(11_Supplement_1):39. doi: 10.1212/WNL.0000000000212757
- Scheffer IE, Berkovic S, Capovilla G, et al. ILAE classification of the epilepsies: Position paper of the ILAE Commission for Classification and Terminology. Epilepsia. 2017;58(4):512-521. doi: 10.1111/epi.13709
- Fisher RS, Cross JH, French JA, et al. Operational classification of seizure types by the International League Against Epilepsy: Position Paper of the ILAE Commission for Classification and Terminology. Epilepsia. 2017;58(4):522-530. doi: 10.1111/EPI.13670
- Hirsch E, French J, Scheffer IE, et al. ILAE definition of the Idiopathic Generalized Epilepsy Syndromes: Position statement by the ILAE Task Force on Nosology and Definitions. Epilepsia. 2022;63(6):1475-1499. doi: 10.1111/epi.17236
- Balestrini S, Galli I, Ricci ML, et al. Clinical and genetic landscape of epilepsies with absence seizures and single‐gene etiology. Epilepsia. 2026;67(1):272-290. doi: 10.1111/epi.18655
- Kostopoulos GK. Spike-and-wave discharges of absence seizures as a transformation of sleep spindles: the continuing development of a hypothesis. Clin Neurophysiol. 2000;111(S2):S27-S38. doi: 10.1016/S1388-2457(00)00399-0
- Sushkova OS, Morozov AA, Gabova AV, Sarkisova KY. The Diagnostic Value of EEG Wave Trains for Distinguishing Immature Absence Seizures and Sleep Spindles: Evidence from the WAG/Rij Rat Model. Diagnostics. 2025;15(8):983. doi: 10.3390/diagnostics15080983
- Pinault D, Vergnes M, Marescaux C. Medium-voltage 5–9-Hz oscillations give rise to spike-and-wave discharges in a genetic model of absence epilepsy: in vivo dual extracellular recording of thalamic relay and reticular neurons. Neuroscience. 2001;105(1):181-201. doi: 10.1016/S0306-4522(01)00182-8
- Ovchinnikov A, Lüttjohann A, Hramov A, van Luijtelaar G. An algorithm for real-time detection of spike-wave discharges in rodents. J Neurosci Methods. 2010;194(1):172-178. doi: 10.1016/j.jneumeth.2010.09.017
- Drinkenburg WHIM, Coenen AML, Vossen JMH, Van Luijtelaar ELJM. Spike-wave discharges and sleep-wake states in rats with absence epilepsy. Epilepsy Res. 1991;9(3):218-224. doi: 10.1016/0920-1211(91)90055-K
