Psych (Jul 2023)

An Introduction to Bayesian Knowledge Tracing with pyBKT

  • Okan Bulut,
  • Jinnie Shin,
  • Seyma N. Yildirim-Erbasli,
  • Guher Gorgun,
  • Zachary A. Pardos

DOI
https://doi.org/10.3390/psych5030050
Journal volume & issue
Vol. 5, no. 3
pp. 770 – 786

Abstract

Read online

This study aims to introduce Bayesian Knowledge Tracing (BKT), a probabilistic model used in educational data mining to estimate learners’ knowledge states over time. It also provides a practical guide to estimating BKT models using the pyBKT library available in Python. The first section presents an overview of BKT by explaining its theoretical foundations and advantages in modeling individual learning processes. In the second section, we describe different variants of the standard BKT model based on item response theory (IRT). Next, we demonstrate the estimation of BKT with the pyBKT library in Python, outlining data pre-processing steps, parameter estimation, and model evaluation. Different cases of knowledge tracing tasks illustrate how BKT estimates learners’ knowledge states and evaluates prediction accuracy. The results highlight the utility of BKT in capturing learners’ knowledge states dynamically. We also show that the model parameters of BKT resemble the parameters from logistic IRT models.

Keywords