WorksComputer Science
On Applications of Natural Language Processing and Artificial Intelligence in Intelligent Tutoring Systems
Abstract
Intelligent tutoring systems adapt instruction by estimating what a student understands, selecting what the student should encounter next, and delivering interventions that support learning. Natural language processing and artificial intelligence offer new ways to improve this loop because tutoring systems are built around linguistic and educational artifacts: questions, hints, explanations, standards, knowledge components, and student histories. This dissertation studies where those techniques help, where they fail, and how they should be connected to specific tutoring functions. The dissertation examines five research directions across intervention generation and student modeling. First, it shows that structured multi-agent collaboration can improve the pedagogical quality of automatically generated mathematics questions. Second, it analyzes Deep Knowledge Tracing and argues that the relations learned by the model are better interpreted as prerequisite-like dependencies than as generic exercise associations. Third, it tests whether pretrained semantic representations can improve knowledge tracing by initializing knowledge-component inputs, finding that semantic similarity alone does not reliably improve performance. Fourth, it shows that text embeddings can be more useful when they reorganize the knowledge-component space itself, improving downstream knowledge tracing under the right data conditions. Finally, it introduces ReasonKT as a preliminary framework for reasoning-based knowledge tracing and evaluates a prompt-only instantiation that produces above-chance ranking signal and inspectable reasoning traces. Language is not uniformly beneficial as an added feature; it becomes useful when it helps model student knowledge, interpret educational structure, generate instructional interventions, or connect these components into a more coherent adaptive system.
A dissertation submitted in partial satisfaction of the requirements for the degree Doctor of Philosophy in Electrical and Computer Engineering
by
© Copyright by
Kia Karbasi
2026
ABSTRACT OF THE DISSERTATION
by
Doctor of Philosophy in Electrical and Computer Engineering
Professor Gregory J. Pottie, Chair as a preliminary framework for reasoning-based knowledge tracing and evaluates a prompt-only instantiation that produces above-chance ranking signal and inspectable reasoning traces.
Across these studies, the dissertation argues that NLP and AI techniques are useful in intelligent tutoring systems when their representational, generative, or reasoning capabilities are tied to a concrete educational role. Language is not uniformly beneficial as an added feature; it becomes useful when it helps model student knowledge, interpret educational structure, generate instructional interventions, or connect these components into a more coherent adaptive system.
The dissertation of Kia Karbasi is approved.
Jonathan Kao
Lieven Vandenberghe
Xiang Chen
Gregory J. Pottie, Committee Chair
University of California, Los Angeles
2026
To my mother, Fereshteh,
my father, Bahram,
and my brother, Kaveh,
for their love, support, and encouragement throughout this journey.
Acknowledgments
I would first like to thank my advisor, Professor Gregory Pottie, for his guidance, support, and mentorship throughout my graduate studies. His advice helped shape both this dissertation and my development as a researcher.
I am also grateful to my dissertation committee members, Professor Jonathan Kao, Professor Lieven Vandenberghe, and Professor Xiang Anthony Chen, for their time, thoughtful feedback, and encouragement.
I would like to thank my research collaborators, Kevin Hong, Kaveh Karbasi, Mohammad Amin Samadi, and Mahdi Saiedi, for their contributions, discussions, and support throughout the projects that contributed to this dissertation. I am also thankful to my labmates, Yunzheng Zhu, Omead Pooladzandi, and Sunay Bhat, for their friendship, feedback, and many helpful conversations.
Portions of Chapter 3 are based on the following coauthored work: Kia Karbasi, Kevin Hong, Mohammad Amin Samadi, and Gregory J. Pottie. “Multi-Agent Collaborative Framework For Math Problem Generation.” In Proceedings of the 18th International Conference on Educational Data Mining, pp. 613–618, 2025. I created the agents and workflows, ran all experiments, and performed most of the analysis. Kevin Hong helped set up AutoGen and performed initial testing. Mohammad Amin Samadi helped with analysis, paper formatting, and plots. Gregory J. Pottie served as advisor and principal investigator.
Portions of Chapter 4 are based on the following coauthored work: Kevin Hong, Kia Karbasi, and Gregory J. Pottie. “Extracting Causal Relations in Deep Knowledge Tracing.” In Proceedings of the 18th International Conference on Educational Data Mining, pp. 586–591, 2025. I conceived the project, developed the code, directed the experimental work, and performed the primary analysis. Kevin Hong helped conduct the experiments and helped write the original paper. Gregory J. Pottie served as advisor and principal investigator.
This work was supported throughout my graduate studies by the UCLA Graduate Division, the Network Systems Department at The Aerospace Corporation, and the Office of Naval Research (ONR). I also acknowledge Google Education for providing a Google Cloud research grant.
I am grateful to the graduate staff at UCLA, especially Deeona Columbia and Tatyana Vigil, as well as the department administrators and staff, for their help and support. I also thank the department chair at Worcester Polytechnic Institute and Professor Neil Heffernan’s lab for providing access to data that supported this research.
AI-based writing tools were used to assist with copyediting and language refinement; all research, analysis, interpretation, and conclusions are the author’s own.
Finally, I thank my family for their love, patience, and encouragement: my mother, Fereshteh Rafieimoghadam; my father, Bahram Karbasi; and my brother, Kaveh Karbasi. Their support has been a constant foundation throughout this journey.
VITA
Education
2014 B.S., Electrical Engineering, University of Maryland, College Park.
2018 M.S., Electrical and Computer Engineering, University of California, Los Angeles.
Professional Experience
2014–2015 Software Engineer, Visa Inc.
2019–2026 Senior Member of Technical Staff, The Aerospace Corporation.
Publications
Kia Karbasi, Kevin Hong, Mohammad Amin Samadi, and Gregory J. Pottie. “Multi-Agent Collaborative Framework For Math Problem Generation.” In Proceedings of the 18th International Conference on Educational Data Mining, pp. 613–618, 2025.
Kevin Hong, Kia Karbasi, and Gregory J. Pottie. “Extracting Causal Relations in Deep Knowledge Tracing.” In Proceedings of the 18th International Conference on Educational Data Mining, pp. 586–591, 2025.
Ehsan Keramat, Nicholas Kauffroath, Kia Karbasi, Heng Zhao, Babak Daneshrad, and Gregory J. Pottie. “Experimental results for low overhead frequency offset estimation in MANETs with concurrent transmission.” In Proceedings of the IEEE Military Communications Conference, pp. 69–72, 2017.
Introduction
An intelligent tutoring system (ITS) is an adaptive educational system that manages a student’s learning trajectory by coordinating three core functions. It estimates what the student currently understands, selects what the student should encounter next, and delivers an instructional intervention that can improve future learning [18, 36]. These functions are linked: a generated question becomes evidence for the next student-model update, and a student model is useful only insofar as it supports better instructional action.
This dissertation studies how natural language processing and AI techniques can improve different parts of that adaptive loop: student modeling and intervention generation. The motivation is not simply that tutoring systems contain text. Questions, explanations, hints, standards labels, and knowledge-component descriptions are linguistic artifacts, but their value depends on how they enter the tutoring system. If they are reduced too early to anonymous identifiers, the system may lose information about conceptual similarity, prerequisite structure, difficulty, and pedagogical intent. If they are used too naively, however, language representations can add surface similarity without improving the underlying tutoring decision.
The central question is therefore not whether language is useful in general, but where and how it changes the tutoring problem. A language representation might help prediction by capturing similarity across questions. It might help interpretation by making learned exercise relations easier to analyze. It might help intervention by supporting the generation of new practice problems rather than only selecting from existing ones. It might also fail when the dominant signal is behavioral, temporal, psychometric, or curriculum-structural rather than semantic. This dissertation tests those possibilities across student modeling and intervention generation instead of treating “adding language” as a uniform modeling improvement.
On the student-modeling side, the thesis studies knowledge tracing (KT), the task of estimating the probability that a student will answer the next item correctly from prior interactions [13, 63]. KT has moved from interpretable probabilistic formulations to powerful neural sequence models, but the sources of those models’ gains are often hard to localize: performance may reflect temporal signal, concept structure, question identity, prerequisite relations, or some combination of all four [58, 98, 77]. On the intervention side, the thesis treats automatic question generation as an ITS capability rather than a generic text-generation task, because a generated question is the instructional action that the system uses to collect the next piece of evidence [25, 99].
The research chapters follow this adaptive loop. Chapter 3 addresses intervention generation and shows that structured multi-agent collaboration can improve the pedagogical quality of automatically generated mathematics questions. Chapter 4 returns to student modeling and argues that the exercise-relation structure learned by DKT is better understood as prerequisite-like dependency than as generic association, making the learned structure more educationally interpretable.
Chapters 5 and 6 then test two different ways of bringing language into KT. Chapter 5 shows that, in the evaluated DKT setting, the tested semantic initializations do not reliably capture the structure needed by the student model: inserting pretrained semantic representations into the inherited knowledge-component space does not reliably improve DKT. Chapter 6 changes the representational target: instead of using text only to initialize model inputs, it uses text embeddings to reorganize the knowledge-component space itself. Under the right data conditions, that reorganization improves downstream DKT. This contrast gives the dissertation its clearest KT finding: language is more useful when it reshapes the educational structure over which the model learns than when it is added only as a surface semantic prior.
Chapter 7 extends this line of work from structural language use to explicit reasoning. It introduces ReasonKT as a framework for reasoning over student history, question content, and concept organization, while evaluating only a prompt-only preliminary instantiation of that broader framework. The prompt-only study is preliminary, but it shows above-chance ranking signal and inspectable reasoning traces in a KT-style next-step prediction setting. Chapter 8 synthesizes these results and uses them to motivate future work on reasoning-based student modeling and more unified ITS architectures.
Taken together, the dissertation argues that NLP and AI techniques are useful in tutoring systems when their representational or generative strengths are tied to a specific tutoring function: modeling student knowledge, interpreting exercise structure, generating interventions, or connecting those pieces into a more coherent adaptive system.
Main Contributions
Across its research chapters, this dissertation makes five main contributions:
We show that collaborative multi-agent workflows improve the pedagogical quality of automatically generated mathematics questions, especially on relevance, answerability, and difficulty matching.
We demonstrate that the dependency structure learned by Deep Knowledge Tracing is better
understood in causal or prerequisite-like terms than as generic exercise association, and we introduce a more stable method for extracting those relations.
We show that, in the evaluated DKT setting, multiple text-informed initialization pipelines do not consistently improve over standard sparse baselines, revealing a gap between surface semantic representations and the structure used by the student model.
We demonstrate that text embeddings can improve downstream knowledge tracing when they are used to redefine the knowledge-component space, with positive results on ASSISTments 2012 and ASSISTments 2017.
We present preliminary evidence for reasoning-based student modeling and use that evidence to frame a broader ITS research agenda connecting knowledge tracing, intervention selection, and intervention generation.
The rest of this dissertation is structured as follows. Chapter 2 provides the shared technical background; Chapters 3–7 present the five research studies; Chapter 8 synthesizes the dissertation-level findings and outlines future directions; and the appendices collect supplementary chapter-specific results and diagnostics.
Background
In this chapter, we review neural representations, sequence models, transformers and prompting, structure-discovery methods, reinforcement learning, and evaluation concepts.
Neural Representations and Embeddings
Sparse and Dense Representations
Many learning problems begin with a representational question. Before a model can estimate, compare, or generate anything, the objects of interest must be encoded numerically. A standard approach is to use a sparse symbolic representation such as a one-hot vector, in which each category is assigned its own coordinate and exactly one coordinate is active. This encoding is easy to specify and preserves identity perfectly, but it treats all categories as equally unrelated. Two tokens that are near-synonyms and two tokens that share no semantic relation at all are separated in essentially the same way.
Embeddings address this limitation by mapping discrete objects into dense vectors in a continuous space [52, 62, 6]. In such a space, objects that behave similarly in data can be assigned nearby representations, while dissimilar objects can be placed farther apart. The value of an embedding is therefore not that it provides a human-interpretable coordinate system in which each dimension has a simple semantic meaning. Rather, it provides a learned geometry in which proximity, direction, and relative arrangement encode regularities that are useful for prediction. Figure 2.1 illustrates this geometric intuition at a schematic level.

Figure 2.1. A schematic embedding space. Related words occupy nearby regions rather than being represented as isolated one-hot symbols. Source note: Wikimedia Commons, File Word_embedding_illustration.svg, CC BY-SA 4.0, https://commons.wikimedia.org/wiki/File:Word_embedding_illustration.svg.
The geometry in Figure 2.1 should not be read too literally. Real embedding spaces are high-dimensional, and their usefulness arises from distributed structure across many coordinates at once. Nevertheless, the figure captures the central idea: a learned representation can support transfer because information acquired about one object can generalize to nearby objects that occupy similar regions of the space.
Similarity and Context
In language applications, embeddings can be learned at several levels of granularity. Earlier approaches typically assigned one vector to each word type, regardless of context [52, 62]. More recent models instead produce contextual representations, meaning that the representation of a token depends on the surrounding sequence [14]. This distinction is consequential because linguistic meaning is often context-sensitive. The token “bank” in “river bank” and the same token in “bank account” should not, in general, be represented identically if the model is expected to reason effectively about meaning.
Representations can also be defined above the token level. Sentence encoders and related models map entire sentences or short passages into single vectors intended to summarize their semantic content at a coarser scale [67, 20]. Such representations are particularly appropriate when the object of interest is not an isolated word but a larger unit such as a question, explanation, or paragraph.
A common way to compare two embeddings is cosine similarity:
Cosine similarity measures the angle between two vectors rather than their raw Euclidean separation. Two vectors can therefore be judged similar if they point in nearly the same direction even when their magnitudes differ. In many text-representation settings, that directional information is more informative than absolute scale because it captures relational structure in the representation space.
Sequence Models for Time-Ordered Data
Recurrent Neural Networks
Many machine-learning problems concern ordered observations rather than independent examples.
Natural language is sequential, sensor streams are sequential, and longitudinal student histories are sequential. In such settings, the model must update its internal representation as new observations arrive while retaining relevant information from prior steps. A recurrent neural network (RNN) addresses this requirement by maintaining a hidden state that is updated recursively over time. At step , the model combines the current input with the hidden state from step to produce a new hidden state that summarizes the sequence prefix observed so far.
An RNN can be drawn either as a compact recurrent block or as an unfolded chain in which the same computation is repeated across time steps. The unfolded view is especially useful because it makes explicit that the parameters are shared across positions in the sequence. Figure 2.2 uses this perspective to contrast a plain recurrent architecture with the more structured LSTM update.
Figure 2.2. (a) An unfolded RNN. (b) An LSTM cell. Two views of sequence modeling. The left panel shows recurrence as repeated application of a shared transition, and the right panel shows how an LSTM regulates memory flow through learned gates. Source notes: left, Wikimedia Commons, File Recurrent_neural_network_unfold.svg, CC BY-SA 4.0, https://commons.wikimedia.org/wiki/File:Recurrent_neural_network_unfold.svg; right, Wikimedia Commons, File NN_LSTM-Cell.svg, CC0, https://commons.wikimedia.org/wiki/File:NN_LSTM-Cell.svg.
The principal limitation of plain RNNs is not expressive inadequacy in principle, but difficulty in optimization. When training requires information from distant time steps to influence present predictions, gradients must propagate backward through many recurrent updates. These gradients may decay toward zero or grow uncontrollably, making long-range dependencies difficult to learn reliably. In practical terms, the model either loses earlier information too quickly or becomes numerically unstable during training.
Long Short-Term Memory Networks
Long short-term memory (LSTM) networks were introduced to mitigate this problem. An LSTM augments the recurrent update with a memory cell and a collection of learned gates that regulate what information is forgotten, what new information is written, and what portion of the internal state is exposed at the output. As Figure 2.2 shows, this architecture imposes more structure on the update than a plain RNN and thereby gives the model greater control over information flow across long sequences.
The practical significance of LSTMs is not that they preserve all prior information indefinitely. Rather, they make it easier for the model to preserve relevant information over longer spans when the task requires it. For that reason, LSTMs became a standard sequence-modeling architecture in many domains prior to the rise of transformer-based language models. The same principle matters whenever data arrive as temporally ordered interactions: the model must represent not only the current observation but also the evolving state induced by the preceding sequence.
Transformers, Large Language Models, and Generative Tasks
Tokens, Self-Attention, and Transformers
Modern language models do not process raw text as uninterpreted character streams. They first convert text into a sequence of discrete tokens, which may correspond to whole words, subword fragments, punctuation marks, or special symbols. Tokenization is therefore a design choice that mediates between linguistic structure and computational efficiency. It defines the units over which the model learns statistical regularities.
The transformer architecture fundamentally changed language modeling by replacing recurrence with self-attention [83]. In self-attention, each position in a sequence computes weighted interactions with other positions, allowing the model to represent dependencies without compressing the entire past into a single recurrent state. This design has two important consequences. First, it permits more direct modeling of long-range relationships. Second, it allows highly parallel computation during training because many token-to-token interactions can be evaluated simultaneously.
Figure 2.3 shows the canonical encoder–decoder transformer architecture. Although many modern language models adopt decoder-only or otherwise modified variants, the figure captures the central idea: language understanding and generation are driven by repeated attention-based transformations of token representations rather than by a single recurrent state passed forward step by step.

Figure 2.3. A standard transformer encoder–decoder architecture. Repeated attention and feedforward blocks replace recurrent state transitions as the primary computational mechanism.
Figure 2.3: Source note: Wikimedia Commons, File Attention_Is_All_You_Need_-_Encoder-decoder_Architecture.png, CC BY-SA 4.0, https://commons.wikimedia.org/wiki/File:Attention_Is_All_You_Need_-_Encoder-decoder_Architecture.png.
Each transformer layer alternates between attention and feedforward computation, progressively refining token representations in light of the full context. Stacking many such layers yields a deep model capable of representing rich syntactic, semantic, and discourse-level structure. This attention-based design now underlies most contemporary large language models.
Large Language Models and Generative Tasks
A large language model (LLM) is typically a transformer-based model trained on very large text corpora using a generative objective, often followed by additional post-training stages that improve instruction following, dialogue quality, or other downstream behavior [7, 57, 23]. The importance of scale is not simply that larger models contain more parameters. Large-scale pretraining allows a single model to acquire broad statistical regularities about language that can then be adapted across a wide range of tasks.
The standard generative objective is next-token prediction: given a prefix of tokens, estimate the conditional probability distribution over the next token. Despite its apparent simplicity, this objective is remarkably general. If the prefix is the beginning of a paragraph, the model performs text continuation. If the prefix is an instruction, it attempts to generate a compliant response. If the prefix frames a question, the continuation may take the form of an answer. Many tasks that appear distinct at the application level can therefore be cast as conditional generation under a common predictive mechanism.
This unification is why a single LLM can be used for text continuation, summarization, question answering, question generation, dialogue, translation, and code generation without changing the underlying architecture. The task changes because the conditioning context changes, not because the core predictive machinery does. That flexibility matters here because the same generative formalism can support question generation, structured prompting, and other language-model uses without changing the underlying predictive mechanism.
Decoding, Sampling, and Prompting
Decoding and Temperature
Once a language model has assigned probabilities to candidate next tokens, a second question arises: how should the system convert that distribution into an actual output sequence? This stage is known as decoding. The simplest strategy is greedy decoding, which selects the single most probable token at each step. Greedy decoding is deterministic and often produces stable outputs, but it can also be overly conservative and may amplify repetition because it never explores lower-probability alternatives.
Sampling-based decoding instead draws from the predicted distribution. This introduces stochasticity and can increase diversity, but it also exposes the model to the risk of low-quality continuations if the sampling procedure is too permissive. The temperature parameter controls this trade-off by sharpening or flattening the distribution before sampling. Low temperatures concentrate probability mass on the most likely tokens, producing safer and more predictable outputs. High temperatures distribute probability more broadly, increasing diversity at the cost of greater variance and a higher risk of incoherence. Temperature therefore does not change what the model knows; it changes how aggressively the decoding procedure explores the distribution already induced by the model.
Two further controls are commonly used in practice. Top- sampling restricts selection to the most probable next tokens, while top- or nucleus sampling restricts selection to the smallest token set whose cumulative probability exceeds a chosen threshold. Both mechanisms attempt to preserve diversity without sampling too heavily from the extreme tail of the distribution.
Prompting
Prompting refers to the use of input text to specify task structure, desired behavior, or reasoning format at inference time. In zero-shot prompting, the model receives only a task description or instruction. In few-shot prompting, the prompt additionally includes a small number of exemplars that demonstrate the intended input–output relation [34]. In either case, the model parameters remain fixed; behavior changes because the prompt alters the context in which generation takes place.
Chain-of-thought prompting goes further by encouraging the model to produce intermediate reasoning steps before the final answer [90, 87, 101]. This can improve performance on tasks that benefit from decomposition or explicit intermediate structure. At the same time, such generated rationales should not automatically be treated as transparent windows into the model’s internal computation. They are outputs of the model, not guaranteed faithful explanations of its hidden-state dynamics. Table 2.1 summarizes the main decoding and prompting choices.
| Method | Category | Main effect | Typical trade-off |
| Greedy decoding | Decoding | Chooses the most probable next token at each step | Stable, but can be repetitive or conservative |
| Sampling | Decoding | Draws from the next-token distribution | More diverse, but less predictable |
| Temperature | Decoding control | Sharpens or flattens the distribution before sampling | Lower values increase reliability; higher values increase variety |
| Top- / top- | Decoding control | Restricts sampling to a plausible candidate set | Reduces low-probability errors while preserving diversity |
| Zero-shot prompting | Prompting | Relies only on an instruction | Fast, but sensitive to wording |
| Few-shot prompting | Prompting | Uses examples in the prompt | Better task steering, but consumes context length |
| Chain-of-thought | Prompting | Encourages intermediate reasoning steps | Often helps difficult tasks, but increases cost and does not guarantee faithfulness |
Table 2.1. Common decoding and prompting choices for language models.
Graphs, Clustering, and Structure Discovery
Graphs and Directed Acyclic Graphs
A graph represents entities as nodes and relations among them as edges. If the edges have directions, the graph is directed; if they also carry numerical strengths, it is a weighted directed graph.
This framework is appropriate when the central object of study is relational structure rather than isolated instances. In educational and machine-learning settings, graphs are often used to represent similarity, dependency, information flow, or possible prerequisite relations among concepts.
A cycle occurs when a directed path eventually returns to its starting node. A directed acyclic graph (DAG) is a directed graph with no such cycles. DAGs support a partial order: some nodes can precede others without requiring every pair of nodes to be directly comparable. When a directed graph is interpreted as a prerequisite structure, acyclicity is required for a clean ordering interpretation. A cycle between concepts and may still indicate association, but it is difficult to interpret as a clean ordering in which one concept should be mastered before the other.
Dimensionality Reduction and Clustering
When observations are represented as high-dimensional vectors, dimensionality reduction is often applied before visualization or structural analysis. Principal component analysis (PCA) finds new orthogonal axes that capture variance in descending order [30]. Retaining only the leading principal components yields a lower-dimensional approximation that preserves as much variation as possible subject to the chosen dimension. Figure 2.4 illustrates this projection idea geometrically.

Figure 2.4. A PCA projection illustration. High-dimensional variation is approximated by projection onto a smaller number of principal directions.
Figure 2.4: Source note: Wikimedia Commons, File PCA_Projection_Illustration.gif, CC BY-SA 4.0, https://commons.wikimedia.org/wiki/File:PCA_Projection_Illustration.gif. Static frame reproduced from the original animation.
PCA does not itself discover semantic groups; it is a linear compression method. Clustering, by contrast, asks whether points in a representation space can be partitioned into internally similar groups. A standard example is -means clustering [51, 2], which alternates between assigning each point to its nearest centroid and updating the centroids to match the current assignments. The procedure is conceptually simple, but the choice of the number of clusters is substantive rather than merely technical. Small values of impose coarse structure; larger values permit finer distinctions. Cluster granularity is therefore a modeling assumption about how much structure the analyst wishes to resolve.
Reinforcement Learning and GRPO
Reinforcement Learning Basics
In reinforcement learning (RL), an agent interacts with an environment by taking actions and receiving evaluative feedback in the form of rewards [79]. The agent’s behavior is specified by a policy, often written as , which denotes the probability of taking action in state under parameters . Unlike supervised learning, RL does not typically provide a target output for every step. Instead, the agent must infer which behaviors are desirable from the rewards generated by its interactions.
The usual objective is to maximize expected cumulative reward:
where denotes a trajectory and its total reward. The central difficulty is that reward is often delayed. A successful or unsuccessful final outcome may depend on a long sequence of earlier choices, yet the learner is not told directly which choice deserves credit or blame. This is the classical credit-assignment problem. In contemporary reasoning-oriented systems, a related notion is that of a verifier: an external procedure that can determine whether a generated solution satisfies a correctness criterion. Verifiers matter because they convert task success into a more concrete reward signal.
PPO and GRPO
Proximal policy optimization (PPO) is a widely used RL algorithm that seeks to improve a policy while constraining each update to remain reasonably close to the previous one [72]. In large-model applications, PPO is often coupled with a learned value function that estimates expected return and helps reduce the variance of policy-gradient updates. This framework is effective, but it introduces additional components that must themselves be trained and stabilized.
Group Relative Policy Optimization (GRPO) simplifies that setup and has become relevant in recent reasoning-focused language-model work [73, 23]. Instead of learning a separate value model, GRPO samples multiple responses for the same prompt and evaluates them relative to one another under a reward model or verifier. Figure 2.5 shows this contrast directly: PPO relies on an explicit value model, whereas GRPO computes relative advantages within a sampled response group.

