Back to search

University of Alberta

Modeling Player Knowledge in The Witness using Bayesian Inference

Abstract

dc:description.abstract

Our aim is to create enjoyable, customized content for players by tracking and estimating how they learn and apply the inference rules required for puzzle games. Here, inference rules are the deductions players make while solving puzzles. Existing approaches track learning by considering player characteristics or player interactions, or both. While there are several effective approaches to tracking player knowledge, like Deep Knowledge Tracing, time constraints and data artifacts can make them costly to implement. Our work is based on the Witness puzzle domain, where we present a Bayesian Inference model that estimates players’ knowledge from their actions. Each task required by the game can then be mapped to a set of inference rules, with each rule updated after the player takes an action. Due to these updates, every inference rule encountered will be assigned a numerical estimate, representing a player’s knowledge of that rule. We used the Bayesian Knowledge Tracing approach for our model, in which Bayes’ theorem dictates how learning scores are updated. Our model provides a simplified way of setting model parameters without the need for large-scale user studies or extensive player data collection. We account for both correct and incorrect actions for rules, so knowledge estimates are not monotonic. Thus, following an inference rule bolsters the knowledge estimate value, whereas deviating from a rule reduces it. Additionally, we consider the case in which players backtrack after reaching a “dead end” where none of the inference rules they know allow them to move forward. We treat backtracking for these cases as evidence of learning. We conduct a pilot study comprising two tests to establish, justify, and discuss our model considerations. Our results show that the model tracks player knowledge well on easier puzzles. For difficult puzzles, we still need to use a longer history of player data to reliably estimate player knowledge. Based on our test observations, we also propose several ways to improve the modeling of knowledge estimates for difficult puzzles. Such improvements would assist in developing a customized curriculum for players and help them learn rules for which they lack sufficient knowledge.

Degree

thesis:*
Name thesis:degree_name
Master of Science
Level thesis:degree_level
Master's
Grantor
University of Alberta
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Binte Nayeem, Samiha
Advisor dc:contributor.advisor
  • Sturtevant, Nathan (Computing Science)

Subjects

dc:subject × 5

Rights

dc:rights
Statement dc:rights
  • This thesis is made available by the University of Alberta Library with permission of the copyright owner solely for non-commercial purposes. This thesis, or any portion thereof, may not otherwise be copied or reproduced without the written consent of the copyright owner, except to the extent permitted by Canadian copyright law.
Language dc:language.iso
en

Identifiers

dc:identifier.*
DOI dc:identifier.doi
https://doi.org/10.7939/85960

Chain of custody

source
Harvested from
University of Alberta
Base URL
era.library.ualberta.ca/oai
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Binte Nayeem, Samiha. Modeling Player Knowledge in The Witness using Bayesian Inference. Master's thesis, University of Alberta, 2026. https://doi.org/10.7939/85960