IISc team develops algorithm to detect seizures
Bengaluru: Researchers at the Indian Institute of Science (IISc) have joined hands with AIIMS Rishikesh to create an algorithm that can help decipher brain scans and identify the occurrence and type of epilepsy.
The development has the potential to do away with the current practice of manual evaluation of Electroencephalogram (EEG) which can be often tedious and sometimes lead to errors.
Epilepsy is a neurological condition where the brain emits sudden bursts of electrical signals in a short amount of time, resulting in seizures, fits and sometimes even death.
Based on the point of origin of the brain’s erratic signals, epilepsy is classified as either focal or generalised epilepsy. Focal epilepsy occurs when the erratic signals are confined to a specific region in the brain. If the signals are at random locations, then it is termed as generalised epilepsy, an IISc statement said.
“The research aims to differentiate EEG of normal subjects from epileptic EEGs. Additionally, the developed algorithm attempts to identify the types of seizures. Our work is to help the neurologists make an efficient and quick automated screening and diagnosis,” says Hardik J. Pandya, Assistant Professor at the Department of Electronic Systems Engineering (DESE) and the corresponding author of the study published in Biomedical Signal Processing and Control.
During the course of their study, the team noted a novel algorithm that can sift through EEG data and identify signatures of epilepsy from the electrical signal patterns.
After initial training, the algorithm was able to detect whether a human subject could have epilepsy or not — based on these patterns in their respective analyses — with a high degree of accuracy, the researchers say.
To develop and train the algorithm, the researchers first examined EEG data from 88 human subjects acquired at AIIMS Rishikesh. Each subject underwent a 45-minute EEG test, divided into two parts: an initial 10-minute test when the subject was awake, which included photic stimulation and hyperventilation, followed by a 35-minute sleep period when the subject was asked to sleep. Next, the team analysed this data and classified different wave patterns into sharp signals, spikes and slow waves.
Spikes are patterns where a signal rises and falls within a very short duration of time (70 milliseconds), while sharps are those with rises and falls spread over a slightly longer duration (250 milliseconds) and slow waves have a much longer duration (400 milliseconds).
An epileptic subject shows a different set of patterns compared to a healthy individual. The researchers developed an algorithm to calculate the total number of sharp waves — the Cumulative Sharp Count — and use this as a parameter to detect if the subject is epileptic or not (a higher value indicates a greater chance that the subject is epileptic).
The algorithm also calculates the sum of areas under the spikes and sharp curves to distinguish between focal and generalised epilepsy (a greater value indicates generalised epilepsy as opposed to focal epilepsy, which has a lower value).
The researchers add that the study shows a way to identify absence seizures (those that involve a brief, sudden lapse of consciousness), using a Cumulative Spike-Wave Count; in some cases, these absence seizures are critical and can be fatal.
The team then ran their algorithm on a new set of EEG data from subjects for whom the classification (whether they had epilepsy, and if so, what type of epilepsy they had) was already known to the doctors. This blind validation study successfully classified the subjects accurately in nearly 91 per cent of the cases.
“We hope to refine this further by testing on more data to consider more variabilities of human EEGs until we reach the point where this becomes completely translational and robust,” says Rathin K. Joshi, a PhD student in DESE and the first author of the study.
IISc said that a patent has been filed for the work and the algorithm is being tested for its reliability by physicians at AIIMS Rishikesh.