Saved in:
Bibliographic Details
Main Authors: Badran, Yahya, Preisach, Christine
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2508.17092
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912551449657344
author Badran, Yahya
Preisach, Christine
author_facet Badran, Yahya
Preisach, Christine
contents Knowledge Tracing (KT) aims to predict a student's future performance based on their sequence of interactions with learning content. Many KT models rely on knowledge concepts (KCs), which represent the skills required for each item. However, some of these models are vulnerable to label leakage, in which input data inadvertently reveal the correct answer, particularly in datasets with multiple KCs per question. We propose a straightforward yet effective solution to prevent label leakage by masking ground-truth labels during input embedding construction in cases susceptible to leakage. To accomplish this, we introduce a dedicated MASK label, inspired by masked language modeling (e.g., BERT), to replace ground-truth labels. In addition, we introduce Recency Encoding, which encodes the step-wise distance between the current item and its most recent previous occurrence. This distance is important for modeling learning dynamics such as forgetting, which is a fundamental aspect of human learning, yet it is often overlooked in existing models. Recency Encoding demonstrates improved performance over traditional positional encodings on multiple KT benchmarks. We show that incorporating our embeddings into KT models like DKT, DKT+, AKT, and SAKT consistently improves prediction accuracy across multiple benchmarks. The approach is both efficient and widely applicable.
format Preprint
id arxiv_https___arxiv_org_abs_2508_17092
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Enhancing Knowledge Tracing through Leakage-Free and Recency-Aware Embeddings
Badran, Yahya
Preisach, Christine
Computers and Society
Artificial Intelligence
Machine Learning
Knowledge Tracing (KT) aims to predict a student's future performance based on their sequence of interactions with learning content. Many KT models rely on knowledge concepts (KCs), which represent the skills required for each item. However, some of these models are vulnerable to label leakage, in which input data inadvertently reveal the correct answer, particularly in datasets with multiple KCs per question. We propose a straightforward yet effective solution to prevent label leakage by masking ground-truth labels during input embedding construction in cases susceptible to leakage. To accomplish this, we introduce a dedicated MASK label, inspired by masked language modeling (e.g., BERT), to replace ground-truth labels. In addition, we introduce Recency Encoding, which encodes the step-wise distance between the current item and its most recent previous occurrence. This distance is important for modeling learning dynamics such as forgetting, which is a fundamental aspect of human learning, yet it is often overlooked in existing models. Recency Encoding demonstrates improved performance over traditional positional encodings on multiple KT benchmarks. We show that incorporating our embeddings into KT models like DKT, DKT+, AKT, and SAKT consistently improves prediction accuracy across multiple benchmarks. The approach is both efficient and widely applicable.
title Enhancing Knowledge Tracing through Leakage-Free and Recency-Aware Embeddings
topic Computers and Society
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2508.17092