ArticlePublisher preview available

Detecting Autism Spectrum Disorder and Attention Deficit Hyperactivity Disorder Using Multimodal Time-Frequency Analysis with Machine Learning Using the Electroretinogram from Two Flash Strengths

Authors:
To read the full-text of this research, you can request a copy directly from the authors.

Abstract and Figures

Purpose Autism spectrum disorder (ASD) and attention deficit hyperactivity disorder (ADHD) are conditions that similarly alter cognitive functioning ability and challenge the social interaction, attention, and communication skills of affected individuals. Yet these are distinct neurological conditions that can exhibit diverse characteristics which require different management strategies. It is desirable to develop tools to assist with early distinction so that appropriate early interventions and support may be tailored to an individual’s specific requirements. The current diagnostic procedures for ASD and ADHD require a multidisciplinary approach and can be lengthy. This study investigated the potential of electroretinogram (ERG), an eye test measuring retinal responses to light, for rapid screening of ASD and ADHD. Methods: Previous studies identified differences in ERG amplitude between ASD and ADHD, but this study explored time-frequency analysis (TFS) to capture dynamic changes in the signal. ERG data from 286 subjects (146 control, 94 ASD, 46 ADHD) was analyzed using two TFS techniques. Results: Key features were selected, and machine learning models were trained to classify individuals based on their ERG response. The best model achieved 70% overall accuracy in distinguishing control, ASD, and ADHD groups. Conclusion: The ERG to the stronger flash strength provided better separation and the high frequency dynamics (80–300 Hz) were more informative features than lower frequency components. To further improve classification a greater number of different flash strengths may be required along with a discrimination comparison to participants who meet both ASD and ADHD classifications and carry both diagnoses.
This content is subject to copyright. Terms and conditions apply.
ORIGINAL ARTICLE
Journal of Autism and Developmental Disorders (2025) 55:1365–1378
https://doi.org/10.1007/s10803-024-06290-w
Hugo F. Posada-Quintero
hugo.posada-quintero@uconn.edu
1 Department of Biomedical Engineering, University of
Connecticut, 06269 Storrs, CT, USA
2 Behavioral and Brain Sciences Unit, Population Policy and
Practice Program, UCL Great Ormond Street Institute of
Child Health, University College London, London, UK
3 Tony Kriss Visual Electrophysiology Unit, Clinical and
Academic Department of Ophthalmology, Great Ormond
Street Hospital for Children NHS Foundation Trust, London,
UK
4 UCL Great Ormond Street Institute for Child Health,
University College London, London, UK
5 Centre for Change and Complexity in Learning, University
of South Australia, Adelaide, Australia
6 College of Nursing and Health Sciences, Flinders University,
Caring Futures Institute, Adelaide, Australia
Abstract
Purpose Autism spectrum disorder (ASD) and attention decit hyperactivity disorder (ADHD) are conditions that simi-
larly alter cognitive functioning ability and challenge the social interaction, attention, and communication skills of aected
individuals. Yet these are distinct neurological conditions that can exhibit diverse characteristics which require dierent
management strategies. It is desirable to develop tools to assist with early distinction so that appropriate early interventions
and support may be tailored to an individual’s specic requirements. The current diagnostic procedures for ASD and ADHD
require a multidisciplinary approach and can be lengthy. This study investigated the potential of electroretinogram (ERG),
an eye test measuring retinal responses to light, for rapid screening of ASD and ADHD. Methods: Previous studies identied
dierences in ERG amplitude between ASD and ADHD, but this study explored time-frequency analysis (TFS) to capture
dynamic changes in the signal. ERG data from 286 subjects (146 control, 94 ASD, 46 ADHD) was analyzed using two TFS
techniques. Results: Key features were selected, and machine learning models were trained to classify individuals based
on their ERG response. The best model achieved 70% overall accuracy in distinguishing control, ASD, and ADHD groups.
Conclusion: The ERG to the stronger ash strength provided better separation and the high frequency dynamics (80–300 Hz)
were more informative features than lower frequency components. To further improve classication a greater number of
dierent ash strengths may be required along with a discrimination comparison to participants who meet both ASD and
ADHD classications and carry both diagnoses.
Keywords Electroretinogram · Autism spectrum disorder · Attention decit hyperactivity disorder · Time-frequency
analysis · Machine learning
Accepted: 13 February 2024 / Published online: 23 February 2024
© The Author(s), under exclusive licence to Springer Science+Business Media, LLC, part of Springer Nature 2024
Detecting Autism Spectrum Disorder and Attention Decit
Hyperactivity Disorder Using Multimodal Time-Frequency Analysis
with Machine Learning Using the Electroretinogram from Two Flash
Strengths
Sultan MohammadManjur1· Luis Roberto MercadoDiaz1· Irene OLee2· David HSkuse2· Dorothy A.Thompson3,4·
FernandoMarmolejos-Ramos5· Paul A.Constable6· Hugo F.Posada-Quintero1
1 3
Content courtesy of Springer Nature, terms of use apply. Rights reserved.
... However, relying on these markers limits the number of features that ML models can use to improve classification between groups. Therefore, signal analysis in the time-frequency domain is utilized to decompose the signal into multiple frequency-based sub-bands [16,[24][25][26], which expands the number of features available for ML models. The time-frequency analysis of the ERG waveform was developed by Gauvin and colleagues, who decomposed the ERG signal using a discrete wavelet transform (DWT) with a Haar mother wavelet [27][28][29][30]. ...
... The time-frequency analysis of the ERG waveform was developed by Gauvin and colleagues, who decomposed the ERG signal using a discrete wavelet transform (DWT) with a Haar mother wavelet [27][28][29][30]. An alternative signal analytical approach using variable-frequency complex demodulation (VFCDM) [31] was applied to the ERG waveforms and compared to DWT with the introduction of ML for group classification, with the model achieving a sensitivity of 0.85 and specificity of 0.78 [24,26]. ...
... Three analyses of the ERG waveform 'signal', in both the time and time-frequency domains, were conducted with the aim of identifying the best set of features to differentiate the control, ASD, ADHD, and the ASD + ADHD groups. Further details of the signal analysis methods are provided in Appendix B (following the discussion section) and were previously described in detail using discrete wavelet transform (DWT) [16,[27][28][29][30] and variable-frequency complex demodulation (VFCDM) [24,25,31,45]. ...
Article
Full-text available
Electroretinograms (ERGs) show differences between typically developing populations and those with a diagnosis of autism spectrum disorder (ASD) or attention deficit/hyperactivity disorder (ADHD). In a series of ERGs collected in ASD (n = 77), ADHD (n = 43), ASD + ADHD (n = 21), and control (n = 137) groups, this analysis explores the use of machine learning and feature selection techniques to improve the classification between these clinically defined groups. Standard time domain and signal analysis features were evaluated in different machine learning models. For ASD classification, a balanced accuracy (BA) of 0.87 was achieved for male participants. For ADHD, a BA of 0.84 was achieved for female participants. When a three-group model (ASD, ADHD, and control) the BA was lower, at 0.70, and fell further to 0.53 when all groups were included (ASD, ADHD, ASD + ADHD, and control). The findings support a role for the ERG in establishing a broad two-group classification of ASD or ADHD, but the model’s performance depends upon sex and is limited when multiple classes are included in machine learning modeling.
... Still, these early findings require more extensive studies to replicate in younger clinical populations. Whilst developments in this field continue with the use of signal analysis of the ERG using variable frequency complex demodulation [24] showing potential to not only classify ASD but also to differentiate between ASD and ADHD [25], [26]. Other methods using aspects of Functional Data Analysis of the b-wave have also recently been reported [27] that may provide additional features that may contribute to the classification of retinal disorders [28]. ...
... Manjur et al. [25] applied variable frequency complex demodulation and ML for ASD and ADHD classification, achieving 0.84 accuracy with gradient boosting. and more recently achieved a 70% overall accuracy for differentiating between ASD, ADHD and controsl [26]. Further studies may explore sensitivity and specificity with controls meeting both ASD and ADHD classifications [25]. ...
... However, one limitation in such studies is the heterogeneity of the ASD population despite standardization of clinical assessments such as the Autism Diagnostic Observational schedule (ADOS) [43]. Heterogeneity in ASD may manifest in the severity and co-occurrence of additional conditions [29] Obesity diseases 47 / Not Specified ERG DA and LA Artificial Neural Network (ANN) Zhdanov, 2022 [31] Retinal Dystrophy Not Specified / 425 ERG DA and LA Decision Tree (DT) Glinton, 2022 [32] ABCA4-related retinopathy 597 / Not Specified ERG DA and LA SVM Gajendran, 2022 [33] Early-Stage Glaucoma 60 / 540 ERG DA and LA Feature Engineering, RFC * Manjur, 2022 [34] Autism Spectrum Disorder (ASD) 143 / Not Specified ERG LA RFC, GB ** , DT, SVM Kulyabin, 2023 [35] Retinal Dystrophy Not Specified / 542 ERG DA and LA VGG, ResNet, DensNet, ResNext, ViT Posada-Quintero,2023 [24] ASD 217 / Not Specified ERG LA RFC, GB, SVM Manjur, 2023 [25] ASD 143 / Not Specified ERG LA GradBoost, XGBoost Manjur, 2024 [26] ASD, ADHD *** 286 / Not Specified ERG LA RFC, XGBoost * Random Forest Classifier ** Gradient Boosting *** Attention Deficit Hyperactivity Disorder such as ADHD with phenotypic overlap [44]. ML approaches may help to classify neurodevelopmental disorders based on a combination of phenotypic and biological markers [45], [46]. ...
Article
Full-text available
The electroretinogram (ERG) is a clinical test that records the retina’s electrical response to a brief flash of light as a waveform signal. Analysis of the ERG signal offers a promising non-invasive method for studying different neurodevelopmental and neurodegenerative disorders. Autism Spectrum Disorder (ASD) is a neurodevelopmental condition characterized by poor communication, reduced reciprocal social interaction, and restricted and/or repetitive stereotyped behaviors that should be detected as early as possible to ensure timely and appropriate intervention to support the individual and their family. In this study, we applied gated Multilayer Perceptron (gMLP) for the light-adapted ERG waveform classification as an effective alternative to Transformers. In this first reported application of this model to ASD classification which consisted of basic multilayer perceptrons, with fewer parameters than Transformers. We compared the performance of different time-series models on an ASD-Control dataset and found that the superiority of gMLP in classification accuracy was the best at 89.7% compared to alternative models and supports the use of gMLP in classification models based on ERG recordings involving case-control comparisons.
... However, test conditions such as the electrode position and type and subject parameters such as sex assigned at birth, age, and iris color may also infuence the reference ERG parameters [6][7][8]. Having the ability to increase representative waveforms based on exemplars may help bolster the sample size of not only normative but also of case series in challenging to recruit or under-represented populations in clinical research, such as autism spectrum disorder (ASD) [9][10][11], rare inherited retinal dystrophies (IRDs) [12], Parkinson's disease [13], glaucoma [14] and attention-defcit/hyperactivity disorder (ADHD) [15]. ...
... Additional signal analytical methods using variable frequency complex demodulation (VFCDM) employs a series of bandpass flters to give a greater time-frequency resolution than DWT, but at the expense of detailed information concerning the cellular origins of the extracted signals [23]. Nonetheless, VFCDM has been applied to the ERG for the classifcation of ASD and ADHD based on the LA-ERGs [15,[23][24][25]. In addition to these analytical methods, other developments based on functional data analysis that identify features of the waveform shape to classify groups have also been described for the ascending portion of the b-wave [26]. ...
Article
Full-text available
Visual electrophysiology is often used clinically to determine the functional changes associated with retinal or neurological conditions. The full-field flash electroretinogram (ERG) assesses the global contribution of the outer and inner retinal layers initiated by the rods and cone pathways depending on the state of retinal adaptation. Within clinical centers, reference normative data are used to compare clinical cases that may be rare or underpowered within a specific demographic. To bolster either the reference dataset or the case dataset, the application of synthetic ERG waveforms may offer benefits to disease classification and case-control studies. In this study and as a proof of concept, artificial intelligence (AI) to generate synthetic signals using generative adversarial networks is deployed to upscale male participants within an ISCEV reference dataset containing 68 participants, with waveforms from the right and left eye. Random forest classifiers further improved classification for sex within the group from a balanced accuracy of 0.72–0.83 with the added synthetic male waveforms. This is the first study to demonstrate the generation of synthetic ERG waveforms to improve machine learning classification modelling with electroretinogram waveforms.
... Typically, the clinical ERG is used to support the diagnosis of inherited or acquired retinal disease using time-domain parameters based on the amplitude and timing of the waveform peaks [31]. However, in conditions where subtle changes in the ERG may not be apparent through analysis of timedomain parameters, such as in heterogeneous conditions, that may co-occur, such as autism spectrum disorder (ASD) [37] and attention deficit hyperactivity disorder (ADHD) [2] then alternative approaches may be required using signal analysis of the ERG to identify features for better classification [9,26]. One way of addressing the difficulty of heterogeneity is by using large datasets and artificial intelligence (AI) to improve classification models. ...
... The idea of using machine learning (ML) algorithms to classify ASD ERG signals has been applied in the papers of Manjur et al. [27,26]. Time-domain features could detect ASD with a maximum of 65% accuracy. ...
Preprint
Full-text available
The electroretinogram (ERG) is a clinical test that records the retina's electrical response to light. The ERG is a promising way to study different neurodevelopmental and neurodegenerative disorders, including autism spectrum disorder (ASD) - a neurodevelopmental condition that impacts language, communication, and reciprocal social interactions. However, in heterogeneous populations, such as ASD, where the ability to collect large datasets is limited, the application of artificial intelligence (AI) is complicated. Synthetic ERG signals generated from real ERG recordings carry similar information as natural ERGs and, therefore, could be used as an extension for natural data to increase datasets so that AI applications can be fully utilized. As proof of principle, this study presents a Generative Adversarial Network capable of generating synthetic ERG signals of children with ASD and typically developing control individuals. We applied a Time Series Transformer and Visual Transformer with Continuous Wavelet Transform to enhance classification results on the extended synthetic signals dataset. This approach may support classification models in related psychiatric conditions where the ERG may help classify disorders.
... The magnitude of the wavelet coefficients indicates the strength of these components at specific times and scales ◂ Doc Ophthalmol Vol:. (1234567890) the classification of ADHD [10,11,60]. This new approach to handling limited-sized datasets that utilize the ERG for disease classification or early detection in psychiatric disorders [14,15] provides another methodological approach to identifying functional biomarkers in neurological disorders [14]. ...
Article
Full-text available
The electroretinogram (ERG) records the functional response of the retina. In some neurological conditions, the ERG waveform may be altered and could support biomarker discovery. In heterogeneous or rare populations, where either large data sets or the availability of data may be a challenge, synthetic signals with Artificial Intelligence (AI) may help to mitigate against these factors to support classification models. This approach was tested using a publicly available dataset of real ERGs, n = 560 (ASD) and n = 498 (Control) recorded at 9 different flash strengths from n = 18 ASD (mean age 12.2 ± 2.7 years) and n = 31 Controls (mean age 11.8 ± 3.3 years) that were augmented with synthetic waveforms, generated through a Conditional Generative Adversarial Network. Two deep learning models were used to classify the groups using either the real only or combined real and synthetic ERGs. One was a Time Series Transformer (with waveforms in their original form) and the second was a Visual Transformer model utilizing images of the wavelets derived from a Continuous Wavelet Transform of the ERGs. Model performance at classifying the groups was evaluated with Balanced Accuracy (BA) as the main outcome measure. The BA improved from 0.756 to 0.879 when synthetic ERGs were included across all recordings for the training of the Time Series Transformer. This model also achieved the best performance with a BA of 0.89 using real and synthetic waveforms from a single flash strength of 0.95 log cd s m−2. The improved performance of the deep learning models with synthetic waveforms supports the application of AI to improve group classification with ERG recordings.
Article
Full-text available
Education plays a critical role in supporting the academic, behavioral, and cognitive development of children with Autism Spectrum Disorder (ASD). According to Smith et al. (2021) [58] , specialized educational placements are essential for meeting the unique learning needs of these children. These placements provide structured environments and individualized interventions that promote better academic outcomes. Davis and Lee (2022) [16] further emphasize the importance of implementing Individualized Education Programs (IEPs), which allow for personalized instruction, curriculum modifications, and necessary accommodations tailored to each learner's strengths and challenges. In this context, the present study examined the relationship between educational placement and the school performance, behavior, and cognitive development of learners with ASD in San Pablo City. Using a descriptive-correlational research design, data were collected from a random sample of 50 out of 57 SPED teachers. A validated and reliability-tested survey instrument, adapted from existing studies, was used for data gathering. Findings showed that the majority of the respondents were female, aged 36-45. The results suggest that appropriate educational placement has a significant impact on improving the overall performance and development of children with ASD, reinforcing the importance of individualized and structured educational support.
Article
Education plays a critical role in supporting the academic, behavioral, and cognitive development of children with Autism Spectrum Disorder (ASD). According to Smith et al. (2021) [58], specialized educational placements are essential for meeting the unique learning needs of these children. These placements provide structured environments and individualized interventions that promote better academic outcomes. Davis and Lee (2022) [16] further emphasize the importance of implementing Individualized Education Programs (IEPs), which allow for personalized instruction, curriculum modifications, and necessary accommodations tailored to each learner's strengths and challenges. In this context, the present study examined the relationship between educational placement and the school performance, behavior, and cognitive development of learners with ASD in San Pablo City. Using a descriptive-correlational research design, data were collected from a random sample of 50 out of 57 SPED teachers. A validated and reliability-tested survey instrument, adapted from existing studies, was used for data gathering. Findings showed that the majority of the respondents were female, aged 36–45. The results suggest that appropriate educational placement has a significant impact on improving the overall performance and development of children with ASD, reinforcing the importance of individualized and structured educational support.
Article
Autism spectrum disorder (ASD) is a widely recognized neurodevelopmental disorder, yet the identification of reliable imaging biomarkers for its early diagnosis remains a challenge. Considering the specific manifestations of ASD in the eyes and the interconnectivity between the brain and the eyes, this study investigates ASD through the lens of retinal analysis. We specifically examined differences in the macular region of the retina using optical coherence tomography (OCT)/optical coherence tomography angiography (OCTA) images between children diagnosed with ASD and those with typical development (TD). Our findings present potential novel characteristics of ASD: the thickness of the ellipsoid zone (EZ) with cone photoreceptors was significantly increased in ASD; the large‐caliber arteriovenous of the inner retina was significantly reduced in ASD; these changes in the EZ and arteriovenous were more significant in the left eye than in the right eye. These observations of photoreceptor alterations, vascular function changes, and lateralization phenomena in ASD warrant further investigation, and we hope that this work can advance interdisciplinary understanding of ASD.
Article
Full-text available
Attention-deficit/hyperactivity disorder (ADHD) is the most common neurodevelopmental disorder of childhood. Although it requires timely detection and intervention, existing continuous performance tests (CPTs) have limited efficacy. Research suggests that eye movement could offer important diagnostic information for ADHD. This study aimed to compare the performance of eye-tracking with that of CPTs, both alone and in combination, and to evaluate the effect of medication on eye movement and CPT outcomes. We recruited participants into an ADHD group and a healthy control group between July 2021 and March 2022 from among children aged 6–10 years (n = 30 per group). The integration of eye-tracking with CPTs produced higher values for the area under the receiver operating characteristic (AUC, 0.889) compared with using CPTs only (AUC, 0.769) for identifying patients with ADHD. The use of eye-tracking alone showed higher performance compare with the use of CPTs alone (AUC of EYE: 0.856, AUC of CPT: 0.769, p = 0.029). Follow-up analysis revealed that most eye-tracking and CPT indicators improved significantly after taking an ADHD medication. The use of eye movement scales could be used to differentiate children with ADHD, with the possibility that integrating eye movement scales and CPTs could improve diagnostic precision.
Article
Full-text available
Attention-deficit/hyperactivity disorder (ADHD) follows a variable course across childhood. Disrupted arousal has been hypothesized to underlie core symptoms as well as comorbid internalizing and externalizing conditions. The current study examined eye-movement and pupil-dilation metrics indexing arousal as longitudinal predictors of ADHD, externalizing, and internalizing symptoms over a 2-year period. Participants aged 8–13 years (N = 54, 30% with a diagnosis of ADHD) completed a modified version of the gap-overlap task including arousal-inducing auditory warning signals. Parents rated symptoms at the time of testing and at 2 years follow-up. Phasic alerting (reaction-time reduction after alerting cues) is an index of arousal. Here, larger phasic alerting effects predicted higher ADHD-symptom levels 2 years later. Blunted pupil-dilation responses predicted externalizing symptoms at T2, controlling for ADHD and externalizing at T1. Our results support the theory that ADHD is associated with altered arousal. Blunted arousal reactivity may be a longitudinal risk factor for externalizing problems in children with ADHD symptoms.
Article
Full-text available
Eye movements and other rich data obtained in virtual reality (VR) environments resembling situations where symptoms are manifested could help in the objective detection of various symptoms in clinical conditions. In the present study, 37 children with attention deficit hyperactivity disorder and 36 typically developing controls (9–13 y.o) played a lifelike prospective memory game using head-mounted display with inbuilt 90 Hz eye tracker. Eye movement patterns had prominent group differences, but they were dispersed across the full performance time rather than associated with specific events or stimulus features. A support vector machine classifier trained on eye movement data showed excellent discrimination ability with 0.92 area under curve, which was significantly higher than for task performance measures or for eye movements obtained in a visual search task. We demonstrated that a naturalistic VR task combined with eye tracking allows accurate prediction of attention deficits, paving the way for precision diagnostics.
Article
Full-text available
The electroretinogram (ERG) allows the investigation of retinal signaling pathways and has increasingly been applied in individuals with mental disorders in search for potential biomarkers of neurodevelopmental disorders. Preceding ERG examinations in individuals with autism spectrum disorders (ASD) showed inconsistent results, which might be due to the small number of participants, heterogeneity of the ASD population, differences in age ranges, and stimulation methods. The aim of this study was to investigate functional retinal responses in adults with ASD by means of the light-adapted (photopic) ERG. Light-adapted ERG measurements were obtained with the RETeval ® system applying three different stimulation protocols. In the final analysis, the ERG parameters a-wave, b-wave, the photopic negative response (PhNR), the photopic hill parameters as well as additional amplitude ratios were compared between 32 adults with high-functioning ASD and 31 non-autistic controls. Both groups were matched with regard to sex and age. No significant functional retinal differences in amplitude or peak time of the a- or b-wave, PhNR, the photopic hill parameters or the ERG-amplitude ratios could be detected in individuals with ASD compared to non-autistic participants. The absence of electrophysiological functional retinal alterations in ASD, suggests that changes in visual perception, such as increased attention to detail or visual hypersensitivity in ASD, are not due to impairments at early levels of retinal signal processing.
Article
Full-text available
Attention-deficit/hyperactivity disorder (ADHD) and autism are neurodevelopmental disorders that emerge in childhood. There is increasing recognition that ADHD and autism frequently co-occur. Yet, questions remain among clinicians regarding the best ways to evaluate and treat co-occurring autism and ADHD. This review outlines issues relevant to providing evidence-based practice to individuals and families who may be experiencing difficulties associated with co-occurring autism and ADHD. After describing the complexities of the co-occurrence of autism and ADHD, we present practical considerations for best practice assessment and treatment of co-occurring autism and ADHD. Regarding assessment, this includes considerations for interviewing parents/caregivers and youth, using validated parent and teacher rating scales, conducting cognitive assessments, and conducting behavior observations. Regarding treatment, consideration is given to behavioral management, school-based interventions, social skills development, and the use of medications. Throughout, we note the quality of evidence that supports a particular component of assessment or treatment, highlighting when evidence is most relevant to those with co-occurring autism and ADHD across stages of development. In light of the current evidence for assessment and treatment of co-occurring autism and ADHD, we conclude by outlining practical implications for clinical and educational practice.
Article
Background: The retina is recognized as an accessible part of the brain due to their common embryonic origin. The electroretinogram (ERG) has proven to be a valuable tool for detecting schizophrenia and bipolarity. We therefore investigated its ability to detect ADHD. Methods: The cone and rod luminance response functions of the ERG were recorded in 26 ADHD subjects (17 women and 9 men) and 25 controls (16 women and 9 men). Results: No significant differences were found between the mixed groups, but sexual dysmorphia was observed in the significant results. In males, a significant prolongation of the cone a-wave latency was observed in the ADHD group. In females, we observed a significant decrease in the cone a- and b-wave amplitudes and a trend for a prolonged cone b-wave latency as well as a higher scotopic mixed rod-cone a-wave in the ADHD group. Conclusion: The data obtained in this study show the potential of the ERG to detect ADHD, warranting further large-scale studies.
Article
We investigate two neuro-developmental disorders in children– Autism Spectrum Disorder (ASD) and Attention-deficit/hyperactivity disorder (ADHD). Most works in literature have examined these disorders separately, e.g., ASD or ADHD subjects vs healthy subjects. We base our framework on the approach adopted by a paediatrician. We propose a one-class model for characterizing healthy subjects. Any subject with ASD/ADHD is considered an outlier by this one-class model. We adopt a Dense GAN architecture with self-attention modules as our one-class model. Our system uses T1-weighted longitudinal structural magnetic resonance images (sMRI) as input modalities. Further, we train our framework using longitudinal data (two scans per subject over time) only, instead of the traditional approaches using cross-sectional data (one scan per subject). Our approach is similar to paediatricians diagnosing the subject over multiple sessions to confirm the disorder. Comprehensive experiments show that our proposed approach performs better than competing ASD and ADHD works.