Skip to main content

Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

Advertisement

Scientific Reports
  • View all journals
  • Search
  • My Account Login
  • Content Explore content
  • About the journal
  • Publish with us
  • Sign up for alerts
  • RSS feed
  1. nature
  2. scientific reports
  3. articles
  4. article
Context-aware sequential course recommendation via conditional variational autoencoders and transformer architectures in IoT-enabled E-learning systems
Download PDF
Download PDF
  • Article
  • Open access
  • Published: 01 April 2026

Context-aware sequential course recommendation via conditional variational autoencoders and transformer architectures in IoT-enabled E-learning systems

  • Guanyu Chen1,
  • Guangxin Han1 &
  • Shuhua Liu2 

Scientific Reports , Article number:  (2026) Cite this article

  • 415 Accesses

  • Metrics details

We are providing an unedited version of this manuscript to give early access to its findings. Before final publication, the manuscript will undergo further editing. Please note there may be errors present which affect the content, and all legal disclaimers apply.

Subjects

  • Engineering
  • Mathematics and computing

Abstract

Personalized course recommendations represent a significant problem in extensive e-learning platforms, as student preferences are in constant flux and educational environments are increasingly influenced by IoT-enabled interactions. Traditional recommendation algorithms generally regard user behavior as static or minimally contextualized, hence constraining their efficacy in dynamic and diverse learning settings. This research presents a context-sensitive sequential recommendation framework that concurrently models uncertainty, temporal learning patterns, and real-time contextual awareness. The proposed approach utilizes Conditional Variational Autoencoders to develop resilient latent representations of learners and courses amidst sparse and noisy interaction data, while a Transformer-based sequential model captures long-term dependencies in learning trajectories. In contrast to current methodologies, contextual signals obtained from IoT-enabled learning environments are explicitly integrated and amalgamated into the sequential decision-making process, enabling suggestions to adjust to situational learning settings rather than depending exclusively on prior encounters. The model is trained with a cohesive objective that harmonizes representation consistency and ranking accuracy, facilitating stable personalization across various learner profiles. Experimental assessments on various real-world MOOC datasets reveal consistent and statistically significant improvements over competitive baselines in both ranking and error metrics, validating the efficacy of incorporating uncertainty-aware modeling with context-driven sequential learning. The suggested method reinterprets course recommendation as a dynamic, context-sensitive process and establishes a scalable framework for intelligent e-learning systems designed to facilitate personalized learning trajectories within IoT-integrated digital education environments.

Similar content being viewed by others

Adaptive course recommendation using federated learning and graph convolutional networks in IoT-enhanced e-learning

Article Open access 26 November 2025

A hybrid actor–critic and BERT framework for intelligent course recommendation in IoT-aware e-learning systems

Article Open access 23 February 2026

Construction of intelligent evaluation model for physical education classroom in primary and secondary schools based on posture estimation and motion recognition

Article Open access 19 January 2026

Data availability

The datasets utilized and/or examined in the present investigation are accessible from the corresponding author upon reasonable request.

