Submitted:
23 April 2025
Posted:
24 April 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction and Related Works
2. Research Methodology
3. Model Architecture
| Algorithm 1: Training and cross-validation evaluation |
| Begin |
| For i =1, 2, ... iteration-cycles Do |
| For a suitable hyperparameter Do |
| Predict suitable cross-validation folds // five cross-validation is the default |
| For each cross-validation fold Do |
| Select a suitable classifier |
| Fit and compile the model with data |
| Store results with the configuration |
| Prepare, Compile, and Store Confusion Matrix |
| End |
| End |
| End |
| Store experimental results according to the precision, recall, and F-measure |
| End |

| Algorithm 2: Bands Identification and Classification |
| Begin |
| Result: D, N the set of dyslexic and normal people |
| D ← {} |
| N ← {} |
| While has next band Do |
| p ← next people band |
| b1, b2, … b5 ← MFCC(p) |
| For bi { b1, b2, … b5} Do |
| If bi satisfies dyslexic-condition, Then |
| d ← argmaxdi {| di ∩ bi | }; |
| If | d bi| > Threshold Then |
| D ← D U {di} |
| Else // don’t satisfies dyslexic (i.e., normal) |
| N ← N U {bi} |
| Endif |
| Endfor |
| Return D, N |
| End While |
| End |
3.1. Dyslexia Prediction Model
- The duration of the brain signal recorded during the teaching session for each participant.
- The time interval of the received EEG signal (measured in seconds) is set at 120 seconds.
- Manual tagging and categorization of each participant’s record into one of three groups: dyslexic, attention deficit, or autism.
- Examination of an attention deficit parameter within the signal interval for each participant.
3.1.1. Delta Waves
3.1.2. Theta Waves
3.2.3. Alpha Waves
3.1.4. Beta Waves
3.1.5. Gamma Waves
3.2. Frequencies Bands of Dyslexia and Diagnosis Refinement
3.3. The Cost Criteria
3.4. EEG Data Additional Processing
3.6. Hidden Layers Architecture
4. Evaluation and Experimental Results
4.1. Case 1: MOOC Watching
4.2. Case 2: Eye Tracking During Reading Activity
- -
- Lx: x coordinate of the left eye
- -
- Ly: y coordinate of the left eye
- -
- Rx: x coordinate of the right eye
- -
- Ry: y coordinate of the right eye


