Skip to main navigation Skip to search Skip to main content

APTGNet: The age-prompted and text-guided EEG model for epilepsy detection across all-age groups

  • Mengzhu Liu
  • , Xinghe Xie
  • , Lin Xu
  • , Tao Tan
  • , Wei Ke
  • , Chen Wei
  • , Yue Sun
  • Macao Polytechnic University
  • ShanghaiTech University
  • The University of Sydney

Research output: Contribution to journal › Article › peer-review

Abstract

Epilepsy is a neurological disorder characterized by abnormal discharges in the brain, which can occur at any age. Seizures not only have the potential to cause cognitive impairments but also lead to anxiety, depression, and social isolation, severely impacting the quality of life for patients. Therefore, research on epilepsy detection across all-age groups is of significant importance. Electroencephalography (EEG) is a commonly used tool for diagnosing epilepsy, as analyzing EEG signals can help determine seizure events. Existing epilepsy detection models typically rely on EEG data from a single age group, limiting their generalization capabilities and applicability. This study proposes a text-guided model for epilepsy detection in patients across all ages, involving four publicly available datasets that encompass neonates, children, and adults. The APTGNet model uses age prompts combined with textual contrastive learning to train the model, achieving epilepsy classification across all-age groups. The model consists of a text encoder and an EEG encoder, where the text encoder converts text into high-dimensional semantic features, and the EEG encoder utilizes a Dynamic Attention Module (DAM) to dynamically focus on EEG signals from patients of different age groups. By calculating the cosine similarity between text and EEG features, APTGNet can accurately classify seizure signals, demonstrating strong generalization capabilities and clinical application potential. Our model exhibits good performance across multiple datasets for all-age groups, particularly in the following aspects: (1) strong overall performance in seizure detection datasets across various age groups; (2) effective performance and generalization enabled by text guidance and age prompts; and (3) unifying seizure detection tasks across multiple age groups through the DAM.

Original languageEnglish
Article number111072
JournalBiomedical Signal Processing and Control
Volume127
DOIs
Publication statusPublished - 1 Nov 2026

Keywords

  • All-age groups
  • Dynamic attention module
  • EEG
  • Epilepsy
  • Text-guided

Fingerprint

Dive into the research topics of 'APTGNet: The age-prompted and text-guided EEG model for epilepsy detection across all-age groups'. Together they form a unique fingerprint.

Cite this