Search bioRxiv⌕ Search

bioRxiv · 10.64898/2026.01.21.700017

Time-frequency embedding with contrastive pre-training allows sub-second seizure detection

Abstract

Rapid and accurate detection of electrographic seizures is critical for both clinical diagnosis and neuroscience research. Although seizure identification is commonly performed in the time domain, analysis in the time-frequency domain provides a more comprehensive representation of seizure characteristics. In this study, we present a 3D convolutional neural network (CNN) that incorporates a trainable continuous wavelet transform (CWT) layer, enabling adaptive time-frequency feature learning directly from raw EEG. To address common data challenges, we augment the 3D CNN for pre-training with contrastive learning, comparing contrastive predictive coding (CPC) against bidirectional contrastive learning (BiCL). On single-channel and multi-channel data, the standard 3D CNN outperformed both a 2D CNN with pre-computed CWT and a 1D CNN that processes raw signals, achieving >95% accuracy down to 0.5-second segments. Compared to the standard 3D CNN, the 3D CNN with BiCL pre-training showed superior performance in both low-data and class imbalance scenarios. Further experiments involving band-pass filtering and temporal shuffling revealed that classification is driven primarily by low-frequency patterns and statistical features rather than temporal dependencies. The proposed framework also maintained >90% accuracy with moderate noise and downsampling applied to inputs, as well as when cross-subject generalization was evaluated using held-out subjects. We show that a 3D CNN with a trainable CWT layer and BiCL pre-training enables accurate sub-second seizure detection and effectively mitigates data limitations common in clinical settings. This work demonstrates that time-frequency embedding within CNNs, augmented by self-supervised pre-training, offers a promising path toward architectures for sub-second seizure detection in the presence of practical limitations of real-world scenarios.

Source connections

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Merker, H. A., Dalla Betta, I., Wilson, M. A., Flores, F. J., Brown, E. N.. 2026-01-22. Time-frequency embedding with contrastive pre-training allows sub-second seizure detection. https://doi.org/10.64898/2026.01.21.700017

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Rab10 and Arhgef7 interact to promote axon extension by linking vesicle supply and exocytosis

The formation of functional neural circuits begins with the extension of a single axon by immature neurons. Axon elongation requires an expansion of the plasma membrane that depends on the polarization of vesicle trafficking and exocytosis. It is not completely understood how the increased transport of vesicles into the growing axon is linked to their subsequent insertion into the plasma membrane. An analysis of early stages of neuronal differentiation indicates that an asymmetry in neurite length precedes axon specification and the accumulation of PPVs in the nascent axon. We show that increasing the transport of vesicles in unpolarized neurons is sufficient to promote the extension of additional axons. This effect indicates that an increased supply of vesicles stimulates their subsequent insertion into the membrane to allow neurite growth. The link between vesicle transport and exocytosis is mediated by the interaction of Rab10 with Arhgef7. Rab10 stimulates Arhgef7 activity on PPVs as a GEF for Cdc42b to promote axon extension through exocyst-dependent exocytosis, suggesting that their interaction links the increased supply of PPVs to their exocytosis.

neuroscience↗

Subcellular Spatial Profiling Unveils Links Between Neuritic Plaques with Selective Tau Vulnerability in Alzheimer's Disease

Alzheimer's disease (AD) features widespread extracellular amyloid-{beta} plaques but selective intraneuronal tau accumulation in cortical layers II/III and V, while layer IV remains relatively resistant. Here, we combined subcellular spatial transcriptomics with co-registered A{beta} and pTau immunohistochemistry to determine why neurons exposed to comparable plaque-associated pathology differ in somatic pTau accumulation. Plaque-associated neuritic stress occurred similarly across layers, but layer IV neurons showed attenuated pTau accumulation and reduced somatic expression of a shared neurite-soma stress program involving DCTN1, CALM3, NORAD, and PIN1. Trajectory analysis within layers identified tau-vulnerable and resistant neuronal states implicating calcium signaling, retrograde transport, and lysosomal function. Notably, astrocytic APOE-neuronal LRP1 co-expression increased significantly along the pTau-vulnerable trajectory, and APOE {epsilon}4 was associated with stronger coupling of local plaque pathology to pTau-associated molecular programs. These findings reveal neuronal programs and neuron-glia interactions underlying selective tau vulnerability and resistance in AD, highlighting potential tau-targeting therapeutics.

neuroscience↗

Widespread oscillatory suppression in autism persists in the absence of psychotropic medication.

Purpose: Investigate the neural oscillatory activity associated with autism spectrum disorder (ASD) using electroencephalographic (EEG) recordings in children and adolescents. Compare the corresponding oscillatory power between ASD patients taking psychotropic medication with a drug-naive group. Methods: ASD diagnosis was done using DSM-IV and CARS (Childhood Autism Rating Scale). EEG recordings employed 22 scalp electrodes (10/20 system). ASD vs. neurotypical groups were matched for sex and age (5 females; average age: ~10 years old). We analyzed the resting state (eyes open) EEG power spectrum during ~2-minute recordings. The multitaper FFT method was used to estimate spectral power for the delta, theta, alpha, beta and gamma frequency bands. We pooled together data from several electrodes to compute comprehensive power spectra and assess the oscillatory behavior of macro brain regions. Results: We observed widespread (~4Hz - 20Hz) oscillatory suppression comprising the theta, alpha and beta frequency bands. The most widespread and robust ASD-associated power suppression was in the high theta and alpha bands. Delta and gamma bands showed no significant power change for any of the brain regions studied. Results from a subgroup of patients (N = 9) who never used psychotropics confirmed these findings, indicating that they are not an artifact of medication. Conclusion: Suppression in theta, alpha and beta oscillations may offer insights into the neurophysiological underpinnings of autism and could be used as an accessible and comprehensive tool in ASD diagnosis, regardless of the patients being or not on medication.

neuroscience↗