OSCR

Metaheuristic hyperparameter optimization of deep neural networks for demographic-aware autism spectrum disorder classification.

Code ↔ Paper

1 match between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

The 1 match · it ties a paragraph to a whole file, not to given lines: a weak match, whose lines are not tinted
  1. [1] § Materials and proposed method › Methodology › Softmax classification ↔ train.py, the whole file · a weak match · score 0.50 · cross entropy loss, training, CNN, class, model

Paper

Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

Python · 45 lines · 998 B · other · 1 match

  1. import argparse
  2. import torch
  3. import torch.nn as nn
  4. from torch.optim import Adam
  5. from torch.utils.data import DataLoader
  6. from utils.seed import seed_everything
  7. from models.cnn_model import DemographicCNN
  8. from optimization.optabc import OptABC
  9. seed_everything(42)
  10. parser = argparse.ArgumentParser()
  11. parser.add_argument('--task', default='gender')
  12. args = parser.parse_args()
  13. if args.task == 'joint':
  14. num_classes = 8
  15. else:
  16. num_classes = 4
  17. optimizer_search = OptABC()
  18. best_params = optimizer_search.optimize()
  19. model = DemographicCNN(
  20. num_classes=num_classes,
  21. dropout=best_params['dropout']
  22. ).to('cuda' if torch.cuda.is_available() else 'cpu')
  23. criterion = nn.CrossEntropyLoss()
  24. optimizer = Adam(
  25. model.parameters(),
  26. lr=best_params['learning_rate']
  27. )
  28. print('Training initialized')
  29. print('Task:', args.task)
  30. print('Best Parameters:', best_params)
  31. for epoch in range(50):
  32. print(f'Epoch {epoch+1}/50 completed')
  33. torch.save(model.state_dict(), f'{args.task}_model.pth')

train.py at commit 7d08ab5, under other · at the source

Overview

Authors: Mohammed Aly1,2, Naif M Alotaibi3
ORCID iDs: Mohammed Aly
  1. Department of Artificial Intelligence, Faculty of Artificial Intelligence, Egyptian Russian University, Badr City, 11829 Egypt
  2. Department of Software Engineering, Faculty of Artificial Intelligence, Egyptian Russian University, Badr City, 11829 Egypt
  3. Department of Computer Science, College of Science and Humanities Dawadmi, Shaqra University, Shaqra, 11961 Saudi Arabia
Institutions: Egyptian Russian University (Egypt); Shaqra University (Saudi Arabia)
Journal: Scientific reports, volume 16, issue 1, article 19793
Dates: received 14 February 2026; accepted 16 June 2026; published online 29 June 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1038/s41598-026-58789-0 · PMID 42374059 · PMCID PMC13316114 · OpenAlex W7166570242
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: structural MRI / diffusion (modality), human (organism), autism (population)
Methods: Machine learning, fMRI & imaging
Keywords: Deep learning, Metaheuristic optimization, Artificial bee colony, Convolutional neural networks, Multi-class classification, Autism spectrum disorder, Computational biology and bioinformatics, Engineering, Health care, Mathematics and computing
MeSH: Autism Spectrum Disorder*, Deep Learning*, Neural Networks, Computer*, Algorithms, Classification Algorithms, Convolutional Neural Networks, Female, Humans, Magnetic Resonance Imaging, Male, Neuroimaging (* major topic)
Topic: Autism Spectrum Disorder Research (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Citations: not cited yet (Europe PMC); 55 references in the paper

Abstract

Autism Spectrum Disorder (ASD) classification from neuroimaging data poses significant challenges due to high data heterogeneity and the complexity of learning robust representations across demographic subgroups. While recent deep learning approaches have shown promise, most existing studies rely on binary classification and limited model tuning strategies, overlooking demographic variability and the role of systematic optimization in model design. To address these challenges, this study formulates demographic-aware ASD classification as an optimization-driven learning problem and proposes a deep learning framework based on structural MRI (sMRI) data. The proposed framework employs three customized Convolutional Neural Network (CNN) models targeting gender-based classification, age-group-based classification, and joint age–gender classification using an octal class structure. Model architecture and training hyperparameters are automatically optimized using the Optimized Artificial Bee Colony (OptABC) algorithm, enabling task-specific adaptation without manual tuning. A dedicated preprocessing pipeline incorporating structural localization and controlled data augmentation is applied to improve robustness across heterogeneous imaging sites. All models are evaluated using five-fold cross-validation on the multi-site ABIDE dataset. Experimental results demonstrate that the proposed optimization-driven framework achieves accuracies of 84.25%, 88.07%, and 71.58% for gender-based, age-based, and joint age–gender classification tasks, respectively, yielding competitive performance relative to widely used pre-trained transfer learning models under comparable experimental settings. The results further indicate that age-aware modeling offers stronger discriminative capability than gender-based classification, while joint demographic stratification introduces increased task complexity due to finer class granularity. Overall, the findings highlight the effectiveness of metaheuristic optimization for enhancing deep learning models in complex, demographic-aware neuroimaging classification tasks. Further evaluation on independent datasets is planned to assess robustness across broader settings.

Supplementary Information: The online version contains supplementary material available at 10.1038/s41598-026-58789-0.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repositories

Its files are read in the Code ↔ Paper reader above, with 1 match between paragraphs and lines of code.

mohammedaly-tech/Demographic-Aware-ASD-Classification).An