References

  1. Garrison, D. R. & Anderson, T. E-Learning in the 21st Century: A Community of Inquiry Framework for Research and Practice (Routledge, 2021).

  2. Bozkurt, A. & Zawacki-Richter, O. Trends and Patterns in Distance Education (2014–2019): A Synthesis of Scholarly Publications and a Visualization of the Intellectual Landscape. Int. Rev. Res. Open. Distrib. Learn. 22 (2), 1–341. https://doi.org/10.19173/irrodl.v22i2.5381 (2021).

  3. Haron, H. et al. The Platform of MOOC (Massive Open Online Course) on Open Learning: Issues and Challenges. Int. J. Mod. Educ. 1(3) 1–9https://doi.org/10.35631/ijmoe.13001 (2019).

  4. Hazrati, N. & Ricci, F. Choice models and recommender systems effects on users’ choices, User Model. User-Adap. Inter. 34(1), 109–145 https://doi.org/10.1007/s11257-023-09366-x (2024).

  5. Zhang, S., Yao, L., Sun, A. & Tay, Y. Deep Learning Based Recommender System: A Survey and New Perspectives. ACM Comput. Surv. 52(1) 1–38 https://doi.org/10.1145/3285029 (2019).

  6. Huang, C. et al. XKT: Toward Explainable Knowledge Tracing Model With Cognitive Learning Theories for Questions of Multiple Knowledge Concepts. IEEE Trans. Knowl. Data Eng. 36 (11), 7308–7325. https://doi.org/10.1109/TKDE.2024.3418098 (2024).

    Google Scholar 

  7. Nyaga, J. M. IoT-Enhanced Adaptive Learning Environments: Personalized Online Education for the Digital Age. Afr. J. Comput. Inf. Syst. 7, 1–14. https://doi.org/10.1234/ajcis.v7iX.2 (Oct. 2023). no. X.

  8. Shireesha, M. & Jala, J. The Role of Artificial Intelligence in Personalized Learning: A Pathway to Inclusive Education. Libr. Prog.-Libr. Sci. Inf. Technol. Comput. 44(3), 21746 (2024).

  9. da Silva, F. L. et al. Mar., A systematic literature review on educational recommender systems for teaching and learning: research trends, limitations and opportunities. Educ. Inf. Technol. 28(3) 3289–3328 https://doi.org/10.1007/s10639-022-11341-9 (2023).

  10. Panteli, A. & Boutsinas, B. Addressing the Cold-Start Problem in Recommender Systems Based on Frequent Patterns. Algorithms 16 (4), 182. https://doi.org/10.3390/a16040182 (2023).

  11. Hodovychenko, M. A. & Gorbatenko, A. A. Recommender systems: models, challenges and opportunities. Herald Adv. Inf. Technol. 6 (4), 308–319. https://doi.org/10.15276/hait.06.2023.20 (2023).

    Google Scholar 

  12. Zhou, Z., Shojafar, M., Alazab, M., Abawajy, J. & Li, F. AFED-EF: An Energy-Efficient VM Allocation Algorithm for IoT Applications in a Cloud Data Center. IEEE Trans. Green. Commun. Netw. 5 (2), 658–669. https://doi.org/10.1109/TGCN.2021.3067309 (2021).

    Google Scholar 

  13. Wei, R. & Mahmood, A. Recent Advances in Variational Autoencoders With Representation Learning for Biomedical Informatics: A Survey. IEEE Access. 9, 4939–4956 https://doi.org/10.1109/ACCESS.2020.3048309 (2020).

  14. Singh, M. Scalability and sparsity issues in recommender datasets: a survey. Knowl. Inf. Syst. 62 (1), 1–43. https://doi.org/10.1007/s10115-018-1254-2 (2020).

  15. Shafik, W. Towards Trustworthy and Explainable AI Educational Systems, in Explainable AI for Education: Recent Trends and Challenges, T. Singh, S. Dutta, S. Vyas, and Á. Rocha, Eds. Cham: Springer, pp. 15–32 https://doi.org/10.1007/978-3-031-72410-7_2 (2024).

  16. Bodduluri, K. C., Palma, F., Kurti, A., Jusufi, I. & Löwenadler, H. Exploring the Landscape of Hybrid Recommendation Systems in E-Commerce: A Systematic Literature Review. IEEE Access. 12, 28273–28296 https://doi.org/10.1109/ACCESS.2024.3363256 (2024).

  17. Xu, F., Yang, H. & Alouini, M. Energy Consumption Minimization for Data Collection From Wirelessly-Powered IoT Sensors: Session-Specific Optimal Design With DRL. IEEE Sens. J., 22(20), 19886–19896. doi: https://doi.org/10.1109/JSEN.2022.3205017 (2022).

  18. Petrov, A. V. & Macdonald, C. Transformers for Sequential Recommendation, in Advances in Information Retrieval, (eds Goharian, N. et al.) Cham: Springer, 369–376 https://doi.org/10.1007/978-3-031-56069-9_49. (2024).

    Google Scholar 

  19. Ma, W., Wu, J., Song, D., Chen, Z. & Huang, T. HVAE-DC: A hierarchical variational autoencoder-based deep clustering model for multi-level driving behavior. Expert Syst. Appl. 305, 130882. https://doi.org/10.1016/j.eswa.2025.130882 (2026).

    Google Scholar 

  20. Sun, F. et al. BERT4Rec: Sequential recommendation with bidirectional encoder representations from transformer. In Proceedings of the 28th ACM international conference on information and knowledge management (pp. 1441–1450). (2019).

  21. Yaghoobi, A. & Harandi, M. N. Quantum-Enhanced Adaptive Scheduling for Real-Time IoT Task Optimization in Fog-Cloud Systems. Computer Networks, 112088. (2026).

  22. Amin, S. et al. An adaptable and personalized framework for top-N course recommendations in online learning, Sci. Rep., 14, 10382 https://doi.org/10.1038/s41598-024-56497-1 (2024).

  23. Li, J., Wang, Y. & McAuley, J. Time interval aware self-attention for sequential recommendation. In Proceedings of the 13th international conference on web search and data mining (pp. 322–330). (2020).

  24. Zhang, Q., Li, Y., Zhang, G. & Lu, J. A recurrent neural network-based recommender system framework and prototype for sequential E-learning, in Developments of Artificial Intelligence Technologies in Computation and Robotics, World Scientific Proceedings Series on Computer Engineering and Information Science, pp. 488–495 https://doi.org/10.1142/9789811223334_0059 (2020).

  25. Sun, W., Liu, Z., Fan, X., Wen, J. R. & Zhao, W. X. Towards Efficient and Effective Transformers for Sequential Recommendation, in Database Systems for Advanced Applications, (eds Wang, X. et al.) Cham: Springer, 347–362, doi: https://doi.org/10.1007/978-3-031-30672-3_23. (2023).

    Google Scholar 

  26. Ali, M. et al. IoTFLiP: IoT-based flipped learning platform for medical education. Digit. Commun. Netw. 3 (3), 188–194. https://doi.org/10.1016/j.dcan.2017.03.002 (2017).

  27. Li, W. et al. Neural nonnegative latent factorization of tensors model with acceleration and unconstraint. IEEE Transactions on Systems, Man, and Cybernetics: Systems. (2025).

  28. Wu, L., Zhou, T., Lai, Y., Lin, H. & Hu, J. Personalized Asynchronous Federated Learning for Intelligent Vehicular Computing (IEEE Transactions on Consumer Electronics, 2025).

  29. Wang, Z., Sun, C. A. & Aiello, M. Context-aware IoT Service Recommendation: A Deep Collaborative Filtering-based Approach, in Proc. IEEE Int. Conf. Web Services (ICWS), Barcelona, Spain, Jul. pp. 171–180, (2022). https://doi.org/10.1109/ICWS55610.2022.00035

  30. Vishnu Shankar, S., Naffees Gowsar, S. R. & Manjubala, M. in Variational Autoencoders (VAEs), in Revolution with Generative AI: Trends and Techniques. 35–50 (eds Gayathri, N., Rakesh, S., kumar & Rocha, A.) (Springer, 2025). https://doi.org/10.1007/978-3-031-91660-1_3

  31. Carraro, T., Polato, M., Bergamin, L. & Aiolli, F. Conditioned Variational Autoencoder for Top-N Item Recommendation, in Artificial Neural Networks and Machine Learning – ICANN 2022, (eds Pimenidis, E., Angelov, P., Jayne, C., Papaleonidas, A. & Aydin, M.) Cham: Springer, 776–787, https://doi.org/10.1007/978-3-031-15931-2_64. (2022).

    Google Scholar 

  32. Çano, E. & Morisio, M. Hybrid recommender systems: A systematic literature review. Intell. Data Anal. 21 (6), 1487–1524. https://doi.org/10.3233/IDA-163 (2017).

  33. Ciloglugil, B. & Inceoglu, M. M. User Modeling for Adaptive E-Learning Systems, in Computational Science and Its Applications – ICCSA 2012, (eds Murgante, B. et al.) Berlin, Heidelberg: Springer, 550–561 https://doi.org/10.1007/978-3-642-31137-6_42. (2012).

    Google Scholar 

  34. Ali, W., Zhou, X. & Shao, J. Privacy-preserved and responsible recommenders: From conventional defense to federated learning and blockchain. ACM Comput. Surveys. 57 (5), 1–35 (2025).

    Google Scholar 

  35. Umer, K., Zhou, X., Shao, J., Ali, W. & Hidattack: An effective and undetectable model poisoning attack to federated recommenders (IEEE Transactions on Knowledge and Data Engineering, 2024).

  36. Ali, W., Ammad-Ud-Din, M., Zhou, X., Zhang, Y. & Shao, J. Communication-efficient federated neural collaborative filtering with multi-armed bandits. ACM Trans. Recommender Syst. 4 (1), 1–28 (2025).

    Google Scholar 

  37. Kumar, R., Zhou, X., Shao, J., Ali, W. & Responsible recommendation services with blockchain empowered asynchronous federated learning. ACM Trans. Intell. Syst. Technol. 15 (4), 1–24 (2024).

    Google Scholar 

  38. Wang, Y., Xu, H., Ali, W., Zhou, X. & Shao, J. Bilateral Improvement in Local Personalization and Global Generalization in Federated Learning. IEEE Internet Things J. 11 (16), 27099–27111 (2024).

    Google Scholar 

  39. Ali, W., Kumar, J. & Shao, J. Inferring context with reliable collaborators: a novel similarity estimation method for recommender systems. Appl. Intell. 52 (12), 13883–13901 (2022).

    Google Scholar 

  40. Ma, W., Wu, J., Song, D., Chen, Z., & Huang, T. (2026). HVAE-DC: A hierarchical variational autoencoder-based deep clustering model for multi-level driving behavior. Expert Systems with Applications, 305, 130882. doi: https://doi.org/10.1016/j.eswa.2025.130882

  41. edX Courses Dataset. Available: https://www.kaggle.com/datasets/khusheekapoor/edx-courses-dataset-2021 (2021).

  42. Li, Y., He, J., Chen, X., Wang, Z., Chen, Z., Niu, Q.,... Yin, Y. (2026). AugMMRev: An LLM-Augmented Multimodal Ranking Model for Personalized Image Material Retrieval. IEEE Transactions on Consumer Electronics, 1. doi: 10.1109/TCE.2026.3652186

  43. Hao, L., Abdipoor, S., Li, Q. & Xu, L. Hybrid graph neural networks with LSTM attention mechanism for recommendation systems in MOOCs, in Proc. 20th IEEE Int. Colloq. Signal Process. Appl. (CSPA), Langkawi, Malaysia, Mar. pp. 1–6, https://doi.org/10.1109/CSPA60979.2024.10525319 (2024).

