Student Engagement Prediction in E-Learning Environments Using Attention-Based Transformers

Authors

  • Yokubbaeva Umida Abduvakhob kizi Turan International University, Namangan, Uzbekistan.
  • Mirjon Sharopov Independent Researcher, Bukhara State University, Bukhara, Uzbekistan.
  • Pushpa Nagini Sripada Professor, English, Meenakshi College of Arts and Science, Meenakshi Academy of Higher Education and Research, Tamil Nadu, India.
  • R. Parthasarathy Principal & Professor, Meenakshi College of Physiotherapy, Meenakshi Academy of Higher Education and Research, Tamil Nadu, India.
  • Shaxnoza Muzrapova Department of Accounting and Statistics, Termez University of Economics and Service, Termez, Uzbekistan.
  • Sanjar Uraimov Professor, Doctor of Pedagogical Sciences (DSc), Fergana State University, Fergana, Uzbekistan.

Keywords:

Student Engagement Prediction, Attention-Based Transformer, E-Learning Analytics, Self-Attention Mechanism, Deep Learning Classification.

Abstract

Data regarding student interactions were gathered from Learning Management Systems that included login logs, assignment submissions, quizzes, attendance, and interactions in Discussion and Video. Data was preprocessed by mean imputation, Min-Max normalization, and one-hot encoding, before computing engagement scores by feature engineering the behavior. Using the Adam optimizer and a train/valid/test split of 70/15/15, an Attention-Based Transformer architecture with positional encoding, multi-head self-attention modules, and feed-forward layers is created and trained. To evaluate and compare the performance of the proposed model, the accuracy, precision, recall, F1-Score, RMSE, and MAE metrics were used and applied to the baseline models (LR, RF, SVM, RNN, and LSTM). The proposed transformer model achieved the lowest prediction error (RMSE 0.121 and MAE 0.103), accuracy 95.8%, precision 95.1%, recall 94.5%, and F1-Score 94.8% compared to all other models. It achieved an accuracy of 95.4%, which was 4.6%, 7.3% and 14.2% better than LSTM, RNN, and Logistic Regression, respectively. The accuracy of the classification of engagements was 96.7%, 94.8%, and 93.5% for high, moderate, and low levels of engagement, respectively. Loss was steadily reduced from 0.462 to 0.109 as training went on for 50 epochs. The ablation study verified that the multi-head attention and positional encoding are the most important parts, as their deletion resulted in a decrease in accuracy of up to 10%. The proposed Attention-Based Transformer framework is capable of effectively capturing temporal dependencies and sequential behavior, which shows its superior performance in predicting student engagement in e-learning environments. The framework offers educators an effective early intervention and personalized learning support tool and scalable solution for adaptive educational platforms.

Downloads

Published

2026-04-15

How to Cite

kizi, Y. U. A., Sharopov, M., Sripada, P. N., Parthasarathy, R., Muzrapova, S., & Uraimov, S. (2026). Student Engagement Prediction in E-Learning Environments Using Attention-Based Transformers. International Journal of Artificial Intelligence and Machine Learning, 6(1s), 228–240. Retrieved from https://svedbergopen.com/index.php/ijaiml/article/view/114

Similar Articles

<< < 2 3 4 5 6 7 8 9 10 11 > >> 

You may also start an advanced similarity search for this article.