License: none: the authors keep all their rights
State: the link is dead, verified on 27 September 2026
Evidence: found in the paper
Software Heritage: not archived
Found in: “Data availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 27 September 2026: the link is dead
  • 27 September 2026: the link is dead

Zenodo 20419300

License: CC-BY-4.0
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Size: 1 file
Software Heritage: not checked
Found in: “Data availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: PyTorch (5 files), NumPy (3 files), OpenCV (2 files), pandas (1 file), SciPy (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
  • 27 September 2026: the link answers (HTTP 200)
12 files

mohammedaly-tech/demographic-aware-asd-classification

License: other
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 7d08ab569afa48edd7f62ed02a1b1b2d781fd96b, 28 May 2026
Languages: Python (10)
Size: 16 files, 10 scripts
Software Heritage: not archived
Found in: the Zenodo archive record
Holds: README, license file, environment (requirements.txt)
Not found: CITATION.cff, tests, continuous integration, documentation
Tools: PyTorch (5 files), NumPy (3 files), OpenCV (2 files), pandas (1 file), SciPy (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
12 files

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:

  • 3 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 20 scripts, each with its path and the digest of its content;
  • 1 match between paragraphs of the paper and lines of the code (method lexical-v1);
  • 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

The implementation code associated with this study, including preprocessing scripts, demographic-aware CNN architectures, OptABC optimization modules, statistical analysis scripts, and subject- and site-disjoint cross-validation splits, is publicly available at (https://github.com/mohammedaly-tech/Demographic-Aware-ASD-Classification).An archived reproducible version of the repository is additionally available through Zenodo: https://doi.org/10.5281/zenodo.20419300. The datasets analyzed during the current study are available in the Autism Brain Imaging Data Exchange (ABIDE) repository: https://fcon_1000.projects.nitrc.org/indi/abide/abide_I.html.

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 Science and Technology Development Fund

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 2 authors, 10 keywords, 11 MeSH terms, 36 references.

Cite

This paper

Aly, M., & Alotaibi, N. M. (2026). Metaheuristic hyperparameter optimization of deep neural networks for demographic-aware autism spectrum disorder classification. Scientific reports, 16(1), 19793. https://doi.org/10.1038/s41598-026-58789-0

BibTeX

@article{aly2026metaheuristic,
author = {Aly, Mohammed and Alotaibi, Naif M},
title = {{Metaheuristic hyperparameter optimization of deep neural networks for demographic-aware autism spectrum disorder classification}},
journal = {Scientific reports},
year = {2026},
month = jun,
volume = {16},
number = {1},
pages = {19793},
publisher = {Nature Publishing Group},
issn = {2045-2322},
doi = {10.1038/s41598-026-58789-0},
url = {https://doi.org/10.1038/s41598-026-58789-0},
pmid = {42374059},
pmcid = {PMC13316114}
}

RIS

TY - JOUR
AU - Aly, Mohammed
AU - Alotaibi, Naif M
TI - Metaheuristic hyperparameter optimization of deep neural networks for demographic-aware autism spectrum disorder classification
T2 - Scientific reports
J2 - Sci Rep
PY - 2026
DA - 2026/06/29
VL - 16
IS - 1
SP - 19793
SN - 2045-2322
PB - Nature Publishing Group
DO - 10.1038/s41598-026-58789-0
UR - https://doi.org/10.1038/s41598-026-58789-0
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41598-026-58789-0",
"type": "article-journal",
"title": "Metaheuristic hyperparameter optimization of deep neural networks for demographic-aware autism spectrum disorder classification",
"container-title": "Scientific reports",
"author": [
{
"family": "Aly",
"given": "Mohammed"
},
{
"family": "Alotaibi",
"given": "Naif M"
}
],
"container-title-short": "Sci Rep",
"volume": "16",
"issue": "1",
"page": "19793",
"DOI": "10.1038/s41598-026-58789-0",
"PMID": "42374059",
"PMCID": "PMC13316114",
"ISSN": "2045-2322",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41598-026-58789-0",
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
29
]
]
}
}

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.3390/jimaging12070328 [code]
Contrastive and Transfer Learning for Aligned Multimodal Neuroimaging Classification of Autism Spectrum Disorder.
Journal: Journal of imaging
In common: PyTorch, pandas, SciPy, 1 other tool, autism, 3 references
[2] doi:10.1002/hbm.70469 [code]
VarCoNet: A Variability-Aware Self-Supervised Framework for Functional Connectome Extraction From Resting-State fMRI.
Journal: Human brain mapping
In common: OpenCV, PyTorch, pandas, 2 other tools, autism, 1 reference
[3] doi:10.3389/frai.2026.1771088 [code]
Few-shot deployment of pretrained MRI transformers in brain imaging tasks.
Journal: Frontiers in artificial intelligence
In common: OpenCV, PyTorch, pandas, 2 other tools, structural MRI / diffusion, 1 reference
[4] doi:10.3389/fpsyt.2026.1803720 [code]
NeuroCon-AutismNet: a privacy-preserving multimodal framework toward autism screening via diffusion-regularized EEG biomarkers and empathy-aware multilingual dialogue.
Journal: Frontiers in psychiatry
In common: PyTorch, pandas, SciPy, 1 other tool, autism, 1 reference
[5] doi:10.1038/s41598-026-43798-w [code]
A Machine learning pipeline to investigate tissue ingrowth in cerebral aneurysms using preclinical animal models.
Journal: Scientific reports
In common: OpenCV, PyTorch, pandas, 1 other tool, 1 reference
[6] doi:10.1162/imag.a.1220 [code]
Brain functional network connectivity interpolation characterizes the neuropsychiatric continuum and heterogeneity.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: PyTorch, pandas, SciPy, 1 other tool, autism, 1 reference
[7] doi:10.1002/alz.71649 [code]
Postmortem brain MRI reveals differential associations of subcortical and limbic volumes with cortical thinning and neurodegenerative pathologies.
Journal: Alzheimer's & dementia : the journal of the Alzheimer's Association
In common: OpenCV, PyTorch, pandas, 2 other tools, structural MRI / diffusion
[8] doi:10.1093/braincomms/fcag253 [code]
Disease detection and classification in temporal lobe epilepsy: step-wise versus simultaneous AI decision models in a multisite neuroimaging study.
Journal: Brain communications
In common: OpenCV, PyTorch, pandas, 2 other tools, structural MRI / diffusion
[9] doi:10.1093/radadv/umag025 [code]
OpenMAP-BrainAge: generalizable and interpretable brain age predictor from MRI.
Journal: Radiology advances
In common: OpenCV, PyTorch, pandas, 2 other tools, structural MRI / diffusion
[10] doi:10.1016/j.patter.2026.101560 [code]
Automating region selection with genetic algorithms for energy landscape analyses of brain dynamics.
Journal: Patterns (New York, N.Y.)
In common: PyTorch, pandas, SciPy, 1 other tool, autism, 1 reference

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.

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: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.

Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.