Attention-Guided Hybrid ViT–DeiT Model for Autism Severity Classification Using Eye-Tracking Images
Main Article Content
Abstract
Autism spectrum disorder (ASD) assessment using eye-tracking images has attracted increasing attention because gaze patterns may reveal behavioral differences associated with autistic characteristics. However, most existing approaches focus on binary ASD-versus-typically developing classification and frequently rely on handcrafted gaze descriptors, single-stream convolutional architectures, or complex preprocessing pipelines. This study proposes a Hybrid Vision Dual-branch (HVD) framework that integrates complementary representations learned by Vision Transformer (ViT) and Data-efficient Image Transformer (DeiT) models. An attention-guided fusion module dynamically assigns sample-specific weights to the two branches, enabling adaptive integration of global and fine-grained visual information. The framework was evaluated for four-class classification of dataset-defined ASD severity categories, namely High, Low, Medium, and Mild, using five-fold cross-validation. Each fold contained 3,200 training samples and 800 validation samples, producing 4,000 out-of-fold predictions. The proposed model achieved a mean accuracy of 94.73 ± 1.30%, macro precision of 95.02 ± 1.12%, macro recall of 94.73 ± 1.30%, and macro F1-score of 94.70 ± 1.31%. The aggregated multiclass ROC analysis yielded a micro-average AUC of 0.996, with class-specific AUC values ranging from 0.994 to 0.997. The Medium class achieved the highest F1-score of 97.56%, while the main classification difficulty occurred between the High and Low categories. The fusion mechanism assigned pooled average weights of 0.3584 and 0.6416 to the ViT and DeiT branches, respectively, while maintaining sample-level weight variation. These results demonstrate that the proposed HVD framework provides stable and competitive performance for fine-grained eye-tracking image classification through adaptive dual-transformer feature fusion.
Article Details
Issue
Section

