Activity (Process)

Making Prediction in DKVMN

In the Dynamic Key-Value Memory Network (DKVMN), after obtaining attention weights, the second step is making a prediction. The latent knowledge state in the value memory Mtv\mathbf{M}_t^v is read to create a read vector:

rt=i=1Nwti(Mtiv)Tr_t = \sum_{i=1}^N w_{ti} (\mathbf{M}_{ti}^v)^T

The read vector and the knowledge component embedding ktk_t are concatenated to generate a feature vector ftf_t. This is used to calculate the probability ptp_t of the student answering correctly:

ft=tanh(Wf[rt,kt]+bf)f_t = \tanh(\mathbf{W}_f [r_t, k_t] + \mathbf{b}_f) pt=σ(Wpft+bp)p_t = \sigma(\mathbf{W}_p f_t + \mathbf{b}_p)

These functions are applied element-wise, where W\mathbf{W} and b\mathbf{b} represent weight matrices and bias vectors.

0

1

Updated 2026-06-16

Contributors are:

Who are from:

Tags

Data Science