# HTM-MDICE: a transformer-based model for predicting student engagement and ideological understanding in ethical education

**Authors:** Chang Qin

PMC · DOI: 10.3389/fpsyg.2025.1643076 · Frontiers in Psychology · 2025-12-17

## TL;DR

This paper introduces HTM-MDICE, a new Transformer-based model that improves predictions of student engagement and ethical understanding in education.

## Contribution

HTM-MDICE introduces a novel Transformer-based approach for educational prediction with hierarchical temporal modeling and multi-modal data.

## Key findings

- HTM-MDICE achieved 97.5% validation accuracy and 0.96 F1-score, outperforming existing models.
- The model's performance was significantly better than four previous techniques with p < 0.05.
- Preprocessing, early stopping, and Transformer design were key to HTM-MDICE's success.

## Abstract

Tailoring individualized learning experiences depends on predicting student involvement and ideological awareness in ethical education, which is still difficult given educational data sets' complexity and class imbalance. HTM-MDICE, a new Transformer-based model meant to solve these issues by using hierarchical temporal modeling on a multi-modal ethical dataset of 68,200 scenarios, 1,000,000 numerical data points, and 500,000 behavioral logs, is presented in this paper. HTM-MDICE, utilizing a thorough evaluation framework, obtained a validation accuracy of 97.5%, an F1-score of 0.96, and an MAE of 0.12 with an early stopping patience of 5, therefore greatly outperforming four previous techniques—BSA-ANN, Decision Tree, BPNN, Petri Nets 10.5% in accuracy (p < 0.05). While preprocessing, early stopping, and the Transformer design were shown to be major factors in HTM-MDICE's performance, statistical analysis using paired t-tests verified the strength of its enhancements. Though it has improved, ethical issues around misclassification and data privacy call for prudent use. With future goals comprising improved interpretability, varied data integration, and longitudinal effect studies to further promote individualized education, this study adds a state-of-the-art model and assessment approach to educational predictive modeling.

## Full-text entities

- **Genes:** SHROOM4 (shroom family member 4) [NCBI Gene 57477] {aka MRXSSDS, SHAP, shrm4}
- **Diseases:** COVID-19 (MESH:D000086382), AI (MESH:C538142)
- **Chemicals:** AdamW (-)
- **Species:** Homo sapiens (human, species) [taxon 9606], Bacillus sp. SA (species) [taxon 1168094]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12754910/full.md

## Figures

14 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12754910/full.md

## References

41 references — full list in the complete paper: https://tomesphere.com/paper/PMC12754910/full.md

---
Source: https://tomesphere.com/paper/PMC12754910