# Bayesian Knowledge Tracing

Jump to navigation Jump to search

Bayesian Knowledge Tracing is an algorithm used in many intelligent tutoring systems to model each learner's mastery of the knowledge being tutored.

It models student knowledge in a Hidden Markov Model as a latent variable, updated by observing the correctness of each student's interaction in which they apply the skill in question.[1]

BKT assumes that student knowledge is represented as a set of binary variables, one per skill, where the skill is either mastered by the student or not. Observations in BKT are also binary: a student gets a problem/step either right or wrong. Intelligent tutoring systems often use BKT for mastery learning and problem sequencing. In its most common implementation, BKT has only skill-specific parameters.[2]

## Method[2]

There are 4 model parameters used in BKT:

• ${\displaystyle p(L_{0})}$ or ${\displaystyle p-init}$, the probability of the student knowing the skill beforehand.
• ${\displaystyle p(T)}$ or ${\displaystyle p-transit}$, the probability of the student demonstrating knowledge of the skill after an opportunity to apply it
• ${\displaystyle p(S)}$ or ${\displaystyle p-slip}$, the probability the student makes a mistake when applying a known skill
• ${\displaystyle p(G)}$ or ${\displaystyle p-guess}$, the probability that the student correctly applies an unknown skill (has a lucky guess)

Assuming that these parameters are set for all skills, the following formulas are used as follows: The initial probability of a student ${\displaystyle u}$ mastering skill ${\displaystyle k}$ is set to the p-init parameter for that skill equation (a). Depending on whether the student ${\displaystyle u}$ learned and applies skill ${\displaystyle k}$ correctly or incorrectly, the conditional probability is computed by using equation (b) for correct application, or by using equation (c) for incorrect application. The conditional probability is used to update the probability of skill mastery calculated by equation (d). To figure out the probability of the student correctly applying the skill on a future practice is calculated with equation (e).

Equation (a):

${\displaystyle p(L_{1})_{u}^{k}=p(L_{0})^{k}}$

Equation (b):

${\displaystyle p(L_{t+1}|obs=correct)_{u}^{k}={\frac {p(L_{t})_{u}^{k}\cdot (1-p(S)^{k})}{p(L_{t})_{u}^{k}\cdot (1-p(S)^{k})+(1-p(L_{t})_{u}^{k})\cdot p(G)^{k}}}}$

Equation (c):

${\displaystyle p(L_{t+1}|obs=wrong)_{u}^{k}={\frac {p(L_{t})_{u}^{k}\cdot p(S)^{k}}{p(L_{t})_{u}^{k}\cdot p(S)^{k}+(1-p(L_{t})_{u}^{k})\cdot (1-p(G)^{k})}}}$

Equation (d):

${\displaystyle p(L_{t+1})_{u}^{k}=p(L_{t+1}|obs)_{u}^{k}+(1-p(L_{t+1}|obs)_{u}^{k})\cdot p(T)^{k}}$

Equation (e):

${\displaystyle p(C_{t+1})_{u}^{k}=p(L_{t})_{u}^{k}\cdot (1-p(S)^{k})+(1-p(L_{t})_{u}^{k})\cdot p(G)^{k}}$

## References

1. ^ Corbett, A. T.; Anderson, J. R. (1995). "Knowledge tracing: Modeling the acquisition of procedural knowledge". User Modeling and User-Adapted Interaction. 4 (4): 253–278.
2. ^ a b Yudelson, M.V.; Koedinger, K.R.; Gordon, G.J. (2013). "Individualized bayesian knowledge tracing models". Artificial Intelligence in Education.