# Preliminary Electroencephalography-Based Assessment of Anxiety Using Machine Learning: A Pilot Study

**Authors:** Katarzyna Mróz, Kamil Jonak

PMC · DOI: 10.3390/brainsci15060571 · 2025-05-26

## TL;DR

This pilot study explores using machine learning with EEG to detect anxiety and improve mental health diagnosis and treatment.

## Contribution

The study introduces advanced AI models like transformers and VAE-D2GAN for improved EEG-based anxiety detection and real-time monitoring.

## Key findings

- Successive training sessions improve EEG signal classification accuracy.
- Personalized and adaptive EEG analysis methods are emphasized for better results.
- BCI usability and EEG processing challenges are identified for future improvements.

## Abstract

Background: Recent advancements in machine learning (ML) have significantly influenced the analysis of brain signals, particularly electroencephalography (EEG), enhancing the detection of complex neural patterns. ML enables large-scale data processing, offering novel opportunities for diagnosing and treating mental disorders. However, challenges such as data variability, noise, and model interpretability remain significant. This study reviews the current limitations of EEG-based anxiety detection and explores the potential of advanced AI models, including transformers and VAE-D2GAN, to improve diagnostic accuracy and real-time monitoring. Methods: The paper presents the application of ML algorithms, with a focus on convolutional neural networks (CNN) and recurrent neural networks (RNN), in identifying biomarkers of anxiety disorders and predicting therapy responses. Additionally, it discusses the role of brain–computer interfaces (BCIs) in assisting individuals with disabilities by enabling device control through brain activity. Results: Experimental EEG research on BCI applications was conducted, focusing on motor imagery-based brain activity. Findings indicate that successive training sessions improve signal classification accuracy, emphasizing the need for personalized and adaptive EEG analysis methods. Challenges in BCI usability and technological constraints in EEG processing are also addressed. Conclusions: By integrating ML with EEG analysis, this study highlights the potential for future healthcare applications, including neurorehabilitation, anxiety disorder therapy, and predictive clinical models. Future research should focus on optimizing ML algorithms, enhancing personalization, and addressing ethical concerns related to patient privacy.

## Full-text entities

- **Diseases:** mental disorders (MESH:D001523), anxiety disorder (MESH:D001008), Anxiety (MESH:D001007)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Figures

9 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12190515/full.md

---
Source: https://tomesphere.com/paper/PMC12190515