4.3. Case 3: Opening and Closing Eye Tracking Activity
- The EEG frequencies of participants can be evaluated across different spectrum categories such as Delta (1-4 Hz), Theta (4-8 Hz), Alpha (8-14 Hz), Beta (14-30 Hz), and Gamma (30-42 Hz).
- This data can be utilized to anticipate levels of confusion, attention, or mental focus among individuals, thereby enabling the prediction of confused students.
- Various correlation parameters between frequency bands can be studied to forecast and identify specific characteristics related to attention and mediation.
- By analyzing the correlation parameters across frequency bands within a sample containing numerous dyslexic participants, it may be feasible to diagnose dyslexia.
- With a substantial dataset comprising dyslexic participants for training and testing purposes, it becomes possible to establish thresholds for feature selection leading to early diagnosis based on signals from Attention, Mediation, Theta, Beta, and Gamma.
5. Conclusions
- By collecting EEG data from individuals viewing educational videos, we obtain their raw EEG signals along with the different frequency components that make up these signals.
- This information can subsequently be utilized to assess the individual’s level of meditation or attention.
- With a sufficiently large sample of individuals with dyslexia in our training dataset, we can determine a threshold for the target feature, enabling us to diagnose dyslexia by evaluating whether the individual’s meditation or attention falls beyond this established cutoff point.
Acknowledgment
| 1 | |
| 2 |
https://github.com/ShubhamVerma1/EEG-Signal-Classification/ blob/ master/Code.ipynb |
| 3 |
References
- T. Kanime, (2024).A critical discussion on the strengths and weaknesses of the phonological deficit hypothesis and other causual theories as causal explanations for dyslexia. [CrossRef]
- S. Shaywitz, and J. Shaywitz. (2020). Overcoming Dyslexia, Second Edition, on the Amazon.com website (accessed on 20-10-2023) https://www.amazon.com/Overcoming-Dyslexia-Complete-Science-Based-Problems/dp/0679781595.
- Y. Sun, J.-Lee, R. Kirby, (2010). Brain Imaging Findings in Dyslexia, Science Direct: A Review Article.
- V. Trezzi, et al., (2017). The role of READ1 and KIAA0319 genetic variations in developmental dyslexia: testing main and interactive effects, Journal of Human Genetics.
- J. Birsh, (2018). Multisensory Teaching of Basic Language Skills, Paul Brookes Publishing Co. https://www.amazon.com/Multisensory-Teaching-Basic-Language-Skills/dp/1681252260.
- N. Z. Al Dahhan, J. R Kirby, R. Hung, and D. P Munoz, (2022). Eye Movements of Dyslexic and Average Readers in Meaningful and Pseudo-Word Passage Reading, 2022. [CrossRef]
- I. Dias Reis, S. Araújo, I. Salomé Morais and L. Faísca, (2020). Reading and reading-related skills in adults with dyslexia from different orthographic systems: A review and meta-analysis, Adults with Dyslexia, 2020. https://www.researchgate.net/publication/344227252.
- J. Thomas Panachakel and A. G. Ramakrishnan, (2021), Decoding Imagined Speech from EEG Using Transfer Learning, IEEE Access, PP (99). [CrossRef]
- N. Molina, et. al., (2024). Unraveling Brain Synchronisation Dynamics by Explainable Neural Networks using EEG Signals: Application to Dyslexia Diagnosis. https://link.springer.com/.
- C. Cooney, A. Korik, R. Folli, and D. Coyle, (2020). Evaluation of Hyperparameter Optimization in Machine and Deep Learning Methods for Decoding Imagined Speech, EEG, 17; 20 (16):4629, 2020. [CrossRef]
- H. Al-Barhamtoshy and D. Motaweh, (2017). Diagnosis of Dyslexia using Computation Analysis, International Conference on Informatics, Health & Technology (ICIHT 2017), 21-23 February 2017. https://ieeexplore.ieee.org/document/7899141.
- J. Thomas Panachakel, A. Ganesan Ramakrishnan, (2021). Decoding Covert Speech from EEG-A Comprehensive Review, 2021. [CrossRef]
- S. Visram, D. Leyden, O. Annesley, D. Bappa and N. J. Sebire, (2021). Perceptions and Attitudes of Children and Young People to Artificial Intelligence in Medicine, Research Gate, 2021: https://arxiv.org/abs/2110.04890.
- S. Visram, D. Leyden, O. Annesley, D. Bappa and N. J. Sebire, (2022). Engaging children and young people on the potential role of artificial intelligence in medicine, Pediatric Research, Springer, 2022. https://www.nature.com/articles/s41390-022-02053-4.
- N. Izzati Mat Razi, A. Abdul Rahman and N. Kamaruddin. (2020). Detecting learning disabilities based on neuro-physiological interface of affect (NPIoA). Indonesian Journal of Electrical Engineering and Computer Science, vol. 19(1), July 2020, pp 163-170. https://pdfs.semanticscholar.org/32bc/1cc251afab81cb275a881c55f030bcb3edf3.pdf.
- S. Winnie, W. Wong, J. Mak, R. Chan, (2017). “An Evaluation of Mental Workload with Frontal EEG,” Public Library of Science (PLOS) ONE, vol. 12, no. 4, pp. e0174949, April 2017. [CrossRef]
- M. Petrescu, D. Taussig and V. Bouilleret, (2020). Electroencephalogram (EEG) in COVID-19: A Systematic Retrospective Study, Clinical Neurophysiology. https://www.sciencedirect.com/science/article/pii/S0987705320300575.
- K. H. Muhaimin and F. A. Bachtiar, (2022). Classification of Electroencephalogram Data on Massive Open Online Course Studying Process Using Gated Recurrent Unit, 2022, Association for Computing Machinery. ACM. [CrossRef]
- L. Moctezuma, M. Molinas, (2019). Sex differences observed in a study of EEG of linguistic activity and resting-state: Exploring optimal EEG channel configurations. [CrossRef]
- P. A. Eleni and J. Lagopoulos, (2016). “Resting State EEG Hemispheric Power Asymmetry in Children with Dyslexia,” Frontiers in Pediatrics, vol. 4, 2016. [CrossRef]
- Board Meeting: Attention deficit hyperactivity disorder (ADHD) Programed update, (2024). https://www.england.nhs.uk/long-read/attention-deficit-hyperactivity-disorder-adhd-programme-update/.
- P. Zoccolotti, M. De LucaID, C. V. Marinelli and D. Spinelli, (2021). Predicting individual differences in reading, spelling and maths in a sample of typically developing children: A study in the perspective of comorbidity, PLoS ONE, vol. 15(4) 2021. [CrossRef]
- H. Yaacob, H. Omar, D. Handayani, and R. Hassan, (2019). “Emotional Profiling Through Supervised Machine Learning of Interrupted EEG Interpolation”, International Journal of Advanced Computer Research, vol. 9, no. 43, pp. 242-251, 2019. [CrossRef]
- H. Perera, M. Shiratuddin, K. Wong, K. Fullarton, (2018). “EEG Signal Analysis of Writing and Typing Between Adults with Dyslexia and Normal Controls,” International Journal of Interactive Multimedia and Artificial Intelligence, vol. 5, no. 1, pp. 62, 2018. [CrossRef]
- P. A. Eleni and J. Lagopoulos, (2016). “Resting State EEG Hemispheric Power Asymmetry in Children with Dyslexia”, Frontiers in Pediatrics, vol. 4, 2016. [CrossRef]
- R. Narain, (2022). Analyzing the Brain Waves Data Using Python. https://www.datatobiz.com/blog/ brain-waves-data-using-python/ (accessed in 10-10-2022).
- D. Radečić. ROC and AUC - How to Evaluate Machine Learning Models, hands-on examples in Python. https://towardsdatascience.com/roc-and-auc-how-to-evaluate-machine-learning-models-in-no-time-fb2304c83a7f (visited in 2022,10, 11).
- M. Keshavarzi, K. Mandke, A. Macfarlane, L. Parvez, F. Gabrielczyk, A. Wilson and U. Goswami, (2022). Atypical delta-band phase consistency and atypical preferred phase in children with dyslexia during neural entrainment to rhythmic audio-visual speech, NeuroImage: Clinical Vol. 35, 2022. [CrossRef]
- L. Moctezuma, M. Molinas, (2019). Sex differences observed in a study of EEG of linguistic activity and resting-state: Exploring optimal EEG channel configurations. https://ieeexplore.ieee.org/xpl/conhome/8733665/proceeding.
- Smith, J., & Lee, K. (2023). Deep Learning-Based Eye-Tracking Analysis for Early Detection of Dyslexia in Children. Journal of Educational Technology, 15(3), 45-56.
- Zhang, L., & Wang, Y. (2022). A Multimodal Approach for Dyslexia Detection Using Eye-Tracking and Deep Learning. Proceedings of the International Conference on Artificial Intelligence in Education, 123-134.
- Kumar, R., & Patel, S. (2023). Real-Time Dyslexia Detection Using Eye-Tracking and Recurrent Neural Networks. IEEE Transactions on Neural Systems and Rehabilitation Engineering, 31(4), 789-798.
- Chen, X., & Li, H. (2022). Transfer Learning for Dyslexia Detection from Eye-Tracking Data. Neuro-computing, 456, 123-135.
- Gupta, A., & Sharma, P. (2023). Explainable AI for Dyslexia Detection Using Eye-Tracking Data. Frontiers in Artificial Intelligence, 6, 78-89.
- Ali, M., & Khan, S. (2023). Eye-Tracking and Deep Learning for Dyslexia Screening in Multilingual Contexts. Multilingual Education, 14(2), 210-225.
- Brown, T., & Davis, L. (2022). A Deep Learning Framework for Dyslexia Detection Using Eye-Tracking and Natural Language Processing. Journal of Learning Analytics, 9(1), 67-80.