Download references

Funding

The authors received no financial assistance for this work.

Author information

Authors and Affiliations

  1. Key Laboratory of Modern Teaching Technology, Ministry of Education, Shaanxi Normal University, Xian, 710000, Shaanxi, China

    Guanyu Chen & Guangxin Han

  2. Public Education Department, Liao Yuan Vocational Technical College, Liaoyuan, 136200, Jilin, China

    Shuhua Liu

Authors
  1. Guanyu Chen
    View author publications

    Search author on:PubMed Google Scholar

  2. Guangxin Han
    View author publications

    Search author on:PubMed Google Scholar

  3. Shuhua Liu
    View author publications

    Search author on:PubMed Google Scholar

Contributions

All authors contributed to the conception and design of the study. Shuhua Liu, Guanyu Chen, and Guangxin Han conducted data collecting, modeling, and analysis.

Corresponding author

Correspondence to Shuhua Liu.

Ethics declarations

Competing interests

The authors declare no competing interests.

Ethical approval

Not relevant.

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Chen, G., Han, G. & Liu, S. Context-aware sequential course recommendation via conditional variational autoencoders and transformer architectures in IoT-enabled E-learning systems. Sci Rep (2026). https://doi.org/10.1038/s41598-026-45764-y

Download citation

  • Received: 22 December 2025

  • Accepted: 21 March 2026

  • Published: 01 April 2026

  • DOI: https://doi.org/10.1038/s41598-026-45764-y

