Transformer-Based Modeling of Directed Transfer Entropy Connectivity for EEG-Based ADHD Classification in Children

Electroencephalography (EEG) provides a non-invasive and cost-effective tool for supporting the assessment of attention-deficit/hyperactivity disorder (ADHD). However, the nonstationary nature of EEG produces substantial variability among signal windows recorded from the same participant, which can obscure diagnostic structure and lead to inconsistent predictions. To address this problem, we propose the Contextualized Transfer Entropy Network (CTE-Net), an end-to-end deep-learning architecture that combines global content-based contextualization with nonlinear and directed EEG connectivity estimation. CTE-Net first employs a Transformer encoder to contextualize the multichannel representations within each EEG window. The resulting signals are processed using channel-wise nonlinear temporal filters and Takens delay-coordinate embeddings. A differentiable matrix-based Transfer Entropy module, formulated using Rényi’s α-entropy and a rational quadratic kernel, then estimates directed predictive information dependencies between all ordered electrode pairs. The resulting connectivity coefficients are used for ADHD-versus-control classification. The model was evaluated on a publicly available pediatric EEG dataset comprising 120 participants, equally divided between ADHD and control groups, using five fixed subject-wise folds and ten random training repetitions. At the window level, CTE-Net achieved an accuracy of 80.9±1.7%, precision of 82.7±2.1%, and sensitivity of 84.2±2.3%. At the participant level, it achieved an accuracy of 83.4% (95% CI: 78.2–88.2) and an ROC-AUC of 90.2% (95% CI: 85.1–94.6), demonstrating competitive and comparatively balanced classification performance. Beyond classification performance, the directed Transfer Entropy representation exhibited the lowest within-subject dispersion among the analyzed representation stages, with a median reduction of 38.35% relative to raw EEG. This reduction remained consistent across different PCA dimensionalities and distance definitions. These single-dataset findings support CTE-Net as a compact and interpretable methodological framework for representing directed EEG interactions while attenuating window-specific variability within individual participants.

Authors

Institutions

Publication Details

Journal
Sensors
Published
2026-09-11
DOI
https://doi.org/10.3390/s26185786
Primary Topic
Attention Deficit Hyperactivity Disorder
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
article

Transformer-Based Modeling of Directed Transfer Entropy Connectivity for EEG-Based ADHD Classification in Children

David Cárdenas‐Peña, Julián Gil-González, Andrés Marino Álvarez-Meza, Julián David Pastrana-Cortés et al.
Sensors
Attention Deficit Hyperactivity Disorder
article

Transformer-Based Modeling of Directed Transfer Entropy Connectivity for EEG-Based ADHD Classification in Children

David Cárdenas‐Peña, Julián Gil-González, Andrés Marino Álvarez-Meza, Julián David Pastrana-Cortés, Alejandra Gomez-Rivera
article en

Abstract

Electroencephalography (EEG) provides a non-invasive and cost-effective tool for supporting the assessment of attention-deficit/hyperactivity disorder (ADHD). However, the nonstationary nature of EEG produces substantial variability among signal windows recorded from the same participant, which can obscure diagnostic structure and lead to inconsistent predictions. To address this problem, we propose the Contextualized Transfer Entropy Network (CTE-Net), an end-to-end deep-learning architecture that combines global content-based contextualization with nonlinear and directed EEG connectivity estimation. CTE-Net first employs a Transformer encoder to contextualize the multichannel representations within each EEG window. The resulting signals are processed using channel-wise nonlinear temporal filters and Takens delay-coordinate embeddings. A differentiable matrix-based Transfer Entropy module, formulated using Rényi’s α-entropy and a rational quadratic kernel, then estimates directed predictive information dependencies between all ordered electrode pairs. The resulting connectivity coefficients are used for ADHD-versus-control classification. The model was evaluated on a publicly available pediatric EEG dataset comprising 120 participants, equally divided between ADHD and control groups, using five fixed subject-wise folds and ten random training repetitions. At the window level, CTE-Net achieved an accuracy of 80.9±1.7%, precision of 82.7±2.1%, and sensitivity of 84.2±2.3%. At the participant level, it achieved an accuracy of 83.4% (95% CI: 78.2–88.2) and an ROC-AUC of 90.2% (95% CI: 85.1–94.6), demonstrating competitive and comparatively balanced classification performance. Beyond classification performance, the directed Transfer Entropy representation exhibited the lowest within-subject dispersion among the analyzed representation stages, with a median reduction of 38.35% relative to raw EEG. This reduction remained consistent across different PCA dimensionalities and distance definitions. These single-dataset findings support CTE-Net as a compact and interpretable methodological framework for representing directed EEG interactions while attenuating window-specific variability within individual participants.

SensorsVol. 26(18)
Technological University of Pereira (CO), Universidad Nacional de Colombia (CO)
Openalex Percentile: Top 10%
Attention Deficit Hyperactivity Disorder
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.