| Bands | Indicators | Ranges | Brain regions involved | Implications |
|---|---|---|---|---|
| Delta | Increased activity | 1 : <4 Hz | Temporal regions involved in processing auditory information | Dyslexics have difficulty processing and discriminating between different sounds |
| Theta | Change activity | 4:<8 Hz | The left remains more active as compared to the right during the covert speech | Mediation or attention improved visual memory accuracy after the right prefrontal |
| Alpha | Difference in activity | 8: <14 Hz | Parietal regions involved in attention and spatial processing | Dyslexic may exhibit difficulties with attention and spatial awareness |
| Beta | Reduced activity | 14:<30 Hz | Left hemisphere regions involved in language processing and phonological awareness | Dyslexic may exhibit difficulties with phonological processing and language acquisition |
| Gamma | Reduced activity | 30:42 Hz | Left hemisphere regions involved in language processing and phonological awareness | Difficulty processing, rapid changes in sound, or detecting phonemic differences |
| Learners | Theta | Count | Beta1 | Count | Beta2 | Count | Theta/Beta1 | Theta/Beta2 | Attention | Mediation |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 116851 | 4 | 5171 | 6 | 18233 | 5 | 22.60 | 5171 | 56 | 43 |
| 2 | 41729 | 4 | 4331 | 6 | 3926 | 5 | 9.63 | 4331 | 40 | 35 |
| 3 | 16494 | 3 | 18938 | 5 | 4436 | 5 | 0.87 | 18938 | 47 | 48 |
| 4 | 67143 | 3 | 9773 | 5 | 13860 | 5 | 6.87 | 9773 | 47 | 57 |
| 5 | 72675 | 3 | 4612 | 5 | 4704 | 5 | 15.76 | 4612 | 44 | 53 |
| 6 | 12595 | 3 | 3130 | 5 | 15745 | 4 | 4.02 | 3130 | 44 | 66 |
| 7 | 33117 | 3 | 3406 | 5 | 5975 | 4 | 9.72 | 3406 | 43 | 69 |
| 8 | 15732 | 3 | 2266 | 4 | 11602 | 4 | 6.94 | 2266 | 40 | 61 |
| 9 | 6516 | 3 | 6365 | 4 | 21231 | 4 | 1.02 | 6365 | 43 | 69 |
| 10 | 111295 | 3 | 3536 | 4 | 3961 | 4 | 31.47 | 3536 | 47 | 69 |
| .. | .. | .. | .. | .. | .. | .. | .. | .. | .. | .. |
| Learners | Theta | Count | Beta1 | Count | Beta2 | Count | Theta/Beta1 | Theta/Beta2 | Attention | Mediation |
|---|---|---|---|---|---|---|---|---|---|---|
| .. | .. | .. | .. | .. | .. | .. | .. | .. | .. | .. |
| 12884 | 31135 | 1 | 40864 | 1 | 4847 | 1 | 0.76 | 40864 | 53 | 61 |
| 12885 | 95727 | 1 | 25570 | 1 | 19102 | 1 | 3.74 | 25570 | 64 | 61 |
| 12886 | 18650 | 1 | 12578 | 1 | 20930 | 1 | 1.48 | 12578 | 51 | 63 |
| 12886 | 148692 | 1 | 7846 | 1 | 3058 | 1 | 18.95 | 7846 | 51 | 63 |
| 12887 | 192887 | 1 | 25088 | 1 | 17833 | 1 | 7.69 | 25088 | 54 | 41 |
| 12888 | 94153 | 1 | 55903 | 1 | 758 | 1 | 1.68 | 55903 | 64 | 38 |
| 12889 | 64087 | 1 | 9758 | 1 | 19191 | 1 | 6.57 | 9758 | 61 | 35 |
| 128810 | 6896 | 1 | 3826 | 1 | 25005 | 1 | 1.80 | 3826 | 60 | 29 |
| 128811 | 1767 | 1 | 44968 | 1 | 2876 | 1 | 0.04 | 44968 | 60 | 29 |
| 128812 | 1E+06 | 1 | 10966 | 1 | 445383 | 1 | 108.00 | 10966 | 64 | 29 |
| Model | Approach | Precision | Recall | F1 | Accuracy |
| Old model2 | SVM | 70.59 | 72.48 | 71.52 | 69.89 |
| LR | 54.04 | 58.54 | 56.20 | 52.40 | |
| NNs | 57.20 | 68.84 | 62.48 | 58.06 | |
| RNN: LSTM | 66.86 | 71.37 | 69.04 | 67.53 | |
| Our model | SVM | 51.21 | 99.99 | 67.74 | 51.23 |
| LR | 70.78 | 93.41 | 80.21 | 76.98 | |
| NNs | 67.10 | 81.89 | 73.76 | 70.90 | |
| RNN: LSTM | 72.32 | 83.72 | 79.12 | 79.65 |
| Model | Approach | Precision | Recall | F1 | Accuracy |
| Old model3 | RF | 86.50 | 89.31 | 87.52 | 88.00 |
| LR | 85.24 | 88.15 | 86.96 | 87.01 | |
| SVM | 87.56 | 89.78 | 88.91 | 88.95 | |
| Our Model | RF | 87.14 | 89.56 | 88.27 | 88.19 |
| LR | 86.26 | 88.69 | 87.98 | 87.78 | |
| SVM | 88.00 | 89.85 | 89.50 | 89.11 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).