arXiv:2611.03744cs.LGNov 2026

Manuscript Offprint

arXiv:2611.03744

CaRe-KT: Continuity-Aware Retrieval-Augmented Reasoning for Knowledge Tracing

Mehrnoush Mohammadi, Kamal Berahmand, Mohammad Morsali, Shazia Sadiq, Wojtek Tomaszewski, Hassan Khosravi

Mehrnoush Mohammadi, Kamal Berahmand, Mohammad Morsali, Shazia Sadiq, Wojtek Tomaszewski, and Hassan Khosravi

This work has been submitted to the IEEE for possible publication. Copyright may be transferred without notice, after which this version may no longer be accessible.

Abstract—Knowledge tracing (KT) estimates learners' evolving knowledge states from their interaction histories and underpins exercise recommendation and instructional support in adaptive learning systems. Recent retrieval-augmented KT models improve these estimates by explicitly accessing cross-learner behavioral evidence at prediction time. However, most follow a retrieve-then-predict pipeline in which relevance governs evidence acquisition, while the predictive influence of retrieved evidence is determined separately during downstream inference. This decoupling leaves a retrieval-inference alignment gap in KT, as behavioral relevance varies with the learner's evolving state and prediction context, potentially undermining reliable knowledge estimation and well-targeted adaptive learning support. To address this gap, we propose CaRe-KT, a query-adaptive framework that maintains relevance continuity between evidence acquisition and inference without equating retrieval relevance with predictive utility. CaRe-KT introduces an Evidence-Graph Cache (EGC) that combines persistent question-level relational compatibility with interaction-level temporal validity, progressively refining query-relevant questions into temporally valid historical anchors that form a query-specific evidence subgraph. Each anchor retrieves the learning trajectory that preceded it, and these trajectories are encoded with the target learner's history in a shared representation space shaped by outcome-supervised contrastive learning. CaRe-KT then reasons over this evidence through attention that combines the carried acquisition relevance with learned query-evidence compatibility, so that relevance informs the influence of each trajectory without determining it. Across five benchmarks, CaRe-KT outperforms strong KT baselines and remains robust under sparse-history and cold-start conditions, supporting relevance continuity as a design principle for retrieval-augmented KT.

Index Terms—Knowledge Tracing, Retrieval-Augmented Reasoning, Query-Adaptive Retrieval, Relevance Continuity.

I. INTRODUCTION

Knowledge tracing (KT) aims to infer a learner's evolving knowledge state from historical interactions,

Figure

Fig. 1. Retrieval-inference alignment in retrieval-augmented KT. (a) Existing pipelines admit a fixed number of evidence items ① by time-agnostic relevance ② and discard that relevance before inference ③, so stale evidence can dominate. (b) CaRe-KT admits a query-adaptive evidence set ①, refines relevance by temporal validity ②, and carries it into inference ③, where it informs but does not dictate influence. Values are illustrative.

typically through the prediction of future performance. Reliable estimation of this latent state is central to intelligent tutoring and adaptive learning systems, where it informs decisions such as personalized exercise recommendation, learning-path adaptation, and the timely provision of instructional support. Over the past decade, KT has progressed from probabilistic latent-state models to increasingly expressive neural architectures based on recurrent networks [1], memory networks [2], attention mechanisms [3], [4], and graph neural networks [5], [6]. These models have substantially improved predictive performance by learning complex dependencies within a student's interaction sequence [7].

Despite these advances, most conventional KT models remain fundamentally history-centric, estimating a learner's current state primarily from its own observed trajectory under globally shared parameters learned from population-level interaction data. Cross-learner behavioral regularities are therefore implicitly absorbed within these shared parameters, with no explicit mechanism for accessing specific historical experiences that may be informative for the current learner state [8], [9]. This limitation becomes particularly restrictive when a learner's history is sparse, noisy, or unreliable, as is common for new learners with few recorded interactions, low-activity learners with fragmented practice, and newly introduced questions with little response history [10], [11].

Recent collaborative and retrieval-enhanced KT methods have begun to relax this parametric paradigm by externalizing historical interaction records as retrievable evidence and selec-

M. Mohammadi and S. Sadiq are with the School of Electrical Engineering and Computer Science, The University of Queensland, Brisbane, Australia (e-mail: m.mohammadibolbanabad@uq.edu.au; shazia@eecs.uq.edu.au).

K. Berahmand is with the School of Computing Technologies, RMIT University, Melbourne, Australia (e-mail: kamal.berahmand@rmit.edu.au).