Figure 2.5. PPO and GRPO compared at a high level. GRPO removes the separate value model and instead computes relative advantages across a sampled group of responses for the same query. Source note: Guo et al., “DeepSeek-R1 incentivizes reasoning in LLMs through reinforcement learning,” Extended Data Fig. 2, open-access Nature article, CC BY 4.0, https://www.nature.com/articles/s41586-025-09422-z/figures/4.
This group-relative formulation is well suited to settings where several candidate outputs can be generated for the same problem and scored against a common criterion. Some candidates may be more accurate, more efficient, or otherwise better aligned with the task than others. GRPO uses these relative differences to shape the policy without requiring a separate learned value baseline. It does not remove the fundamental challenges of RL, especially credit assignment, but it reduces architectural complexity in a way that is well matched to modern reasoning-model training.
Core Model Development and Evaluation Concepts
Training, Validation, and Generalization
Machine-learning systems are ordinarily developed using separate training, validation, and test sets. The training set is used to fit model parameters. The validation set is used to select hyperparameters, choose stopping criteria, or compare design variants. The test set is reserved for final evaluation and should not influence model development directly. This separation is methodologically essential because a model can appear to improve simply by adapting too closely to the data used for tuning.
Overfitting occurs when a model captures idiosyncratic patterns in the observed data that do not generalize to new examples. Generalization is the complementary objective: strong performance on data not seen during training. A model’s inductive bias is the set of structural assumptions built into the model class or training procedure that makes some solutions easier to learn than others. Such bias is unavoidable and, in practice, often beneficial. The relevant question is not whether bias exists, but whether it is well aligned with the structure of the task.
Common Evaluation Measures
Different evaluation metrics quantify different properties of model behavior, so no single summary number is universally adequate. Accuracy measures the proportion of correct decisions once predicted probabilities have been thresholded into labels. ROC curves characterize the trade-off between true-positive and false-positive rates across decision thresholds, and the area under the ROC curve (AUC) summarizes ranking quality over that threshold range [61]. Calibration asks a distinct question: whether predicted probabilities correspond to empirical frequencies, so that a prediction of 0.8 is borne out approximately 80% of the time [22].
Other measures compare patterns rather than binary decisions. Pearson correlation measures linear association between two numeric quantities, whereas Spearman correlation measures whether rank order is preserved. In clustering analysis, adjusted Rand index (ARI) quantifies agreement between two partitions while correcting for agreement expected by chance [27]. Normalized mutual information (NMI) measures how much information one partition provides about the other [85]. Homogeneity asks whether each cluster predominantly contains members of a single reference class, whereas completeness asks whether members of a reference class are assigned predominantly to the same cluster [69]. Table 2.2 summarizes these distinctions.
| Measure | What it captures | Useful intuition |
| Accuracy | Fraction of decisions that are correct | Sensitive to the threshold used to turn probabilities into labels |
| ROC / AUC | Ranking quality across thresholds | A high AUC means positives tend to receive higher scores than negatives |
| Calibration | Agreement between predicted probabilities and observed frequencies | A confident model is not necessarily a well-calibrated one |
| Pearson correlation | Linear association between two numeric patterns | Best when relative magnitudes matter linearly |
| Spearman correlation | Rank-order association | Useful when order matters more than exact spacing |
| ARI | Partition agreement corrected for chance | High ARI means two clusterings make similar pairwise grouping decisions |
| NMI | Shared information between partitions | High NMI means one partition tells you a great deal about the other |
| Homogeneity / Completeness | Purity of clusters vs integrity of reference classes | High homogeneity avoids mixed clusters; high completeness avoids splitting one class across many clusters |
Table 2.2. Common development and evaluation concepts.
Together, these concepts define a shared foundation for representation learning, sequential prediction, reasoning-based optimization, and model evaluation.
Multi-Agent Collaborative Framework For Math Problem Generation
Introduction and Related Work
Dynamically generating mathematics practice exercises and homework problems is a longstanding challenge for intelligent tutoring systems (ITS) and educators [25]. Typically, educators and ITS either rely on existing problems or create new variations through minor modifications. Automatic Question Generation (AQG) aims to address this challenge but faced limited early success [25, 99]. Over time, diverse AQG methods have emerged, including the fine-tuning of pretrained language models for topic-controlled question generation [42, 83], often leveraging contrastive examples (examples of similar questions that differ in topic) to help the model distinguish and generate questions suited to specific concepts. More recently, prompt engineering guided by Bloom’s Taxonomy [4], few-shot prompting with chain-of-thought reasoning [71, 4], and contextualized math word problem generation with equation constraints [28, 89] have further advanced the field. Modern ITS require robust AQG capabilities to dynamically provide personalized practice problems, effectively intervening in students’ learning trajectories [63].
An ITS can be conceptualized as managing a student’s knowledge state. Figure 3.1 illustrates a typical ITS architecture where a knowledge-tracing module continuously monitors student comprehension across various knowledge components (KCs). At each interaction, the ITS selects a KC based on the student’s knowledge state and, using a Curriculum Designer module commonly implemented via reinforcement learning (RL) models or search algorithms like expectiminimax [63], presents an appropriate problem as an intervention. This adaptive process supports personalized curricula aimed at continuously enhancing student mastery of KCs. Consequently, ITS must be capable of dynamically generating practice problems for any KC, leveraging heuristics from example problems and incorporating difficulty assignment mechanisms.

