Detecting seizure onset and offset times using human intelligence: A critical-transitions-based approach

Andrew Flynn, Cian McCafferty, Klaus Lehnertz, François David, Vincenzo Crunelli +2 more
7/29/2026
math.DScs.LG

No confident code implementation found for this paper.

Abstract

Most existing seizure detection algorithms require extensive pre-processing of the data and rely on heuristic or currently unexplainable machine learning approaches. These approaches often struggle with balancing detection sensitivity and specificity in the presence of variable seizure morphologies, interictal epileptiform discharges, and artefacts. Here, we consider an alternative approach: our seizure detection algorithm, which is based on the concept of critical transitions and overcomes the aforementioned limitations. Specifically, we perform a receiver-operating-characteristic analysis to quantify the performance of our algorithm in terms of its agreement with expert annotations of seizure onset and offset times in the voltage recordings of seizure activity in epileptic rodents with different seizure morphologies. We demonstrate how performance depends on algorithm parameters and varies across different rodent recording sessions. We determine the optimal set of algorithm parameters for each recording session, with near expert-level performance achieved in most cases. Finally, we derive a single general set of algorithm parameters applicable across all recording sessions. The algorithm maintains its high performance in this general setting, demonstrating its versatility, robustness across varying seizure morphologies, and potential to complement machine learning algorithms.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{flynn2026detecting,
  title  = {Detecting seizure onset and offset times using human intelligence: A critical-transitions-based approach},
  author = {Andrew Flynn and Cian McCafferty and Klaus Lehnertz and François David and Vincenzo Crunelli and Gordon Lightbody and Sebastian Wieczorek},
  year   = {2026},
  eprint = {2607.27105},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.27105v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.27105.svg)](https://codeofpaper.com/paper/2607.27105)

Discussion