M. Morsali is with the School of Telecommunications and Aerospace Engineering, Universitat Politècnica de Catalunya, Spain (e-mail: mohammadmorsali1381@gmail.com).

W. Tomaszewski is with the Australian Research Council Centre of Excellence for Children and Families over the Life Course, The University of Queensland, Brisbane, Australia (e-mail: w.tomaszewski@uq.edu.au.)

H. Khosravi is with the Institute for Teaching and Learning Innovation, The University of Queensland, Brisbane, Australia (e-mail: h.khosravi@uq.edu.au).

Corresponding author: Mehrnoush Mohammadi.

tively accessing relevant cross-learner behavioral information at prediction time [8], [12], [13]. This shift introduces an explicit evidence acquisition layer into knowledge-state inference, making prediction dependent not only on encoding the target learner's trajectory, but also on establishing which external behavioral evidence is relevant to the current prediction context. Existing methods typically realize this process through a retrieve-then-predict pipeline, in which relevant historical interactions are first identified by an explicit relevance criterion and then encoded and aggregated for prediction. However, this decomposition introduces a retrieval-inference alignment gap, where relevance governs which historical interactions are admitted as evidence, while their predictive influence is determined separately during downstream inference without explicitly preserving the relevance relation established during retrieval [14]–[18](Fig. 1(a)). Educationally, this disconnect can undermine both the reliability and accountability of learner-state estimation. When the influence of cross-learner evidence becomes detached from its relevance to the target learner, the system risks mistaking behavioral similarity for evidence of mastery, leading to instructional decisions that reinforce irrelevant learning patterns, overlook real knowledge gaps, or misjudge readiness for progression. Furthermore, such decisions may lack a defensible evidential basis, limiting educators' ability to scrutinize and justify interventions that affect learners' progress.

Closing this gap, however, requires more than carrying retrieval scores into downstream prediction. Once retrieval-derived relevance remains active during reasoning, it becomes part of the context through which retrieved evidence is interpreted. A coarse or static relevance relation may therefore be insufficient, since the usefulness of historical behavior can vary across prediction contexts even when the evidence itself appears related to the query [19], [20]. This is particularly consequential in KT, where behavioral relevance is inherently non stationary. As the learner state evolves, both the informativeness of a given historical interaction and the amount of evidence worth using change from one query to another. Yet the relevance available in current pipelines is usually established over a predefined number of candidates and without explicitly accounting for the temporal validity of individual interactions [8], [11]–[13], so carrying it forward would let outdated or weakly related interactions shape inference for some queries while informative ones remain excluded for others. Behavioral relevance should therefore retain persistent relational information while adapting its interpretation to the evolving prediction context.

Motivated by this principle, we propose CaRe-KT (Fig. 1(b)), a query-adaptive retrieval-augmented KT framework that realizes relevance continuity through a shared relevance structure. CaRe-KT acquires evidence through an Evidence-Graph Cache (EGC), which combines persistent question-level relational compatibility with interaction-level temporal validity to form, for each query, an evidence subgraph of temporally valid historical interactions whose edge weights record acquisition relevance. Each selected interaction anchors a learning trajectory that preceded it, and these trajectories are encoded alongside the target learner's history in

a shared behavioral representation space, shaped by outcome-supervised contrastive learning and query-consistency regularization. CaRe-KT then reasons over the learned representations through relevance-informed attention, where evidence-subgraph relevance is combined with learned query-specific compatibility, allowing retrieval relevance to guide the influence of retrieved evidence without directly determining its predictive contribution. Extensive experiments on five benchmark datasets demonstrate that CaRe-KT consistently outperforms strong KT baselines and remains robust under sparse and cold-start conditions.

The key contributions of this work are as follows.

We identify the retrieval-inference alignment gap in retrieval-augmented KT and introduce relevance continuity as a design principle that preserves the rationale for evidence acquisition throughout reasoning without equating retrieval relevance with predictive utility.

We propose the EGC, a query-adaptive evidence acquisition mechanism that refines persistent question-level relations into temporally valid, query-specific evidence subgraph with adaptive cardinality, enabling trajectory-grounded retrieval under evolving prediction contexts.

We design a relevance-informed reasoning mechanism that couples carried acquisition relevance, as a trained prior, with learned query-evidence compatibility in attention, over a structured representation space shaped by supervised contrastive and query-consistency regularization, so that relevance informs the influence of each retrieved trajectory while compatibility adapts it to the current query.

We evaluate CaRe-KT on five benchmark datasets against thirteen baselines, demonstrating consistent improvements in predictive performance, robustness under sparse-history and question cold-start conditions, and the effectiveness of relevance continuity through ablation studies.

References (55)