A Comparative Analysis of CNN, LSTM, and Transformer Models in AI-Enabled Online Education Platforms

Authors

  • Zhengshu Wang College of Engineering, Stony Brook University, 11790 Long Island, United States

DOI:

https://doi.org/10.62051/ycah4y90

Keywords:

CNN; LSTM; Transformer Models; Artificial intelligence; online education.

Abstract

Artificial intelligence is being applied more and more broadly in online education to offer personalized learning paths, automatic grading, summary functions, etc. This narrative review compares convolutional neural networks (CNNs), long short-term memory networks (LSTMs) and Transformer-based models on the above tasks. Task suitability and deployment conditions are considered over reported accuracy values, rather than being used as a general reference. Based on the above research, CNNs are suitable for image and other inputs with local patterns; LSTMs are suitable when the order of learner behavior or language is required; and Transformer-based models are generally more appropriate for long-context semantic matching, summarization, open-ended feedback, retrieval and tutoring. Reported performance values cannot be directly compared between studies because tasks, datasets, languages, label distributions, hardware and evaluation metrics are all different. Model selection should therefore consider the predictive performance in conjunction with latency, resource requirements, privacy, fairness, explainability, factual accuracy and teacher supervision. No single Architecture is suitable for all educational environments. Educational value refers to how well a model's capacity suits the data structure, instructional goals, risk level and operating environment of the platform.

Downloads

Download data is not yet available.

References

[1] Z. Papamitsiou and A. A. Economides, Learning analytics and educational data mining in practice: a systematic literature review of empirical evidence. Educ. Technol. Soc. 17, 49–64 (2014)

[2] G.-J. Hwang and Y.-H. Tu, Artificial intelligence in education: a systematic review of research trends, applications, and challenges. Educ. Technol. Res. Dev. 71, 1349–1382 (2023). https://doi.org/10.1007/s11423-022-10192-3

[3] N.-S. Chen, Y.-S. Chen, and S. J. H. Yang, Text mining in education: a systematic review of research trends, methodologies, and applications. Comput. Educ. 179, 104421 (2022). https://doi.org/10.1016/j.compedu.2022.104421

[4] Y. Kim, Convolutional neural networks for sentence classification, in Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), Doha, Qatar (2014), 1746–1751. https://doi.org/10.3115/v1/D14-1181 DOI: https://doi.org/10.3115/v1/D14-1181

[5] S. Hochreiter and J. Schmidhuber, Long short-term memory. Neural Comput. 9, 1735–1780 (1997). https://doi.org/10.1162/neco.1997.9.8.1735 DOI: https://doi.org/10.1162/neco.1997.9.8.1735

[6] A. Vaswani, N. Shazeer, N. Parmar, et al., Attention is all you need, in Advances in Neural Information Processing Systems 30 (2017), 5998–6008. https://doi.org/10.48550/arXiv.1706.03762

[7] J. Devlin, M.-W. Chang, K. Lee, et al., BERT: pre-training of deep bidirectional transformers for language understanding, in Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT), Minneapolis, MN, USA (2019), 4171–4186. https://doi.org/10.18653/v1/N19-1423 DOI: https://doi.org/10.18653/v1/N19-1423

[8] N. Altrabsheh, M. Cocea, and S. Fallahkhair, Sentiment analysis in MOOC forums: towards personalised learning support. Int. J. Artif. Intell. Educ. 31, 517–545 (2021). https://doi.org/10.1007/s40593-020-00223-7

[9] W. Xing, X. Chen, J. Stein, et al., Mining MOOC discussion forums: a systematic review of research and applications. Internet High. Educ. 55, 101862 (2022). https://doi.org/10.1016/j.iheduc.2022.101862

[10] J. Liang, D. Yang, Y. Wu, et al., MOOC dropout prediction using a CNN-LSTM hybrid model with behavioral features. Appl. Sci. 12, 5678 (2022). https://doi.org/10.3390/app12115678 DOI: https://doi.org/10.3390/app12115678

[11] X. Zhang, Y. Li, H. Wang, et al., Knowledge graph-based intelligent tutoring systems: a systematic review. Educ. Technol. Res. Dev. 72, 589–623 (2024). https://doi.org/10.1007/s11423-023-10287-9

[12] A. Koufakou, Deep learning for opinion mining and topic classification of course reviews. Educ. Inf. Technol. 29, 2973–2997 (2024). https://doi.org/10.1007/s10639-023-11736-2 DOI: https://doi.org/10.1007/s10639-023-11736-2

[13] K. Mrhar, L. Benhiba, S. Bourekkache, et al., A Bayesian CNN-LSTM model for sentiment analysis in massive open online courses. Int. J. Emerg. Technol. Learn. 16, 216–232 (2021). https://doi.org/10.3991/ijet.v16i23.24457 DOI: https://doi.org/10.3991/ijet.v16i23.24457

[14] Y. Sun, L. Wang, and Z. Wang, Prerequisite relation identification for MOOC videos using BERT-LSTM with semantic and structural features. IEEE Access 10, 102345–102356 (2022). https://doi.org/10.1109/ACCESS.2022.3209876

[15] P. Linardatos, V. Papastefanopoulos, and S. Kotsiantis, Explainable AI: a review of machine learning interpretability methods with educational applications. Entropy 23, 1619 (2021). https://doi.org/10.3390/e23121619 DOI: https://doi.org/10.3390/e23010018

Downloads

Published

22-11-2026