This work is licensed under a Creative Commons Attribution 4.0 International License.
How to Cite
References
[1] M. H. Al-Adhaileh, S. N. M. Alsubari, A. H. Al-Nefaie, S. Ahmad, and A. A. Alhamadi, “Diagnosing autism spectrum disorder based on eye tracking technology using deep learning models,” Front. Med. (Lausanne)., vol. 12, p. 1690177, 2025.
[2] S. A. Jassim, A. K. Kareem, and A. A. Nafea, “Deep Learning Approaches for Autism Spectrum Disorder: A Comprehensive Review.,” Basrah Journal of Science/Magallat Al-Barat Li-L-ulum, vol. 44, no. 1, p. 140, 2026.
[3] S. L. Hyman et al., “Identification, evaluation, and management of children with autism spectrum disorder,” Pediatrics, vol. 145, no. 1, Jan. 2020, doi: 10.1542/PEDS.2019-3447.
[4] R. A. Jeyarani and R. Senthilkumar, “Eye tracking biomarkers for autism spectrum disorder detection using machine learning and deep learning techniques,” Res. Autism Spectr. Disord., vol. 108, p. 102228, 2023.
[5] R. A. Rasul, P. Saha, D. Bala, S. M. R. U. Karim, M. I. Abdullah, and B. Saha, “An evaluation of machine learning approaches for early diagnosis of autism spectrum disorder,” Healthcare Analytics, vol. 5, p. 100293, 2024.
[6] M. Alsaidi, N. Obeid, N. Al-Madi, H. Hiary, and I. Aljarah, “A convolutional deep neural network approach to predict autism spectrum disorder based on eye-tracking scan paths,” Information, vol. 15, no. 3, p. 133, 2024.
[7] S. Cheekaty and G. Muneeswari, “Enhanced multilevel autism classification for children using eye-tracking and hybrid CNN-RNN deep learning models,” Neural Comput. Appl., vol. 37, no. 33, pp. 27631–27654, 2025.
[8] Y. Alkhrijah et al., “From local textures to global attention: a hybrid feature fusion network for skin lesion classification,” Sci. Rep., 2026.
[9] A. N. Esfahani, A. Jalili, and H. Sajedi, “NeXtSwin-X: dual-branch cross-attention fusion of ConvNeXt and swin transformer for accurate brain tumor classification from MRI and CT,” Sci. Rep., 2026.
[10] Z. Zhao, H. Tang, X. Zhang, X. Qu, X. Hu, and J. Lu, “Classification of children with autism and typical development using eye-tracking data from face-to-face conversations: Machine learning model development and performance evaluation,” J. Med. Internet Res., vol. 23, no. 8, p. e29328, 2021.
[11] Z. M. Fadhel and Q. M. Hussein, “Detecting autism spectrum disorder in children using eye tracking and machine learning,” in 2022 International Congress on Human-Computer Interaction, Optimization and Robotic Applications (HORA), IEEE, 2022, pp. 1–3.
[12] M. Alcañiz et al., “Eye gaze as a biomarker in the recognition of autism spectrum disorder using virtual reality and machine learning: A proof of concept for diagnosis,” Autism Research, vol. 15, no. 1, pp. 131–145, 2022.
[13] F. Meng et al., “Machine learning-based early diagnosis of autism according to eye movements of real and artificial faces scanning,” Front. Neurosci., vol. 17, p. 1170951, 2023.
[14] Q. Wei, H. Cao, Y. Shi, X. Xu, and T. Li, “Machine learning based on eye-tracking data to identify Autism Spectrum Disorder: A systematic review and meta-analysis,” J. Biomed. Inform., vol. 137, p. 104254, 2023.
[15] F. Cilia et al., “Computer-aided screening of autism spectrum disorder: eye-tracking study using data visualization and deep learning,” JMIR Hum. Factors, vol. 8, no. 4, p. e27706, 2021.
[16] M. R. Kanhirakadavath and M. S. M. Chandran, “Investigation of eye-tracking scan path as a biomarker for autism screening using machine learning algorithms,” Diagnostics, vol. 12, no. 2, p. 518, 2022.
[17] I. A. Ahmed et al., “Eye Tracking-Based Diagnosis and Early Detection of Autism Spectrum Disorder Using Machine Learning and Deep Learning Techniques,” 2022.
[18] N. Alsharif, M. H. Al-Adhaileh, M. Al-Yaari, N. Farhah, and Z. I. Khan, “Utilizing deep learning models in an intelligent eye-tracking system for autism spectrum disorder diagnosis,” Front. Med. (Lausanne)., vol. 11, p. 1436646, 2024.
[19] J. M. B. Ranjana and R. Muthukkumar, “ADET MODEL: Real time autism detection via eye tracking model using retinal scan images,” Technology and Health Care, vol. 33, no. 4, pp. 1661–1678, 2025.
[20] H. Ibadi and A. Lakizadeh, “ASDvit: Enhancing autism spectrum disorder classification using vision transformer models based on static features of facial images,” Intell. Based. Med., vol. 11, p. 100226, 2025.
[21] B. Benabderrahmane, M. Gharzouli, and A. Benlecheb, “A novel multi-modal model to assist the diagnosis of autism spectrum disorder using eye-tracking data,” Health Inf. Sci. Syst., vol. 12, no. 1, p. 40, 2024.
[22] F. Colonnese, F. Di Luzio, A. Rosato, and M. Panella, “Enhancing autism detection through gaze analysis using eye tracking sensors and data attribution with distillation in deep neural networks,” Sensors, vol. 24, no. 23, p. 7792, 2024.
[23] W. Kasri, Y. Himeur, A. Copiaco, W. Mansoor, A. Albanna, and V. Eapen, “Hybrid vision transformer-mamba framework for autism diagnosis via eye-tracking analysis,” in 2025 International Conference on Communication, Computing, Networking, and Control in Cyber-Physical Systems (CCNCPS), IEEE, 2025, pp. 343–348.
[24] M. S. Alam, M. M. Rashid, A. Jazlan, M. E. E. Alahi, M. Kchaou, and K. A. B. Alharthi, “Robust autism spectrum disorder screening based on facial images (for disability diagnosis): a domain-adaptive deep ensemble approach,” Diagnostics, vol. 15, no. 13, p. 1601, 2025.
[25] M. CH, Suresh, G, “A Real-Time Eye-Tracking Dataset for Autism Severity Classification Using Deep Learning,” Zenodo, vol. (Version p, no. [Graphic], 2024, doi: https://doi.org/10.5281/zenodo.14243186.
[26] S. T. Arasteh, L. Misera, J. N. Kather, D. Truhn, and S. Nebelung, “Enhancing network initialization for medical AI models using large-scale, unlabeled natural images,” arXiv preprint arXiv:2308.07688, 2023.
[27] I. Das et al., “Improving medical x-ray imaging diagnosis with attention mechanisms and robust transfer learning techniques,” IEEE Access, 2025.
[28] A. Halder, S. Gharami, P. Sadhu, P. K. Singh, M. Woźniak, and M. F. Ijaz, “Implementing vision transformer for classifying 2D biomedical images,” Sci. Rep., vol. 14, no. 1, p. 12567, 2024.
[29] J.-M. O. Steitz and S. Roth, “Adapters Strike Back.” [Online]. Available: https://github.com/visinf/adapter_plus.
[30] T. J. Bradshaw, Z. Huemann, J. Hu, and A. Rahmim, “A guide to cross-validation for artificial intelligence in medical imaging,” Radiol. Artif. Intell., vol. 5, no. 4, p. e220232, 2023.
[31] S. Sharma, Y. Singh, and T. Choudhury, “Advanced deep learning architectures for enhanced mammography classification: a comparative study of CNNs and ViT,” Discover Artificial Intelligence, vol. 5, no. 1, p. 187, 2025.
[32] T. Kumar, R. Brennan, A. Mileo, and M. Bendechache, “Image Data Augmentation Approaches: A Comprehensive Survey and Future Directions,” IEEE Access, vol. 12, pp. 187536–187571, 2024, doi: 10.1109/ACCESS.2024.3470122.
[33] X. Zhang, C. Wu, Y. Zhang, W. Xie, and Y. Wang, “Knowledge-enhanced visual-language pre-training on chest radiology images,” Nat. Commun., vol. 14, no. 1, p. 4542, 2023.
[34] Z. Fan et al., “A medical image classification method based on self‐regularized adversarial learning,” Med. Phys., vol. 51, no. 11, pp. 8232–8246, 2024.
[35] I. Ktena et al., “Generative models improve fairness of medical classifiers under distribution shifts,” Nat. Med., vol. 30, no. 4, pp. 1166–1173, 2024.
[36] M. Mahmoud, Y. Wen, X. Pan, Y. Liufu, and Y. Guan, “Evaluation of recent lightweight deep learning architectures for lung cancer CT classification,” Front. Oncol., vol. 15, p. 1647701, 2025.
[37] Y. Wang, Y. Deng, Y. Zheng, P. Chattopadhyay, and L. Wang, “Vision Transformers for Image Classification: A Comparative Survey,” Jan. 01, 2025, Multidisciplinary Digital Publishing Institute (MDPI). doi: 10.3390/technologies13010032.
[38] K. Han et al., “A survey on vision transformer,” IEEE Trans. Pattern Anal. Mach. Intell., vol. 45, no. 1, pp. 87–110, 2022.
[39] H. Touvron, M. Cord, M. Douze, F. Massa, A. Sablayrolles, and H. Jégou, “Training data-efficient image transformers & distillation through attention,” 2021.
[40] R. Chen et al., “MedFuseNet: fusing local and global deep feature representations with hybrid attention mechanisms for medical image segmentation,” Sci. Rep., vol. 15, no. 1, p. 5093, 2025.
[41] M. A. Naeem, S. Yang, M. A. Saleem, I. Javed, and A. Javeed, “Automated skin cancer detection using MedFusionNet with attention-based fusion of ConvNeXt and vision transformer,” Sci. Rep., 2025.
[42] O. Rainio, J. Teuho, and R. Klén, “Evaluation metrics and statistical tests for machine learning,” Sci. Rep., vol. 14, no. 1, p. 6086, 2024.
[43] A. A. Nafea, A.-M. Manar, K. M. A. Alheeti, M. S. I. Alsumaidaie, and M. M. AL-Ani, “A Hybrid Method of 1D-CNN and Machine Learning Algorithms for Breast Cancer Detection,” Baghdad Science Journal, vol. 21, no. 10, pp. 3333–3343, 2024.
[44] M. Al-Mahdawi, N. M. Mirza, and M. Y. Kamil, “Breast Cancer Detection Techniques: A Review,” Al-Nahrain Journal of Science, vol. 27, no. 5, pp. 105–113, Dec. 2024, doi: 10.22401/ANJS.27.5.12.
[45] A. Antolí et al., “Using explainable machine learning and eye-tracking for diagnosing autism spectrum and developmental language disorders in social attention tasks,” Front. Neurosci., vol. 19, p. 1558621, 2025.
[46] K.-F. Kollias, C. K. Syriopoulou-Delli, P. Sarigiannidis, and G. F. Fragulis, “Applying machine learning to eye-tracking data for autism identification in high-functioning adults,” Discover Artificial Intelligence, vol. 6, no. 1, p. 325, 2026.
[47] J. Parikh, S. Goyal, Y. Malhotra, and W. Y. Leong, “A spatiotemporal hybrid neural network for robust autism spectrum disorder detection via eye tracking feature fusion,” Discover Artificial Intelligence, vol. 6, no. 1, p. 495, 2026.