Explainable Autism Spectrum Disorder Classification from Electroencephalography Using Wavelet Spectrograms and Convolutional Neural Networks
Downloads
Autism Spectrum Disorder (ASD) is a neurodevelopmental condition characterized by impairments in social communication and restricted or repetitive behaviors, while diagnosis remains largely dependent on behavioral assessment that may be time-consuming, subjective, and less accessible in resource-limited settings. This study aims to develop an interpretable electroencephalography (EEG)-based ASD classification framework that not only achieves reliable discrimination but also identifies model-relevant electrodes and evaluates whether reduced-channel configurations can retain predictive performance. The main contribution is an integrated pipeline combining Continuous Wavelet Transform (CWT) time–frequency representation, a Simple Convolutional Neural Network (SimpleCNN), SHapley Additive exPlanations (SHAP)-based channel attribution derived exclusively from training partitions, reduced-channel evaluation, and a representation-controlled support vector machine (SVM) baseline. Resting-state EEG data from the King Abdulaziz University dataset included 16 participants, comprising 8 individuals with ASD and 8 typically developing controls. Preprocessing consisted of common average referencing, 1–40 Hz zero-phase bandpass filtering, ±3σ Winsorization, adaptive amplitude-based artifact rejection, and 4-s epochs with 50% overlap. Winsorization modified an average of 1.20% of samples per participant, and 3,568 of 4,294 generated epochs were retained after artifact rejection. Performance was evaluated using an eight-fold subject-dependent epoch-level protocol. The CWT-SimpleCNN achieved an accuracy of 0.9504 ± 0.0080 and an AUC of 0.9902 ± 0.0026, with sensitivity of 0.9524 and specificity of 0.9482, whereas the SVM baseline achieved an accuracy of 0.8450 ± 0.0122 and an AUC of 0.9274 ± 0.0123. Fold-wise SHAP analysis consistently prioritized Fp2, C3, Oz, and F4, while the predefined elbow criterion identified a four-channel configuration comprising these electrodes, achieving an AUC of 0.9710 ± 0.0109. These findings demonstrate strong, subject-dependent epoch discrimination within the dataset and show that model-specific explanations can support compact EEG channel configurations. However, subject-wise, demographically balanced, multi-site, and external validation remain necessary before clinical generalization.
Copyright (c) 2026 Muhammad Zaki, yunidar, Melinda Melinda, Fithria Fithria, Siti Rusdiana, Muhammad Irhamsyah, Muhammad Saifullah Nur (Author)

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution-ShareAlikel 4.0 International (CC BY-SA 4.0) that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).






