TY - JOUR
T1 - APTGNet
T2 - The age-prompted and text-guided EEG model for epilepsy detection across all-age groups
AU - Liu, Mengzhu
AU - Xie, Xinghe
AU - Xu, Lin
AU - Tan, Tao
AU - Ke, Wei
AU - Wei, Chen
AU - Sun, Yue
N1 - Publisher Copyright:
© 2026
PY - 2026/11/1
Y1 - 2026/11/1
N2 - 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.
AB - 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.
KW - All-age groups
KW - Dynamic attention module
KW - EEG
KW - Epilepsy
KW - Text-guided
UR - https://www.scopus.com/pages/publications/105046212304
U2 - 10.1016/j.bspc.2026.111072
DO - 10.1016/j.bspc.2026.111072
M3 - Article
AN - SCOPUS:105046212304
SN - 1746-8094
VL - 127
JO - Biomedical Signal Processing and Control
JF - Biomedical Signal Processing and Control
M1 - 111072
ER -