Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2022 Jun 3:5:921476.
doi: 10.3389/frai.2022.921476. eCollection 2022.

Infusing Expert Knowledge Into a Deep Neural Network Using Attention Mechanism for Personalized Learning Environments

Affiliations

Infusing Expert Knowledge Into a Deep Neural Network Using Attention Mechanism for Personalized Learning Environments

Ange Tato et al. Front Artif Intell. .

Abstract

Machine learning models are biased toward data seen during the training steps. The models will tend to give good results in classes where there are many examples and poor results in those with few examples. This problem generally occurs when the classes to predict are imbalanced and this is frequent in educational data where for example, there are skills that are very difficult or very easy to master. There will be less data on students that correctly answered questions related to difficult skills and who incorrectly answered those related to skills easy to master. In this paper, we tackled this problem by proposing a hybrid architecture combining Deep Neural Network architectures- especially Long Short-Term Memory (LSTM) and Convolutional Neural Networks (CNN)-with expert knowledge for user modeling. The proposed solution uses attention mechanism to infuse expert knowledge into the Deep Neural Network. It has been tested in two contexts: knowledge tracing in an intelligent tutoring system (ITS) called Logic-Muse and prediction of socio-moral reasoning in a serious game called MorALERT. The proposed solution is compared to state-of-the-art machine learning solutions and experiments show that the resulting model can accurately predict the current student's knowledge state (in Logic-Muse) and thus enable an accurate personalization of the learning process. Other experiments show that the model can also be used to predict the level of socio-moral reasoning skills (in MorALERT). Our findings suggest the need for hybrid neural networks that integrate prior expert knowledge (especially when it is necessary to compensate for the strong dependency-of deep learning methods-on data size or the possible unbalanced datasets). Many domains can benefit from such an approach to building models that allow generalization even when there are small training data.

Keywords: attention; deep learning; expert knowledge; hybrid neural networks; logical reasoning skill; socio-moral reasoning skill; user modeling.

PubMed Disclaimer

Conflict of interest statement

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Figures

Figure 1
Figure 1
Attention mechanism. Example of translation from English (I am a student) to French (je suis un étudiant).
Figure 2
Figure 2
Global attentional hybrid model.
Figure 3
Figure 3
Heatmaps illustrating the prediction with the 2 models on the same student. DKT is unable to make accurate predictions on skills with little data, especially skills that are difficult to master. The label in the vertical dimension refers to the input fed into the models at each time step. The color of the heatmap indicates the predicted probability that the student will correctly answer a question related to a skill in the next time step. The darker the color, the higher the probability. Here, the student gave 2 out of 3 correct answers on AC_FMA and we see that the DKT+BN is able to track down that information compared to the DKT.
Figure 4
Figure 4
MorALERT serious game.
Figure 5
Figure 5
Brief description of SoMoral coding and examples (Chiasson et al., 2017).
Figure 6
Figure 6
Final model for predicting socio-moral reasoning skill levels.
Figure 7
Figure 7
The proposed hybrid architecture using LSTM (left) or CNN (right) for the prediction of socio-moral reasoning level.
Figure 8
Figure 8
Precision of all the models for each level.
Figure 9
Figure 9
F1-score of all the models for each level.

References

    1. Bahdanau D., Cho K., Bengio Y. (2014). Neural machine translation by jointly learning to align and translate. arXiv preprint arXiv:1409.0473. 10.48550/arXiv.1409.0473 - DOI
    1. Bakkes S. C., Spronck P. H., van Lankveld G. (2012). Player behavioural modelling for video games. Entertain. Comput. 3, 71–79. 10.1016/j.entcom.2011.12.001 - DOI - PubMed
    1. Beauchamp M., Dooley J. J., Anderson V. (2013). A preliminary investigation of moral reasoning and empathy after traumatic brain injury in adolescents. Brain Injury 27, 896–902. 10.3109/02699052.2013.775486 - DOI - PubMed
    1. Bhunia A. K., Khan S., Cholakkal H., Anwer R. M., Khan F. S., Shah M. (2021). Handwriting transformers, in Proceedings of the IEEE/CVF International Conference on Computer Vision, 1086–1094. 10.1109/ICCV48922.2021.00112 - DOI
    1. Birk M. V., Toker D., Mandryk R. L., Conati C. (2015). Modeling motivation in a social network game using player-centric traits and personality traits, in International Conference on User Modeling, Adaptation, and Personalization (Cham: Springer; ), 18–30. 10.1007/978-3-319-20267-9_2 - DOI

LinkOut - more resources