Question Encoder and Knowledge Encoder (Context-Aware Attentive Knowledge Tracing)
The question encoder takes raw question embeddings as input and outputs a sequence of context-aware question embedding using a monotonic attention mechanism. The knowledge encoder takes raw question-response embeddings as input and outputs a sequence of actual knowledge acquired using the same monotonic attention mechanism.
We use a modified, monotonic version of the scaled dot-product attention mechanism for the encoders.A multiplicative exponential decay term is added to the attention scores as: with where θ > 0 is a learnable decay rate parameter and is a context-aware distance measure between time steps and . The context-aware distance measure uses another softmax function to adjust the distance between consecutive time indices according to how the concept practiced in the past is related to the current concept.
In summary, the monotonic attention mechanism takes the basic form of an exponential decay curve over time with possible spikes at time steps when the past question is highly similar to the current question.
0
1
Tags
Data Science