Figure 3.1. Typical workflow of an ITS.
The AQG task can vary significantly based on system requirements. For instance, [4] utilizes Large Language Models (LLMs) prompted explicitly by textbook chapters and related question sets, while other systems may rely solely on textbook chapters without additional prompts. Another common variation is concept-based generation, where AQG systems create questions derived directly from explicitly defined concepts or knowledge graphs. In this chapter, we approach AQG from an ITS perspective, defining inputs as: (1) the KC name per Common Core State Standards definitions, (2) a set of example questions for that KC, and (3) the required difficulty level (easy, medium, or hard). The system outputs a generated question and its answer.
AQG aligns with broader natural language generation (NLG) challenges, particularly the lack of definitive ground truths and the subjective nature of human evaluations. Because of this, evaluating NLG has been a key area of recent research, giving rise to frameworks like G-Eval [46], which leverages GPT-4 as a reference-free evaluator for tasks such as summarization, demonstrating improved alignment with human judgments. However, biases may persist in these LLM-based evaluation methods, as highlighted by [35, 88]. Task-specific initiatives like QGEval [19] reveal continued difficulties in ensuring strong alignment between automated metrics and human ratings in question generation, underscoring the broader challenges posed by subjectivity and the absence of definitive ground truth. Another major ongoing challenge in AQG is ensuring high-quality questions that are coherent, relevant, and accurately aligned with the intended difficulty level.
To address these issues, we explore recent advancements in LLMs, particularly in Inference Time Computation (ITC) techniques [75]. ITC generally refers to methods that extend or refine a model’s outputs during deployment without additional training, by orchestrating extra computational steps, retrieving context, or allowing models to interact with each other. Within this paradigm, we focus on multi-agent collaborative systems, also known as agentic workflows [91], which improve LLM performance by facilitating interactions between multiple agents. This allows them to debate, complement each other’s strengths, and incorporate diverse perspectives. Of all the agent collaboration techniques, debate emerges as a particularly effective approach, inspired by the concept of the Society of Mind [53] to harness collective knowledge. Studies show that multi-agent debate can enhance factuality and reasoning [15], foster divergent thinking [43], and even achieve state-of-the-art performance in mathematical reasoning [91]. Other lines of work focus on mechanisms such as hierarchical or roleplaying-based collaboration [99, 10] and competitive settings [97], while recent frameworks like AutoGen [91], Camel [40], and MetaGPT [26] facilitate a variety of multi-agent collaboration structures. By enabling agents to engage in structured interactions, these workflows enhance factual accuracy, reasoning capabilities, and the overall quality of generated questions.
In this chapter, we investigate the potential of integrating ITC techniques through collaborative multi-agent frameworks into AQG. We evaluate the outputs based on clarity, relevance, importance, answerability, and difficulty matching. Our contributions are three-fold. First, we propose two novel collaborative frameworks specifically designed for AQG tasks. Second, we develop a self-curation method for AQG guided by cognitive demand criteria from Bloom’s taxonomy. Third, we introduce an automated evaluation framework to assess automatically generated math questions, considering clarity, relevance, importance, answerability, and difficulty control.
Our research explores two key questions:
Does difficulty matching depend on the proposed difficulty?
Do agentic workflows improve question generation compared to baseline models?
Method and Experimental Setup
We propose two multi-agent systems that generate a question and answer based on a given difficulty level, set of examples, and the KC name for use in the ITS. In this section, we explain the data, agents, multi-agent workflows, prompting strategies, curation method, and evaluation metrics of the system.
Data
Our experiments utilize the Problem Bodies dataset (https://sites.google.com/site/assistmentsdata/home/assistments-problems). The dataset is an extension of the ASSISTments dataset, a widely used benchmark from ITS. Problem Bodies contains middle-school math questions accompanied by empirical student performance metrics. Each question in this dataset includes a “percent correct” attribute, representing the percentage of students who answered correctly. This allows us to categorize the questions into easy, medium, and hard difficulty levels, providing an empirically grounded measure of difficulty aligned with real-world student performance.
Agents
In our experiments, we use the following agents and roles:
Teacher: Generates math questions and answers for a specific KC at a set difficulty level. It returns concise responses while adjusting based on conversation context.
Generic Critic: Provides objective, high-level feedback on clarity, relevance, and difficulty alignment without introducing new content. It references the overall discussion for consistent evaluation.
Consensus CEO: Serves as the final decision-maker by reviewing conversation history and selecting the best question-answer pair from multiple agents. If a consensus exists, it reports that; otherwise, it chooses the option aligning best with the KC, difficulty requirements, and sample solutions.
Versatile Agent: Dynamically participates in collaborative discussions, making one of three decisions based on chat history: (1) generate a new Q&A pair, (2) revise an existing pair, or (3) endorse a peer’s pair while providing constructive feedback. This agent uses prior messages and examples to ensure its contributions align with the KC, intended difficulty, and the collective goal of reaching consensus.
Prompt Design
The full implementation prompts for the Teacher-Critic Cycle agents, the Collective Consensus agents, and the evaluation module are reported in Appendix § 12.§ 3.1. In the main text, we focus on the role structure rather than reproducing the full prompt text. The Teacher prompt is responsible for question generation and revision, the Critic prompt for structured feedback, the Versatile Agent prompt for proposal, revision, or endorsement within the collective workflow, and the Consensus CEO prompt for final selection.
Workflows and Experimental Setup
We systematically evaluated four distinct approaches, including two baseline scenarios and two agentic workflows (see Figure 3.2) designed to generate educational math question-answer pairs, each with varying complexity and collaborative structures:

Figure 3.2. Agentic workflows. Left: Teacher Critic Cycle. Right: Collective Consensus.
Baseline Teacher Zero-Shot: This workflow uses a single teacher agent with a zero-shot prompt approach to generate self-contained math questions and answers without relying on prior examples or conversation history.
Baseline Teacher Few-Shot: In this variant, the teacher agent is guided by a few example question-answer pairs, aligning it more closely with other few-shot-based workflows.
Teacher-Critic Cycle (TCC): TCC involves two agents: a teacher generates an initial math question and answer, followed by iterative critique from a generic critic agent. The critic assesses clarity, relevance, difficulty, and pedagogical appropriateness, with the teacher refining the content across multiple feedback rounds. The full implementation prompts for these two roles are reported in Appendix § 12.§ 3.1. Experimentally, we varied the number of interaction rounds between two to five, and evaluated the effectiveness of two prompt engineering techniques: Auto Chain-of-Thought (AutoCoT) and explicit Solution Generation, by enabling and disabling them. In Solution Generation, the teacher (or versatile agent) tries to output only the final answer to a math problem, while in AutoCoT, the teacher (or versatile agent) uses a step-by-step reasoning process before arriving at the final answer.
Collective Consensus (CC): CC is a multi-agent workflow involving a collaborative conversation to reach consensus on math question-answer pairs. Initially, one versatile agent generates a question-answer pair, after which two to four versatile agents sequentially contribute by either creating a new question, revising an existing question with feedback, or explicitly agreeing with feedback. The corresponding collaboration and selection prompts are also reported in Appendix § 12.§ 3.1. Decoding parameters, including sampling seed and temperature, are randomized per agent to encourage diverse perspectives. Following iterative discussion (ranging from two to five rounds), a consensus CEO agent reviews the conversation. If consensus is achieved, the CEO selects the agreed-upon final pair; otherwise, it chooses the best candidate based on collective judgment and educational alignment.
Across all workflows, we tested three prompting strategies, which we detail in § 5.2.5: Empirical Difficulty Prompting, Empirical Prompting, and Simple Prompting. These strategies help assess whether providing explicit difficulty-level context enhances question quality relative to random or difficulty-specific examples.
Difficulty Prompting Strategies
Empirical: All but the baseline use a few-shot approach. Math questions are labeled “easy”, “medium”, or “hard” using real student performance data (higher “percent correct” indicates easier). These labeled examples guide the model in generating questions matching the requested difficulty.
Prompting Empirical: This variant also relies on empirical difficulty data but only presents examples matching the requested difficulty. For instance, if the model is asked to produce an “easy” question, only empirically identified easy examples are shown.
Prompting Simple (Random Examples): Here, the model receives randomly selected examples from all difficulty tiers. It must rely solely on the requested difficulty (“easy”, “medium”, or “hard”) without explicit guidance from example labels, placing more responsibility on general instructions.
Self-Curation
We design a Bloom Agent that assigns each output question a Bloom evaluation score (–) based on its cognitive demands, ensuring alignment with the three Bloom tiers—lower (Remembering, Understanding), middle (Applying, Analyzing), and upper (Evaluating, Creating). Because generating many candidate questions is computationally inexpensive, we filter out those that fail the expected cognitive challenge and retain only those demonstrating strong Bloom alignment. We also compare this curation method against Random Curation (RC) of our methods for comparison. Unlike conventional curation, which may rely on syntactic features, our approach prioritizes pedagogical rigor over surface textual similarity, ensuring that even a surplus of suboptimal questions yields a subset with greater alignment to Bloom-level demands.
Evaluation Metrics
To evaluate the generated questions, we use prompt engineering to quantify the quality of each instance based on the following criteria:
Relevance: Measures how well the generated questions align with example questions and the targeted KC. Scored on a scale of 1 (not relevant) to 5 (highly relevant).
Importance: Assesses whether the question emphasizes key conceptual components of the targeted KC. Rated from 1 (least important) to 5 (essential).
Clarity: Evaluates structural coherence and linguistic precision of a question to ensure it is easily understood by middle-school students. Scored from 1 (unclear) to 5 (exceptionally clear).
Difficulty Matching: Determines how well a question’s complexity aligns with the specified difficulty level (easy, medium, hard). Cognitive difficulty ranges from basic factual recall (easy) to moderate conceptual reasoning (medium) and advanced analytical skills (hard). Scored from 1 (no alignment) to 5 (perfect alignment).
Answerability: Evaluates whether a middle-school student can reasonably understand and respond to the question based on the provided information. Rated from 1 (unanswerable) to 5 (clearly answerable).
Evaluation Prompt Templates
The full evaluator prompts for clarity, relevance, importance, difficulty matching, and answerability are reported in Appendix § 12.§ 3.1. Figure 3.3 remains in the main chapter because the Bloom-alignment prompt is central to the self-curation mechanism.

You are an experienced mathematics educator. Your task is to evaluate whether a generated
mathematics question aligns with the intended cognitive challenge level defined by Bloom’s
Taxonomy.
Bloom’s Taxonomy includes six levels: Remembering, Understanding, Applying, Analyzing,
Evaluating, and Creating.
The target mapping is:
- Easy: Remembering and Understanding
- Medium: Applying and Analyzing
- Hard: Evaluating and Creating
You will be given:
- [Question]
- [Target knowledge component]
- [Intended difficulty level]
Analyze the cognitive demands of the question, compare them with the intended Bloom levels,
assign a five-point Bloom-alignment score, and explain your reasoning step by step.Figure 3.3. Bloom-alignment evaluation prompt.
Results and Discussion
Table 3.1 shows the evaluation results of our methods, TCC and CC, compared to both the baseline and non-curated agentic methods. While TCC and CC outperform both the baselines and their
| Method | Clarity | Relevance | Importance | Difficulty | Answerability | Avg. |
| Baseline_ZS | 3.66 | 4.61 | 4.67 | 4.41 | 4.65 | 4.40 |
| Baseline_FS | 3.70 | 4.93 | 4.73 | 4.02 | 4.71 | 4.42 |
| CC_RC | 3.50 | 4.95 | 4.71 | 3.94 | 4.61 | 4.34 |
| TCC-RC | 3.72 | 4.90 | 4.73 | 4.11 | 4.79 | 4.45 |
| CC | 3.60 | 4.99 | 4.76 | 4.96 | 4.94 | 4.65 |
| TCC | 3.75 | 4.92 | 4.70 | 4.88 | 4.94 | 4.64 |
Table 3.1. Evaluation results of different question generation workflows.
non-curated counterparts across all evaluation metrics, the improvements are incremental rather than drastic. The greatest gains are observed in Difficulty Matching and Relevance, which suggests that incorporating iterative critique and collective refinement enhances alignment with the intended cognitive challenge and pedagogical quality. These findings directly address the second research question. Additionally, the fact that non-curated agentic methods underperform the baseline suggests that agent-based generation alone is insufficient without structured selection or refinement. Agent responses exhibit greater variability, sometimes failing to meet standards of clarity, difficulty alignment, or answerability. This highlights the importance of iterative curation mechanisms to ensure consistency and reliability in multi-agent AQG.
Figure 3.4 presents the Difficulty Matching and Average Score across different difficulty levels (easy, medium, hard) for each method. The trends observed align with the overall evaluation results. Our curated methods (TCC and CC) outperform the baselines and non-curated methods, though the improvements remain incremental. A general pattern emerges where both Difficulty Matching and Average Score decrease as question difficulty increases. This finding addresses the first research question. The observed trend suggests that difficulty matching is indeed more challenging for harder questions, indicating that LLM-based generation struggles to maintain appropriate cognitive complexity as difficulty increases. Notably, the baseline models and non-curated agentic methods perform significantly worse on hard questions. This reinforces the need for structured prompting and iterative refinement to produce well-calibrated high-difficulty questions.

Figure 3.4. Average score and difficulty matching by difficulty and methods.
Unexpectedly, the Baseline Zero-Shot method achieves higher Difficulty Matching scores than both the Baseline Few-Shot model and several agentic methods (including curated and non-curated variants), which suggests that few-shot examples may introduce biases or inconsistencies in aligning questions with intended difficulty. These findings underscore the intricate interplay between prompting strategies and difficulty alignment, prompting further study of how example-based prompts shape model outputs.
Taken together, these trends suggest that optimizing inference-time computation should be treated as a tuning problem rather than a simple scaling rule where more interaction always produces better questions. They also indicate that some of the remaining performance differences among stronger methods may be difficult to interpret cleanly without more discriminative evaluation. This motivates a more careful treatment of both workflow design and evaluation reliability, especially when improvements are modest but consistent.
A key question involves how much inference computation is optimal. Since these are iterative ITC methods, merely increasing the number of rounds or agents does not guarantee performance gains and can even yield diminishing returns, as shown in Figure 3.5. The number-of-rounds trend is shown in Figure 3.5a, where both TCC and CC improve from two to three rounds, after which the gains flatten or slightly reverse. This suggests that a small amount of iterative refinement is useful, but extended back-and-forth does not continue to improve outputs at the same rate. The agent-count pattern appears in Figure 3.5b, where CC reaches its best average score with three agents and declines when a fourth agent is added, indicating that additional participants may introduce coordination costs or redundant feedback rather than steadily improving the final question.

Figure 3.5. Average score plotted against: (a) number of agentic discussion rounds for both TCC and CC methods, (b) number of agents in the CC workflow, and (c) number of agentic rounds (number of agents multiplied by number of rounds).
The total agent-round budget further reinforces this interpretation. As shown in Figure 3.5c, performance varies non-monotonically as the amount of computation increases, with some of the strongest settings appearing at small-to-moderate budgets rather than at the highest values. This is important from a systems perspective because it suggests that the marginal value of extra inference-time collaboration depends on how that computation is organized, not only on how much of it is used. For an ITS deployment, this makes workflow configuration a practical optimization problem: the goal is not to maximize discussion length, but to identify the point where additional deliberation no longer improves pedagogical quality enough to justify the extra computational cost.
Furthermore, our study finds that the effectiveness of prompting strategies for enabling the in-context learning ability of LLMs is minimal. As shown in Table 3.2, different few-shot prompting techniques had little to no impact on performance. This suggests that current few-shot learning strategies may be suboptimal for the AQG task. Future research could explore alternative prompt engineering and adaptive few-shot learning techniques to better leverage in-context learning for question generation.
| Method | Strategy | Difficulty | Avg. Score |
| CC | empirical | 4.71 | 4.60 |
| CC | prompting empirical | 4.68 | 4.64 |
| CC | prompting simple | 4.70 | 4.61 |
| TCC | empirical | 4.66 | 4.66 |
| TCC | prompting empirical | 4.61 | 4.64 |
| TCC | prompting simple | 4.67 | 4.65 |
Table 3.2. Difficulty prompting strategies results.
Finally, a critical area for future work is the quality of evaluation itself. All our findings rely on automated evaluations conducted by GPT-4 and based on state-of-the-art NLG evaluation frameworks [46, 19], which raises concerns about potential biases and limitations in LLM-based self-evaluation. In particular, we observed a ceiling effect in the resulting evaluation scores, similar to what the G-Eval authors reported, as shown in Figure 3.6. The distributions for Relevance, Importance, and Answerability are heavily concentrated near the upper end of the scale, which indicates limited spread among strong outputs and therefore reduced ability to separate good generations from very good ones. By contrast, Clarity is somewhat lower and more dispersed, suggesting that wording, phrasing, and question formulation remain more variable than the other evaluated dimensions.

Figure 3.6. Histogram of evaluation metrics.
Difficulty Matching shows a broader spread and a lower mean than the strongest metrics, which is consistent with the broader pattern observed in the bar chart and supports the conclusion that calibrated difficulty remains one of the hardest aspects of AQG. The Total Score distribution is also compressed into a relatively high range, reinforcing the idea that small numerical differences between strong systems should be interpreted cautiously. If the evaluation system exhibits misalignment with human judgment, then even consistent ranking differences could reflect evaluator bias rather than meaningful pedagogical improvement. Future validation should collect human evaluation data and use it to calibrate the automated evaluation module against human judgments. This is especially important here, where subtle differences between high-performing workflows need stronger validation than automated scoring alone can provide.
Overall, while our study demonstrates that the success of difficulty matching is dependent on the proposed difficulty level and that agentic workflows can improve question generation compared to the baseline, these improvements come with important caveats. Optimization of inference computation, refinement of few-shot learning strategies, and enhancing evaluation reliability are key directions for future research to advance AI-driven educational content generation.
Extracting Causal Relations in Deep Knowledge Tracing
Introduction
Computer-assisted educational technology, such as intelligent tutoring systems [18, 36], enables personalizing activities to suit individuals with varying levels of proficiency. A key component of these adaptive systems is knowledge tracing (KT), which aims to estimate students’ mastery of several exercise concepts, known as knowledge components (KCs), as they interact with the corresponding exercises [3, 11]. Formally, represents a student’s answer pair, where denotes the exercise ID and denotes whether the student answered correctly. Given a series of past interactions, , and the next concept exercise, , the task of the KT model is to estimate the likelihood of the student answering correctly, [13]. Traditionally, Bayesian Knowledge Tracing (BKT) [13] was used to perform KT. Despite its popularity, BKT is often critiqued for its binary representation of knowledge states, which oversimplifies the learning process. Several models were later proposed to address these limitations. Learning Factors Analysis [8] improved upon BKT by representing learning as a continuous process influenced by multiple exercise interactions and accumulated practice. Performance Factors Analysis [31] further captured the complexity of learning by tracking the effects of correct and incorrect prior exercise attempts on performance. These developments laid the groundwork for Deep Knowledge Tracing (DKT) [63], which popularized a key extension to KT: the ability to implicitly infer relationships between exercises.
In this chapter, we focus on explainability within DKT. Prior work has often attributed DKT’s gains to its ability to model bidirectional relationships among KCs, allowing the system to infer understanding of one concept from performance on another. Here, we argue for a different interpretation: DKT’s strength lies more in its implicit representation of prerequisite structure as a causal graph. By pruning exercise-relation graphs into directed acyclic graphs (DAGs) and training DKT on causal subsets of the ASSISTments datasets, we show that DKT’s predictive behavior aligns strongly with these causal structures. We also introduce a modified method for extracting exercise-relation DAGs from DKT’s learned representations and provide empirical evidence that it yields more stable and informative dependency patterns. In this chapter, we therefore reframe DKT’s interpretability in terms of causal dependencies rather than generic bidirectional relations, and we make the supporting code publicly available for follow-on work.1
The relationships between exercises can take the form of prerequisite dependencies, where understanding one exercise improves performance on another, or corequisites, where exercises depend on each other. Researchers have demonstrated that exercise relationships can be mapped into an exercise graph by analyzing student learning data. An exercise graph represents the dependencies between different concept exercises based on student learning patterns. Creating accurate exercise graphs allows educators to better sequence lessons and ensure that students master foundational concepts before progressing to more advanced ones. KT models are preferred for this task because they learn temporal patterns in student data to capture how mastery of one exercise affects success on another [11, 63, 80]. This enables KT models to uncover learning dependencies that content-based or expert-defined methods may overlook. Furthermore, automating the discovery of exercise relations through KT models offers a scalable alternative to manually defining these relationships.
The original DKT work made a significant contribution to exercise-relation discovery [63]. Its method assigns an influence score to every directed pair of exercises and , defined as the conditional probability of correctly answering exercise after correctly answering exercise in the previous timestep, normalized by the sum of such conditional probabilities. The influence score from to is interpreted as evidence that performance on exercise informs predicted success on exercise , so may function as a prerequisite for . We refer to this procedure as the DKT method. Many later studies incorporated exercise relations into KT models to improve performance and interpretability. For example, Hierarchical Graph Knowledge Tracing (HGKT) [80], Structure-based Knowledge Tracing (SKT) [81], and Deep Knowledge Tracing with Multiple Relations (DKTMR) [16] track prerequisite and corequisite relationships between exercises. Graph Attention Knowledge Tracing (GAKT) [100] uses a graph attention network to uncover the underlying structure between exercises, learning these relationships using the method introduced in DKT. Graph-based Knowledge Tracing (GKT) [55] explores multiple statistics-based and learning-based methods to infer a latent graph structure and use it for KT. Among the methods evaluated in GKT, the DKT procedure performed best on ASSISTments 2009 [17].
Methodology
We conduct our study using the ASSISTments datasets, which are among the largest publicly available KT datasets and are widely used as benchmarks for KT models [1, 17, 65]. These datasets capture student interactions over extended periods and across a wide range of grade-school mathematics exercises. We utilize three datasets: ASSISTments 20092 (skill builder data corrected collapsed), ASSISTments 20123 (2012-2013 data with predictions 4 final), and ASSISTments 20174 (anonymized full release competition dataset). The 2009 dataset contains 346,860 exercise attempts from 4,217 students across 123 exercises. The 2012 dataset includes 6,123,270 attempts from 46,674 students across 265 exercises. The 2017 dataset consists of 942,816 attempts from 1,709 students across 102 exercises. The datasets do not contain personal information.
We use DKT, implemented via the pyKT library [49], to learn latent exercise relations and generate the graphs used throughout the analysis. We first train a DKT model on each of the three ASSISTments datasets. We then switch the models to evaluation mode and apply the original DKT relation-extraction method. To ensure the resulting graph represents a causal structure, we apply a minimum threshold to the influence scores. This filtering step removes weaker edges that could introduce cycles, allowing us to construct a DAG. Since the distribution of influence scores varies across datasets, we select the minimum dataset-specific thresholds that enforce acyclicity. We use thresholds of 0.0107 for ASSISTments 2009, 0.0051 for ASSISTments 2012, and 0.0139 for ASSISTments 2017.
Using the exercise-relation DAG, we create a causal subset of each ASSISTments dataset by filtering interactions to include only exercises with at least one incoming or outgoing edge. This ensures that the subset consists exclusively of exercises with learned causal relationships, which allows us to isolate and evaluate the influence of these structures. We then retrain DKT on this subset and evaluate its predictive accuracy. To isolate the impact of causal structure, we also generate five random subsets with bidirectional relations. Each random subset contains the same number of exercise concepts as its corresponding DAG-based subset, but the exercises are selected randomly rather than by causal structure. The numbers of exercise concepts in these subsets are 60 for ASSISTments 2009, 83 for ASSISTments 2012, and 17 for ASSISTments 2017. We train a separate DKT model on each random subset and compute the mean and standard deviation of their AUC scores. Finally, we compute a -score to compare the AUC of the DAG-based subset against the distribution of AUC scores from the random subsets across the three ASSISTments datasets.
Recognizing a limitation in DKT’s standard relation-extraction method, where influence scores are computed from a single correct response per exercise, we propose a modified approach that simulates a student repeatedly answering the same type of exercise correctly until the model’s estimated knowledge of that exercise stabilizes. Rather than relying on a one-time response, we feed multiple consecutive correct answers for a given exercise, allowing the model to iteratively update its estimate of the student’s mastery over all exercises.
Let represent the student’s estimated knowledge level of an exercise after the student has answered correctly times. We continue feeding correct responses until the estimated mastery stabilizes according to the following criterion:
where, if the model’s estimate does not change for consecutive iterations, we stop feeding additional responses and take as the final knowledge estimate. In our experiments, we set , chosen heuristically as a reasonable value to allow the knowledge estimates to stabilize.
Then, inspired by the method proposed by Piech et al., we use the modified influence score
Here, is the correctness probability assigned to exercise on the next timestep given that the student answered exercise correctly times on the previous timesteps. This iterative process provides a more stable estimate of concept relationships by reducing the influence of single-response variations. We evaluate the effectiveness of this modified relation-extraction method by repeating the earlier methodology using Equation (1) to generate newly constructed causal graphs: we extract the new DAG-causal subset, retrain DKT on this subset, and compare its AUC scores against those of randomly selected subsets. When extracting the new DAG-causal subset, we again apply dataset-specific thresholds to the influence scores: 0.0129 for ASSISTments 2009, 0.0067 for ASSISTments 2012, and 0.0167 for ASSISTments 2017.
These thresholds are chosen as the minimum values that make the extracted exercise graph acyclic. Let
where is the set of exercises and is the extracted influence score. As increases, weak edges are removed from , so the graph becomes sparser. We select
that is, the smallest threshold for which all directed cycles disappear. Intuitively, if is too low, the graph contains reciprocal or longer cyclic dependencies that are inconsistent with a prerequisite interpretation. Raising removes the weakest candidate relations first, and is the point at which the remaining edges define a DAG. We use dataset-specific values because the empirical distribution of influence scores differs across ASSISTments 2009, 2012, and 2017, so the minimum acyclic threshold is not the same across datasets.
| Dataset | Exercises (#) | -score | |
| 2009 Causal | 0.905 | 60 | 3.50 |
| 2009 Random | 0.859 0.013 | 60 | – |
| 2012 Causal | 0.727 | 83 | 1.50 |
| 2012 Random | 0.721 0.004 | 83 | – |
| 2017 Causal | 0.718 | 17 | 1.02 |
| 2017 Random | 0.704 0.011 | 17 | – |
Table 4.1. AUC results for the DAG-based causal subsets (Causal) and matched random subsets generated using the original DKT relation-extraction method.
Results
Across all three ASSISTments datasets, the causal subsets derived from the DKT method [63] consistently achieve higher AUC scores than the mean AUC of randomly selected subsets, as shown in Table 4.1. This suggests that well-defined causal knowledge dependencies improve a KT model’s ability to trace student learning, and that KT models appear to learn causal relationships more readily than bidirectional ones. These findings also introduce a potential evaluation criterion for knowledge-structure graphs: graphs that more accurately capture prerequisite relationships may yield higher AUC scores when their corresponding concepts are used for training.
Applying the modified relation-extraction method yields the same qualitative pattern: the new causal subsets consistently outperform the mean AUC of the random subsets. Table 4.2 also shows that the modified approach produces higher -scores than the original DKT method on two of the three datasets, with a substantially higher average -score overall. To quantify this comparison, we define
| Dataset | Exercises (#) | -score | |
| 2009 MC | 0.875 | 68 | 1.67 |
| 2009 Random | 0.851 0.014 | 68 | – |
| 2012 MC | 0.758 | 90 | 5.93 |
| 2012 Random | 0.721 0.004 | 90 | – |
| 2017 MC | 0.712 | 59 | 1.85 |
| 2017 Random | 0.703 0.005 | 59 | – |
Table 4.2. AUC results for the DAG-based modified causal subsets (MC) and matched random subsets generated using the stabilized influence score from Equation (1).
where is the AUC of the causal subset and and are the mean and standard deviation of the AUCs obtained from the random subsets. These results suggest that the modified probing procedure may yield more accurate representations of the underlying knowledge structure.
To interpret the results further, we use Equation (1) to generate and analyze the directed exercise-relation graphs learned by the models. Figure 4.1 presents the graph for ASSISTments 2009, where node numbers correspond to exercise IDs. To better identify topics across exercise groups, we apply the algorithms described in [5, 37] to partition the exercises into topics and use color coding to visually distinguish them. The resulting graph reveals a meaningful causal structure.

Figure 4.1. ASSISTments 2009 DAG graph of exercise relations produced using Equation (1). Arrow weight indicates prerequisite connection strength, and the lower panel provides the exercise ID lookup used to interpret the graph.
Focusing on graphical-data topics, Exercise 2 (Pie Charts 1) serves as a prerequisite for multiple exercises. Since pie charts rely heavily on percentage calculations, it follows that Exercise 2 also contributes to learning related topics, such as Venn diagrams represented as percentages (Exercise 70) and proportion calculations (Exercise 79). The model also captures increasingly advanced topic structure: Exercise 2 (Pie Charts 1) is a prerequisite for Exercise 37 (Pie Charts 2), and both Exercises 2 and 37 serve as prerequisites for Exercise 48 (Pie Charts 3). Not every directed edge necessarily indicates a true prerequisite relationship, since some connections may still result from indirect correlations rather than direct dependencies, but the overall structure remains interpretable and coherent.
| 1 Box & Whisker Plots 1 | 48 Pie Charts 3 | 101 NaN |
| 2 Pie Charts 1 | 49 Ordering Positive Decimals | 102 Number Lines 2 |
| 4 Histograms | 50 Ordering Positive Decimals 2 | 104 Table 3 |
| 5 Number Lines 1 | 51 Ordering Integers | 105 NaN |
| 9 Stem & Leaf Plots | 53 Ordering Integers 2 | 110 Understanding Probability |
| 10 tbl:1 | 54 Rounding | 163 Absolute Value |
| 11 Venn Diagrams (Percents) 1 | 58 Whole Number Addition | 166 Algebraic Solving |
| 12 Stem & Leaf Plots 2 | 63 Estimation | 173 eq:1 |
| 13 Box & Whisker Plots 2 | 64 Table 2 | 190 eq:2 |
| 14 Tables / Stem & Leaf Plots | 65 Least Common Multiple | 193 eq:3 |
| 15 Tables / Stem & Leaf / Box & Whisker Plots | 67 Fraction Multiplication | 221 eq:4 |
| 16 Counting Methods | 70 Venn Diagrams (Percents) 2 | 276 Decimal Multiplication & Division |
| 17 Counting Methods 2 | 74 Whole Number Subtraction 1 | 277 Integer Addition & Subtraction |
| 18 Probability of a Single Event | 75 Square Roots / Ordering Integers / Estimation | 278 Decimal Addition & Subtraction |
| 21 Interior Angles 1 | 77 Finding Percents | 279 Integer Multiplication & Division |
| 22 Interior Angles 2 | 79 Proportions | 295 Area of Parallelograms |
| 24 Congruence | 82 Scientific Notation | 296 Area of Rectangles |
| 25 Complementary & Supplementary Angles | 83 Divisibility Rules | 298 Area of Triangles |
| 26 Transversal Angles | 85 Whole Number Addition & Subtraction | 307 Volume of Rectangular Prisms |
| 32 Nets of 3D Figures | 92 Whole Number Subtraction 2 / Pattern Finding 1 | 323 Pattern Finding 2 |
| 35 Geometric Proportions 1 | 97 NaN | 340 NaN |
| 37 Pie Charts 2 | 99 NaN | 375 Number Lines 3 |
| 46 Geometric Proportions 2 | 378 NaN |
Table 4.1 (PDF p. 74).
| Experimental component | Setting |
| Quantitative evaluation | Balanced 10-student slice per dataset |
| Model variants | o3 on ASSISTments 2009; gpt-4.1-mini on ASSISTments 2012 and ASSISTments 2017 |
| Output used for scoring | Parsed probability of correctness |
| Qualitative reasoning examples | Separate long-reasoning qualitative run analyzed |
| Cost / latency analysis | Not analyzed in this study |
Table 2. Summary of the Prompt-Only ReasonKT experimental configuration.
| Dataset | Model | Examples | AUC | Accuracy | Mean student AUC |
| ASSISTments 2009 | o3 | 338 | 0.6139 | 0.5710 | 0.5809 |
| ASSISTments 2012 | gpt-4.1-mini | 1058 | 0.6296 | 0.5794 | 0.6263 |
| ASSISTments 2017 | gpt-4.1-mini | 1052 | 0.6401 | 0.6207 | 0.6253 |
Table 3. Balanced-student Prompt-Only ReasonKT results. AUC is computed from the model’s predicted probabilities for next-step correctness.
Discussion
This section provides intuition for the modified approach to extracting directed relations. We use a DKT model trained on the full ASSISTments 2009 dataset and set it to evaluation mode to predict the knowledge state of a new simulated student. Our goal is to identify the student’s top three highest-ranked exercise concepts, sorted by estimated knowledge mastery, after correctly completing concept 278 (Decimal Addition & Subtraction). Using the original method, we determine the top three predicted KCs immediately after answering concept 278 correctly. In the modified approach, we allow the student’s understanding of concept 278 to stabilize through repeated correct responses before extracting the top three concept estimates. In other words, we seek three values of that maximize and three that maximize , given and .
As shown in Table 4.3, the top three predicted KC masteries for concept 278 differ substantially between the DKT method and the modified approach. The highest-ranked concepts from the original DKT method are primarily geometry-related, whereas the modified method identifies exercises that are more directly relevant to concept 278, all involving integer operations. In this example, it takes only three consecutive correct responses on exercise 278 for the top-three ordering to stabilize. Because and correspond to the numerators of the original DKT method and the modified method, respectively, these values directly affect how exercise relations are constructed. The graph
| DKT Method | Modified Approach | ||||
| Exercise ID | Exercise Name | Mastery | Exercise ID | Exercise Name | Mastery |
| 24 | Congruence | 0.677 | 51 | Ordering Integers | 0.842 |
| 307 | Volume of Rectangular Prisms | 0.673 | 279 | Integer Multiplication & Division | 0.839 |
| 26 | Transversal Angles | 0.667 | 58 | Whole Number Addition | 0.815 |
Table 4.3. Comparison of the top three KC mastery estimates produced by the original DKT method and the modified approach after a correct response to concept 278.
in Figure 4.1 is consistent with this interpretation.
The modified method nevertheless has a practical limitation: students typically do not answer more than a few questions per exercise. The assumption that a student can be prompted up to 100 times on a given exercise is unlikely to reflect real learning scenarios. Future work should therefore explore more practical probing budgets, such as five responses, or convergence-based stopping criteria that terminate the iterations when the difference between successive knowledge estimates falls below a threshold.
Another limitation concerns the evaluation setup used to compare DAG-based causal subsets and random subsets. Although both subset types contain the same number of exercises, they may still differ in concept coverage, exercise difficulty, or the types of students engaging with the exercises. Some portion of the observed performance gains may therefore be attributable to differences in exercise or student characteristics rather than graph structure alone. Future work should explore more controlled subset construction, such as concept-matched sampling, in which random subsets reflect the distribution of concept types found in the DAG-based subset.
Conclusion
In this chapter, we show that DKT achieves better predictive performance when trained on DAG exercise subsets, which suggests that it effectively learns causal concept dependencies. We also introduce a modified method for calculating influence scores that stabilizes knowledge estimates and helps construct more accurate exercise-relation graphs. Together, these results support a causal interpretation of DKT’s exercise dependencies while also highlighting the practical limitations of repeated probing and the need for more controlled experimental comparisons.
Semantic Initialization for Deep Knowledge Tracing
Introduction
In this chapter, we evaluate the hypothesis that question text carries information about what a student is being asked to do and that semantic embeddings might therefore improve DKT. We test that hypothesis under controlled conditions rather than assume in advance that semantic information should help.
Educational questions are not arbitrary identifiers. They contain instructions, mathematical language, and cues about the skill being assessed. Modern text representation methods are designed to place semantically similar texts near one another in vector space [14, 67, 20]. One hypothesis is that these semantic representations could provide a better inductive bias than sparse ID-based inputs.
There is also methodological precedent for testing this hypothesis directly. Prior work has augmented KT models with exercise-side information, built exercise-aware architectures, proposed specialized question representations, and pretrained question embeddings for educational prediction [78, 45, 94, 86]. At the same time, work on KC imputation suggests that text is only part of the story and that surrounding interaction context can be just as important [59]. That tension makes a controlled test necessary rather than assuming in advance that text should help.
In this study, we test a deliberately constrained version of the intervention. Instead of redesigning the whole KT model, we replace the default input embedding table in pyKT’s DKT implementation with pretrained embeddings derived from question text through nine construction pipelines. The goal is to isolate one claim: whether semantic information in question text, when mapped into KC-response representations, improves DKT performance.
The final result is negative. Across the pipelines studied here, pretrained text-derived representations do not produce a consistent improvement over the standard DKT baseline. This negative result constrains what semantic similarity can plausibly explain in KT and suggests that the dominant signal in benchmark DKT may be behavioral, temporal, structural, or psychometric rather than purely linguistic. That interpretation is consistent with later KT work that couples question information to additional structural or contextual signals rather than relying on text alone [21, 59, 86].
In this chapter, we make four contributions. First, we formulate a direct semantic hypothesis for DKT and test it under a controlled representation replacement setting. Second, we implement and compare nine pipelines for constructing KC-response embeddings from question text. Third, we evaluate those embeddings both under the standard training setup and under reduced-data training regimes. Fourth, we conduct a post hoc analysis of whether DKT-derived KC graphs align with pretrained KC embedding representations.
The research questions investigated in this chapter are as follows:
RQ1. Do pretrained semantic embeddings improve DKT performance relative to the standard DKT baseline with randomly initialized interaction embeddings?
RQ2. Do semantic embeddings improve data efficiency when the amount of training data is reduced?
RQ3. To what extent do semantic KC representations align with the KC graphs extracted from DKT?
The first two questions are about predictive performance. RQ3 asks whether semantic KC representations recover the relation structure that DKT appears to use.
The rest of this chapter is structured as follows. We first review the background most relevant to the study, then describe the methodology, report the results, and discuss what those results imply for KT.
Background and Related Work
Knowledge Tracing and DKT
KT models estimate the probability that a student will answer the next question correctly from the student’s prior interaction history [13, 63]. In datasets such as ASSISTments, each interaction is linked to a question and one or more KCs, and the model must infer latent mastery over time. BKT does this with an explicit hidden-state probabilistic model, whereas DKT updates a shared latent state from sequences of KC-response interactions with recurrent networks. Because DKT replaces manually specified transition structure with learned sequence representations, it became a natural setting for asking what kinds of relations among questions and KCs are actually useful for prediction.
The original DKT paper also made this sequence-modeling view visually explicit. Piech et al. [63] plotted the model’s predicted probabilities over multiple skills across a student’s exercise sequence, showing how each interaction updates not only the predicted probability for the current skill but also the broader skill-state profile represented in the recurrent hidden state. Figure 5.1 reproduces that visualization. It is included here for a narrow scholarly purpose: the chapter is explaining and evaluating the representational claim made by DKT, and the figure is the canonical visual example of that claim. The reuse is limited to one attributed figure from the open-access arXiv version of the paper, is noncommercial and educational, and does not substitute for the original article.

Figure 5.1. Visualization from the original DKT paper showing predicted probabilities over multiple skills across a student’s sequence of exercise attempts [63].
Source note and fair-use rationale: Reproduced from Piech et al., Deep Knowledge Tracing, Figure 1, arXiv:1506.05908, https://arxiv.org/abs/1506.05908. The arXiv record links the paper to CC BY-NC-SA 3.0; this dissertation uses the graphic as a fair-use excerpt: one attributed figure for noncommercial scholarly analysis of the DKT model, resized only for layout.
The horizontal axis indexes successive exercise attempts, the markers above the heatmap indicate whether each attempted exercise was answered correctly or incorrectly, and each row tracks the model’s predicted probability for a different skill over time. The figure shows why DKT became such an influential benchmark: it framed knowledge tracing as the continuous updating of a shared latent state over a sequence of interactions rather than as independent skill-wise updates.
However, later KT research suggests that those useful relationships are not obviously semantic. DKT’s gains were followed by critiques showing that model behavior can be unstable or hard to interpret, and that preprocessing and benchmark details can materially affect conclusions [33, 92, 93]. More recent architectures often improve by modeling memory, recency, attention, question difficulty, or question-level structure more explicitly [98, 58, 77, 21]. That broader literature motivates the present chapter: if semantic structure is truly central to KT, then injecting semantics directly into the input representation should help even without a more elaborate architecture.
Pretrained Embeddings as KT Inputs
The motivation for semantic initialization comes from modern representation learning. Chapter 2 introduced the general embedding background; here the focus is on how those representations enter DKT. Distributional and contextual embedding methods map text into dense vector spaces in which lexical, topical, and semantic relations are partially preserved [52, 6, 62, 14, 67, 20]. Sentence-level embedding methods are especially relevant here because the study compares full questions and groups of questions rather than isolated tokens. The representation flow is conceptually simple:
If semantic structure were aligned with the dependencies useful for KT, then these dense representations could improve generalization, reduce sparsity, and help the model learn effectively with less data. That expectation is consistent with several neighboring strands of work. Exercise-enhanced and exercise-aware KT models incorporate richer representations of questions rather than treating them as anonymous IDs [78, 45]. Question-centric KT models and related architectures emphasize that question representation itself is a major axis of model design [77, 21]. Outside KT proper, educational question representation work such as QuesNet argues that test questions are heterogeneous objects containing both linguistic content and domain logic, which may not be well served by generic off-the-shelf embeddings alone [94]. More directly, pretraining question embeddings for KT with structural constraints has been shown to help in settings where question–concept relations and difficulty are modeled explicitly [86].
At the same time, the literature also suggests reasons this hypothesis might fail. Pardos and Dadu show that for KC imputation, contextual information from neighboring problems can be as predictive as the problem text itself [59]. The semantics relevant to educational prediction may therefore be distributed across wording, curriculum structure, and usage context rather than residing only in the text. In ASSISTments-style data, operational KC labels, student behavior, and dataset construction may not align perfectly with pure linguistic similarity.
For that reason, in this chapter, we use semantic initialization as a controlled probe of DKT rather than as a general claim that text should always help. If replacing random KC-response embeddings with pretrained semantic ones improves DKT, that would support the idea that semantic structure contributes directly to the benchmark. If it does not, the result would indicate that semantic initialization alone is insufficient under the present setup.
Methodology
Data Sources
In this project, we use the ASSISTments 2009, 2012, and 2017 KT benchmarks [1, 17, 65]. Because the question here is whether question text improves DKT, the experiments also rely on the Problem Bodies resource, which provides text for only a subset of ASSISTments items. That partial linkage is the main practical constraint on the study: only questions that can be matched to Problem Bodies text can receive text-derived representations.
Table 5.1 reports the number of unique questions and KCs in each interaction log together with the corresponding counts in the matched Problem Bodies subset. The key methodological point is that the text-linked subset is much smaller than the full interaction log, especially at the question level, and that filtering constraint shapes every text-based experiment in the chapter.
| Dataset | # Questions | # Questions in PB | # KCs | # KCs in PB |
| ASSISTments 2009 | 26,688 | 7,836 | 123 | 76 |
| ASSISTments 2012 | 179,999 | 32,792 | 265 | 162 |
| ASSISTments 2017 | 3,162 | 638 | 102 | 68 |
Table 5.1. Question and KC counts in the ASSISTments logs and in the matched Problem Bodies subset used for text-based experiments in Chapter 5.
This table defines the coverage constraint that applies to every embedding pipeline evaluated here, because each pipeline depends on question text.
How Pretrained Embeddings Are Used in DKT
The baseline we use in this chapter is the DKT implementation provided by the pyKT library [49].
In pyKT, each student interaction is represented as a discrete KC-response state, so the model does not consume a literal one-hot vector directly at the recurrent layer. Instead, it uses an embedding lookup table indexed by the interaction state. If there are KCs, then there are possible interaction states corresponding to and . Let denote the KC at time , and let denote whether the response is incorrect or correct. The interaction index can be written as
or equivalently as any indexing scheme that maps each KC-response pair to one of rows in an embedding matrix.
In the standard pyKT DKT setup, this interaction embedding matrix is randomly initialized and learned during training. If denotes the embedding table and its -th row, then the recurrent model receives
where is the embedding dimension. In practice, pyKT realizes this through a learnable embedding lookup table with rows, one for each KC-response state. So the baseline comparison in this chapter is not between a fully hand-engineered one-hot representation and a pretrained representation, but between a randomly initialized learned interaction-embedding table and a pretrained interaction-embedding table with the same role in the model.
Our modification replaces that randomly initialized lookup table with pretrained interaction embeddings constructed by the evaluated pipeline variants. Let denote the pretrained matrix whose rows correspond to the response-specific KC embeddings generated from question text. The modified model then uses
where each row is supplied by one of the nine embedding pipelines described later in the methodology.
In the modified implementation, pyKT loads a pretrained matrix from disk when one is provided, adjusts the embedding dimensionality to match that matrix, and initializes the interaction lookup table from those pretrained weights rather than from random values.
Pretrained Embedding Initialization Under pretrained embedding initialization, the implementation requires two final vectors for every KC: one corresponding to and one corresponding to . A practical consequence is that the representation pipeline cannot stop at a KC-level semantic vector. It has to map from the text associated with a KC’s questions to a pair of response-specific interaction embeddings that can populate the -row DKT interaction table.
If denotes the KC-response index at time , then the baseline uses with learned from random initialization, whereas the pretrained-initialization variant uses
where is populated by one of the nine text-derived pipelines described later in this section. This representation replacement is the shared starting point for all text-informed variants evaluated in the chapter, and the architecture is depicted in Figure 5.2.

Figure 5.2. Pretrained embedding initialization. The panels compare the Chapter 5 text-derived KC-response initialization with the baseline DKT interaction representation based on randomly initialized embeddings.
Evaluation follows standard KT practice by focusing on predictive performance metrics such as area under the ROC curve and accuracy.
Constructing Text-Informed KC Representations
Having defined the target object required by the modified DKT implementation, the next question is how those response-specific embeddings are constructed from question text. The central methodological problem is therefore not simply to embed questions, but to map from the text of a KC’s associated questions to two final vectors representing (, correct) and (, incorrect).
This construction can be described in terms of three representation steps. The first is the question representation step, in which raw question text is mapped into a dense vector representation. The second is the KC construction step, in which one or more question-level representations are transformed into a single KC-level vector. The third is the response-state construction step, in which the KC representation is converted into the two response-specific interaction embeddings required by DKT. The initial question-to-embedding step is illustrated in Figure 5.3.
Figure 5.3. Schematic illustrating the question representation step of the Chapter 5 methodology.
The implementation explores multiple embedding families, including sentence-transformer models, commercial embedding APIs, and dataset-specific fine-tuned BERT variants. The evaluated pipeline implementation instantiates nine concrete pipelines. All nine pipelines produce the two response-specific vectors required by DKT, but they differ in how the question representation step, KC construction step, and response-state construction step are instantiated.
Implemented Embedding Models
The experimental pipeline implementation is structured so that the same nine pipeline constructions can be evaluated across different embedding backbones, with model-dependent differences such as embedding dimensionality and context-window limits handled inside the pipeline utilities.
Fine-Tuned BERT Models
In addition to the off-the-shelf embedding models, we include two dataset-specific fine-tuned BERT models in this chapter: one trained on ASSISTments 2009 and one trained on ASSISTments 2012. These models differ conceptually from the general-purpose encoders in Table 5.2 because they are explicitly trained to predict KC labels from problem text rather than relying on general semantic similarity alone.
| Family | Model | Dimensionality | Dataset scope |
| OpenAI | text-embedding-3-small | 1536 | all three datasets |
| OpenAI | text-embedding-3-large | 3072 | all three datasets |
| OpenAI | text-embedding-ada-002 | 1536 | all three datasets |
| SentenceTransformer | all-MiniLM-L6-v2 | 384 | all three datasets |
| SentenceTransformer | all-mpnet-base-v2 | 768 | all three datasets |
| SentenceTransformer | multi-qa-mpnet-base-dot-v1 | 768 | all three datasets |
| SentenceTransformer | all-MiniLM-L12-v2 | 384 | all three datasets |
| SentenceTransformer | paraphrase-MiniLM-L6-v2 | 384 | all three datasets |
| Cohere | embed-v4.0 | 1536 in the experimental configuration | all three datasets |
| Cohere | embed-english-v3.0 | 1024 in the experimental configuration | all three datasets |
| Cohere | embed-multilingual-v3.0 | 384 in the experimental configuration | all three datasets |
| Fine-tuned BERT | Assist2009 KC classifier | dataset-specific | Assist2009 only |
| Fine-tuned BERT | Assist2012 KC classifier | dataset-specific | Assist2012 only |
Table 5.2. Embedding models implemented in the Chapter 5 text-informed embedding pipeline.
Fine-tuning is formulated as a multiclass text-classification problem in which the input is the raw question text and the target is the numeric KC index associated with that question. For each dataset, question–KC pairs are extracted from the corresponding questions_with_kc.csv mapping file, rows with missing text or missing skill identifiers are dropped, and KC classes with fewer than two examples are removed so that each valid class can appear in both training and validation. The remaining examples are split independently for each dataset into stratified train, validation, and test partitions with a 70/15/15 ratio and random seed 42.
All fine-tuning experiments start from bert-base-uncased [14]. The model is instantiated as BertForSequenceClassification with the number of output labels set to the number of valid KC classes in the dataset and with hidden-state outputs enabled so that the encoder can later be reused for embedding extraction. Training uses AdamW with learning rate , weight decay 0.01, warmup over the first 10% of optimization steps, training batch size 16, evaluation batch size 32, maximum sequence length 128, and up to 10 epochs with early stopping based on validation loss using patience 3. Because the KC distributions are highly imbalanced, the loss is class-weighted cross-entropy with weights inversely proportional to class frequency in the training split. Gradient norms are clipped to 1.0, and the checkpoint with the lowest validation loss is kept.
After fine-tuning, the classification head is discarded and embeddings are extracted from the final-layer [CLS] representation, yielding a 768-dimensional vector for each question text. These per-question vectors are then passed through the same nine KC/response construction pipelines used for the off-the-shelf providers, so the BERT-based experiments remain comparable to the rest of the chapter. For ASSISTments 2009 and 2012, KC positions are resolved against each dataset’s keyid2idx.json index, and KCs missing from the text mapping are assigned random embeddings drawn from the empirical distribution of the mapped vectors.
The resulting tensors are loaded into DKT as pretrained interaction embeddings. Unlike the frozen semantic-input experiments described earlier, the fine-tuned BERT embedding tables remain trainable during KT optimization, allowing the domain-adapted initialization to continue adapting to the sequential prediction objective. An optional projection layer can still be applied before the recurrent model, which makes the fine-tuned BERT family comparable to the projection-based architecture modifications described later in the chapter. These BERT fine-tuning experiments are limited to ASSISTments 2009 and 2012, and no cross-dataset transfer is performed.
Implemented Pipeline Families
The nine implemented pipelines instantiate four experimental design families. In this notation, student action (SA) denotes the response state attached to a KC, either correct or incorrect:
Question KC SA pipelines (Pipelines 1–4): raw question text is embedded first, KC embeddings are then created either by averaging all questions in a KC or by sampling a single representative question, and finally correctness is added using either a mirror transformation or a concatenated antonym embedding.
KC Question SA pipelines (Pipelines 5–6): each KC is represented directly by concatenating as many of its question texts as will fit in a model-dependent context window and embedding that single stuffed text. Correctness is then added using either the mirror or stack-antonym transformation.
SA Question KC pipelines (Pipelines 7–8): correctness is injected before embedding by prefixing each question text with repeated
CORRECTorINCORRECTtokens. The modified questions are then embedded and aggregated into separate correct and incorrect KC vectors using either averaging or single-question sampling.
SA KC Question pipeline (Pipeline 9): correctness is again injected into question text first, but the KC is then built using separate stuffed windows for the correct and incorrect versions of each KC before the modified questions are embedded individually.
Two implementation details matter for interpreting these pipelines. First, the mirror strategy keeps the incorrect KC vector as the base embedding and maps the correct version to . Second, the stack_antonym strategy concatenates the KC vector with a separately embedded CORRECT or INCORRECT token, doubling the dimensionality of the final response-specific input. By contrast, the add_words pipelines do not apply a post-hoc correctness transformation at the KC level; correctness is already embedded in the modified question text itself. In the experiments reported here, those prefixes are repeated twice before embedding.
The implementation also adapts the context window used by the stuff_window pipelines to the embedding model. In these experiments, OpenAI embedding models use a larger window than the sentence-transformer variants. This means that the stuffed-window pipelines are not merely averaging more question embeddings; they are re-embedding a single concatenated document intended to represent the full textual scope of a KC within the available context budget. The nine pipelines combine these reusable operations in different ways, as summarized in Table 5.3.
| Pipeline | Execution order | Question-text operation | Question representation step | KC construction step | Response-state construction step |
| P1 | question KC SA | raw question text | embed raw question | average | mirror |
| P2 | question KC SA | raw question text | embed raw question | average | stack antonym |
| P3 | question KC SA | raw question text | embed raw question | sample single question | mirror |
| P4 | question KC SA | raw question text | embed raw question | sample single question | stack antonym |
| P5 | KC question SA | raw question text | embed stuffed KC text | stuff window | mirror |
| P6 | KC question SA | raw question text | embed stuffed KC text | stuff window | stack antonym |
| P7 | SA question KC | add words | embed modified question | average | encoded in text |
| P8 | SA question KC | add words | embed modified question | sample single question | encoded in text |
| P9 | SA KC question | add words | embed stuffed modified KC text | stuff window | encoded in text |
Table 5.3. Nine implemented pipelines for generating response-specific KC embeddings.
Figure 5.4a illustrates averaging, one of the KC-construction operations used in the pipeline family. Under this strategy, multiple question embeddings associated with the same KC are pooled into a single KC representation by arithmetic mean.
Figure 5.4. KC-construction operations used in the Chapter 5 text-informed embedding pipelines.
Figure 5.4b illustrates single-question sampling. Instead of pooling all question embeddings within a KC, this strategy selects one representative question and uses its embedding as the KC representation.
Figure 5.4c illustrates the stuff-window strategy. In this case, multiple question texts associated with a KC are concatenated into a single text window and then embedded as one document, subject to the context limits of the embedding model.
Figure 5.5a illustrates mirroring. Under this response-state strategy, the incorrect state remains anchored at the base KC representation, while the correct state is mapped to its reflected counterpart.
Figure 5.5. Response-state construction operations used in the Chapter 5 text-informed embedding pipelines.
Figure 5.5b illustrates stack antonym. In this strategy, a KC embedding is concatenated with a separately embedded correctness marker, thereby producing distinct representations for correct and incorrect interaction states.
Figure 5.5c illustrates the add-words strategy. Here, correctness is injected into the text itself before any embedding is computed, so the semantic distinction between correct and incorrect states is introduced at the text level rather than as a later vector-space transformation.
The nine pipelines test three distinct hypotheses about how correctness should interact with semantic representations. The mirror pipelines assume that correct and incorrect responses should occupy opposite positions around the same KC center. The stack-antonym pipelines assume that correctness should be represented by attaching an explicit semantic token to the KC vector. The add-words pipelines assume that correctness should change the textual object being embedded before any KC aggregation occurs. This framing clarifies why the negative result reported here is stronger than a failure of any one pipeline family.
Architecture Modifications
Beyond the base replacement of pyKT’s randomly initialized interaction embeddings with pretrained text-derived KC-response embeddings, the implemented study evaluated several additional architecture modifications motivated by the same semantic hypothesis. These modifications are reported separately because they change different parts of the DKT computation while keeping pretrained embedding initialization fixed.
Projection Bottleneck The second architecture modification inserts a learned projection layer before the recurrent model. As shown in Figure 5.6, this adds a learned compression stage between the pretrained interaction embedding and the recurrent computation. If denotes the pretrained interaction embedding, the projected representation is

Figure 5.6. Projection bottleneck applied to the pretrained-input DKT model.
where . In the bottleneck setting, , so the projection compresses the pretrained representation before sequence modeling. This serves two purposes. First, it adapts high-dimensional pretrained embeddings to the dimensionality expected by the recurrent model. Second, it forces the model to compress the semantic representation into a smaller task-facing subspace, which may help filter irrelevant semantic variation.
Projection Bottleneck with Regularization The projection bottleneck was also evaluated together with explicit L2 regularization. This variant keeps the same forward architecture and changes only the training objective. Let denote the observed next response and let denote the model’s predicted probability of correctness for that response. The regularized objective is
where denotes the trainable parameters and controls the strength of the L2 penalty. In this chapter, the point of the regularized bottleneck setting is methodological rather than architectural novelty: it tests whether constraining parameter magnitude improves stability or generalization when the model is driven by high-dimensional pretrained inputs.
Adaptive Recurrent Capacity The third architecture modification is adaptive recurrent capacity. Figure 5.7 highlights that this variant changes the recurrent block itself rather than the semantic input construction. Rather than assuming that the architecture used for sparse ID embeddings remains optimal for pretrained semantic inputs, the experiments allow hidden size, number of recurrent layers, and dropout to vary. In abstract form, the recurrent update becomes

Figure 5.7. Adaptive recurrent capacity in the pretrained-input DKT model.
where in the direct-input case and in the projected-input case, while is selected from a family of recurrent architectures with different hidden widths, depths, and dropout settings. This tests whether semantic inputs require a different recurrent capacity in order to become useful.
Semantic Output Layer The fourth architecture modification is the Semantic Output Layer. As illustrated in Figure 5.8, this variant changes the prediction head so that the hidden state is scored against semantic KC representations instead of being sent directly to a conventional classifier. In the standard DKT setup, the hidden state is mapped directly to output logits over KCs by a learned linear layer. In the semantic-output variant, the hidden state is first projected into the same space as the projected pretrained KC or question embeddings, and prediction is then based on a dot product between the projected hidden state and those stored semantic representations. Writing for the recurrent hidden state, one implementation-matched form is

Figure 5.8. Semantic output layer in the pretrained-input DKT model.
where is the stored pretrained representation associated with KC , is the same projection family used on the input side, and the score is implemented as a dot product. In the implementation variants used here, the stored semantic targets are built from the pretrained interaction table and then projected once into output space; one version averages the correct and incorrect state embeddings for each KC, while another uses a single branch directly. Conceptually, this changes the prediction problem from assigning score mass to a discrete KC index to measuring how well the current student state aligns with a semantic KC representation. This idea is inspired by weight tying in NLP language models, where the geometry of the input embedding space is reused at the output layer rather than discarded in favor of an unrelated classifier matrix.
Data-Efficiency Protocol
In addition to the full-data comparison, the methodology includes a reduced-data evaluation designed to test whether semantic representations provide a stronger inductive bias when the training signal is weaker. This part of the study asks whether pretrained text-derived embeddings improve sample efficiency even when they do not improve performance in the full-data setting.
The data-efficiency analysis is carried out on ASSISTments 2009, 2012, and 2017 by creating nested subsamples of each base dataset at 10%, 20%, . . . , 90% of the original row count. The sampling procedure is designed to preserve skill coverage: for each dataset, a mandatory set of rows is first selected so that every KC appearing in the full dataset appears at least once in the sampled dataset, and the remaining rows are then randomly permuted with a fixed seed. The resulting samples are nested, so the 10% sample is a subset of the 20% sample, the 20% sample is a subset of the 30% sample, and so on. This design makes performance trends across sample size easier to interpret because the larger samples extend the smaller ones rather than replacing them with unrelated draws.
Two conditions are compared on these sampled datasets. The first is the baseline pyKT DKT model without pretrained semantic embeddings. The second is the pretrained condition, in which the model is initialized with a fixed pretrained interaction embedding matrix loaded from one of the pipeline output files. For ASSISTments 2009, all nine pipelines are evaluated in the pretrained condition; for ASSISTments 2012 and 2017, the reduced-data experiments are restricted to the final pipeline variant used in the analysis setup. In all cases, the pretrained matrices remain fixed during training so that the comparison continues to isolate the effect of semantic initialization rather than joint end-to-end adaptation.
Each sampled condition is optimized with a dataset-specific W&B hyperparameter sweep. Final reporting follows the same validation-selection rule used in the full-data benchmark runs: for each condition, the run with the highest validation AUC is selected, and the selected run’s test AUC and test accuracy are reported. For ASSISTments 2009, pipeline selection is nested inside that procedure, so the best pretrained result at each sample size is the pipeline/run combination with the highest validation AUC among the available semantic alternatives. This protocol ensures that model selection is carried out on validation performance rather than on the test set.
Results
Table 5.4 summarizes the strongest validation-selected configuration for each experimental condition in the chapter. Each row reports the associated test AUC and test accuracy, and the grouping labels follow the methodological variants introduced earlier.
| Dataset | Variant | Embedding | Pipe. | Proj. | SemOut | Test AUC | ΔAUC | Test Acc. |
| ASSISTments 2009 | ||||||||
| 2009 | Baseline DKT | – | – | – | No | 0.8582 | +0.0000 | 0.7851 |
| 2009 | Pretrained Embedding Initialization | text-embedding-3-small | P1 | – | No | 0.8550 | -0.0031 | 0.7851 |
| 2009 | Pretrained Embedding Initialization + Regularization | text-embedding-3-small | P1 | – | No | 0.8567 | -0.0015 | 0.7865 |
| 2009 | Projection Bottleneck | text-embedding-3-large | P4 | 256 | No | 0.8552 | -0.0030 | 0.7870 |
| 2009 | Adaptive recurrent capacity | embed-v4.0 | P6 | 256 | No | 0.8342 | -0.0240 | 0.7708 |
| 2009 | Semantic Output Layer | text-embedding-3-small | P1 | 256 | Yes | 0.8522 | -0.0060 | 0.7811 |
| 2009 | Semantic Output Layer + Projection Bottleneck | bert_ft_assist2009 | P6 | 256 | Yes | 0.8349 | -0.0233 | 0.7727 |
| ASSISTments 2012 | ||||||||
| 2012 | Baseline DKT | – | – | – | No | 0.7370 | +0.0000 | 0.7437 |
| 2012 | Pretrained Embedding Initialization | text-embedding-3-large | P2 | 512 | No | 0.7265 | -0.0105 | 0.7344 |
| 2012 | Projection Bottleneck | text-embedding-3-large | P6 | 512 | No | 0.7351 | -0.0019 | 0.7373 |
| 2012 | Projection Bottleneck | embed-v4.0 | P6 | 512 | No | 0.7353 | -0.0016 | 0.7367 |
| 2012 | Adaptive recurrent capacity | text-embedding-3-large | P1 | 48 | No | 0.7317 | -0.0053 | 0.7365 |
| 2012 | Semantic Output Layer | text-embedding-3-large | P1 | 192 | Yes | 0.7356 | -0.0014 | 0.7376 |
| 2012 | Semantic Output Layer + Projection Bottleneck | text-embedding-3-large | P6 | 256 | Yes | 0.7358 | -0.0011 | 0.7371 |
| ASSISTments 2017 | ||||||||
| 2017 | Baseline DKT | – | – | – | No | 0.7246 | +0.0000 | 0.6889 |
| 2017 | Pretrained Embedding Initialization | text-embedding-3-small | P3 | – | No | 0.7207 | -0.0039 | 0.6811 |
| 2017 | Projection Bottleneck | text-embedding-3-small | P4 | 256 | No | 0.7196 | -0.0049 | 0.6808 |
| 2017 | Projection Bottleneck with Regularization | text-embedding-3-small | P6 | 96 | No | 0.7129 | -0.0116 | 0.6758 |
| 2017 | Adaptive recurrent capacity | text-embedding-3-small | P6 | 96 | No | 0.7197 | -0.0049 | 0.6803 |
| 2017 | Semantic Output Layer | text-embedding-3-large | P1 | 192 | Yes | 0.7195 | -0.0051 | 0.6785 |
| 2017 | Semantic Output Layer | text-embedding-3-large | P1 | 256 | Yes | 0.7193 | -0.0053 | 0.6798 |
Table 5.4. Combined Chapter 5 results across datasets. For each experimental condition, the reported row is the validation-selected configuration, together with its test AUC and test accuracy. Boldface indicates the highest value in each dataset block at the reported precision. Across all semantic variants, none exceeded the baseline test AUC on any dataset.
Main Outcome
The principal empirical finding of this chapter is negative: pretrained text-derived embeddings do not yield a consistent improvement over the baseline DKT configuration. Although a small number of configurations produce localized gains, those improvements are neither stable across datasets nor robust across pipeline and architecture choices. Accordingly, the evidence does not support the claim that replacing the default interaction embedding table with semantic text representations reliably improves KT performance.
This finding directly answers the first research question in the negative. Under the experimental conditions examined here, pretrained semantic embeddings do not outperform the standard DKT baseline in any general or conclusive sense. This result should not be interpreted as evidence that language is irrelevant to KT. Rather, it indicates that the particular form of semantic signal encoded by these pipelines is insufficient, on its own, to capture the dependencies that most strongly govern DKT predictions.
Pipeline Comparison
Appendix Tables A.1–A.3 compare the semantic variants against one another, while the DKT baseline with randomly initialized interaction embeddings remains the external reference point.
Across datasets, no single pipeline emerges as a universal winner. On ASSISTments 2009, Pipeline 1 achieved the highest semantic test AUC (0.8567) while Pipeline 4 achieved the highest semantic test accuracy (0.7870). On ASSISTments 2012, Pipelines 2, 3, and 6 tie for the highest reported semantic test AUC (0.7358), while Pipeline 7 achieved the highest semantic test accuracy (0.7382). On ASSISTments 2017, Pipeline 3 was the strongest semantic pipeline on both test AUC (0.7207) and test accuracy (0.6811). These detailed comparisons sharpen the same conclusion as Table 5.4: pipeline choice affects the margins, but none of the semantic pipelines displaces the baseline DKT test AUC in any dataset.
Data-Efficiency Results
Reduced-data evaluation serves as a secondary empirical test of whether semantic initialization helps when the training signal is weaker. Model selection follows the protocol described earlier: for each sampled dataset, the representative run is selected by validation AUC, and the selected run’s test AUC and test accuracy are reported. For ASSISTments 2009, this includes a pipeline-selection step across all nine pipelines at each sample size; for ASSISTments 2012 and 2017, the final sampled-data setup uses Pipeline 3 only.
| Dataset | Mean AUC | Mean Acc. | Positive AUC splits | Best split | Best pipeline | Worst split |
| ASSISTments 2009 | +0.0004 | +0.0000 | 5 / 9 | 40% | P4 | 20% |
| ASSISTments 2012 | +0.0002 | -0.0028 | 6 / 9 | 80% | P3 | 40% |
| ASSISTments 2017 | +0.0096 | +0.0020 | 8 / 9 | 30% | P3 | 20% |
Table 5.5. Dataset-level summary of the data-efficiency experiments. Mean deltas are computed as pretrained minus baseline over the nine sampled splits from 10% to 90%. Positive AUC splits counts how often the selected pretrained run exceeds the selected baseline run on test AUC.
Figure 5.9 reports the selected test AUC curves for the baseline and pretrained settings across sample size. The overall pattern is mixed. ASSISTments 2009 is unstable: the pretrained condition exceeds the baseline on five of the nine sampled splits, but the mean AUC gain is effectively zero and the winning pipeline changes with the sampling level. ASSISTments 2012 is similarly weak, with near-zero mean AUC change and a small decline in mean test accuracy. The most favorable dataset is ASSISTments 2017, for which the pretrained condition improves test AUC on eight of nine sampled splits and yields a mean gain of approximately 0.01 AUC.

Figure 5.9. Selected test AUC by sample size for the baseline and pretrained data-efficiency experiments. Each curve uses the validation-selected run at each sampled split.
ASSISTments 2009 is the only reduced-data setting in which all nine pipelines were evaluated at each sample size. The detailed pipeline-by-pipeline view is provided in Appendix Figure A.10. No single pipeline dominates the reduced-data regime across all splits: the best selected pipeline switches among P3, P4, P6, and P8, which reinforces the broader conclusion that the semantic benefit is not robust to reasonable design choices. By contrast, the reduced-data experiments for ASSISTments 2012 and 2017 use Pipeline 3 throughout, so those trends isolate the effect of semantic initialization more narrowly but do not test pipeline diversity in the same way.
These findings provide limited positive evidence, especially for ASSISTments 2017, but they remain insufficient to support a conclusive sample-efficiency claim. They do not justify the broader conclusion that pretrained semantic representations reliably improve DKT when training data are scarce. The ASSISTments 2017 trend indicates that semantic initialization may offer some benefit in lower-data regimes for particular datasets, but that effect is not sufficiently stable across datasets or pipeline choices to overturn the overall negative result of this study.
Fine-Tuned BERT Results
The fine-tuned BERT experiments test a stronger semantic initialization strategy than the generic embedding providers used in the rest of the chapter. Instead of relying on general-purpose text similarity, these embeddings are derived from bert-base-uncased models fine-tuned to predict KC labels directly from question text. If the encoder learns KC-discriminative structure, then the resulting embedding space should in principle be better aligned with the curriculum than off-the-shelf text embeddings. The downstream question is whether that stronger alignment translates into better KT performance once the embeddings are injected into DKT.
The fine-tuning results confirm that the encoder learns dataset-specific KC distinctions with highly variable success across datasets. Table 5.6 shows that the classifier performs extremely well on ASSISTments 2009 and 2012, but fails to learn a comparably strong decision boundary on ASSISTments 2017. This performance gap reflects the much more data-constrained 2017 classification setting. As Table 5.1 already shows, ASSISTments 2017 is the most text-constrained dataset in the chapter, and the filtered classifier split used here is smaller still, with 448 training examples and 96 test examples over 51 KC classes. Under those conditions, weak classifier performance on 2017 is unsurprising.
The ASSISTments 2017 classifier is included in Table 5.6 as a diagnostic of this data constraint rather than as a downstream initialization condition. Its small filtered training set and weak held-
| Dataset | #KCs | Train | Test | Test Acc. | Macro F1 | Weighted F1 |
| ASSISTments 2009 | 65 | 4297 | 921 | 0.9967 | 0.9665 | 0.9963 |
| ASSISTments 2012 | 130 | 13894 | 2978 | 0.9795 | 0.8434 | 0.9772 |
| ASSISTments 2017 | 51 | 448 | 96 | 0.1354 | 0.1095 | 0.0860 |
caption: KC-classification performance of the fine-tuned bert-base-uncased models used to generate the Chapter 5 BERT embedding family.
out performance made it unsuitable for the fine-tuned BERT DKT comparison, so the downstream results in Table 5.7 are limited to ASSISTments 2009 and 2012.
| Dataset | Condition | Winning pipeline | Test AUC | ΔAUC | Test Acc. | ΔAcc. |
| ASSISTments 2009 | Matched baseline | – | 0.8552 | – | 0.7875 | – |
| ASSISTments 2009 | Fine-tuned BERT | P4 | 0.8581 | +0.0029 | 0.7875 | +0.0000 |
| ASSISTments 2012 | Matched baseline | – | 0.7363 | – | 0.7384 | – |
| ASSISTments 2012 | Fine-tuned BERT | P4 | 0.7364 | +0.0001 | 0.7371 | -0.0013 |
caption: Matched downstream DKT comparison for the fine-tuned BERT embedding family. For each dataset, the baseline and fine-tuned rows are selected by validation AUC within their respective comparison conditions.
Table 5.7 indicates that the fine-tuned BERT family is more competitive than the generic text embedding providers, but still not strong enough to alter the main conclusion of this study. On ASSISTments 2009, where Table 5.6 shows near-perfect KC classification, the best fine-tuned BERT configuration improves test AUC by approximately 0.0029 over its matched baseline while leaving test accuracy unchanged. On ASSISTments 2012, the best fine-tuned BERT run produces only a negligible AUC gain of approximately 0.0001 and a small decrease in test accuracy despite similarly strong classifier performance. In both datasets, the best downstream configuration uses Pipeline 4, which suggests that, within these sweeps, the most effective use of the fine-tuned encoder was to construct KC embeddings from a single representative question and then inject response state through the stack-antonym scheme.
These results support a more nuanced interpretation than the generic embedding experiments alone. Dataset-specific supervision appears to make the semantic initialization more competitive, especially on ASSISTments 2009. However, the gains remain small and inconsistent, and they do not establish a decisive advantage over standard DKT. Thus, improving KC discriminability at the text-encoder level may be beneficial to some degree, but it is not sufficient by itself to produce robust KT gains. The 2017 classifier results reinforce this point in a complementary way: when the text-linked dataset is very small, the model struggles even to learn the KC classification problem itself, which in turn limits the quality of the embeddings available for downstream KT.
Post Hoc Analysis: Alignment Between DKT KC Graphs and Pretrained KC Representations
We return here to RQ3: if semantic initialization does not reliably improve DKT, do the semantic KC representations at least recover the same relation structure that DKT appears to use? The post hoc analysis addresses this question by comparing two structures over the same set of KCs: the KC graph extracted from DKT and the geometry induced by the pretrained KC embeddings. If semantic initialization were beneficial because it encoded the same inter-concept structure that DKT exploits, then the relation graph induced by the embeddings would be expected to align closely with the DKT-derived KC graph.
This analysis follows the relation-discovery motivation introduced in the original DKT work [63], but it uses the KC-graph extraction procedure developed in Chapter 4 rather than the original single-step variant. For each dataset, the extracted KC graph is thresholded upward until it becomes acyclic, so the comparison target is the minimum-threshold DAG recovered from DKT.
On the embedding side, the analysis uses the top half of each pretrained interaction tensor and treats those rows as the KC representations. Cosine similarity over these KC vectors produces an embedding-induced relation matrix, which is then compared with the DKT-derived graph using Pearson correlation, Spearman correlation, Mantel correlation, top- edge overlap, neighborhood overlap, and node-strength agreement.
Table 5.8 summarizes the strongest dataset-level results in this analysis. The overall pattern is consistent across the post hoc comparisons: alignment exists, but it remains weak across all three datasets. ASSISTments 2012 yields the highest values in the sweep, where embed_english_v3.0 with Pipeline 3 reaches Pearson correlation 0.0894 and top-10% edge overlap 0.1571. ASSISTments 2009 is weaker, with its best run coming from bert_ft_assist2009 and Pipeline 5 at Pearson 0.0573. ASSISTments 2017 is weakest, where the best run, all_MiniLM_L6_v2 with Pipeline 5, reaches only Pearson 0.0247. These values are all positive, but none of them approach a regime that would justify describing the embedding-derived graphs as strong recoveries of the DKT graph.
| Dataset | Best model family | Pipeline | Pearson | Spearman | Top-10% overlap |
| ASSISTments 2009 | bert_ft_assist2009 | 5 | 0.0573 | 0.0276 | 0.1151 |
| ASSISTments 2012 | embed_english_v3.0 | 3 | 0.0894 | 0.0782 | 0.1571 |
| ASSISTments 2017 | all_MiniLM_L6_v2 | 5 | 0.0247 | 0.0114 | 0.1404 |
Table 5.8. Best dataset-level alignment results between semantic KC representations and DKT-derived KC graphs. Each row reports the highest-Pearson result for that dataset under the post hoc analysis setting.
The weak alignment in the post hoc comparisons provides a direct explanation for the negative benchmark outcome. If pretrained text-semantic embeddings improved DKT by encoding the same relational structure that DKT exploits, then the embedding-derived KC graphs would have aligned much more closely with the DKT-derived KC graphs. They do not. The tested embeddings therefore do not appear to encode the same KC relation structure that makes DKT useful.
The three DKT-derived target graphs are included in Appendix Figure A.11. Their visual differences across datasets already suggest that a single semantic prior would have difficulty reproducing all three graphs uniformly. The ASSISTments 2012 graph is also the one for which the embedding families achieve the strongest, albeit still weak, agreement.
Model comparison shows that some embedding families are systematically less misaligned than others, but only at the margin. The detailed family-level ranking is reported in Appendix Table A.4.
The global leader is bert_ft_assist2012, followed closely by text-embedding-3-large. This ranking is informative, but its absolute values remain small: the best global family reaches mean Pearson 0.0321, which is still far from strong graph agreement.
At the model–dataset level, no family dominates all three datasets. ASSISTments 2009 is led by bert_ft_assist2009, ASSISTments 2012 is led by API-style embeddings such as embed_english_v3.0, and ASSISTments 2017 is led by a sentence-transformer model. This instability across datasets argues against a single universal semantic encoder explanation for the relation structure used by DKT.
Pipeline comparison leads to a similar conclusion. Appendix Table A.5 shows that Pipeline 5 is the strongest global pipeline, followed closely by Pipelines 9 and 3. The gap between pipelines is modest. Pipeline design changes the results incrementally; it does not create a setting in which semantic KC graphs become strong proxies for the DKT-derived graph.
At the dataset–pipeline level, the pattern is also unstable. Pipeline 5 is best for ASSISTments 2009 and ASSISTments 2017 in the broad sweep, whereas ASSISTments 2012 is best under Pipeline 3 in the broad sweep and under Pipeline 4 in the selected-comparison combination summary. This reinforces the same conclusion: pipeline effects are real, but they are dataset-dependent and not strong enough to define a universally successful semantic recipe. The larger pipeline-by-dataset heatmap comparison is provided in Appendix Figure A.12, where the same point becomes visible directly: changing the pipeline alters the cosine-similarity structure, but the resulting relation maps do not converge toward a single DKT-like organization.
The interaction between models and pipelines is most clearly visible in ASSISTments 2012, which is the strongest dataset according to Table 5.8. ASSISTments 2012 contains the numerically strongest broad-sweep case and the densest cluster of high-performing combinations. It is also the dataset with the largest text-linked question pool in Table 5.1, which plausibly gives semantic representations more data from which to form stable KC neighborhoods. Even so, the 2012 combinations still reflect only partial alignment.
Appendix Table A.6 collects the strongest dataset–embedding-model–pipeline combinations from the selected comparison subset together with the strongest fine-tuned BERT alignment results. The strongest selected-subset combination is ASSISTments 2012 with text-embedding-3-large and Pipeline 4. The BERT follow-up sharpens the interpretation rather than overturning it. On ASSISTments 2009, bert_ft_assist2009 is the best family-level result in the ranking table, which shows that KC-supervised semantics can help in one dataset. On ASSISTments 2012, however, bert_ft_assist2012 ranks only 12th among families despite being the strongest family in the selected global average. This contrast shows that stronger supervision can improve semantic alignment modestly while still failing to produce a robust, dataset-general recovery of the DKT graph.
Figure 5.10 shows the strongest broad-sweep case directly as two aligned heatmaps: the cosine-similarity matrix induced by the semantic KC representations and the DKT-derived KC graph reordered to the same KC order. This provides a visual comparison at the level of the embedding relations themselves. The strongest case remains ASSISTments 2012 with embed_english_v3.0 and Pipeline 3, because Table 5.8 identifies it as the numerically strongest broad-sweep result. The semantic heatmap does exhibit structure, but that structure does not closely reproduce the target DKT graph.

(a) (a) Embedding cosine-similarity matrix

(b) (b) Aligned DKT KC graph
Figure 5.10. Best-case heatmap comparison for the strongest broad-sweep alignment result: ASSISTments 2012 with embed_english_v3.0 and Pipeline 3.
Figure 5.11 shows the corresponding direct agreement diagnostics for the same strongest broad-sweep case. The scatter plot and top- overlap curve make the failure mode visible quantitatively: the trend is positive, but it is diffuse, and the strongest DKT edges are only partially recovered by the semantic graph. This indicates weak or partial alignment rather than strong relational equivalence.

(a) (a) Pairwise edge agreement

(b) (b) Top- edge overlap
Figure 5.11. Direct agreement diagnostics for the strongest broad-sweep alignment case: ASSISTments 2012 with embed_english_v3.0 and Pipeline 3.
These comparisons answer RQ3 directly. Semantic KC representations align with DKT-derived KC graphs only weakly and inconsistently. ASSISTments 2012 is the strongest case, but still only partially aligned. ASSISTments 2017 is the weakest case, consistent with the tighter text-coverage constraint already shown in Table 5.1. ASSISTments 2009 falls between these extremes and shows that moderate text coverage does not guarantee strong semantic recovery. Model choice, pipeline choice, and their interaction all matter, but only at the margin. The overall result therefore supports the interpretation that semantic similarity does not strongly recover the relational structure that DKT uses.
Discussion
RQ1. Pretrained semantic embeddings do not improve DKT performance in any robust or generalizable sense. Across the full-data benchmark experiments, none of the semantic variants consistently exceeds the baseline DKT model across datasets. Small gains are observed in isolated settings, but they do not survive comparison across datasets, pipelines, and architecture modifications.
RQ2. The reduced-data results provide more limited evidence than the full-data benchmark results, but they are still inconclusive. The signal is strongest on ASSISTments 2017, yet it remains too dataset-dependent and too sensitive to pipeline choice to support a general statement that semantic initialization improves sample efficiency in KT.
RQ3. Semantic KC representations align with the KC graphs extracted from DKT only weakly and inconsistently. A small positive signal is present, especially on ASSISTments 2012, but it remains far too limited to support the claim that semantic KC geometry strongly recovers the graph structure used by DKT.
Interpreting the Main Result
The negative benchmark result is inconsistent with a primarily semantic explanation for DKT performance. If the relations exploited by DKT were primarily semantic, then replacing random interaction embeddings with semantically meaningful text-derived representations should have produced a more reliable benefit. The fact that this does not occur suggests that the dominant structure used by DKT is not well characterized by semantic proximity alone.
This also clarifies the limits of direct transfer from mainstream NLP to educational modeling.
In many NLP tasks, semantic similarity is a strong prior. In KT, the relevant structure may depend on response behavior, temporal order, latent prerequisite dependencies, psychometric difficulty, and dataset-specific instructional organization. These factors may correlate with semantics, but they need not be reducible to semantics. The present results therefore suggest that KC relations in KT may occupy a latent learning space: a representation of how different KCs are organized in the learner’s knowledge state, only weakly aligned with the semantic geometry induced by text embeddings.
What the Limited Positive Signals Mean
The reduced-data experiments refine this interpretation rather than overturning it. If pretrained semantic embeddings provided a strong inductive bias for KT, their advantage would be expected to emerge more clearly when the training signal is weak. That pattern is not observed consistently.
ASSISTments 2009 is unstable, with different pipelines winning at different sample sizes and with an average AUC gain that is effectively zero. ASSISTments 2012 provides even weaker evidence for a semantic advantage, since its mean AUC change is negligible and its mean test accuracy decreases slightly under pretrained initialization.
ASSISTments 2017 is the one dataset that shows a more favorable reduced-data trend, with positive AUC deltas on most sampled splits and a modest mean AUC improvement. This pattern provides limited support for a low-data semantic effect, but it remains insufficient to make the claim conclusive. ASSISTments 2017 is also the most text-constrained setting in Table 5.1, so any useful prior carried by the embeddings has more opportunity to matter. ASSISTments 2012, by contrast, has much richer text coverage but also a larger and potentially more heterogeneous KC space, which may dilute the value of a text-only prior.
ASSISTments 2009 falls between these extremes. That intermediate position is consistent with semantic initialization being competitive in isolated settings, including the fine-tuned BERT experiments, yet still failing to produce a decisive full-data advantage. The results therefore indicate that semantic initialization may help in specific low-data regimes while remaining too unstable to support a general data-efficiency claim.
Why the Post Hoc Analysis Matters
The post hoc analysis provides the clearest explanation for why the semantic-input variants do not reliably improve DKT. If semantic initialization were helping because it encoded the same relational structure that DKT exploits, then the semantic KC graphs would be expected to align strongly with the DKT-derived KC graphs. The analysis does not support that expectation. Instead, it finds only weak alignment, even in the strongest cases.
The dataset pattern indicates the same conclusion. ASSISTments 2012 is the strongest case, but still only weakly positive. ASSISTments 2009 is weaker. ASSISTments 2017 is weakest and close to zero by the standards of graph recovery. Model family and pipeline choice can improve the margins, but they do not change the overall conclusion. The best settings improve alignment only modestly; they do not produce the kind of graph agreement that would explain reliable downstream gains.
This dataset ordering is also plausible given Table 5.1. ASSISTments 2012 has the richest text coverage, ASSISTments 2017 the weakest, and ASSISTments 2009 falls between them. That pattern does not prove that data volume alone determines graph alignment, but it does suggest that available question text constrains how well semantic KC relations can be estimated.
Dataset size alone is still not a sufficient explanation. Even the strongest runs on ASSISTments 2012 remain only partially aligned with the DKT graph, so the explanation appears structural rather than purely data-limited: semantic relation graphs and DKT-derived KC graphs encode overlapping but genuinely different kinds of information.
This interpretation is reinforced by the model and pipeline comparisons. Model-family and pipeline differences are present, but they improve alignment only modestly rather than producing strong graph recovery. Even the strongest BERT-based cases do not change that basic pattern.
The same point helps interpret the fine-tuned BERT experiments: stronger semantic supervision can make the initialization more competitive, but it still does not recover the structure DKT seems to use.
The pipeline grid comparison supports the same conclusion visually. Different pipelines induce visibly different cosine-similarity patterns, so the construction choice is not trivial. However, the grid does not reveal any pipeline whose heatmaps consistently reorganize the KC space into something that resembles the DKT-derived graphs across datasets. The differences are real, but they remain variations within a weak-alignment regime rather than evidence of a successful semantic graph construction strategy.
Broader Implications for Knowledge Tracing
These findings have implications beyond the experiments reported here. The present study sets a boundary condition for attempts to use text more structurally in KT. It shows that simply substituting semantic embeddings into the KT input representation is insufficient. The benchmark results, the limited low-data signal, and the post hoc graph-alignment analysis all support the same broader lesson: semantics alone is too weak a proxy for the relations that govern DKT performance. A stronger use of text would have to act on the structure of the concept space itself rather than only on the input representation.
Limitations
This study is subject to several limitations that bound the interpretation of the results. First, text coverage is incomplete and uneven across datasets, as shown earlier in Table 5.1. The semantic pipelines can be applied only to the text-linked subset, so the effective sample differs from the full interaction log and is especially restrictive on ASSISTments 2017.
Second, the reported comparisons are necessarily conditional on the set of embedding families, pipeline constructions, and architecture modifications evaluated here. We cover a broad space of semantic initialization choices, including fine-tuned BERT variants and several recurrent-model modifications, but we do not exhaust all possible ways of integrating language into KT. In particular, the findings should not be read as ruling out approaches that combine semantic information with richer structural, curricular, or interaction-based signals.
Third, the data-efficiency results, although weakly positive in some settings, remain too dataset-dependent to support a general claim. The positive signal on ASSISTments 2017 is suggestive, but the corresponding effects are weak or unstable on ASSISTments 2009 and 2012. These reduced-data experiments therefore motivate further investigation rather than establishing a settled conclusion.
Fourth, the post hoc graph-alignment analysis depends on the DKT-derived KC graphs produced by the extraction procedure introduced in Chapter 4 and then thresholded to the minimum acyclic DAG. That choice keeps the comparison methodologically consistent, but it also means that the alignment findings should be interpreted relative to that specific graph-construction procedure rather than as statements about every possible notion of KT structure.
These limitations constrain the scope of the chapter’s conclusions, but they do not overturn its central result. Under the benchmark conditions studied here, semantic initialization does not reliably improve DKT, and semantic KC representations align with DKT-derived KC graphs only weakly.
Conclusion
In this chapter, we evaluated a clear hypothesis: whether semantic representations derived from question text improve Deep Knowledge Tracing. The answer to the first research question is negative. Across the benchmark experiments, text-informed KC representations do not reliably outperform the sparse baseline. The answer to the second research question is more tentative: the reduced-data results are positive in some settings, especially ASSISTments 2017, but they remain insufficiently stable to support a conclusive claim that semantic initialization improves data efficiency in KT. The answer to the third research question is that semantic KC representations align with DKT-derived KC graphs only weakly and inconsistently. Even the strongest dataset shows only partial alignment.
This negative result constrains the role that language-based representations are likely to play in KT. Rather than treating semantics as a general solution to sparse educational identifiers, the evidence presented here supports a more precise interpretation: the relations exploited by DKT appear to reside in a learning-relevant latent space that is only weakly aligned with semantic proximity among questions and KCs. The post hoc graph-alignment analysis strengthens this interpretation by showing that the relation graphs induced by the embeddings do not strongly recover the KC graph extracted from DKT itself.
Reorganizing Knowledge Components with Text Embeddings
Introduction
KT models are usually built on a predefined mapping from questions to knowledge components (KCs) [13, 63, 1, 98, 58, 21, 77]. That mapping is often treated as part of the dataset rather than part of the model. In practice, however, it shapes what the model is allowed to learn. If the KC partition is too coarse, too fragmented, or poorly aligned with the actual structure of the questions, even a strong KT architecture may be learning over the wrong concept space.
In this chapter, we build directly on the result in Chapter 5. There, we found that semantic initialization did not reliably improve DKT inside the inherited KC space. Here, we ask whether text embeddings are more useful for changing the concept partition than for enriching the original one. The relabeling procedure is simple: represent questions with text embeddings, reduce and cluster those representations, treat each cluster as an embedding-derived KC grouping, relabel the interaction data, and then compare DKT under the revised mapping against DKT under the original manual labels.
This changes the role of text in KT. Instead of using language as an auxiliary feature, we use it to reorganize the question space itself. The goal is to test whether the original KC taxonomy is the right supervision structure in the first place. The study also examines how the embedding-derived groupings relate to the benchmark’s CCSS-style labels rather than evaluating the method only through AUC.
This question also matters for ITS decision-making. In an ITS, the model is used to decide what the student should see next: which question to assign, which topic to revisit, or which instructional action to deliver. Those decisions are based on knowledge estimates defined over the KC partition itself, so changing that partition changes the state over which student understanding is aggregated and acted upon. In the original DKT paper, exercise selection is framed as a Markov decision problem, and the reported objective is to choose sequences that increase predicted future knowledge across the course rather than to optimize one isolated KC at a time [63]. If a different KC partition changes downstream KT performance materially, then the way the course is decomposed into KCs shapes the state representation used by downstream tutoring decisions rather than serving only as an administrative labeling choice.
We find that embedding-derived KC regrouping can improve downstream KT, but not uniformly across datasets. The mixed pattern appears to depend on dataset properties, preprocessing sensitivity, and the constraints of mapping questions to cluster-derived KCs. In this chapter, we therefore study not only whether the new grouping improves prediction, but also how it agrees with, splits, merges, or recombines the original CCSS-style KCs.
The ASSISTments datasets also differ in size, sequence structure, and preprocessing sensitivity [17, 65, 92]. In addition, some datasets contain multi-KC structure that does not map cleanly onto one-cluster-per-question relabeling. For that reason, the main issue we study in this chapter is not simply whether clustering can raise AUC, but when KC redefinition helps and what kinds of datasets benefit from it.
The research questions investigated in this chapter are as follows:
RQ1. To what extent can redefining the knowledge-component space through embedding-derived question groupings improve downstream predictive performance in knowledge tracing?
RQ2. To what extent do embedding-derived knowledge-component groupings correspond to, diverge from, or reorganize the human-authored CCSS-based knowledge-component taxonomy?
The rest of this chapter is structured as follows. We first review the background most relevant to the study, then describe the methodology, report the results, and discuss what those results imply for KT and ITS.
Background and Related Work
Knowledge Tracing
Across Bayesian, recurrent, attention-based, graph-based, and question-centric models, KT usually assumes that the question-to-KC mapping supplied with the dataset is adequate to define the concept space over which mastery should be tracked [13, 63, 98, 58, 21, 77]. That assumption is easy to miss because it is built into the benchmark, but it is still a modeling choice.
This becomes more important once benchmark sensitivity is taken seriously. Follow-up critiques of DKT showed that results can depend strongly on preprocessing, formatting decisions, and consistency constraints [33, 92, 93]. If those choices can change conclusions, then the KC taxonomy should not be treated as a neutral background condition. It is part of what determines what the model can and cannot learn.
Knowledge Component Taxonomy
The idea that concept structure should be tested rather than adopted without further evaluation is already well established in educational data mining. Learning Factors Analysis treats cognitive model improvement as a search problem and uses predictive fit to refine the skill model itself [8]. Performance Factors Analysis similarly shows that different ways of structuring skills change what the learner model can represent [31]. Later work such as Knowledge Tracing Machines continues this line by allowing multiple KCs and richer side information, again making it clear that KC representation is part of the model and not merely an administrative labeling choice [84].
That literature matters here because it makes KC redefinition a legitimate modeling question. The issue is not only whether a KT architecture is adequate, but whether the concept partition it inherits is too coarse, too fine, or misaligned with the structure that supports prediction. In that sense, KC discovery, KC split/merge, and taxonomy refinement provide the main background for the present study.
This question is especially important when the inherited KCs come from standards-based taxonomies. Common Core State Standards and related curriculum frameworks were designed to define grade-level expectations, support alignment, and coordinate curriculum and assessment systems across jurisdictions [56, 12, 64]. That gives them clear educational value, but it does not mean they were designed to be optimal KT taxonomies. A standards label can be useful for curriculum design and still be a poor fit for sequential prediction.
The broader CCSS literature reinforces that point. Research on implementation repeatedly shows that standards do not operate in isolation; their practical effects depend on curriculum materials, professional learning, assessment systems, and local implementation quality [24, 65]. For this chapter, the main implication is that CCSS-style KCs should be treated as one meaningful partition of educational content rather than as unquestioned ground truth about latent concept structure.
Granularity is another central issue. Broad manual KCs can collapse heterogeneous questions into the same label, while very fine-grained representations move toward question-centric KT [77]. The approach we use in this chapter sits between these two extremes. By changing cluster count, it moves from coarse regroupings toward finer partitions of the question space. In the limit, increasing the number of clusters approaches a question-as-KC setting, so cluster count is not just a technical hyperparameter. It is a modeling decision about concept granularity.
Text-Aware Educational Modeling and Question Representations
There is already substantial work showing that question text can carry useful signal for educational modeling. Exercise-enhanced recurrent models use item text to improve prediction and to address cold-start settings where sparse IDs are not enough [78]. Exercise-aware KT argues more generally that question content should be part of the sequential model rather than discarded [45]. QuesNet pushes this further by treating educational questions as structured objects rather than interchangeable symbols [94]. More recently, semantic-enhanced pretraining methods have shown that question embeddings can be improved by bringing in side information and structural constraints before downstream KT training [86].
These studies support the idea that question text matters, but most of them still preserve the original KC taxonomy and use text to enrich item or interaction representations. This work uses text differently. The goal here is not just to improve question representations inside an unchanged concept space, but to use question text to change the concept partition itself.
The boundary between content and context still matters. Pardos and Dadu show that for KC imputation, surrounding problem context can be as informative as the problem text and that combining the two improves inference [59]. That is an important caution for the present chapter.
If text-derived KCs fail to align cleanly with the manual taxonomy or help only on some datasets, one plausible reason is that text captures only part of the structure that matters for KT.
Text Embedding Clustering
Chapter 2 introduced the general background on embeddings, PCA, and clustering. Here the focus is only on the parts of that toolkit that matter for regrouping educational questions. Modern text representations range from static embeddings such as word2vec and GloVe to contextual transformer encoders [52, 62, 6, 14]. Sentence-level models such as Sentence-BERT and SimCSE are especially relevant when the object being compared is the full question rather than individual words [67, 20]. These models make it plausible that semantically related questions will lie near one another in embedding space.
In this chapter, those embeddings are not fed directly into KT. Instead, they are converted into discrete groupings through dimensionality reduction and clustering. This step tests whether an embedding-induced partition of the question space can serve as a better KC taxonomy for DKT.
This use of clustering is consistent with prior work that uses question text and latent structure to organize educational items and concept relations [59, 94, 86]. In machine learning more broadly, clustering is a standard way to convert continuous representation spaces into discrete groups for downstream analysis [51, 50, 2]. These precedents do not prove that a clustered KC taxonomy will be best, but they support the methodological premise tested here.
The pipeline used here combines principal component analysis with -means clustering. PCA provides a transparent reduction of high-dimensional embedding space, and -means provides a simple partitioning mechanism that can be studied through cluster-count sweeps and standard diagnostics. This simple design isolates the effect of the concept partition rather than shifting attention to a more elaborate clustering objective.
At the same time, the resulting groups should not be treated as recovered ground truth. They depend on the embedding model, the reduction step, the number of clusters, and the clustering objective. For that reason, this work treats embedding-derived KCs as candidate partitions to be compared against the inherited manual taxonomy rather than as the one correct ontology of mathematical concepts.
Methodology
Data Setting
In this project, we use three ASSISTments benchmarks that are widely used in KT research: ASSISTments 2009, ASSISTments 2012, and ASSISTments 2017 [17, 65, 1]. As in Chapter 5, the analysis is constrained by the availability of question text through the Problem Bodies resource, so the Chapter 6 pipeline operates on the subset of questions for which textual content can be linked reliably to interaction data.
This constraint determines both how many questions can be clustered and how much relabeled supervision is available for DKT. In this study, interactions for questions without linked text are removed rather than kept under a hybrid mapping. The study therefore operates on a text-filtered subset of each benchmark.
The preprocessing code also cleans the question text before embedding. Problem Bodies HTML is parsed with BeautifulSoup, image tags are replaced with their alt text when available, script and style blocks are removed, and the remaining content is converted into normalized plain text. The text-linkage and cleaning step is performed separately for each dataset.
Figure 6.1 gives a simplified picture of the kind of structure that motivates this study. Educational content is usually organized into syllabus- or curriculum-level units, and those units are then operationalized as KCs. That organization is educationally meaningful, but it also means that a manual partition is imposed on the question space before the KT model sees the data.

Figure 6.1. Illustrative example of an inherited syllabus-level organization in which course content is partitioned into manually specified knowledge components.
Question Embeddings and Dimensionality Reduction
Questions in the text-linked subset are represented with OpenAI’s text-embedding-3-large model.
We fix this model to keep the main study focused on the KC-redefinition pipeline rather than introducing embedding-family choice as a second major experimental variable.
Because these vectors are high-dimensional, we apply principal component analysis (PCA) before clustering. This step is primarily practical. It compresses the embedding space, may reduce redundancy before clustering, and makes centroid-based clustering more manageable in a lower-dimensional representation. The number of PCA dimensions is treated as a search parameter rather than fixed in advance. In the clustering code, PCA is fit separately for each dataset with random_state=42.
Let denote the embedding of question . After dimensionality reduction, each question is represented as
where is the PCA projection and is the chosen dimensionality.
Question Clustering and Embedding-Derived KC Groupings
The core methodological pipeline is:
collect question text for the text-linked subset of each dataset;
encode each question with
text-embedding-3-large;apply dimensionality reduction using principal component analysis (PCA);
cluster the reduced question representations using -means;
treat each cluster as a replacement KC label for the corresponding questions;
relabel the interaction data with these embedding-derived groupings;
train and evaluate DKT on the relabeled datasets.
Clustering is performed with -means. Here clustering is run separately for each dataset using random_state=42 and n_init=10. The number of clusters is treated as a modeling choice, so we evaluate multiple candidate partitions of the question space rather than assuming a single correct KC granularity in advance. As the number of clusters increases, the representation moves toward a more question-centric regime in which each question or small set of questions becomes its own concept-like unit.
Given a chosen cluster count , the clustering objective is
where is the cluster assignment for question and is the centroid of cluster .
Each cluster then becomes an embedding-derived KC grouping.
This design treats the KC taxonomy itself as a variable rather than as a fixed benchmark artifact. The resulting labels are not meant to replace educational interpretation outright. Instead, they define a data-driven concept space that can be compared to the inherited CCSS-style taxonomy both structurally and through downstream KT performance.
Figure 6.2 shows the main methodological change in this study. The goal is not to add text-derived features to the existing KC labels, but to regroup questions by embedding similarity and use those new groupings as an alternative supervision structure for DKT.

Figure 6.2. Conceptual schematic of the Chapter 6 pipeline: an inherited manual KC structure is transformed into a finer embedding-derived grouping through text embedding and clustering.
Relabeling the Interaction Data
After clustering, each question is assigned the KC label of its cluster. The original CCSS-based KC label is then replaced with this embedding-derived label in the interaction data. The student sequences therefore preserve the same question order, but they no longer preserve the original manual concept partition. Since DKT is trained over KC-response sequences, changing the KC labels changes the supervision structure substantially even when the underlying problem sequence remains the same.
Let a student’s original interaction sequence be written as
where is the question at time , is the original CCSS-based KC label attached to that question, and is the correctness label. In the original benchmark representation, the KC sequence seen by DKT is therefore
or, more precisely in pyKT’s default encoding, the corresponding KC-response state sequence
where each is the discrete interaction state derived from the pair .
After clustering, each text-linked question is assigned a cluster identity , where is the chosen number of clusters. The relabeling map then replaces the original KC label with the cluster-derived label. If an interaction at time is associated with question , and if denotes the original manual KC label, then the relabeling is
where is the cluster assignment of the question and is the embedding-derived KC label used in the relabeled dataset. The relabeling is therefore not a change to the order of interactions, but a change to the concept identity attached to those interactions.
The relabeled student sequence is therefore
with the same question order and the same response sequence as before, but with a different KC sequence,
Under pyKT’s default DKT implementation, this relabeled sequence is again converted into a discrete KC-response state sequence
where each is now derived from the relabeled pair . The temporal order of student interactions is unchanged, but the concept identity attached to each interaction is replaced by an embedding-derived concept assignment.
This relabeling step is the core KC-redefinition operation. The comparison is not between two different KT architectures, but between two different ways of defining what the model should treat as a concept.
DKT Training and Evaluation
The primary comparison we make in this chapter is between two supervision regimes:
the original manual KC labels supplied with the benchmark data;
the embedding-derived KC groupings obtained through clustering.
As in Chapters 4 and 5, the downstream KT model is standard DKT implemented through pyKT on top of PyTorch. The experiments were run locally on Apple Silicon hardware using PyTorch’s MPS backend. The evaluation reports AUC and accuracy for each dataset and clustering setting.
Unlike Chapter 5, in this chapter, we do not change the input representation or architecture of DKT. The model returns to the default pyKT DKT setup, and the methodological change is only in the KC labels used to construct the interaction sequences. pyKT implements the standard discrete KC-response encoding through a learned embedding lookup table rather than feeding a literal one-hot vector directly into the recurrent layer. That embedding table is randomly initialized and trained with the model. Here, we keep that default architecture and change only the question-to-KC mapping.
The comparison is intentionally simple. The goal is to isolate the effect of changing the concept partition rather than combine KC redefinition with several other architectural changes. DKT is therefore used as the main downstream evaluation model so that the study can answer a focused question: does the revised KC space provide a better basis for sequential prediction than the inherited manual taxonomy?
Structural Comparison with Common Core State Standards
In addition to the downstream DKT experiments, we include a separate analysis comparing the machine-derived KC groupings against the original CCSS-assigned KCs. This comparison supports the second research question by asking whether the discovered grouping resembles the manual taxonomy, diverges from it, or reorganizes it in a qualitatively different way.
The exact structural metrics used in that comparison are reported together with the analysis results. This analysis asks not only whether the relabeled concept space improves KT, but also how that new concept space relates to the human-authored Common Core State Standards taxonomy it replaces.
Results
Main Benchmark Results
The main empirical question we study in this chapter is whether relabeling questions with embedding-derived KC groupings improves DKT relative to the original manual KC labels. Table 6.1 gives the final benchmark-sweep results, while the structural comparison against CCSS appears in the subsequent structural analysis.
| Dataset | Baseline AUC | Best Clustered AUC | AUC | PCA Dim | Clusters |
| ASSISTments 2009 | 0.8545 | 0.7723 | -0.0822 | 10 | 150 |
| ASSISTments 2012 | 0.7367 | 0.7841 | +0.0474 | 100 | 300 |
| ASSISTments 2017 | 0.7131 | 0.7403 | +0.0272 | 10 | 100 |
Table 6.1. Best DKT results by dataset. The clustered condition replaces the original CCSS-style KC mapping with embedding-derived cluster labels.
Table 6.1 summarizes the main cross-dataset result. ASSISTments 2012 shows the largest positive change, with the best clustered configuration improving AUC by 0.0474 over the original-KC baseline. ASSISTments 2017 is a second positive case, with a gain of 0.0272. ASSISTments 2009 remains a negative case: no clustered setting in the evaluated sweep matches the baseline, and the best clustered result remains 0.0822 AUC below the original KC representation.
The dataset-level analyses show whether each gain is broad across the evaluated grid or concentrated in a narrow hyperparameter region. The figures in the main chapter focus on the benchmark sweep and the structural analyses that are central to the argument. Appendix A.3.1 provides additional significance, robustness, convergence, and cluster-granularity diagnostics that support the same overall reading.
Hyperparameter Effects
ASSISTments 2012. The best downstream configuration in the main benchmark occurs at PCA dimension 100 and 300 clusters. Every clustered setting in the evaluated grid improves on the original-KC baseline, and the strongest gains come from increasing the number of clusters. Across the sweep, variation in downstream performance is larger along cluster count than along PCA dimension. Performance improves from 50 to 300 clusters across the tested PCA values, while PCA mainly determines whether enough semantic structure survives dimensionality reduction.
Figure 6.3 shows that the information-criterion minima occur at smaller values than the best downstream DKT setting, so unsupervised compactness alone does not select the most effective KT partition.

Figure 6.3. Clustering diagnostics for ASSISTments 2012. The elbow and information-criterion curves mark where geometric compression begins to flatten, but they do not identify the best downstream KT setting on their own.
Figure 6.4 shows that all tested clustered settings exceed the original-KC baseline and that the best region spans multiple PCA settings at higher cluster counts.

Figure 6.4. Validation-AUC heatmap for ASSISTments 2012 across PCA dimensionality and number of clusters. The gains remain positive across the tested grid and are largest at higher cluster counts.
Figure 6.5 makes the dominant role of cluster count explicit: the curves rise as increases across the tested range.

Figure 6.5. Effect of number of clusters on ASSISTments 2012. Increasing cluster count consistently improves downstream performance over the tested range, and the best results occur at the highest tested cluster counts.
Figure 6.6 shows that PCA dimensionality matters less than cluster count and that the strongest region lies in a moderate-dimensional band rather than at the smallest tested projection.
Taken together, Figure 6.3–Figure 6.8 show that the 2012 improvement is distributed across a broad

Figure 6.8. Improvement over the original-KC baseline for ASSISTments 2012. The gains are positive across the tested grid and are largest at higher cluster counts.

Figure 6. Effect of PCA dimensionality on ASSISTments 2012. Very low-dimensional projections remain competitive, but the strongest results occur in a moderate-dimensional range rather than at the smallest tested projection.

Figure 7. Marginal effects on ASSISTments 2012. Averaged across the other variable, cluster count has the larger effect on downstream performance, while PCA dimensionality mainly changes performance within a narrower band.
region of the sweep and that cluster count has the larger effect on downstream performance over the tested range.
ASSISTments 2017. The best downstream configuration occurs at PCA dimension 10 and 100 clusters. The optimum is tighter than on 2012. Low PCA dimensions dominate, and performance remains strong at 150 clusters for the best low-dimensional projections, but the gains flatten quickly as increases and as higher-dimensional projections are kept.
Figure 6.9 again places the information-criterion minima below the best downstream setting, so the KT-optimal partition is not the same as the geometry-optimal clustering under those criteria.

Figure 6.9. Clustering diagnostics for ASSISTments 2017. The best downstream KT setting occurs at a larger cluster count than the information-criterion minima, which reinforces that unsupervised clustering diagnostics alone do not select the best educational partition.
Figure 6.10 shows that the improvement region is concentrated in the low-dimensional part of the grid and is visibly narrower than the corresponding region on ASSISTments 2012.

Figure 6.10. AUC heatmap for ASSISTments 2017 across PCA dimensionality and number of clusters. The improvement region is narrower than on 2012, but all tested clustered settings still outperform the original-KC baseline.
Figure 6.11 places the best downstream region around to , after which the

Figure 6.11. Effect of number of clusters on ASSISTments 2017. The best region lies around to , and the gains flatten beyond that range.
curves flatten.
Figures 6.9–6.12 therefore show a tighter but still favorable region on 2017. Useful refinement arrives earlier and saturates faster than on 2012, low-dimensional projections dominate, and the best cluster counts stay in the moderate range.
ASSISTments 2009. The same pipeline behaves very differently on ASSISTments 2009. No clustered setting in the evaluated grid beats the original-KC baseline, and the mean gap versus baseline remains strongly negative. Cluster count still matters more than PCA in shaping the clustered results, but here that does not translate into a win over the manual taxonomy. The best 2009 setting is again at 150 clusters, yet the baseline with the original 76 KCs remains much stronger.
Figure 6.13 shows the same disconnect between geometric clustering criteria and downstream KT performance, but here no clustered configuration matches the original-KC baseline.

Figure 6.13. Clustering diagnostics for ASSISTments 2009. As on the other datasets, these curves characterize geometric clustering behavior, but they do not recover a clustered setting that matches the original-KC baseline.
Figure 6.14 shows that the negative gap is dataset-wide rather than confined to a small subset of hyperparameter settings.

Figure 6.14. Headline comparison for ASSISTments 2009. The full family of clustered configurations sits well below the original-KC baseline, so the negative comparison is visible before the hyperparameter analysis is added.
Figure 6.15 shows internal variation within the clustered family, but every configuration remains below the manual-KC baseline.

Figure 6.15. Validation-AUC heatmap for ASSISTments 2009 across PCA dimensionality and number of clusters. The clustered settings do show internal variation, but none of them exceed the original-KC baseline.
Figure 6.16 shows that larger improves the clustered family relative to itself, but not enough

Figure 6.16. Effect of number of clusters on ASSISTments 2009. The best clustered results occur around 150 clusters, but increasing cluster count also increases the train–validation gap, which reinforces the negative comparison against the original-KC baseline.
to reach the original-KC baseline.

Figure 6.17. Effect of PCA dimensionality on ASSISTments 2009. PCA dimensionality matters less than cluster count, and moderate dimensions do not rescue the clustered representation enough to surpass the manual baseline.
Figure 6.13–Figure 6.18 show that the clustered family is not flat or degenerate, but all of its useful internal variation occurs below the original-KC baseline. Larger helps the clustered family relative to itself, yet the widening train–validation gap shows that this extra granularity does not translate into a better benchmark result.

Figure 6.18. Overfitting gap for ASSISTments 2009. As cluster count increases, the train–validation gap expands substantially, indicating that finer partitions add capacity without producing a better benchmark result.
There are therefore at least three different optimization targets in play here: downstream DKT performance, external agreement with the manual taxonomy, and internal cluster geometry. The sweep figures show that these do not collapse to the same setting. On ASSISTments 2017, for example, the best downstream result occurs at , while the information-criterion minima occur at smaller values.
Structural Comparison with Common Core State Standards
We therefore analyze the structural relation between the embedding-derived grouping and the original CCSS-style taxonomy separately from the benchmark sweep. This part of the chapter addresses the second research question by characterizing where the new grouping agrees with the manual labels, where it splits broad manual KCs into several clusters, where it merges multiple manual KCs into one cluster, and where it produces more mixed or overlapping reorganizations. Additional stability, internal-validity, and purity diagnostics are collected in Appendix § 12.§ 5.2.
For ASSISTments 2012, the structural deep-dive is centered on PCA dimension 120 and 300 clusters. Across the 2012 structural grid, normalized mutual information remains high and peaks near 0.838, while adjusted Rand index reaches about 0.495. This means the embedding-derived grouping preserves a substantial amount of the manual taxonomy even before any downstream KT evaluation is considered.
For ASSISTments 2017, the structural deep-dive is centered on PCA dimension 10 and 100 clusters, which is also the best downstream DKT setting. In this filtered structural-analysis subset, the original manual baseline contains 80 KCs. External-agreement scores are lower than on 2012 and 2009 in absolute terms, with the best ARI at about 0.128 and the best NMI at about 0.671. The structural match is therefore weaker, but still strong enough to suggest that the learned grouping is refining rather than replacing the manual taxonomy.
For ASSISTments 2009, the structural analysis still shows strong correspondence with the manual taxonomy under metrics such as NMI and ARI, even though the downstream DKT comparison remains negative. The learned partition is therefore not random or degenerate. The failure is not that clustering cannot find structure at all, but that the recovered structure does not yield a better KT supervision scheme on this dataset.
| Dataset | Best ARI configuration | Best NMI configuration |
| ASSISTments 2012 | PCA 120, , ARI | PCA 160, , NMI |
| ASSISTments 2017 | PCA 60, , ARI | PCA 120, , NMI |
| ASSISTments 2009 | PCA 160, , ARI | PCA 100, , NMI |
Table 6.2. Top structural configurations from the deep cluster-analysis. These are not the same objects as the best downstream DKT settings, which shows that structural agreement and predictive performance do not collapse to the same optimum.
Figure 6.19 and Figure 6.20 show that high agreement with CCSS persists across multiple PCA and cluster-count settings and that increasing raises homogeneity while fragmenting the original manual KCs.

Figure 6.19. Structural-agreement heatmaps for ASSISTments 2012. The strongest CCSS correspondence appears in a moderate range of PCA dimensions and cluster counts, but the settings that maximize structural agreement do not exactly match the best downstream DKT setting.

Figure 6.20. Homogeneity–completeness trade-off for ASSISTments 2012. Increasing the number of clusters yields purer clusters, but it also fragments the original manual KCs. The best DKT setting does not coincide exactly with the best taxonomy-matching setting.

Figure 6.22. Embedding-space visualization for ASSISTments 2012. The similarity between the manual-label coloring and the cluster-label coloring shows that the embedding-derived grouping is not arbitrary, while the visible boundary differences show that it is not simply reproducing CCSS verbatim.
Figures 6.21 and 6.22 show that the analyzed partition preserves much of the manual taxonomy while splitting several broad KCs into more localized clusters.
Figures 6.23 and 6.24 show that the 2017 agreement region is narrower than the 2012 region and centered on lower-dimensional embeddings.
Figures 6.25 and 6.26 show moderate reorganization rather than wholesale replacement of the manual taxonomy, which matches the smaller downstream gain.

Figure 6.24. Homogeneity–completeness trade-off for ASSISTments 2017. The main refinement region appears around , where clusters are cleaner than the original labels without yet fragmenting the small problem bank too severely.

Figure 6.25. Contingency heatmap for the analyzed ASSISTments 2017 deep-dive configuration. The learned grouping partly preserves the manual taxonomy and partly recombines it, especially in larger and more heterogeneous KCs.
Figure 6.27–Figure 6.30 show coherent local structure and nontrivial agreement with CCSS, but they also show a less clean relation between lexical-semantic similarity and the procedural manual taxonomy. Structurally meaningful clustering can therefore still fail to improve KT on this dataset.
Figure 6.27. Structural-agreement heatmaps for ASSISTments 2009. The clusters can still align strongly with CCSS-like structure even though the downstream DKT comparison remains negative. Taxonomy agreement and predictive performance therefore peak at different settings.
Figure 6.30. Embedding-space visualization for ASSISTments 2009. The global structure is coherent enough to support clustering, but the boundaries are visibly less aligned with the manual taxonomy than on 2012, which is consistent with the weaker structural match and the negative downstream result.
Figure 6.28. Homogeneity–completeness trade-off for ASSISTments 2009. As on 2012, increasing the number of clusters produces cleaner local groups at the cost of greater fragmentation of the original manual KCs.
Discussion
RQ1. Redefining the KC space through embedding-derived question groupings can improve downstream KT, but not uniformly. The effect is positive on ASSISTments 2012 and ASSISTments 2017, and negative on ASSISTments 2009. KC redefinition is therefore dataset-dependent rather than universally beneficial.
RQ2. The discovered grouping relates to the human-authored CCSS-style taxonomy in a mixed but interpretable way. The structural analyses show substantial agreement with the manual taxonomy, but not identity. The embedding-derived grouping often preserves broad taxonomic structure while still splitting large manual KCs, consolidating some question sets, and recombining others. That pattern is what keeps the regrouping interpretable: if the new grouping were identical to CCSS, there would be little reason to use it; if it were unrelated to CCSS, it would be hard to interpret.
At the ITS level, the result means that the KC partition is part of the tutoring problem itself. A tutoring system acts on an estimate of student knowledge when it decides what to ask next, what to reteach, or when to move forward. The original DKT work makes this explicit by framing next-exercise selection as a sequential decision problem over predicted future knowledge [63]. If changing the KC partition alone changes predictive performance by a substantial margin, then the concept decomposition is not just a bookkeeping layer around the model.
Interpreting the Cross-Dataset Pattern
The cross-dataset pattern should be interpreted carefully rather than flattened into a single success claim. ASSISTments 2012 provides the largest positive case. Its larger text-linked sample gives the clustering stage more questions from which to estimate stable semantic neighborhoods and gives DKT more relabeled supervision on which to learn the revised concept space. The figures show that the improvement region spans multiple hyperparameter settings, that cluster count matters more than PCA dimensionality over the tested range, and that the gains continue as the model moves to finer partitions. These patterns are consistent with the original manual taxonomy being too coarse for this dataset.
ASSISTments 2017 shows that scale is not the only factor that matters. The Chapter 5 dataset statistics indicate that sequence structure is also likely relevant. If the revised KC space captures a more useful concept organization, longer trajectories give DKT more opportunity to benefit from that structure over time. That helps explain why ASSISTments 2017 improves even though it is much smaller than ASSISTments 2012. Figure 6.10–Figure 6.12 show that the gain is real but more localized: low PCA dimensions dominate, to is the main operating range, and the problem bank approaches its granularity limit faster than 2012. ASSISTments 2017 therefore adds sequence structure and cluster granularity to sample size as likely determinants of when KC redefinition helps.

Figure 6.12. Effect of PCA dimensionality on ASSISTments 2017. The best results occur at very low PCA dimensions, indicating that a small number of principal components retain most of the useful clustering signal for this dataset.
ASSISTments 2009 should be treated as a harder case rather than as a simple refutation of the main idea we study here. The dataset is already known to be preprocessing-sensitive in the KT literature, the current pipeline removes interactions without linked text, and the baseline can preserve multi-KC structure that is lost when each question is forced into a single cluster-derived KC [92]. The 2009 sweep also shows that increasing cluster count expands the train–validation gap without producing a win over the original-KC baseline. Those factors make ASSISTments 2009 the least favorable setting for the method, even though the negative result itself is still real and important.
Agreement with CCSS and Reorganization of the Question Space
A central result of the structural analyses is that they separate agreement from identity. The embedding-derived grouping agrees strongly with the original CCSS-style taxonomy under several external metrics, especially on ASSISTments 2012 and ASSISTments 2009, and more moderately on ASSISTments 2017, but that agreement is not perfect and should not be. The deep-dive analyses show repeated cases of fragmentation, consolidation, and overlap. Large manual KCs often divide into multiple cleaner clusters, while some embedding-derived clusters draw together questions that were separated in the manual taxonomy.
Across the 2012 structural grid, NMI remains high and ARI remains meaningful, which shows that text embeddings recover a substantial amount of KC structure even without KC labels during clustering. The homogeneity–completeness plots and contingency heatmaps in Figure 6.20 and Figure 6.21 show that the clusters are often cleaner than the original KCs and that the large manual KCs are exactly the ones that fragment most. This gives the model a finer-grained signal where the benchmark taxonomy is broadest.

Figure 6.21. Contingency heatmap for the analyzed ASSISTments 2012 deep-dive configuration. Off-diagonal structure shows that the learned grouping both preserves large parts of the original taxonomy and reorganizes some broad manual KCs into multiple cleaner clusters.
The 2017 structural analysis places the dataset between 2012 and 2009. The external-agreement values are smaller in absolute terms, but Figure 6.23–Figure 6.26 still show a meaningful relation to the manual taxonomy. The low-dimensional embedding space preserves enough structure for the clustering to refine several large KCs into cleaner groups, while the contingency heatmap shows that the learned partition is not simply repeating the filtered original 80-KC manual labeling. This pattern is consistent with a moderate KT gain in a much smaller problem bank.

Figure 6.23. Structural-agreement heatmaps for ASSISTments 2017. Agreement is weaker than on 2012 and 2009 in absolute terms, but the heatmaps still show a structured relation to the original taxonomy.
Figure 6.26. Embedding-space visualization for ASSISTments 2017. The cluster boundaries track visible semantic structure even in a much smaller question bank, consistent with a moderate downstream KT gain.
The 2009 structural analysis shows a different pattern. Structural agreement and downstream usefulness are more aligned inside the clustered configurations themselves, with the best-performing clustered settings also living in the high-agreement zone visible in Figure 6.27, yet the entire clustered family still loses to the original baseline. Figure 6.29 and Figure 6.30 show that the learned grouping is structured, but its structure does not line up with the benchmark’s procedural taxonomy as cleanly as it does on 2012. This shows that even a coherent and stable text-derived partition may fail when the inherited manual taxonomy is already unusually strong or when the dataset couples KC structure to interaction preprocessing in ways the clustering does not preserve.
Figure 6.29. Contingency heatmap for the analyzed ASSISTments 2009 deep-dive configuration. The learned grouping is not random, but the off-diagonal structure shows a more difficult relation between lexical-semantic similarity and the manual procedural taxonomy.
The positive results here do not come from replacing CCSS with a completely unrelated partition. They come from starting with a structure that still respects a large amount of the benchmark taxonomy and then reorganizing the parts that appear too broad or too heterogeneous for the downstream model. This also explains why the best DKT configuration need not be the one that maximizes ARI or NMI against the manual labels. The replacement taxonomy remains interpretable without reproducing the benchmark exactly.
DNA-Based and Morphology-Based Taxonomy
One way to interpret these results is through an analogy to biological taxonomy. Before molecular methods became widely available, species taxonomy was necessarily shaped by morphology-based taxonomy: organisms were grouped by observable form, structure, and other visible attributes. DNA-based taxonomy did not make morphology-based taxonomy irrelevant. Instead, molecular systematics provided a deeper basis for testing which morphology-based groupings reflected underlying relatedness, confirming many of them while also revising others where visible similarity was an incomplete guide to structure [70].
The relation between CCSS and the embedding-derived grouping in this chapter can be understood in the same way. The original CCSS taxonomy functions as a morphology-based taxonomy of educational content. It groups questions using expert-authored curricular attributes and visible instructional distinctions. The embedding-derived grouping is closer to a DNA-based taxonomy of the question set. It uses the internal semantic signal of the questions themselves, captured through text embeddings, as a deeper representational basis for organizing the concept space.
This analogy clarifies the claim. The embedding-derived taxonomy does not discard the manual taxonomy as meaningless. On the contrary, the high NMI and meaningful ARI values show that the embedding-based taxonomy confirms a large portion of the existing CCSS structure. It also shows where that structure may need to be revised because the inherited partition is too coarse, too heterogeneous, or too weakly aligned with the distinctions that matter downstream.
That combination of confirmation and revision is exactly the pattern one would expect from a DNA-based taxonomy relative to a morphology-based taxonomy. Much of the existing organization survives because it captures real structure. The deeper representation matters where it revises that organization and improves what can be done with it. Here, that added value appears not only in the structural metrics but also in the downstream KT gains on the datasets where the original KC partition appears to under-decompose the content space. Under that interpretation, the result is more than an artifact of clustering. It is evidence that KC taxonomies can be rethought at the level of the learning space itself, and that this rethinking may matter for how we model learning in ITS.
Connection to Chapter 5
In Chapter 5, we showed that semantic text embeddings do not reliably improve DKT when they are injected into the existing KC space as pretrained interaction representations. The positive results in this chapter suggest a different use of text: semantic information appears more useful when it helps redefine the concept partition than when it is added to an inherited one. The two chapters therefore support a more specific claim about where semantic information is useful in KT.
Limitations
Several limitations are important here. First, the clustering pipeline depends on the embedding model, the PCA setting, and the selected cluster count. The discovered grouping is therefore a candidate partition rather than a uniquely recovered ground truth. Second, as discussed earlier in the chapter and in the Chapter 5 dataset statistics table (Table 5.1), the study depends on partial Problem Bodies coverage, so the relabeled experiments operate on a filtered subset of the original interaction logs rather than the full datasets.
Third, the relabeling step simplifies the relationship between questions and concepts. In datasets with multi-KC structure, especially ASSISTments 2009, forcing each question into a single embedding-derived KC may discard supervision structure that the baseline still preserves. Fourth, the structural comparison against the manual taxonomy is based on clustering-agreement metrics, visualization, and fragmentation analyses rather than on a formal cognitive evaluation framework. The structural results therefore show how the learned partition relates to CCSS, but they do not by themselves establish that the embedding-derived grouping is a better educational ontology in every sense.
Conclusion
In this chapter, we examined whether text embeddings are more useful for redefining the concept space of KT than for enriching a fixed existing one. The core method was to cluster question embeddings, relabel the interaction data with the resulting embedding-derived KC groupings, and compare DKT under the revised mapping against DKT under the original manual labels.
The results show that this strategy can improve DKT, but the effect is strongly dataset-dependent. ASSISTments 2012 and ASSISTments 2017 improve, whereas ASSISTments 2009 remains a negative case shaped by a more difficult combination of preprocessing sensitivity, text filtering, and multi-KC complications. These findings show that manually specified KC taxonomies are not always the best supervision structure for KT and that embedding-derived regrouping can be an effective alternative under some dataset conditions.
ReasonKT: A Preliminary Study of Reasoning-Based Knowledge Tracing
Introduction
The earlier KT chapters narrow the problem addressed here. Chapter 5 found that semantic information from question text does not reliably improve DKT when it is injected into the inherited KC space, whereas Chapter 6 showed that text embeddings can help when they redefine the KC space itself. In this chapter, we ask a different question: can KT itself be framed as explicit reasoning over student history rather than as latent-state prediction alone?
Standard KT models can predict well while still making it difficult to inspect what the model believes the student knows or why one interaction should affect another. The issue here is therefore not just whether language can be attached to KT, but whether it can support a different kind of student model.
Recent work on large language models makes that direction plausible. LLMs can consume question text directly, operate over structured histories, and use more inference-time computation before committing to a final answer [15, 43, 75, 90, 34]. KT is particularly appropriate in this setting because the next outcome is observed directly: after the model predicts whether the student will answer correctly, the actual result becomes available. That gives the task a verifiable endpoint for each interaction.
We propose this idea under the name ReasonKT. The core proposal is to treat KT as reasoning over a student’s prior interactions, question content, and concept structure, with the final prediction expressed as the probability that the student will answer the next item correctly. In a fuller version of this framework, the reasoning trajectory would be part of the model’s action space, and training would optimize those trajectories using the observed correctness label as reward. In this formulation, KT provides directly observed supervision at each interaction: the next outcome is observed, correctness can be scored exactly, and the reward is verifiable even if credit assignment within the reasoning trajectory remains difficult.
We propose the broader ReasonKT framework conceptually, but the present empirical study evaluates only a much simpler prompt-only instantiation. The prompt-only version removes RL, GRPO, and fine-tuning altogether and instead uses off-the-shelf models accessed through API calls, including runs with o3, as inference-time systems operating over student history rather than as models trained specifically for KT.
The rest of this chapter is structured as follows. We first review the background and related work that motivate ReasonKT. We then define the broader framework, distinguish it from the prompt-only study that is actually evaluated, and describe that motivating study in detail. After that, we report the Prompt-Only results, discuss what they do and do not show, and close with a chapter-level conclusion.
Background and Related Work
Knowledge Tracing Baselines and Benchmarks
The prompt-only ReasonKT study is evaluated in the standard KT benchmark setting: predicting whether a student will answer the next item correctly from prior interaction history. Classical approaches such as BKT, Learning Factors Analysis, and Performance Factors Analysis matter here because they keep assumptions about learning and skill structure explicit [13, 8, 31]. Later work extends that benchmark through recurrent, attention-based, graph-based, and question-aware models [63, 98, 58, 77, 21, 55, 81]. For this chapter, the key methodological point is that any LLM-based approach still has to be judged in that next-step prediction setting rather than presented only as a prompting demonstration.
This benchmark perspective also affects what counts as success here. The study evaluates a reasoning-based student model on the standard next-step prediction task using the same metrics and data conventions that organize the rest of the field [1, 74, 48].
Text-Aware and Content-Aware Student Modeling
There is already substantial evidence that educational prediction can benefit from question text and other side information. Exercise-enhanced KT models, question representation work such as QuesNet, semantically enhanced embedding pretraining, and recent LLM-for-KT studies all show that question text contains information that standard ID-based KT throws away [78, 45, 94, 86, 47, 38, 41, 32]. ReasonKT starts one step later: not from the claim that text has been ignored, but from the claim that most prior text-aware KT still keeps prediction inside a latent-state architecture.
Language Models as Reasoning Systems
Building on the transformer, prompting, and reinforcement-learning background introduced in Chapter 2, the broader LLM literature suggests that prediction quality can improve when a model is allowed to use structured intermediate computation at inference time rather than only generating a direct short answer [90, 34, 87, 101, 15, 43, 75]. Chain-of-thought prompting, self-consistency, least-to-most prompting, and more recent reasoning models trained with reinforcement learning all point in the same direction: intermediate reasoning steps can improve difficult decisions when the model is given room to decompose the task and spend more computation on inference [90, 87, 101, 73, 23].
This literature is not specific to education, but it matters for ReasonKT because it supports the narrower idea that intermediate reasoning can be elicited and studied as part of a prediction process. In this chapter, the visible trace is treated as diagnostic output from that process rather than as verified evidence of the model’s causal computation.
For KT, that possibility is particularly appropriate because the final decision is verifiable. The learner either answers the next question correctly or does not. That makes the ReasonKT setting closer to a verifiable prediction task than to many open-ended language tasks in which evaluation depends on subjective preference or reference overlap. We therefore borrow motivation from reasoning models, chain-of-thought inference, and RL-trained inference-time computation, but apply it to a setting where the endpoint supervision is directly observed.
Interpretability, Inspectability, and Faithfulness
A central motivation for ReasonKT is that it exposes a reasoning trace rather than hiding the student model entirely inside a latent state. That is a practical advantage, but it has to be framed carefully. The literature on explainable KT already distinguishes between models that are transparent by construction and models that are only explained after the fact [3]. More generally, the ability to inspect an intermediate trace does not guarantee that the trace is a faithful account of the true computational cause of the prediction [29, 39, 82].
For that reason, reasoning trajectories are treated here as inspectable rather than automatically faithful. Prompt-Only ReasonKT is informative insofar as the traces help diagnose errors, reveal what evidence the model is attending to, or make failure modes easier to analyze than in latent-state KT. But this point should not be overstated. A readable rationale is not the same thing as a verified causal explanation, and that distinction remains important throughout the discussion of results.
Methodology
ReasonKT Framework
ReasonKT is the central proposal of this chapter. The core proposal is to treat knowledge tracing as an explicit reasoning problem rather than only as latent-state estimation. Given a student’s prior interactions, the model is asked to reason about what the student likely understands, what misconceptions or prerequisite gaps remain, and how those inferences affect the probability of success on the next item. The final output is still the familiar KT target: the likelihood that the student answers the next question correctly. What changes is the path used to reach that prediction.
Beyond the prompt-only study evaluated here, the broader ReasonKT framework includes trainable reasoning trajectories, policy optimization over those trajectories, and next-step supervision grounded in observed correctness outcomes.
This means that the hidden state is no longer the only object that matters. In standard DKT-style models, the latent state is updated implicitly and inspected only indirectly through downstream predictions. In ReasonKT, the intermediate reasoning trajectory becomes part of the model behavior. The prediction can therefore be tied to a human-readable account of what the model thinks the student currently understands.
Prediction and Supervision
At a high level, the reasoning-based prediction problem can be written as
where is the student’s interaction history up to time , is the next question, and denotes any available concept or KC information. In a standard latent-state model, this probability is mediated through an internal hidden representation. In ReasonKT, the model instead produces an explicit reasoning trajectory and then conditions the final prediction on that trajectory:
Equivalently, the overall prediction can be viewed as marginalizing over possible reasoning trajectories induced by the policy . The reasoning trajectory is not observed in the data; it is an explicit intermediate object generated by the model rather than an uninspected hidden state.
This setup provides direct endpoint supervision for reasoning-based learning. The final label is observed directly after prediction, so reward can be assigned without ambiguity. If the model predicts correctly, reward is positive; if it predicts incorrectly, reward is zero or negative depending on the eventual training objective. Unlike many open-ended reasoning tasks, the endpoint supervision does not depend on subjective human judgment. The prompt-only approximation evaluated in this chapter operationalizes this setup with a structured input prompt rather than a trainable policy; Figure 7.2 shows an example prompt instance.
Figure 7.2. Example Prompt-Only ReasonKT input prompt used to elicit a next-step probability, a reasoning trace, and a final basis from the model. The KC labels are raw benchmark labels, so visibly coarse or noisy labels in the prompt are dataset artifacts rather than curated chapter labels.
Why Reinforcement Learning is Plausible
The long-term motivation for ReasonKT is that KT provides a directly observed reward structure.
Prediction happens repeatedly over a sequence, the final decision space is constrained, and each interaction yields a verifiable next-step outcome. Those properties make KT a reasonable setting for reasoning-policy optimization, because the model does not need to infer an unobserved reward from indirect feedback. At the same time, the reward is still sparse with respect to the internal reasoning trajectory, so the main optimization challenge is not whether the reward is observable, but whether it is strong enough to shape useful intermediate reasoning.
This does not prove that RL-based ReasonKT will train stably or outperform strong latent-state baselines. The action space remains large because the reasoning trajectory itself can take many forms, and there is no guarantee that reward attached to final correctness will be enough to shape useful intermediate reasoning without collapse or shortcut behavior. In other words, ReasonKT has a clean verifier, but it still inherits the usual sequence-level credit-assignment problem.
Figure 7.1 illustrates the intuition behind this setup. Different reasoning paths can lead to the same prediction, and the model may explore many such paths before committing to a final answer. What makes KT attractive for RL is not that the reasoning path is supervised directly, but that the final prediction is followed by an observed outcome. That gives the training problem a clean, verifiable endpoint even when the internal reasoning trajectory remains hard to credit correctly.
Figure 7.1. ReasonKT as a reasoning-policy problem. The model may follow many possible reasoning trajectories before producing a next-step KT prediction, but the final outcome is still observed directly. This makes the endpoint reward verifiable even though credit assignment across the reasoning trajectory remains difficult.
Prompt-Only ReasonKT
Introduction
As motivation for the broader ReasonKT proposal, we also consider a much simpler variant that removes RL, GRPO, and fine-tuning altogether and relies only on prompting. Prompt-Only ReasonKT uses off-the-shelf models through API access, including runs with o3 and gpt-4.1-mini, and
uses structured prompts to elicit reasoning over student history, question content, and any available concept information before producing a probability estimate.
This first implementation is subject to important limitations. It does not adapt the model to the KT objective, it may be sensitive to prompt wording, and API-based inference introduces reproducibility concerns that trained baselines do not have in the same form. It therefore serves as a limited test of whether off-the-shelf reasoning models show usable KT signal and produce traces that are informative enough to analyze before moving to a trainable reasoning-based model. The research questions investigated in this preliminary study are as follows:
RQ1. Do off-the-shelf reasoning models show any knowledge tracing ability when they are prompted over student histories and asked to predict the next outcome?
RQ2. Is the student-level variation in Prompt-Only ReasonKT consistent with the motivation for individualized reasoning models rather than only population-level ones?
Methodology
The motivating Prompt-Only ReasonKT experiment is intentionally small. It is designed to test whether an off-the-shelf prompting setup can produce probabilities and reasoning traces that are sufficiently informative to analyze. For that reason, the methodology focuses on a balanced student slice and on qualitative inspection of the resulting traces rather than on a large-scale benchmark against mature KT baselines.
Data and Evaluation Setting The evaluation uses a balanced 10-student slice from three standard KT datasets: ASSISTments 2009, ASSISTments 2012, and ASSISTments 2017. For each dataset, the selected students were required to have more than 10 interactions, and the final 10-student subset was chosen to keep the class labels as balanced as possible while still yielding at least 200 prediction examples overall. Within each selected student slice, positive and negative examples are matched in count before computing student-level metrics; this removes trivial one-class cases, but it also means that accuracy and AUC are evaluated on balanced samples rather than on the natural correctness base rate. Table 7.1 summarizes the evaluation setting.
| Item | Reported setting |
| Datasets | ASSISTments 2009, ASSISTments 2012, ASSISTments 2017 |
| Student selection | 10 students per dataset, each with >10 interactions |
| Class balance | Student subset chosen to keep labels as balanced as possible while still yielding at least 200 prediction examples per dataset |
| Prediction task | Standard next-step correctness prediction |
| Primary metric | AUC |
| Secondary metrics | Accuracy, mean student AUC, and student-level variability summaries |
| Quantitative run artifacts | outputs/incremental_student_analysis_fresh_balanced_v2 |
| Qualitative trace run artifacts | outputs/20260409T051944.340417Z-c4f9cac9, outputs/20260409T051944.340404Z-873c5983, and outputs/20260409T051944.340686Z-393f5225; these runs used prompt v9, strict JSON output with probability, reasoning_trace, and final_basis, and the same probability parsing rule |
Table 7.1. Evaluation setting for the balanced Prompt-Only ReasonKT analysis.
The main task remains standard next-step prediction. For each interaction, Prompt-Only ReasonKT outputs a probability that the student will answer the next item correctly. We then compute AUC from those model probabilities and report accuracy as a secondary metric, following standard KT practice for evaluating ranking quality and predictive performance [60, 61].
Because this is an API-based inference study rather than a fixed trained model, reproducibility details still matter for a different reason: the reported numbers should be read together with the prompt design, model choice, and the broader concerns about non-determinism and model drift in API-based LLM evaluation [76, 9]. The balanced quantitative run was written under outputs/incremental_student_analysis_fresh_balanced_v2; its manifest records a run start of 2026-04-09 18:28 UTC and completion status updated at 2026-04-09 20:53 UTC. ASSISTments 2009 used o3 with prompt v2 and medium reasoning effort. ASSISTments 2012 used gpt-4.1-mini with the automatic routing policy that selected prompt v2 for the reported slice, and ASSISTments 2017 used gpt-4.1-mini with prompt v4. For gpt-4.1-mini, temperature was set to 0.2; for o3, the request used the reasoning-effort setting rather than an explicit temperature parameter. Outputs were constrained with a strict JSON schema, probabilities were parsed from the returned JSON and clipped to [0, 1], cached responses were reused, and parse or schema failures were retried up to three times with a larger output-token budget.
Prompted Inference Pipeline In Prompt-Only ReasonKT, each prediction instance consists of a student’s prior history together with the target next question and any available supporting concept information. The model is prompted to reason explicitly about the student’s likely current state of understanding and then to output a next-step prediction as a probability. In the quantitative runs, those probabilities are parsed and scored directly. In the qualitative runs, the visible reasoning trace is analyzed qualitatively. Figure 7.2 shows a representative input prompt, including the student history, the target next interaction, and the required output schema.
You are an experienced teacher modeling a student’s knowledge state from their observed performance
history.
Predict the probability that the student will answer the next question correctly.
Student history:
1. Q: If 2/3 of a whole is removed, what fraction of the whole is left? KC: area Result: incorrect
2. Q: Good, now back to Harry and the book - what is 1/3 of 600? KC: proportion Result: incorrect
3. Q: Good, now back to Harry and the book - what is 1/3 of 600? KC: proportion Result: correct
4. Q: Harry is reading a book that is 597 pages long. He tells a friend that he is about 2/3 of the
way done. About how many more pages must Harry read before he finishes the book? KC: perimeter
Result: correct
Next interaction:
Q: A jacket costs $60 and is on sale for 1/3 off. How much is the discount? KC: proportion
Return:
{
"probability": 0.0,
"reasoning_trace": "...",
"final_basis": "..."
}
The study configuration has four main components: prediction is produced by prompt construction rather than by KT-specific training, the model reasons over student history together with the upcoming item and any available KC information, the final output is parsed as a probability of next-step correctness, and the long-reasoning runs keep the visible trace for later inspection.
Prediction Extraction The benchmark comparison requires the model’s output to be converted into a score comparable with standard KT metrics. In the quantitative runs, the relevant output is the model’s predicted probability of correctness, and AUC is computed directly from those probabilities. This comparison preserves ranking information for the current inference-time system rather than collapsing everything to a hard label. At the same time, probability quality should not be assumed from fluency alone. If Prompt-Only ReasonKT is pursued further, calibration should be studied explicitly rather than treating surface-plausible scores as reliable by default [22].
Study Configuration The main experimental ingredients are as follows:
the quantitative runs use a balanced student slice rather than the full benchmark setup used for mature KT models;
ASSISTments 2009 was run with o3, while the ASSISTments 2012 and ASSISTments 2017 runs used
gpt-4.1-mini;a separate long-reasoning qualitative run was analyzed;
cost and latency are outside the scope of this study.
Table 7.2 summarizes the experimental configuration.
Results
Prompt-Only ReasonKT Results
Main Quantitative Results
Table 7.3 reports the main quantitative summary. Across the three balanced dataset slices, AUC ranges from 0.6139 on ASSISTments 2009 to 0.6401 on ASSISTments 2017. The overall AUC across all predictions is 0.6339. These numbers remain well below strong DKT-family baselines, given that the current study does not train the model for KT, uses a small evaluation slice, and relies entirely on inference-time prompting rather than on objective-specific optimization.
The model nevertheless produces ranking signal above chance. Across all three datasets the AUC stays above 0.61, and the model produces graded probabilities that carry limited but non-random KT signal when it is prompted over student histories. Because ASSISTments 2009 was evaluated with o3, whereas ASSISTments 2012 and ASSISTments 2017 used gpt-4.1-mini, cross-dataset differences should not be interpreted as a clean ranking of dataset difficulty. The safer interpretation is that each dataset slice shows above-chance prompt-only signal under the model and sampling conditions used for that slice.
Student-Level Variation
The student-level view is highly uneven. Table 7.4 shows that some students are much easier for the model to rank correctly than others, and this variation is especially sharp in ASSISTments 2009. This variation suggests that one fixed reasoning policy may be too coarse for KT. Appendix § 12.§ 6.1 gives the full per-student tables behind this summary.
| Dataset | Best student AUC | Worst student AUC | Mean student AUC |
| ASSISTments 2009 | 87132: 0.7222 | 77954: 0.1550 | 0.5809 |
| ASSISTments 2012 | 169382: 0.7481 | 179458: 0.5506 | 0.6263 |
| ASSISTments 2017 | 156: 0.7368 | 1350: 0.4887 | 0.6253 |
Table 7.4. Student-level AUC variability in the balanced Prompt-Only ReasonKT analysis.
Qualitative Reasoning Traces
The quantitative results are weak overall, but the qualitative traces still show KT-relevant reasoning behavior before the final prediction. Figure 7.3–Figure 7.6 present trace excerpts from the two highest-confidence true positives and the two highest-confidence true negatives selected from the long-reasoning runs.
Figure 7.3. Excerpt from the highest-confidence true positive reasoning trace selected from the long-reasoning runs.
Dataset: ASSISTments 2017
Model: gpt-4.1-mini
Student: 1007
Next KC: least-common-multiple
Predicted probability: 0.15
The upcoming KC is ’least-common-multiple’ (LCM), and the next item is the exact same item 837 that the
student has attempted twice before, both times incorrectly. This is the strongest evidence and
suggests low current mastery. There are no prior correct responses on this KC or item, and the
repeated failures point to persistent difficulty rather than slipping. The trace also flags a possible
mismatch between the item text and the KC tag, which is diagnostically useful even if it should not be
overinterpreted.
Final basis: Repeated exact-item failures with no prior correct attempts on the KC strongly indicate
low mastery, leading to a low predicted probability of success (0.15).Figure 7.6. Excerpt from the second-highest-confidence true negative reasoning trace selected from the long-reasoning runs.
Discussion
What the Current Results Show
Prompt-Only ReasonKT is not a competitive KT model in its current form. The AUCs are weak by the standards set by strong latent-state baselines, and they do not support prompt steering as a replacement for trained KT models. The narrower empirical result is that the evidence is limited but consistently above chance. The ranking behavior is therefore directionally aligned with the prediction task rather than random.
Why the Correct Traces Still Matter
The main qualitative finding is that the two true-positive traces in Figure 7.3 and Figure 7.4 distinguish exact-item evidence from same-KC evidence, carry forward prerequisite structure, and sometimes keep explicit uncertainty rather than collapsing to overconfident certainty. The two true-negative traces in Figure 7.5 and Figure 7.6 use repeated exact-item failures and the absence of positive same-KC evidence to keep the predicted probability low while still reserving a small nonzero chance of recovery. These are not proofs of faithful reasoning, but they are the kinds of traces we would want a future trainable ReasonKT system to generate.
Figure 7.4. Excerpt from the second-highest-confidence true positive reasoning trace selected from the long-reasoning runs.
Figure 7.5. Excerpt from the highest-confidence true negative reasoning trace selected from the long-reasoning runs.
A later version of ReasonKT could reward reasoning trajectories that privilege exact-item and same-KC evidence appropriately, preserve calibrated uncertainty when the evidence is sparse, and avoid degenerate 0/1 predictions when tutoring effects still leave room for change. The traces do not change the quantitative conclusion, but they do clarify what a stronger model should be encouraged to learn.
Student-Level Variation
The student-level AUC table points to a familiar issue in KT: the target is always a specific learner with a specific history, even when the model is trained at the population level [54, 95]. For ReasonKT, that issue may matter even more. If the model is supposed to reason explicitly about a student’s knowledge state, then one fixed prompting or fine-tuning policy may be insufficiently flexible. The current results do not settle how personalization should be done, but they are consistent with the motivation for individualized reasoning-based student models.
RQ1. Off-the-shelf reasoning models do show some knowledge-tracing ability in the narrow sense relevant to this chapter. The Prompt-Only study produces non-random ranking signal across datasets and sometimes uses evidence that is relevant to student modeling. This remains a limited empirical result and does not support competitiveness against mature KT baselines.
RQ2. The student-level variation is consistent with the motivation for individualized reasoning models rather than only population-level ones. The spread between the best and worst student-level AUCs suggests that one fixed reasoning policy may be insufficiently flexible, although this interpretation remains confounded by item mix, sample size, prompt sensitivity, and model instability. This chapter therefore motivates personalization as a direction for future work rather than establishing how such personalization should be learned.
Limitations
The evidence comes from a limited balanced-slice study. Prompt-Only ReasonKT was evaluated on balanced student slices rather than the full benchmark setting used for mature KT models, so the results should be interpreted as a small-sample feasibility study rather than as a competitive benchmark result. The approach is also sensitive to prompt construction, API model choice, and output parsing in ways that are not yet fully characterized. In addition, the visible reasoning traces remain available for diagnostic analysis but should be treated as inspectable rather than automatically faithful explanations of the underlying computation.
These limits constrain the chapter’s claims. The present evidence remains limited: it does not establish that prompt-only reasoning systems are a practical replacement for trained latent-state models.
Conclusion
In this chapter, we introduced ReasonKT as a broader reasoning-based formulation of knowledge tracing and evaluated only a prompt-only preliminary instantiation of that idea. The results do not support Prompt-Only ReasonKT as a replacement for trained KT models. The evidence supports a narrower conclusion: off-the-shelf reasoning models can produce some ranking signal in a KT setting, and their traces sometimes rely on evidence that is relevant to student modeling.
The prompt-only results therefore provide limited empirical evidence for reasoning-based KT. They show that off-the-shelf reasoning models can produce weak but non-null ranking signal and traces that expose what a stronger trained version should learn.
Conclusion and Future Directions
Dissertation Summary
This dissertation studied how natural language processing and related AI techniques can improve intelligent tutoring systems across both sides of the adaptive tutoring loop: student modeling and intervention generation. Rather than assuming that language is uniformly helpful wherever educational data contain text, the dissertation tested where these methods actually change the tutoring problem and where they do not. Across the dissertation, we combined positive results, negative results, methodological refinements, and forward-looking synthesis to answer that question.
The main pattern is that different AI and NLP methods help different parts of an ITS for different reasons. In the later KT chapters, language is more effective when it is tied to educational structure rather than added as surface semantics alone. That result is one part of the broader dissertation contribution, which is to map how these techniques improve student modeling, intervention generation, and the system-level link between them.
Main Findings
Across the research chapters, three findings recur. First, language models are useful on the intervention side when they are constrained by the real pedagogical requirements of tutoring rather than treated as generic text generators. In Chapter 3, we showed that structured multi-agent workflows can improve relevance, answerability, and difficulty control, which matters because in an ITS the generated question is itself the intervention.
Second, on the student-modeling side, model structure and representation matter. Chapter 4 clarified DKT’s learned dependency structure as prerequisite-like rather than merely associative. Chapters 5 and 6 then showed that language is not uniformly useful simply because educational items contain text: naive semantic injection into an inherited DKT representation does not reliably help, whereas reorganizing the KC space itself through text embeddings can change the model more substantially.
Third, the final KT chapter identifies explicit reasoning as a future direction rather than a finished replacement for mature KT models. The prompt-only ReasonKT study shows non-random ranking signal and interpretable traces, but its main contribution is to motivate a trainable reasoning-based student model rather than to claim current benchmark competitiveness.
These findings also define a set of design lessons for future ITS work. Generation methods are useful when they are evaluated against pedagogical constraints, not just language fluency. Student models depend on the representational structure they inherit, so language helps most when it changes or clarifies that structure rather than only adding surface semantic features. Reasoning-based models are promising only if their traces, predictions, and training objectives stay tied to observed learner outcomes. These lessons make the future directions below narrower than a general call to use LLMs in education: they point to systems in which language, structure, and tutoring decisions are connected explicitly.
Reasoning-Based Student Modeling as a Future Direction
One future research direction is to train ReasonKT rather than rely on prompting alone. The full intended version of ReasonKT uses a trainable reasoning model that generates intermediate reasoning tokens and a final prediction for the next interaction. Training would optimize the policy using the observed student outcome as reward. In principle, this allows the system to learn reasoning trajectories that are useful for educational prediction even without token-level supervision on what the reasoning should say. The Chapter 7 qualitative results provide limited evidence for that prospect: some traces already contain the kind of structure a future model should be encouraged to produce. Recent work on reasoning models supports this direction, especially in settings where the final answer is verifiable [72, 44, 73, 23, 66]. The main scientific question is whether the verifiable outcome signal in KT is strong enough to shape the latent reasoning policy.
A full ReasonKT system still requires decisions about the backbone model, the RL objective, the rollout strategy, the context-window design for long student histories, and the extent to which reasoning traces should remain visible, hidden, or summarized. Those choices are consequential enough that they should be treated as a separate research program rather than as straightforward extensions that can be deferred.
A second possible direction is teacher-guided ReasonKT. In that setup, a stronger model or human-curated process provides example reasoning trajectories together with next-step predictions, and the trainable model is initialized or filtered using only those demonstrations that lead to correct predictions. This could reduce the burden of learning useful reasoning patterns from reward alone and could improve stability through process supervision or rationale filtering [44, 96]. The prompt-only study does not validate this variant directly, but it indicates the kinds of intermediate reasoning behaviors that might be worth supervising.
Toward More Unified Intelligent Tutoring Systems
The longer-horizon implication of these chapters goes beyond KT alone. An ITS depends on three tightly coupled components: estimating student knowledge, deciding what intervention should come next, and generating the concrete question, hint, or explanation that implements that intervention. The dissertation addressed these components separately for clarity, but a deployed system ultimately has to connect them.
In the earlier KT chapters, we focused on student modeling, while in Chapter 3, we focused on intervention generation. A deployed ITS, however, must connect KT, intervention selection, and intervention generation within one architecture rather than treat them as isolated modules [68]. One candidate architecture is an encoder-decoder transformer. In this view, the encoder consumes the student’s interaction history and acts as the student-modeling component, producing a contextual student-state representation grounded in both question semantics and temporal learning patterns. A policy component then chooses the next KC, skill, or intervention target. The decoder generates the concrete intervention conditioned on that student-state representation and the selected target.
This direction also provides a way to connect the dissertation’s main empirical results rather than treat them as separate lines of work. The earlier chapters established controlled intervention generation, clarified the kind of dependency structure that may matter in student modeling, placed a boundary on what naive semantic injection can explain, showed that language becomes more useful when it changes the educational structure over which the model learns, and suggested that explicit reasoning may be a useful next modeling step even if the current evidence remains preliminary. A more unified ITS architecture therefore serves as one synthesis of the dissertation’s main findings.
Closing Remarks
The central claim of this dissertation is not that language models should replace existing educational models wholesale. It is that NLP and AI techniques can improve different parts of an intelligent tutoring system when they are tied to the real structure of tutoring: what the student knows, what the system should do next, and how that next intervention is expressed. This can involve improving intervention generation, clarifying the relational structure already being learned by a student model, showing that one language-based representation change does not improve KT under benchmark conditions, or identifying a future direction without treating preliminary evidence as already decisive.
Taken together, the dissertation yields a clearer map of how these methods improve an ITS, where they do not, and what kinds of structure they seem to capture when they do. That map sits alongside the dissertation’s chapter-level empirical and methodological contributions. The dissertation therefore clarifies where NLP and AI helped or failed in the evaluated tutoring-system components and what design constraints should guide future systems that connect student modeling, intervention selection, and intervention generation.
Appendices
These appendices provide supplementary results and supporting material.
Chapter 3 Supplementary Material
Prompt Templates
The full implementation and evaluation prompts for Chapter 3 are collected here as supplementary implementation material.
Implementation Prompt Templates
Figures A.1–A.4 provide the agent prompts used for question generation, critique, collaborative revision, and final selection in the Chapter 3 workflows.
You are a middle school mathematics teacher. Your task is to generate a mathematics question
or revise a previously proposed question for the following target knowledge component:
[Target knowledge component].
The question should align with the following difficulty level: [Target difficulty level].
Ensure that the question is appropriate for middle-school students.
Return [Requested response fields] without extra commentary.
[Optional step-by-step solution instruction]
[Optional step-by-step reasoning instruction]
You may refer to the following example questions from the same knowledge component:
[Example questions]
You are participating in a discussion with an assistant who provides feedback on your
question. At each stage of the discussion, you are given the prior conversation history and
are expected to use that feedback to decide whether to revise your previous question or
retain it.Figure A.1. Teacher prompt used in the Teacher-Critic Cycle workflow.
You are an assistant to a middle school mathematics teacher. Your task is to provide
constructive and detailed critical feedback on a mathematics question and its proposed
answer.
When participating in a group discussion, consider the overall conversation context and any
previous feedback before responding.Figure A.2. Generic critic prompt used in the Teacher-Critic Cycle workflow.
You are an experienced middle school mathematics educator participating in a collaborative
discussion with other teacher agents.
Your group is jointly designing mathematics questions and answers, revising questions when
necessary, and providing feedback to one another during the discussion.
When it is your turn, you receive the full conversation history. Your goal is to help the
group reach consensus.
If the conversation does not yet contain a question, generate a new question for [Target
knowledge component] at the [Target difficulty level], using the following examples as
guidance:
[Example questions]
If the conversation already contains candidate questions, review the prior messages and
either endorse the strongest current question or revise it so that it better matches the
examples, the target difficulty, and the target knowledge component.
In all cases, provide feedback explaining your decision. Your response should include a
question, an answer, and feedback to the other agents.Figure A.3. Versatile agent prompt used in the Collective Consensus workflow.
Figure A.4. Consensus CEO prompt used in the Collective Consensus workflow.
Evaluation Prompt Templates
Figures A.5–A.9 provide the evaluation prompts used to score clarity, relevance, importance, difficulty matching, and answerability.
Figure A.5. Clarity evaluation prompt.
Figure A.6. Relevance evaluation prompt.
Figure A.7. Importance evaluation prompt.
Figure A.8. Difficulty-matching evaluation prompt.
Figure A.9. Answerability evaluation prompt.
Chapter 5 Supplementary Material
Detailed Pipeline Comparisons
Tables A.1–A.3 report the per-dataset pipeline breakdowns for Chapter 5. Across datasets, the strongest semantic pipeline changes, but no pipeline reverses the main negative result.
Additional Data-Efficiency Diagnostic
Figure A.10 gives the full ASSISTments 2009 pipeline-by-pipeline reduced-data comparison. ASSISTments 2009 is the only dataset in which all nine pipelines were compared at every sample size. The winning pipeline changes across splits, so the small reduced-data signal does not stabilize around one semantic design choice.
Additional KC-Graph Alignment Diagnostics
Figure A.11 shows the three DKT-derived KC graphs used as the comparison targets in the Chapter 5 post hoc analysis. The target relation structure differs noticeably across ASSISTments 2009, 2012, and 2017.
Tables A.4–A.6 report the extended ranking summaries for the Chapter 5 post hoc analysis. Some embedding models and pipelines are systematically less misaligned than others, but the absolute differences remain small, so better choices improve the margins without changing the weak-alignment conclusion.
Figure A.12 provides the larger pipeline-by-dataset heatmap comparison for text-embedding-3-large. The figure shows cosine-similarity structure induced by different pipeline constructions across datasets. Pipeline choice changes the embedding geometry, but none of the shown variants reorganizes the KC relations into a pattern that closely resembles the DKT-derived graphs across datasets.
| Pipeline | Best architecture | Test AUC | Test Acc. |
| P1 | Pretrained Embedding Initialization + Regularization | 0.8567 | 0.7865 |
| P2 | Semantic Output Layer + Projection Bottleneck | 0.8321 | 0.7702 |
| P3 | Projection Bottleneck | 0.8542 | 0.7845 |
| P4 | Projection Bottleneck | 0.8552 | 0.7870 |
| P5 | Projection Bottleneck | 0.8535 | 0.7847 |
| P6 | Semantic Output Layer + Projection Bottleneck | 0.8349 | 0.7727 |
| P7 | Projection Bottleneck | 0.8536 | 0.7843 |
| P8 | Projection Bottleneck | 0.8535 | 0.7852 |
| P9 | Projection Bottleneck | 0.8542 | 0.7869 |
Table A.1. Detailed pipeline comparison for ASSISTments 2009, with each pipeline represented by its strongest validation-selected configuration. Pipeline 1 achieved the highest semantic test AUC, while Pipeline 4 achieved the highest semantic test accuracy.
| Pipeline | Best architecture | Test AUC | Test Acc. |
| P1 | Semantic Output Layer | 0.7356 | 0.7376 |
| P2 | Semantic Output Layer + Projection Bottleneck | 0.7358 | 0.7377 |
| P3 | Semantic Output Layer + Projection Bottleneck | 0.7358 | 0.7374 |
| P4 | Semantic Output Layer + Projection Bottleneck | 0.7354 | 0.7376 |
| P5 | Semantic Output Layer + Projection Bottleneck | 0.7353 | 0.7374 |
| P6 | Semantic Output Layer + Projection Bottleneck | 0.7358 | 0.7371 |
| P7 | Semantic Output Layer + Projection Bottleneck | 0.7355 | 0.7382 |
| P8 | Semantic Output Layer + Projection Bottleneck | 0.7356 | 0.7372 |
| P9 | Semantic Output Layer + Projection Bottleneck | 0.7350 | 0.7367 |
Table A.2. Detailed pipeline comparison for ASSISTments 2012, with each pipeline represented by its strongest validation-selected configuration. Pipelines 2, 3, and 6 tie for the highest semantic test AUC, while Pipeline 7 achieved the highest semantic test accuracy.
| Pipeline | Best architecture | Test AUC | Test Acc. |
| P1 | Pretrained Embedding Initialization | 0.7205 | 0.6806 |
| P2 | Semantic Output Layer | 0.7171 | 0.6757 |
| P3 | Pretrained Embedding Initialization | 0.7207 | 0.6811 |
| P4 | Projection Bottleneck | 0.7196 | 0.6808 |
| P5 | Projection Bottleneck | 0.7137 | 0.6774 |
| P6 | Adaptive recurrent capacity | 0.7197 | 0.6803 |
| P7 | Adaptive recurrent capacity | 0.7141 | 0.6788 |
| P8 | Projection Bottleneck with Regularization | 0.7009 | 0.6719 |
| P9 | Projection Bottleneck with Regularization | 0.6997 | 0.6711 |
Table A.3. Detailed pipeline comparison for ASSISTments 2017, with each pipeline represented by its strongest validation-selected configuration. Pipeline 3 was the strongest semantic pipeline on both test AUC and test accuracy.
Figure A.10. ASSISTments 2009 data-efficiency comparison across all nine pipelines and the baseline. Each pipeline curve shows the best validation-selected run for that pipeline at each sample size.
Figure A.11. DKT-derived KC graph matrices across the three ASSISTments datasets used in the Chapter 5 post hoc alignment analysis.
| Embedding model | Pearson | Spearman | Top-10% overlap |
| bert_ft_assist2012 | 0.0321 | 0.0260 | 0.1304 |
| text-embedding-3-large | 0.0297 | 0.0260 | 0.1268 |
| bert_ft_assist2009 | 0.0217 | 0.0118 | 0.0999 |
| all-MiniLM-L12-v2 | 0.0205 | 0.0178 | 0.1260 |
| embed-v4.0 | 0.0187 | 0.0185 | 0.1229 |
Table A.4. Family summary for the selected embedding-model subset in the Chapter 5 KC-graph alignment analysis. Families are ordered by mean Pearson correlation across datasets and pipelines.
| Pipeline | Pearson | Spearman | Top-10% overlap |
| 5 | 0.0243 | 0.0233 | 0.1229 |
| 9 | 0.0238 | 0.0223 | 0.1214 |
| 3 | 0.0227 | 0.0191 | 0.1228 |
| 7 | 0.0189 | 0.0165 | 0.1208 |
| 1 | 0.0175 | 0.0142 | 0.1216 |
| 6 | 0.0167 | 0.0237 | 0.1231 |
| 4 | 0.0159 | 0.0243 | 0.1264 |
| 8 | 0.0138 | 0.0163 | 0.1144 |
| 2 | 0.0114 | 0.0104 | 0.1229 |
Table A.5. Global pipeline summary for Chapter 5 KC-graph alignment. Pipelines are ordered by mean Pearson correlation across the selected embedding-model subset.
| Group | Dataset | Embedding model | Pipeline | Pearson | Note |
| Selected-subset best | ASSISTments 2012 | text-embedding-3-large | 4 | 0.0840 | Best selected-subset combination |
| Selected-subset best | ASSISTments 2012 | text-embedding-3-large | 5 | 0.0835 | Second-best selected-subset combination |
| Selected-subset best | ASSISTments 2012 | text-embedding-3-large | 1 | 0.0832 | Third-best selected-subset combination |
| BERT follow-up | ASSISTments 2009 | bert_ft_assist2009 | 5 | 0.0487 | Family rank 1 on ASSISTments 2009 |
| BERT follow-up | ASSISTments 2012 | bert_ft_assist2012 | 6 | 0.0799 | Family rank 12 on ASSISTments 2012 |
Table A.6. Strongest dataset–embedding-model–pipeline combinations from the selected comparison subset together with the strongest fine-tuned BERT alignment results.
Figure A.12. Embedding-relation heatmap comparison across pipelines for text-embedding-3-large.
Chapter 6 Supplementary Material
Additional Benchmark Sweep Figures
Figures A.13–A.26 collect additional benchmark-sweep diagnostics for Chapter 6. They cover statistical significance, robustness across runs, convergence behavior, diminishing returns, cluster granularity, and cross-dataset contrast.
For ASSISTments 2012, the supplementary benchmark figures show that the gain is distributed across a broad region of the evaluated sweep. Figures A.13–A.17 show that the improvement over the original KC baseline is statistically stable across the benchmark sweep, robust across reruns, and sustained as the cluster count increases toward the best-performing region. The larger question bank also absorbs a much finer partition before diminishing returns appear.
For ASSISTments 2009, the supplementary figures show that the clustered family has internal structure and does respond to hyperparameter changes, but the whole family stays below the original-KC baseline. The additional overfitting and cluster-size views show that increasing granularity in this dataset reduces the performance deficit without producing competitive performance.
For ASSISTments 2017, the appendix figures show that the positive result is more localized than on 2012. Figures A.21–A.26 show that the gains are real across the benchmark sweep, but they concentrate in a narrower low-dimensional region and flatten more quickly as the number of clusters increases. This pattern is consistent with a smaller problem bank that still benefits from KC refinement but reaches its granularity limit sooner than 2012.
Additional Structural Analysis Figures
Figures A.27–A.38 collect additional structural diagnostics for Chapter 6. They show how agreement with CCSS interacts with PCA dimensionality, internal cluster geometry, bootstrap stability, cross-model consistency, fragmentation, variance capture, and the relation between internal and external
Figure A.13. Additional ASSISTments 2012 benchmark diagnostics: significance testing across the benchmark sweep (left) and robustness across repeated runs (right).
Figure A.14. Additional ASSISTments 2012 diagnostics: convergence behavior (left) and diminishing returns as cluster count increases (right).
Figure A.15. Additional ASSISTments 2012 diagnostics: overfitting behavior across the sweep (left) and cluster granularity relative to problem-bank size (right).
Figure A.16. Additional ASSISTments 2012 benchmark contrast against ASSISTments 2009 on a shared scale.
Figure A.17. Composite benchmark summary for ASSISTments 2012 across the benchmark sweep.
Figure A.18. Additional ASSISTments 2009 diagnostics: gap versus the original-KC baseline across the sweep (left) and averaged marginal effects of the clustering hyperparameters (right).
Figure A.19. Additional ASSISTments 2009 diagnostics: convergence behavior (left) and the relation between cluster size and overfitting (right).
Figure A.20. Composite benchmark summary for ASSISTments 2009 across the benchmark sweep.
Figure A.21. Additional ASSISTments 2017 diagnostics: improvement over the original-KC baseline across the sweep (left) and averaged marginal effects of the clustering hyperparameters (right).
Figure A.22. Additional ASSISTments 2017 diagnostics: significance testing across the benchmark sweep (left) and robustness across repeated runs (right).
Figure A.23. Additional ASSISTments 2017 diagnostics: overfitting behavior across the sweep (left) and convergence behavior (right).
Figure A.24. Additional ASSISTments 2017 diagnostics: diminishing returns as cluster count increases (left) and cluster granularity relative to the small question bank (right).
Figure A.25. Additional ASSISTments 2017 benchmark contrast against ASSISTments 2012 and ASSISTments 2009 on a shared scale.
Figure A.26. Composite benchmark summary for ASSISTments 2017 across the benchmark sweep.
validity.
For ASSISTments 2012, the structural appendix figures show that the discovered grouping remains substantially aligned with CCSS while still reorganizing the question space. Figures A.27–A.30 show that agreement with CCSS remains substantial across a broad region, that the analyzed partition is reasonably stable across resampling and model choices, and that fragmentation concentrates in the larger manual KCs.
For ASSISTments 2009, the structural appendix figures show why the learned partition is not arbitrary even though it does not help DKT. Figures A.31–A.34 show stable and sometimes high-agreement clustered regions, but they also show that these regions do not translate into a better supervision structure for the downstream model. This preserves the distinction between recovering coherent semantic structure and producing a better KT taxonomy.
For ASSISTments 2017, the supplementary structural figures place the dataset between the 2012 and 2009 results. Figures A.35–A.38 show that low-dimensional embeddings still preserve enough structure for stable regrouping, while the purity-fragmentation and internal-versus-external views show that the refinement region is narrower than on 2012. The 2017 gain comes from a moderate reorganization of the original taxonomy rather than from an aggressive repartitioning of the question bank.
Supplementary Tables
Tables A.7 and A.8 report benchmark and structural summaries for Chapter 6.
Table A.7 summarizes the dataset contrast: the strongest clustered settings on 2012 and 2017 stay above their manual baselines, while the strongest 2009 settings remain below baseline even after tuning. Table A.8 shows a different pattern: the settings that maximize ARI, NMI, V-measure, or Fowlkes–Mallows do not coincide exactly with the settings that maximize DKT performance.
Figure A.27. Additional ASSISTments 2012 structural diagnostics: effect of PCA dimensionality on ARI (left) and internal cluster-validity metrics (right).
Figure A.28. Additional ASSISTments 2012 structural diagnostics: bootstrap stability (left) and cross-model consistency (right).
Figure A.29. Additional ASSISTments 2012 structural diagnostics: purity and fragmentation at the analyzed deep-dive anchor (left) and purity-fragmentation trends across cluster counts (right).
Figure A.30. Additional ASSISTments 2012 structural diagnostics: PCA variance capture (left) and the relation between internal and external validity (right).
Figure A.31. Additional ASSISTments 2009 structural diagnostics: effect of PCA dimensionality on ARI (left) and internal cluster-validity metrics (right).
Figure A.32. Additional ASSISTments 2009 structural diagnostics: bootstrap stability (left) and cross-model consistency (right).
Figure A.33. Additional ASSISTments 2009 structural diagnostics: purity and fragmentation at the analyzed deep-dive anchor (left) and purity-fragmentation trends across cluster counts (right).
Figure A.34. Additional ASSISTments 2009 structural diagnostics: PCA variance capture (left) and the relation between internal and external validity (right).
Figure A.35. Additional ASSISTments 2017 structural diagnostics: effect of PCA dimensionality on ARI (left) and internal cluster-validity metrics (right).
Figure A.36. Additional ASSISTments 2017 structural diagnostics: bootstrap stability (left) and cross-model consistency (right).
Figure A.37. Additional ASSISTments 2017 structural diagnostics: purity and fragmentation at the analyzed deep-dive anchor (left) and purity-fragmentation trends across cluster counts (right).
Figure A.38. Additional ASSISTments 2017 structural diagnostics: PCA variance capture (left) and the relation between internal and external validity (right).
| Dataset | PCA Dim | Clusters | AUC | AUC |
| ASSISTments 2012 | 100 | 300 | 0.7841 | +0.0474 |
| ASSISTments 2012 | 120 | 300 | 0.7838 | +0.0471 |
| ASSISTments 2012 | 80 | 300 | 0.7835 | +0.0468 |
| ASSISTments 2017 | 10 | 100 | 0.7403 | +0.0272 |
| ASSISTments 2017 | 10 | 150 | 0.7400 | +0.0269 |
| ASSISTments 2017 | 40 | 150 | 0.7382 | +0.0251 |
| ASSISTments 2009 | 10 | 150 | 0.7723 | -0.0822 |
| ASSISTments 2009 | 80 | 150 | 0.7717 | -0.0828 |
| ASSISTments 2009 | 100 | 150 | 0.7703 | -0.0842 |
Table A.7. Top clustered benchmark configurations by dataset. These rows summarize the strongest settings from the benchmark sweeps for each dataset.
| Dataset | Best ARI | Best NMI | Best V-measure | Best FM |
| ASSISTments 2012 | 0.495 (S,120,50) | 0.838 (L,160,150) | 0.838 (L,160,150) | 0.509 (L,160,100) |
| ASSISTments 2017 | 0.128 (L,60,20) | 0.671 (L,120,150) | 0.671 (L,120,150) | 0.183 (L,60,20) |
| ASSISTments 2009 | 0.659 (L,160,60) | 0.900 (L,100,60) | 0.900 (L,100,60) | 0.673 (L,80,60) |
Table A.8. Best structural-agreement configurations by metric. L denotes text-embedding-3-large shortened to 1536 dimensions in this structural sweep, and S denotes text-embedding-3-small shortened to 768 dimensions. These maxima do not coincide exactly with the best downstream DKT settings.
Chapter 7 Supplementary Material
Tables A.9, A.10, and A.11 give the full per-student AUC breakdown for the student-level variability analysis in Chapter 7.
Detailed Student-Level Prompt-Only ReasonKT Results
Student-level behavior varies substantially even after the balanced selection procedure removes trivial one-class slices.
References
No references were extracted for this paper.



