pyBKT: An Accessible Python Library of Bayesian Knowledge Tracing Models
Not on the map. Why?
Abstract (arXiv)
Bayesian Knowledge Tracing, a model used for cognitive mastery estimation, has been a hallmark of adaptive learning research and an integral component of deployed intelligent tutoring systems (ITS). In this paper, we provide a brief history of knowledge tracing model research and introduce pyBKT, an accessible and computationally efficient library of model extensions from the literature. The library provides data generation, fitting, prediction, and cross-validation routines, as well as a simple to use data helper interface to ingest typical tutor log dataset formats. We evaluate the runtime with various dataset sizes and compare to past implementations. Additionally, we conduct sanity checks of the model using experiments with simulated data to evaluate the accuracy of its EM parameter learning and use real-world data to validate its predictions, comparing pyBKT's supported model variants with results from the papers in which they were originally introduced. The library is open source and open license for the purpose of making knowledge tracing more accessible to communities of research and practice and to facilitate progress in the field through easier replication of past approaches.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 1 of its 30 references that are in the map. First posted on arXiv 2 May 2021.
Builds on
1 of 30 references.
References · 1
- 2015Deep Knowledge Tracingcited by 328
Built on by
Citing papers per year: 2021: 1; 2022: 2; 2023: 1; 2024: 5; 2025: 2; 2026: 1.
12 papers.
- 2024Exploring Knowledge Tracing in Tutor-Student Dialogues using LLMscited by 44
- 2024Leveraging LLM-Respondents for Item Evaluation: a Psychometric Analysiscited by 31
- 2022Code-DKT: A Code-based Knowledge Tracing Model for Programming Taskscited by 16
- 2025Pattern-based Knowledge Component Extraction from Student Code Using Representation Learningcited by 4
- 2023Variational Temporal IRT: Fast, Accurate, and Explainable Inference of Dynamic Learner Proficiencycited by 3
- 2021Assessing the Performance of Online Students -- New Data, New Approaches, Improved Accuracycited by 2
- 2024Uncertainty-preserving deep knowledge tracing with state-space modelscited by 1
- 2024Hierarchical Multi-Armed Bandits for the Concurrent Intelligent Tutoring of Concepts and Problems of Varying Difficulty Levelscited by 1
- 2025CogGen: A Learner-Centered Generative AI Architecture for Intelligent Tutoring with Programming Videocited by 1
- 2022Transferable Student Performance Modeling for Intelligent Tutoring Systemscited by 0
- 2024Analysis of Knowledge Tracing performance on synthesised student datacited by 0
- 2026UNVaMP: Neural Knowledge Tracing with Variational Regularization of Latent Knowledge Dynamicscited by 0
- 2026UNVaMP: Neural Knowledge Tracing with Variational Regularization of Latent Knowledge Dynamics4 Aug 2026
- 2025Pattern-based Knowledge Component Extraction from Student Code Using Representation Learning12 Aug 2025
- 2025CogGen: A Learner-Centered Generative AI Architecture for Intelligent Tutoring with Programming Video25 Jun 2025
- 2024Exploring Knowledge Tracing in Tutor-Student Dialogues using LLMs24 Sep 2024
- 2024Hierarchical Multi-Armed Bandits for the Concurrent Intelligent Tutoring of Concepts and Problems of Varying Difficulty Levels10 Aug 2024
- 2024Leveraging LLM-Respondents for Item Evaluation: a Psychometric Analysis15 Jul 2024
- 2024Uncertainty-preserving deep knowledge tracing with state-space models9 Jul 2024
- 2024Analysis of Knowledge Tracing performance on synthesised student data30 Jan 2024
- 2023Variational Temporal IRT: Fast, Accurate, and Explainable Inference of Dynamic Learner Proficiency14 Nov 2023
- 2022Code-DKT: A Code-based Knowledge Tracing Model for Programming Tasks7 Jun 2022
- 2022Transferable Student Performance Modeling for Intelligent Tutoring Systems8 Feb 2022
- 2021Assessing the Performance of Online Students -- New Data, New Approaches, Improved Accuracy4 Sep 2021