Robust Multi-Site ADHD Classification via GraphSAGE-Based Functional Connectivity Modeling from rs-fMRI.
Paper
Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Markdown · 113 lines · 5 KB · no license
- # Robust Multi-Site ADHD Classification via GraphSAGE-Based Functional Connectivity Modeling from rs-fMRI
- [](https://www.python.org/)
- [](https://pytorch.org/)
- ## Title
- **Robust Multi-Site ADHD Classification via GraphSAGE-Based Functional Connectivity Modeling from rs-fMRI**
- ### Authors
- - **Rabab BOUSMAHA**¹* (✉)
- - Khouloud MERIBAI¹
- - Nardjes BOUCHEMAL²,³
- - Naila BOUCHEMAL⁴
- - Galina IVANOVA⁵
- ---
- ### Affiliations
- ¹ LabRi Laboratory, Ecole Supérieure en Informatique, Sidi Bel Abbes 22000, Algeria
- ² LIRE Laboratory, Abdelhamid Mehri Constantine 2 University, Constantine 25000, Algeria
- ³ LISI Laboratory of Intelligent Systems and Informatics, Mila 43000, Algeria
- ⁴ LyRIDS ECE Ecole d’Ingénieurs de Paris, 75015 Paris, France
- ⁵ Faculty of Electrical Engineering, Electronics and Automation, University of Ruse “Angel Kanchev”, 7017 Ruse, Bulgaria
- **Corresponding Author:** Rabab BOUSMAHA — [email hidden]
- ## Abstract
- Attention Deficit Hyperactivity Disorder (ADHD) is a heterogeneous neurodevelopmental disorder whose diagnosis is mainly based on behavioral assessment and is often delayed due to clinical complexity and limited availability of specialists. Resting-state functional magnetic resonance imaging (rs-fMRI) provides a valuable source of information for supporting automated and objective diagnosis.
- This work proposes a **graph-based deep learning framework** for ADHD classification from rs-fMRI that combines **Phase-Locking Value (PLV)** functional connectivity estimation with **GraphSAGE** representation learning. The model effectively captures both regional brain activity and inter-regional interactions while remaining robust to noise and inter-site variability.
- The proposed framework was evaluated on the publicly available **ADHD-200** dataset across multiple acquisition sites as well as on a combined multi-site dataset. The model achieved **Accuracy = 0.89**, **AUC = 0.96**, and **Specificity = 0.96** on the combined dataset, outperforming several existing methods.
- ---
- ## Key Features
- - Phase-Locking Value (PLV) based functional connectivity
- - 3-layer GraphSAGE with LayerNorm and Dropout
- - Data augmentation (Gaussian noise + time shift) applied **only on training subjects**
- - Stratified Cross-Validation (5 outer folds)
- - Early Stopping + Learning Rate Scheduler
- - Optimized decision threshold with minimum recall constraint
- - Fully reproducible code
- ---
- ## Dataset
- - **ADHD-200** Multi-site rs-fMRI dataset: The data used in this study are publicly available from the ADHD-200 Preprocessed initiative (Athena pipeline): http://preprocessed-connectomes-project.org/adhd200/
- - Due to size constraints, the dataset files (.npy)
- are hosted on Google Drive and can be accessed here :
- [Download Dataset](https://drive.google.com/drive/folders/1ycOw3TS5qSSJPrFZuF3S4J2oUKSzKGO5?usp=sharing)
- - You only need to change the paths of the `.npy` files in the notebook
- ---
- ## Prerequisites & Packages
- ### Required Python Version
- - **Python ≥ 3.8**
- ### Main Packages
- | Package | Version Recommendation |
- |-------------------------|------------------------|
- | torch | ≥ 2.0 |
- | torch-geometric | Latest |
- | numpy | ≥ 1.21 |
- | pandas | ≥ 1.5 |
- | scikit-learn | ≥ 1.2 |
- | scipy | ≥ 1.10 |
- | networkx | ≥ 3.0 |
- | pywavelets (pywt) | ≥ 1.4 |
- | tqdm | Latest |
- | matplotlib & seaborn | Latest |
- | joblib | Latest |
- ---
- ## How to Run
- 1. Clone or download the repository
- 2. Open the Jupyter notebook:
- ```bash
- jupyter notebook ADHD_PLV_GraphSAGE.ipynb
- 3. Update the dataset paths in the notebook:Python
- TS_NPY = "path/to/timeseries_NeuroIMAGE2.npy"
- LAB_NPY = "path/to/labels_NeuroIMAGE2.npy"
- 4. Run all cells
- Results, best model, and plots will be automatically saved in the Results/ folder.
- ## 📁 Project Structure
- ├── ADHD_PLV_GraphSAGE.ipynb # Main notebook
- ├── README.md # Project documentation
- └── Results/ # Generated automatically after running
- ├── best_model_weights.pt # Best model weights
- ├── scaler.pkl # Fitted scaler
- ├── confusion_matrix_global.png # Confusion matrix plot
- ├── roc_curve_global.png # ROC curve plot
- ├── precision_recall_curve.png # Precision-Recall curve plot
- └── final_results_metadata.json # Final results & metrics
- ## 📄 Citation
- > This paper is currently **under review** at *MDPI Bioengineering* (Manuscript ID: `bioengineering-4271001`).
- > A full citation will be provided upon publication.
README.md at commit 1e5f028, no license · at the source
Overview
- LabRi Laboratory, Ecole Superieure en Informatique, Sidi Bel Abbes 22000, Algeria
- LIRE Laboratory, Abdelhamid Mehri Constantine 2 University, Constantine 25000, Algeria
- LISI Laboratory of Intelligent Systems and Informatics, Mila 43000, Algeria
- LyRIDS, ECE Paris, 10 rue Sextius Michel, 75015 Paris, France
- Faculty of Electrical Engineering, Electronics and Automation, University of Ruse “Angel Kanchev”, 7017 Ruse, Bulgaria
Abstract
Attention Deficit Hyperactivity Disorder (ADHD) is a heterogeneous neurodevelopmental disorder whose diagnosis is mainly based on behavioral assessment and is often delayed due to clinical complexity and limited availability of specialists. Resting-state functional magnetic resonance imaging (rs-fMRI) provides a valuable source of information for supporting automated and objective diagnosis. However, existing studies often do not fully capture the complex interactions of functional connectivity between different brain regions. To address this limitation, this work proposes a graph-based deep learning framework for ADHD classification from rs-fMRI that combines functional connectivity modeling with graph representation learning. The approach used Phase-Locking Value (PLV)-based connectivity estimation and Graph Sample and Aggregate (GraphSAGE) to jointly capture regional brain activity and inter-regional interactions in a scalable and efficient manner. GraphSAGE improves robustness to noise and inter-subject variability by aggregating information from stable local graph neighborhoods. This integration allows the model to learn discriminative connectivity-aware representations while remaining robust to signal variability and adaptable to multi-site data. The proposed framework was evaluated on the publicly available ADHD-200 dataset across multiple acquisition sites as well as on a combined multi-site dataset. The results indicate consistent performance across individual sites and on the combined dataset. The model achieved an Accuracy of 0.89, an AUC of 0.96, and a Specificity of 0.96 on the combined dataset, outperforming several existing methods in this setting. By integrating PLV-based connectivity with GraphSAGE learning, the approach provides an effective and scalable solution for automated ADHD classification from rs-fMRI data, contributing to data-driven approaches for the analysis of neurodevelopmental disorders.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above.
preprocessed-connectomes-project.org/adhd200
Availability: 1 check, the latest on 28 September 2026: the link answers (HTTP 200)
- 28 September 2026: the link answers (HTTP 200)
Rabab070707/ADHD_PLV_GraphSAGE
1e5f028dce808821e2fe8b361e36e64a75396558, 7 June 2026Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
1 file
- README.md, Text, 113 lines
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 0 scripts, each with its path and the digest of its content;
- no match between paragraphs and code yet;
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
No dataset and no data link were found in the paper.
Data Availability Statement
The data used in this study are publicly available from the ADHD-200 Preprocessed initiative (Athena pipeline): http://
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 2, 28 September 2026
- Funding: added European Commission: BGRRP-2.013-0001
Version 1, 28 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 5 authors, 7 keywords, 85 references.
Cite
This paper
Bousmaha, R., Meribai, K., Bouchemal, N., Bouchemal, N., & Ivanova, G. (2026). Robust Multi-Site ADHD Classification via GraphSAGE-Based Functional Connectivity Modeling from rs-fMRI. Bioengineering (Basel, Switzerland), 13(5), 586. https://
BibTeX
@article{bousmaha2026rob
author = {Bousmaha, Rabab and Meribai, Khouloud and Bouchemal, Nardjes and Bouchemal, Naila and Ivanova, Galina},
title = {{Robust Multi-Site ADHD Classification via GraphSAGE-Based Functional Connectivity Modeling from rs-fMRI}},
journal = {Bioengineering (Basel, Switzerland)},
year = {2026},
month = may,
volume = {13},
number = {5},
pages = {586},
publisher = {Multidisciplinary Digital Publishing Institute (MDPI)},
issn = {2306-5354},
doi = {10.3390/
url = {https://
pmid = {42194343},
pmcid = {PMC13203753}
}
RIS
TY - JOUR
AU - Bousmaha, Rabab
AU - Meribai, Khouloud
AU - Bouchemal, Nardjes
AU - Bouchemal, Naila
AU - Ivanova, Galina
TI - Robust Multi-Site ADHD Classification via GraphSAGE-Based Functional Connectivity Modeling from rs-fMRI
T2 - Bioengineering (Basel, Switzerland)
J2 - Bioengineering (Basel)
PY - 2026
DA - 2026/
VL - 13
IS - 5
SP - 586
SN - 2306-5354
PB - Multidisciplinary Digital Publishing Institute (MDPI)
DO - 10.3390/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.3390/
"type": "article-journal",
"title": "Robust Multi-Site ADHD Classification via GraphSAGE-Based Functional Connectivity Modeling from rs-fMRI",
"container-title": "Bioengineering (Basel, Switzerland)",
"author": [
{
"family": "Bousmaha",
"given": "Rabab"
},
{
"family": "Meribai",
"given": "Khouloud"
},
{
"family": "Bouchemal",
"given": "Nardjes"
},
{
"family": "Bouchemal",
"given": "Naila"
},
{
"family": "Ivanova",
"given": "Galina"
}
],
"container-title-short":
"volume": "13",
"issue": "5",
"page": "586",
"DOI": "10.3390/
"PMID": "42194343",
"PMCID": "PMC13203753",
"ISSN": "2306-5354",
"publisher": "Multidisciplinary Digital Publishing Institute (MDPI)",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
20
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1186/s12916-023-02941-4
- Sampling inequalities affect generalization of neuroimaging-based diagnostic classifiers in psychiatry.Journal: BMC medicineIn common: 9 references
- [2] doi:10.1038/s41398-023-02309-5
- Multiple measurement analysis of resting-state fMRI for ADHD classification in adolescent brain from the ABCD study.Journal: Translational psychiatryIn common: ADHD, fMRI, 6 references
- [3] doi:10.1016/j.neuroimage.2023.119944
- Identification of overlapping and interacting networks reveals intrinsic spatiotemporal organization of the human brain.Journal: NeuroImageIn common: fMRI, 6 references
- [4] doi:10.3390/neurosci5040033 [code]
- Resting-State Functional Connectivity Predicts Attention Problems in Children: Evidence from the ABCD Study.Journal: NeuroSciIn common: ADHD, fMRI, 4 references
- [5] doi:10.1162/imag.a.1254 [code]
- The individuality of single-frame functional brain connectivity.Journal: Imaging neuroscience (Cambridge, Mass.)In common: fMRI, 5 references
- [6] doi:10.1007/s11682-022-00708-8
- Centrality and interhemispheric coordination are related to different clinical/
behavioral factors in attention deficit/ hyperactivity disorder: a resting-state fMRI study. Journal: Brain imaging and behaviorIn common: ADHD, fMRI, 3 references - [7] doi:10.1002/hbm.26587 [code]
- Cortical timescales and the modular organization of structural and functional brain networks.Journal: Human brain mappingIn common: fMRI, 5 references
- [8] doi:10.1162/imag_a_00113 [code]
- EiDA: A lossless approach for dynamic functional connectivity; application to fMRI data of a model of ageing.Journal: Imaging neuroscience (Cambridge, Mass.)In common: fMRI, 4 references
- [9] doi:10.1038/s43856-025-01015-1 [code]
- Transformer-based structural connectivity networks for ADHD-related connectivity alterations.Journal: Communications medicineIn common: ADHD, 3 references
- [10] doi:10.1038/s41380-025-02974-6 [code]
- Deep graph learning of multimodal brain networks defines treatment-predictive signatures in major depression.Journal: Molecular psychiatryIn common: fMRI, 4 references
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 2 repositories of the authors' code, each at its verified commit and with its license, 0 scripts, and 0 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:82345fd21035914b…
Add the badge to the code's README
If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.
Markdown
<!-- oscr-badge:start -->
[](https://openscicode.org/badge/doi/10.3390/bioengineering13050586)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.3390/bioengineering13050586.svg
:target: https://openscicode.org/badge/doi/10.3390/bioengineering13050586
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.3390/bioengineering13050586"><img src="https://openscicode.org/badge/doi/10.3390/bioengineering13050586.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".
If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.
Report a mismatch between the code and the paper · Report a code error (signed in)
Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.
Report a reproduction failure (signed in)
Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
