On the Complete Feature Set for ADHD Classification in Children and Adolescents Based on EEG Signals
Authors: Javier Sanchis, Álvaro Navarro, Jorge García-Carrasco, Tahar Kechadi, Juan Trujillo
Organizations: Lucentia Research, Department of Software and Computing Systems, University of Alicante, Carretera San Vicente del Raspeig s/n, Sant Vicent del Raspeig, 03690, Alicante, Spain · School of Computer Science and Informatics, University College Dublin, Belfield, Dublin 4, D04 V1W8, Ireland
Attention-deficit/hyperactivity disorder is a neurodevelopmental condition that can affect attention, activity and impulse control. Electroencephalography (EEG) records brain activity as children and adolescents perform cognitive tasks. However, comparing features derived from these recordings requires consistent signal preparation, shared analysis windows and documented quality decisions. We curated 669 existing BALLADEER recordings from 156 participants across five task conditions so that researchers can compare seven EEG feature families on the same time intervals for each participant and task. The dataset links continuous signals to precomputed measurements from 115 feature definitions or templates and records the quality decisions made for each recording. Analyses must still account for repeated measurements within participants, residual artefacts and differences between acquisition systems. Technical validation covered signal integrity, numerical checks on feature estimators and completeness of the released files. In every task, the median proportion of recording time retained after preprocessing was 100%. To illustrate reuse, we report saved participant-held-out evaluations comparing XGBoost using all seven families on eight-second windows with a predictor based only on recruitment-group prevalence in the training fold. Recruitment-group discrimination was stronger in Robots than in the three Slackline conditions. These descriptive results from overlapping cohorts do not establish diagnostic validity. The dataset, curation software and aggregate results for the predictive example are publicly available.
Figures & tables
Figure 1: EEG curation workflow, from source inventory to aligned feature extraction.
Group
Group total
Diagnosed
yes
no
undetermined
ADHD recruitment
62
62
0
0
Control recruitment
96
26
50
20
Table 1: Recruitment and assessment-derived label composition.
Source task
ID
Brief protocol
Acquisition
CogniFit
BAL01
Adaptive computerized cognitive exercises
EPOC X/Plus, 128 or 256 Hz
Robots
BAL02
Visual search for robots matching target criteria
EPOC X/Plus, 128 or 256 Hz
Slackline L1
BAL03
Button response to one on-screen flag target
CGX Quick-32r, 500 Hz
Slackline L6
BAL04
Button response to either of two on-screen flag targets
CGX Quick-32r, 500 Hz
Slackline L11
BAL05
Button response to an on-screen two-flag sequence
CGX Quick-32r, 500 Hz
Table 2: Source EEG tasks and acquisition characteristics.
Analysis scale
QC measurements
4s temporal windows (50% overlap)
Finite-sample, Not a Number, and infinity fractions, Standard Deviation, Median Absolute Deviation, median-centred Root Mean Square, peak-to-peak amplitude, maximum absolute derivative, line length, flat-sample and repeated-value fractions, longest flat run, skewness, Fisher excess kurtosis, median-centred zero-crossing rate, median pairwise Spearman channel correlation, and median Global Field Power.
8s spectral windows (50% overlap)
Absolute and relative delta, theta, alpha, beta, and high-beta power, slow-drift ratio, common and extended high-frequency ratios, 50-Hz line-noise ratio and supported harmonics, spectral entropy, Theil-Sen spectral slope, 95% spectral edge frequency, median pairwise spectral correlation, and median absolute spectral deviation.
Full recording
Recorded and usable duration, expected and observed sampling frequency, signed sampling-frequency error, interval jitter, duplicate and backward timestamps, invalid-row count, gap count and duration, continuous-block count, channel inventory, full-recording median channel and nearest-neighbour correlations, and persistent spectral deviation.
Table 3: Raw EEG QC measurements retained at each analysis scale.
Family
Each row represents
Row multiplicity and duration support
Count
Temporal and statistical
One channel and epoch
One per channel at all four durations
17
Conventional spectral
One channel and epoch
One per channel at all four durations
18
Aperiodic spectral
One channel-epoch summary or one periodic peak
None at 2s and 4s, one per channel at 8s and 16s, with variable peak rows
18
Complexity and fractal
One channel and epoch
One per channel. Four definitions null at 2s, one at 4s
11
Functional connectivity
Epoch-connectivity matrix with packed channel pairs
1 for 2s and 4s, and 26 for 8s and 16s
26
Graph and network
Epoch-graph representation with global and nodal metrics
3 for 2s and 4s, and 28 for 8s and 16s
15
Table 4: Scientific feature definitions and table organisation.
Figure 2: Shared analysis windows within continuous recording blocks.
Figure 3: Configured feature-family support by epoch duration.
Task
Recordings
Participants
Channels
EEG hours
Feature records
CogniFit
129
129
14
80.89
58,004,337
Robots
123
123
14
10.02
7,099,948
Slackline L1
140
140
29
11.88
16,365,912
Slackline L6
139
139
29
11.80
16,226,365
Slackline L11
138
138
29
11.71
16,090,524
Total
669
156
14 or 29
126.29
113,787,086
Table 5: Task-level derivative inventory.
File group
Main formats
Contents
Metadata and QC: one archive
CSV, Parquet and JSON
Participant and recording inventories, eligibility decisions, quality measurements and validation records
Preprocessed EEG: five task-specific archives
MNE-FIF, with JSON, TSV and Parquet records
Continuous EEG signals, processing details and mappings between source and derivative recordings
Features: 35 task-by-family archives
Parquet, with JSON and YAML records
Feature values, window and feature reference tables, calculation states and processing settings
Seven supporting files
Markdown, CSV, JSON and plain text
Documentation, file inventory, release manifest, checksums, publication audit, version information and licence
Electroencephalography (EEG) studies brain-generated electrical activity to understand cognition and support diagnosis, monitoring, and brain-computer interfaces.
Electroencephalograph (EEG) timeseries signals are characterized by significant noise and coarse spatial resolution, which complicates the classification of neurodegenerative diseases. Even SOTA deep learning architectures struggle to distinguish between healthy controls and diseased subjects, or between different disease types, due to high intergroup similarity. In this paper, we show that a spectrally selective approach to feature construction enhances class separability. By isolating signal strengths within the primary brainwave bands, we transform high dimensional raw data into high value spectral features. Our results demonstrate that in small datasets a) features derived from frequency and time frequency domain allow traditional machine learning models to match or exceed the performance of SOTA deep learning models, b) Attention mechanism is unable to distill the stable feature signatures that characterize healthy neural activity in both resting and task EEGs, and c) the limitations of attention based models in finding relevant spectral features appear to be robust in that providing frequency selective time domain input do not appreciably improve their performance. We validate our methodology across three open source resting EEG datasets and one task EEG dataset, providing robust empirical evidence for our claims.
We propose a novel computational framework for analyzing electroencephalography (EEG) time series using methods from stringology, the study of efficient algorithms for string processing, to systematically identify and characterize recurrent temporal patterns in neural signals. The primary aim is to introduce quantitative measures to understand neural signal dynamics, with the present findings serving as a proof-of-concept. The framework adapts order-preserving matching (OPM) and Cartesian tree matching (CTM) to detect temporal motifs that preserve relative ordering and hierarchical structure while remaining invariant to amplitude scaling. This approach provides a temporally precise representation of EEG dynamics that complements traditional spectral and global complexity analyses. To evaluate its utility, we applied the framework to multichannel EEG recordings from individuals with attention-deficit/hyperactivity disorder (ADHD) and matched controls using a publicly available dataset. Highly recurrent, group-specific motifs were extracted and quantified using both OPM and CTM. The ADHD group exhibited significantly higher motif frequencies, suggesting increased repetitiveness in neural activity. OPM analysis revealed shorter motif lengths and greater gradient instability in ADHD, reflected in larger mean and maximal inter-sample amplitude changes. CTM analysis further demonstrated reduced hierarchical complexity in ADHD, characterized by shallower tree structures and fewer hierarchical levels despite comparable motif lengths. These findings suggest that ADHD-related EEG alterations involve systematic differences in the structure, stability, and hierarchical organization of recurrent temporal patterns. The proposed stringology-based motif framework provides a complementary computational tool with potential applications for objective biomarker development in neurodevelopmental disorders.
Low-cost, scalable screening for dementia remains an open problem. Imaging-based diagnosis is costly and hard to deploy widely. Electroencephalography (EEG) is portable and inexpensive, but its recordings are noisy, vary widely across subjects, and carry few clinical labels. We tackle this with Delta2Gamma, a self-supervised framework that learns EEG representations from unlabeled data by contrasting augmented views of each signal. Rather than treat EEG as a single stream, Delta2Gamma decomposes every recording into the five canonical neural rhythms (delta, theta, alpha, beta, gamma). Each band gets its own encoder and projection head. Each also gets a temperature that is predicted adaptively during contrastive training, so bands with different signal statistics are balanced automatically. On the ADFTD cohort under a strict leave-one-subject-out protocol, Delta2Gamma separates Alzheimer's disease from cognitively normal controls with 92.4% accuracy. This exceeds both supervised backbones and recent dedicated EEG methods.
Chanwoo Park, Chanwoo Kim
Department of Artificial Intelligence Korea University Seoul, Republic of Korea