Share this article

Anyone you share the following link with will be able to read this content:

Sorry, a shareable link is not currently available for this article.

Provided by the Springer Nature SharedIt content-sharing initiative

Keywords

  • Context-aware recommendation
  • Conditional variational autoencoder
  • Transformer networks
  • MOOCs
  • IoT-enabled E-learning
Download PDF

Advertisement

Explore content

  • Research articles
  • News & Comment
  • Collections
  • Subjects
  • Follow us on Facebook
  • Follow us on X
  • Sign up for alerts
  • RSS feed

About the journal

  • About Scientific Reports
  • Contact
  • Journal policies
  • Guide to referees
  • Calls for Papers
  • Editor's Choice
  • Journal highlights
  • Open Access Fees and Funding

Publish with us

  • For authors
  • Language editing services
  • Open access funding
  • Submit manuscript

Search

Advanced search

Quick links

  • Explore articles by subject
  • Find a job
  • Guide to authors
  • Editorial policies

Scientific Reports (Sci Rep)

ISSN 2045-2322 (online)

nature.com footer links

About Nature Portfolio

  • About us
  • Press releases
  • Press office
  • Contact us

Discover content

  • Journals A-Z
  • Articles by subject
  • protocols.io
  • Nature Index

Publishing policies

  • Nature portfolio policies
  • Open access

Author & Researcher services

  • Reprints & permissions
  • Research data
  • Language editing
  • Scientific editing
  • Nature Masterclasses
  • Research Solutions

Libraries & institutions

  • Librarian service & tools
  • Librarian portal
  • Open research
  • Recommend to library

Advertising & partnerships

  • Advertising
  • Partnerships & Services
  • Media kits
  • Branded content

Professional development

  • Nature Awards
  • Nature Careers
  • Nature Conferences

Regional websites

  • Nature Africa
  • Nature China
  • Nature India
  • Nature Japan
  • Nature Middle East
  • Privacy Policy
  • Use of cookies
  • Legal notice
  • Accessibility statement
  • Terms & Conditions
  • Your US state privacy rights
Springer Nature

© 2026 Springer Nature Limited

Nature Briefing AI and Robotics

Sign up for the Nature Briefing: AI and Robotics newsletter — what matters in AI and robotics research, free to your inbox weekly.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing: AI and Robotics