Study of Machine Learning Techniques for Predicting Panic Attacks with EEG and Personalized Binaural Beat Frequencies

Malathy Batumalay, R S Lakshmi Balaji, Thaweesak Yingthawornsuk

Abstract


Panic attack detection and intervention remain critical challenges in mental health care due to their unpredictable nature and individual variability. This study proposes a machine learning-based framework for early detection of panic attacks using EEG-derived physiological signals, coupled with real-time personalized auditory intervention through binaural beat frequencies. Data were collected under controlled conditions using wearable biosensors to capture features such as heart rate variability, electrodermal activity, and skin temperature. A Gradient Boosting Classifier achieved 96% accuracy in detecting panic states, while an Isolation Forest algorithm effectively identified anomalous patterns preceding attacks. Based on physiological profiles, the system dynamically recommends individualized binaural beat frequencies to promote relaxation and emotional stabilization. The results demonstrate the feasibility of combining predictive modeling and neuroadaptive sound therapy to deliver scalable, non-invasive, and personalized mental health interventions. This approach aligns with global preventive health strategies, particularly those promoting digital therapeutics and early intervention for anxiety-related conditions.


Keywords


Machine Learning; Panic Attack Prediction; EEG; Binaural Beats; Gradient Boosting Classifier; Isolation Forest; Anomaly Detection; Relaxation Therapy; Health Policy

Full Text:

PDF

References


American Psychiatric Association, Diagnostic and Statistical Manual of Mental Disorders, 5th ed. Arlington, VA: American Psychiatric Publishing, 2013.

G. Jaffino, J. P. Jose, Elumalai Pv, N.R. Dhineshbabu, C. C. Kit, and Prabhakar S, “Seizure detection in EEG signal using Gaussian-stockwell transform and Hermite polynomial features,” Results in Engineering, vol. 23, pp. 102684–102684, Aug. 2024, doi: https://doi.org/10.1016/j.rineng.2024.102684.

A. Oliva, S. Torre, P. Taranto, G. Delvecchio, and P. Brambilla, “Neural correlates of emotional processing in panic disorder: a mini review of functional Magnetic Resonance Imaging studies,” Journal of Affective Disorders, Dec. 2020, doi: https://doi.org/10.1016/j.jad.2020.12.085.

A. Harrewijn et al., “Cortical and subcortical brain structure in generalized anxiety disorder: findings from 28 research sites in the ENIGMA-Anxiety Working Group,” Translational Psychiatry, vol. 11, no. 1, pp. 1–15, Oct. 2021, doi: https://doi.org/10.1038/s41398-021-01622-1.

D. R. Simkin, R. W. Thatcher, and J. Lubar, “Quantitative EEG and Neurofeedback in Children and Adolescents,” Child and Adolescent Psychiatric Clinics of North America, vol. 23, no. 3, pp. 427–464, Jul. 2014, doi: https://doi.org/10.1016/j.chc.2014.03.001.

A. Chivu, S. A. Pascal, A. Damborská, and M. I. Tomescu, “EEG Microstates in Mood and Anxiety Disorders: A Meta-analysis,” Brain topography, Aug. 2023, doi: https://doi.org/10.1007/s10548-023-00999-0.

L. Chaieb, E. C. Wilpert, T. P. Reber, and J. Fell, “Auditory Beat Stimulation and its Effects on Cognition and Mood States,” Frontiers in Psychiatry, vol. 6, no. 70, May 2015, doi: https://doi.org/10.3389/fpsyt.2015.00070.

P. A. McConnell, B. Froeliger, E. L. Garland, J. C. Ives, and G. A. Sforzo, “Auditory driving of the autonomic nervous system: Listening to theta-frequency binaural beats post-exercise increases parasympathetic activation and sympathetic withdrawal,” Frontiers in Psychology, vol. 5, Nov. 2014, doi: https://doi.org/10.3389/fpsyg.2014.01248.

A. R. Hassan and M. I. H. Bhuiyan, “A decision support system for automatic sleep staging from EEG signals using tunable Q-factor wavelet transform and spectral features,” Journal of Neuroscience Methods, vol. 271, pp. 107–118, Sep. 2016, doi: https://doi.org/10.1016/j.jneumeth.2016.07.012.

Mahmood Almansoori and Miklós Telek, “Anomaly Detection using combination of Autoencoder and Isolation Forest,” pp. 25–30, Jan. 2023, doi: https://doi.org/10.3311/wins2023-005.

A. Al-mousa, J. Baniissa, T. Hashem, and T. Ibraheem, “Enhanced electrocardiogram machine learning-based classification with emphasis on fusion and unknown heartbeat classes,” DIGITAL HEALTH, vol. 9, Jan. 2023, doi: https://doi.org/10.1177/20552076231187608.

S. A. Reedijk, A. Bolders, L. S. Colzato, and B. Hommel, “Eliminating the Attentional Blink through Binaural Beats: A Case for Tailored Cognitive Enhancement,” Frontiers in Psychiatry, vol. 6, Jun. 2015, doi: https://doi.org/10.3389/fpsyt.2015.00082.

H. Wahbeh, C. Calabrese, and H. Zwickey, “Binaural Beat Technology in Humans: A Pilot Study To Assess Psychologic and Physiologic Effects,” The Journal of Alternative and Complementary Medicine, vol. 13, no. 1, pp. 25–32, Jan. 2007, doi: https://doi.org/10.1089/acm.2006.6196.

E. F. Agyemang, “Anomaly detection using unsupervised machine learning algorithms: A simulation study,” Scientific African, pp. e02386–e02386, Sep. 2024, doi: https://doi.org/10.1016/j.sciaf.2024.e02386.

A. Y. Yıldız and A. Kalayci, "Gradient Boosting Decision Trees on Medical Diagnosis over Tabular Data," arXiv preprint arXiv:2410.03705, Sep. 2024. [Online]. Available: https://arxiv.org/abs/2410.03705.

İ. Y. Potter, G. Zerveas, C. Eickhoff, and D. Duncan, “Unsupervised Multivariate Time-Series Transformers for Seizure Identification on EEG,” 2022 21st IEEE International Conference on Machine Learning and Applications (ICMLA), vol. 15, pp. 1304–1311, Dec. 2022, doi: https://doi.org/10.1109/icmla55696.2022.00208.

S. Zhao et al., “A Systematic Review of Machine Learning Methods for Multimodal EEG Data in Clinical Application,” arXiv.org, 2024. https://arxiv.org/abs/2501.08585 (accessed Apr. 05, 2025).

Wolfram Boucsein, Electrodermal Activity. Springer Science & Business Media, 2013.

M. Malik et al., “Heart rate variability: Standards of measurement, physiological interpretation, and clinical use,” European Heart Journal, vol. 17, no. 3, pp. 354–381, Mar. 1996, doi: https://doi.org/10.1093/oxfordjournals.eurheartj.a014868.

M. Imani, A. Beikmohammadi, and H. R. Arabnia, “Comprehensive Analysis of Random Forest and XGBoost Performance with SMOTE, ADASYN, and GNUS Under Varying Imbalance Levels,” Technologies, vol. 13, no. 3, p. 88, Feb. 2025, doi: https://doi.org/10.3390/technologies13030088.




DOI: https://doi.org/10.47738/jads.v6i4.759

Refbacks

  • There are currently no refbacks.



Barcode

Journal of Applied Data Sciences

ISSN:2723-6471 (Online)
Publisher:Bright Publisher
Website:http://bright-journal.org/JADS
Email:taqwa@amikompurwokerto.ac.id (principal contact)
  support@bright-journal.org (technical issues)

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0