
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
A Nonlinear Stochastic Differential Model of EEG Dynamics with Bayesian Change-Point Detection for Early Identification of Brain Abnormalities
Corresponding Author(s) : Tito Waluyo Purboyo
Kinetik: Game Technology, Information System, Computer Network, Computing, Electronics, and Control,
Vol. 11, No. 4, November 2026 (Article in Progress)
Abstract
Electroencephalography (EEG) signals exhibit complex nonlinear and stochastic dynamics that fundamentally reflect underlying neural processes. Despite decades of clinical application, conventional EEG analysis remains constrained by linear assumptions or opaque black-box architectures that obscure mechanistic understanding. This study proposes a mathematically grounded nonlinear stochastic differential equation (SDE) framework integrated with Bayesian change-point detection for early, interpretable identification of abnormal brain states. The proposed methodology explicitly characterises nonlinear neural interactions and time-varying stochastic fluctuations through estimation of biophysically meaningful parameters. As a proof-of-concept, validation is performed on data from a single patient (Patient 1, CHB-MIT Scalp EEG Seizure Database) and a single EEG channel (Fp1-F7). Within-patient five-fold cross-validation demonstrates high temporal consistency, with mean sensitivity of 96.8 +/- 0.3% and specificity of 94.2 +/- 0.2%, substantially outperforming conventional linear autoregressive (87.3%, 1.82 s latency) and spectral power density methods (81.5%, 1.35 s). An ablation study confirms that the combined SDE-Bayesian framework yields the highest performance, demonstrating a synergistic gain of +12.4 percentage points in sensitivity over SDE-alone and +8.5 over Bayesian change-point alone. Detection latency of 0.47 s falls within the clinically critical 1-2 second intervention window. Parameter estimation accuracy, validated on simulated data, achieves errors below 2% for all model parameters. Unlike existing approaches, the framework provides physiologically interpretable parameters-neural damping, nonlinearity strength, and stochastic noise level-suitable for mechanistic understanding of pathological brain dynamics. These proof-of-concept results represent a meaningful first step toward clinical deployment; robust generalisation conclusions await future multi-patient and multi-channel validation.
Keywords
Download Citation
Endnote/Zotero/Mendeley (RIS)BibTeX
- U. R. Acharya, S. L. Oh, Y. Hagiwara, J. H. Tan, and H. Adeli, "Deep convolutional neural network for the automated detection and diagnosis of seizure using EEG signals," Comput. Biol. Med., vol. 100, pp. 270-278, 2018. https://doi.org/10.1016/j.compbiomed.2017.09.017
- M. Breakspear, "Dynamic models of large-scale brain activity," Nat. Neurosci., vol. 20, no. 3, pp. 340-352, 2017. https://doi.org/10.1038/nn.4497
- H. Kantz and T. Schreiber, Nonlinear Time Series Analysis, 2nd ed. Cambridge, UK: Cambridge University Press, 2004.
- F. Mormann, R. G. Andrzejak, C. E. Elger, and K. Lehnertz, "Seizure prediction: The long and winding road," Brain, vol. 130, no. 2, pp. 314-333, 2007. https://doi.org/10.1093/brain/awl241
- A. H. Shoeb and J. V. Guttag, "Application of machine learning to epileptic seizure detection," in Proc. 27th Int. Conf. Mach. Learn. (ICML), pp. 975-982, 2010.
- A. L. Goldberger et al., "PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals," Circulation, vol. 101, no. 23, pp. e215-e220, 2000. https://doi.org/10.1161/01.CIR.101.23.e215
- Y. LeCun, Y. Bengio, and G. Hinton, "Deep learning," Nature, vol. 521, no. 7553, pp. 436-444, 2015. https://doi.org/10.1038/nature14539
- D. J. Higham, "An algorithmic introduction to numerical simulation of stochastic differential equations," SIAM Rev., vol. 43, no. 3, pp. 525-546, 2001. https://doi.org/10.1137/S0036144500378302
- A. E. Raftery and V. E. Akman, "Bayesian analysis of a Poisson process with a change-point," Biometrika, vol. 73, no. 1, pp. 85-89, 1986. https://doi.org/10.1093/biomet/73.1.85
- P. E. Kloeden and E. Platen, Numerical Solution of Stochastic Differential Equations. Berlin: Springer, 1992.
- R. E. Kalman, "A new approach to linear filtering and prediction problems," J. Basic Eng., vol. 82, no. 1, pp. 35-45, 1960. https://doi.org/10.1115/1.3662552
- R. P. Adams and D. J. C. MacKay, "Bayesian online changepoint detection," arXiv preprint arXiv:0710.3742, 2007. https://doi.org/10.48550/arXiv.0710.3742
- W. Chen, Y. Wang, Y. Ren, et al., "An automated detection of epileptic seizures EEG using CNN classifier based on feature fusion with high accuracy," BMC Med. Inform. Decis. Mak., vol. 23, art. 96, 2023. https://doi.org/10.1186/s12911-023-02180-w
- L. Bai, G. Litscher, and X. Li, "Epileptic seizure detection using machine learning: A systematic review and meta-analysis," Brain Sci., vol. 15, no. 6, art. 634, 2025. https://doi.org/10.3390/brainsci15060634
- G. Buzsaki and A. Draguhn, "Neuronal oscillations in cortical networks," Science, vol. 304, no. 5679, pp. 1926-1929, 2004. https://doi.org/10.1126/science.1099745
- V. K. Jirsa, W. C. Stacey, P. P. Quilichini, A. I. Ivanov, and C. Bernard, "On the nature of seizure dynamics," Brain, vol. 137, no. 8, pp. 2210-2230, 2014. https://doi.org/10.1093/brain/awu133
- D. M. Treiman et al., "A comparison of four treatments for generalised convulsive status epilepticus," N. Engl. J. Med., vol. 339, no. 12, pp. 792-798, 1998. https://doi.org/10.1056/NEJM199809173391202
- S. Hochreiter and J. Schmidhuber, "Long short-term memory," Neural Comput., vol. 9, no. 8, pp. 1735-1780, 1997. https://doi.org/10.1162/neco.1997.9.8.1735
- P. Kwan and M. J. Brodie, "Early identification of refractory epilepsy," N. Engl. J. Med., vol. 342, no. 5, pp. 314-319, 2000. https://doi.org/10.1056/NEJM200002033420503
- T. Xue, S. Chen, Y. Bai, C. Han, A. Yang, and J. Zhang, "Neuromodulation in drug-resistant epilepsy: A review of current knowledge," Acta Neurol. Scand., vol. 146, no. 6, pp. 786-797, 2022. https://doi.org/10.1111/ane.13696
- B. K. Alldredge et al., "A comparison of lorazepam, diazepam, and placebo for the treatment of out-of-hospital status epilepticus," N. Engl. J. Med., vol. 345, no. 9, pp. 631-637, 2001. https://doi.org/10.1056/NEJMoa002141
- E. Musk and Neuralink, "An integrated brain-machine interface platform with thousands of channels," J. Med. Internet Res., vol. 21, no. 10, p. e16194, 2019. https://doi.org/10.2196/16194
- A. Oter, "Automatic detection of epileptic seizures from EEG signals using artificial intelligence methods," Gazi Univ. J. Sci. Part C, vol. 12, no. 1, pp. 257-266, 2024. https://doi.org/10.29109/gujsc.1416435
- J. A. Uriguen and B. Garcia-Zapirain, "EEG artifact removal-state-of-the-art and guidelines," J. Neural Eng., vol. 12, no. 3, p. 031001, 2015. https://doi.org/10.1088/1741-2560/12/3/031001
- C. J. Stam, "Modern network science of neurological disorders," Nat. Rev. Neurosci., vol. 15, no. 10, pp. 683-695, 2014. https://doi.org/10.1038/nrn3801
- R. Caruana et al., "Intelligible models for healthcare," in Proc. 21st ACM SIGKDD Int. Conf. Knowl. Discov. Data Min., 2015, pp. 1721-1730. https://doi.org/10.1145/2783258.2788613
- N. D. Truong, A. D. Nguyen, L. Kuhlmann, M. R. Bonyadi, J. Yang, S. Ippolito, and O. Kavehei, "Convolutional neural networks for patient-independent seizure prediction using long-term scalp EEG signals," IEEE Trans. Biomed. Eng., vol. 65, no. 9, pp. 2099-2110, 2018. https://doi.org/10.1109/TBME.2017.2762231
- S. Roy, I. Kiral-Kornek, and S. Harrer, "Deep learning-based electroencephalography analysis: A systematic review," J. Neural Eng., vol. 16, no. 5, p. 051001, 2019. https://doi.org/10.1088/1741-2552/ab260c
- P. Boonyakitanont, A. Lek-uthai, K. Chomtho, and J. Songsiri, "A review of feature extraction and performance evaluation in epileptic seizure detection using EEG," Biomed. Signal Process. Control, vol. 57, p. 101702, 2020. https://doi.org/10.1016/j.bspc.2019.101702
- H. R. Wilson and J. D. Cowan, "Excitatory and inhibitory interactions in localised populations of model neurons," Biophys. J., vol. 12, no. 1, pp. 1-24, 1972. https://doi.org/10.1016/S0006-3495(72)86068-5
- G. Deco, V. K. Jirsa, P. A. Robinson, M. Breakspear, and K. Friston, "The dynamic brain: From spiking neurons to neural masses and cortical fields," PLoS Comput. Biol., vol. 4, no. 8, p. e1000092, 2008. https://doi.org/10.1371/journal.pcbi.1000092
- L. Kuhlmann, K. Lehnertz, M. P. Richardson, B. Schelter, and H. P. Zaveri, "Seizure prediction-ready for a new era," Nat. Rev. Neurol., vol. 14, no. 10, pp. 618-630, 2018. https://doi.org/10.1038/s41582-018-0055-2
- Y. Li, J. Liu, Z. Tang, and B. Lei, "Deep spatiotemporal convolutional bidirectional LSTM networks for brain-computer interface," IEEE Trans. Syst. Man Cybern. Syst., vol. 51, no. 4, pp. 2576-2585, 2021. https://doi.org/10.1109/TSMC.2019.2912250
- A. Gramfort et al., "MEG and EEG data analysis with MNE-Python," Front. Neurosci., vol. 7, p. 267, 2013. https://doi.org/10.3389/fnins.2013.00267
- R. S. Fisher, B. G. Acevedo, A. Arzimanoglou, et al., “ILAE official report: A practical clinical definition of epilepsy,” Epilepsia, vol. 55, no. 4, pp. 475-482, 2014. https://doi.org/10.1111/epi.12550
- R. Januar, H. Fauzi, M. Ariyanti, and F. Heris, “Study of neuromarketing: Visual influence with decision making on impulse buying,” Kinetik: Game Technology, Information System, Computer Network, Computing, Electronics, and Control, vol. 6, no. 4, 2021. https://doi.org/10.22219/kinetik.v6i4.1334
- H. F. Tresna, D. Pratiwi, M. Ariyanti, and A. Fauzi, “Spatial and spectral EEG signal analysis with case study of slogans on consumer’s behaviour,” Kinetik: Game Technology, Information System, Computer Network, Computing, Electronics, and Control, vol. 8, no. 3, 2023. https://doi.org/10.22219/kinetik.v8i3.1747
- M. Melinda, Farhan, M. Irhamsyah, R. Miftahujjannah, D. D. Acula, and Y. Yunidar, “Classification of arrhythmia electrocardiogram signals using kernel principal component analysis and naïve bayes,” Kinetik: Game Technology, Information System, Computer Network, Computing, Electronics, and Control, vol. 10, no. 3, pp. 283-294, 2025. https://doi.org/10.22219/kinetik.v10i3.2219
- T. W. Purboyo, D. Naufal, M. D. Putra, and E. Kurniawan, “A novel framework for electrocardiogram beats recognition based on Hjorth parameters and inferential statistics,” Edelweiss Applied Science and Technology, vol. 8, no. 6, pp. 6934-6944, 2024. https://doi.org/10.55214/25768484.v8i6.3500
- A. A. Farhani, T. W. Purboyo, and D. Naufal, “Myocardial infarction classification based on electrocardiogram signals using principal component analysis with support vector machine and adaboost,” in Proc. 2025 IEEE Int. Symp. Future Telecommunication Technologies (SOFTT), 2025. https://doi.org/10.1109/SOFTT67007.2025.11213196
- C. M. Sudarno, T. Waluyo Purboyo, and D. Naufal, “Comparative analysis of boosting algorithms for arrhythmia classification using electrocardiogram (ECG) signals,” in Proc. 2025 IEEE Int. Symp. Future Telecommunication Technologies (SOFTT), 2025. https://doi.org/10.1109/SOFTT67007.2025.11212960
References
U. R. Acharya, S. L. Oh, Y. Hagiwara, J. H. Tan, and H. Adeli, "Deep convolutional neural network for the automated detection and diagnosis of seizure using EEG signals," Comput. Biol. Med., vol. 100, pp. 270-278, 2018. https://doi.org/10.1016/j.compbiomed.2017.09.017
M. Breakspear, "Dynamic models of large-scale brain activity," Nat. Neurosci., vol. 20, no. 3, pp. 340-352, 2017. https://doi.org/10.1038/nn.4497
H. Kantz and T. Schreiber, Nonlinear Time Series Analysis, 2nd ed. Cambridge, UK: Cambridge University Press, 2004.
F. Mormann, R. G. Andrzejak, C. E. Elger, and K. Lehnertz, "Seizure prediction: The long and winding road," Brain, vol. 130, no. 2, pp. 314-333, 2007. https://doi.org/10.1093/brain/awl241
A. H. Shoeb and J. V. Guttag, "Application of machine learning to epileptic seizure detection," in Proc. 27th Int. Conf. Mach. Learn. (ICML), pp. 975-982, 2010.
A. L. Goldberger et al., "PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals," Circulation, vol. 101, no. 23, pp. e215-e220, 2000. https://doi.org/10.1161/01.CIR.101.23.e215
Y. LeCun, Y. Bengio, and G. Hinton, "Deep learning," Nature, vol. 521, no. 7553, pp. 436-444, 2015. https://doi.org/10.1038/nature14539
D. J. Higham, "An algorithmic introduction to numerical simulation of stochastic differential equations," SIAM Rev., vol. 43, no. 3, pp. 525-546, 2001. https://doi.org/10.1137/S0036144500378302
A. E. Raftery and V. E. Akman, "Bayesian analysis of a Poisson process with a change-point," Biometrika, vol. 73, no. 1, pp. 85-89, 1986. https://doi.org/10.1093/biomet/73.1.85
P. E. Kloeden and E. Platen, Numerical Solution of Stochastic Differential Equations. Berlin: Springer, 1992.
R. E. Kalman, "A new approach to linear filtering and prediction problems," J. Basic Eng., vol. 82, no. 1, pp. 35-45, 1960. https://doi.org/10.1115/1.3662552
R. P. Adams and D. J. C. MacKay, "Bayesian online changepoint detection," arXiv preprint arXiv:0710.3742, 2007. https://doi.org/10.48550/arXiv.0710.3742
W. Chen, Y. Wang, Y. Ren, et al., "An automated detection of epileptic seizures EEG using CNN classifier based on feature fusion with high accuracy," BMC Med. Inform. Decis. Mak., vol. 23, art. 96, 2023. https://doi.org/10.1186/s12911-023-02180-w
L. Bai, G. Litscher, and X. Li, "Epileptic seizure detection using machine learning: A systematic review and meta-analysis," Brain Sci., vol. 15, no. 6, art. 634, 2025. https://doi.org/10.3390/brainsci15060634
G. Buzsaki and A. Draguhn, "Neuronal oscillations in cortical networks," Science, vol. 304, no. 5679, pp. 1926-1929, 2004. https://doi.org/10.1126/science.1099745
V. K. Jirsa, W. C. Stacey, P. P. Quilichini, A. I. Ivanov, and C. Bernard, "On the nature of seizure dynamics," Brain, vol. 137, no. 8, pp. 2210-2230, 2014. https://doi.org/10.1093/brain/awu133
D. M. Treiman et al., "A comparison of four treatments for generalised convulsive status epilepticus," N. Engl. J. Med., vol. 339, no. 12, pp. 792-798, 1998. https://doi.org/10.1056/NEJM199809173391202
S. Hochreiter and J. Schmidhuber, "Long short-term memory," Neural Comput., vol. 9, no. 8, pp. 1735-1780, 1997. https://doi.org/10.1162/neco.1997.9.8.1735
P. Kwan and M. J. Brodie, "Early identification of refractory epilepsy," N. Engl. J. Med., vol. 342, no. 5, pp. 314-319, 2000. https://doi.org/10.1056/NEJM200002033420503
T. Xue, S. Chen, Y. Bai, C. Han, A. Yang, and J. Zhang, "Neuromodulation in drug-resistant epilepsy: A review of current knowledge," Acta Neurol. Scand., vol. 146, no. 6, pp. 786-797, 2022. https://doi.org/10.1111/ane.13696
B. K. Alldredge et al., "A comparison of lorazepam, diazepam, and placebo for the treatment of out-of-hospital status epilepticus," N. Engl. J. Med., vol. 345, no. 9, pp. 631-637, 2001. https://doi.org/10.1056/NEJMoa002141
E. Musk and Neuralink, "An integrated brain-machine interface platform with thousands of channels," J. Med. Internet Res., vol. 21, no. 10, p. e16194, 2019. https://doi.org/10.2196/16194
A. Oter, "Automatic detection of epileptic seizures from EEG signals using artificial intelligence methods," Gazi Univ. J. Sci. Part C, vol. 12, no. 1, pp. 257-266, 2024. https://doi.org/10.29109/gujsc.1416435
J. A. Uriguen and B. Garcia-Zapirain, "EEG artifact removal-state-of-the-art and guidelines," J. Neural Eng., vol. 12, no. 3, p. 031001, 2015. https://doi.org/10.1088/1741-2560/12/3/031001
C. J. Stam, "Modern network science of neurological disorders," Nat. Rev. Neurosci., vol. 15, no. 10, pp. 683-695, 2014. https://doi.org/10.1038/nrn3801
R. Caruana et al., "Intelligible models for healthcare," in Proc. 21st ACM SIGKDD Int. Conf. Knowl. Discov. Data Min., 2015, pp. 1721-1730. https://doi.org/10.1145/2783258.2788613
N. D. Truong, A. D. Nguyen, L. Kuhlmann, M. R. Bonyadi, J. Yang, S. Ippolito, and O. Kavehei, "Convolutional neural networks for patient-independent seizure prediction using long-term scalp EEG signals," IEEE Trans. Biomed. Eng., vol. 65, no. 9, pp. 2099-2110, 2018. https://doi.org/10.1109/TBME.2017.2762231
S. Roy, I. Kiral-Kornek, and S. Harrer, "Deep learning-based electroencephalography analysis: A systematic review," J. Neural Eng., vol. 16, no. 5, p. 051001, 2019. https://doi.org/10.1088/1741-2552/ab260c
P. Boonyakitanont, A. Lek-uthai, K. Chomtho, and J. Songsiri, "A review of feature extraction and performance evaluation in epileptic seizure detection using EEG," Biomed. Signal Process. Control, vol. 57, p. 101702, 2020. https://doi.org/10.1016/j.bspc.2019.101702
H. R. Wilson and J. D. Cowan, "Excitatory and inhibitory interactions in localised populations of model neurons," Biophys. J., vol. 12, no. 1, pp. 1-24, 1972. https://doi.org/10.1016/S0006-3495(72)86068-5
G. Deco, V. K. Jirsa, P. A. Robinson, M. Breakspear, and K. Friston, "The dynamic brain: From spiking neurons to neural masses and cortical fields," PLoS Comput. Biol., vol. 4, no. 8, p. e1000092, 2008. https://doi.org/10.1371/journal.pcbi.1000092
L. Kuhlmann, K. Lehnertz, M. P. Richardson, B. Schelter, and H. P. Zaveri, "Seizure prediction-ready for a new era," Nat. Rev. Neurol., vol. 14, no. 10, pp. 618-630, 2018. https://doi.org/10.1038/s41582-018-0055-2
Y. Li, J. Liu, Z. Tang, and B. Lei, "Deep spatiotemporal convolutional bidirectional LSTM networks for brain-computer interface," IEEE Trans. Syst. Man Cybern. Syst., vol. 51, no. 4, pp. 2576-2585, 2021. https://doi.org/10.1109/TSMC.2019.2912250
A. Gramfort et al., "MEG and EEG data analysis with MNE-Python," Front. Neurosci., vol. 7, p. 267, 2013. https://doi.org/10.3389/fnins.2013.00267
R. S. Fisher, B. G. Acevedo, A. Arzimanoglou, et al., “ILAE official report: A practical clinical definition of epilepsy,” Epilepsia, vol. 55, no. 4, pp. 475-482, 2014. https://doi.org/10.1111/epi.12550
R. Januar, H. Fauzi, M. Ariyanti, and F. Heris, “Study of neuromarketing: Visual influence with decision making on impulse buying,” Kinetik: Game Technology, Information System, Computer Network, Computing, Electronics, and Control, vol. 6, no. 4, 2021. https://doi.org/10.22219/kinetik.v6i4.1334
H. F. Tresna, D. Pratiwi, M. Ariyanti, and A. Fauzi, “Spatial and spectral EEG signal analysis with case study of slogans on consumer’s behaviour,” Kinetik: Game Technology, Information System, Computer Network, Computing, Electronics, and Control, vol. 8, no. 3, 2023. https://doi.org/10.22219/kinetik.v8i3.1747
M. Melinda, Farhan, M. Irhamsyah, R. Miftahujjannah, D. D. Acula, and Y. Yunidar, “Classification of arrhythmia electrocardiogram signals using kernel principal component analysis and naïve bayes,” Kinetik: Game Technology, Information System, Computer Network, Computing, Electronics, and Control, vol. 10, no. 3, pp. 283-294, 2025. https://doi.org/10.22219/kinetik.v10i3.2219
T. W. Purboyo, D. Naufal, M. D. Putra, and E. Kurniawan, “A novel framework for electrocardiogram beats recognition based on Hjorth parameters and inferential statistics,” Edelweiss Applied Science and Technology, vol. 8, no. 6, pp. 6934-6944, 2024. https://doi.org/10.55214/25768484.v8i6.3500
A. A. Farhani, T. W. Purboyo, and D. Naufal, “Myocardial infarction classification based on electrocardiogram signals using principal component analysis with support vector machine and adaboost,” in Proc. 2025 IEEE Int. Symp. Future Telecommunication Technologies (SOFTT), 2025. https://doi.org/10.1109/SOFTT67007.2025.11213196
C. M. Sudarno, T. Waluyo Purboyo, and D. Naufal, “Comparative analysis of boosting algorithms for arrhythmia classification using electrocardiogram (ECG) signals,” in Proc. 2025 IEEE Int. Symp. Future Telecommunication Technologies (SOFTT), 2025. https://doi.org/10.1109/SOFTT67007.2025.11212960