StanBKT: Rethinking Parameter Estimation in Bayesian Knowledge Tracing

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Pradhan, Siddhartha, Pei, Yanping, Lee, Morgan, Zhang, Puyuan, Ottmar, Erin, Sales, Adam C.
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911707223293952
author Pradhan, Siddhartha
Pei, Yanping
Lee, Morgan
Zhang, Puyuan
Ottmar, Erin
Sales, Adam C.
author_facet Pradhan, Siddhartha
Pei, Yanping
Lee, Morgan
Zhang, Puyuan
Ottmar, Erin
Sales, Adam C.
contents Bayesian Knowledge Tracing (BKT) is a widely used and interpretable student modeling approach in intelligent tutoring systems and educational data mining. However, most implementations rely on expectation-maximization or related optimization methods that yield only point estimates, limiting uncertainty quantification and principled comparisons across learners and conditions. We introduce StanBKT, an open-source Python package for estimating BKT models using Bayesian inference in Stan. StanBKT provides a unified framework supporting Hamiltonian Monte Carlo, variational inference, Pathfinder, and optimization-based estimation while preserving the hidden Markov structure and interpretability of classical BKT. It supports standard, grouped, and hierarchical BKT models, flexible prior specification, posterior predictive inference, and utilities for visualization and diagnostics. We evaluate StanBKT on large-scale observational and controlled educational datasets. On the ASSISTments 2020 dataset, we show that supported inference methods achieve comparable predictive performance while differing in computational efficiency and posterior fidelity. We further demonstrate how posterior inference enables principled comparison of condition-specific parameters in an educational intervention involving perceptual cue manipulations. Results illustrate how uncertainty quantification facilitates more reliable interpretation of differences in learning, forgetting, guessing, and slipping parameters across experimental conditions. Overall, StanBKT extends BKT beyond point estimation by providing a flexible framework for probabilistic student modeling, uncertainty quantification, and hierarchical inference in educational data mining.
format Preprint
id arxiv_https___arxiv_org_abs_2605_23048
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle StanBKT: Rethinking Parameter Estimation in Bayesian Knowledge Tracing
Pradhan, Siddhartha
Pei, Yanping
Lee, Morgan
Zhang, Puyuan
Ottmar, Erin
Sales, Adam C.
Human-Computer Interaction
Computers and Society
Applications
Methodology
Bayesian Knowledge Tracing (BKT) is a widely used and interpretable student modeling approach in intelligent tutoring systems and educational data mining. However, most implementations rely on expectation-maximization or related optimization methods that yield only point estimates, limiting uncertainty quantification and principled comparisons across learners and conditions. We introduce StanBKT, an open-source Python package for estimating BKT models using Bayesian inference in Stan. StanBKT provides a unified framework supporting Hamiltonian Monte Carlo, variational inference, Pathfinder, and optimization-based estimation while preserving the hidden Markov structure and interpretability of classical BKT. It supports standard, grouped, and hierarchical BKT models, flexible prior specification, posterior predictive inference, and utilities for visualization and diagnostics. We evaluate StanBKT on large-scale observational and controlled educational datasets. On the ASSISTments 2020 dataset, we show that supported inference methods achieve comparable predictive performance while differing in computational efficiency and posterior fidelity. We further demonstrate how posterior inference enables principled comparison of condition-specific parameters in an educational intervention involving perceptual cue manipulations. Results illustrate how uncertainty quantification facilitates more reliable interpretation of differences in learning, forgetting, guessing, and slipping parameters across experimental conditions. Overall, StanBKT extends BKT beyond point estimation by providing a flexible framework for probabilistic student modeling, uncertainty quantification, and hierarchical inference in educational data mining.
title StanBKT: Rethinking Parameter Estimation in Bayesian Knowledge Tracing
topic Human-Computer Interaction
Computers and Society
Applications
Methodology
url https://arxiv.org/abs/2605.23048