Papers
Topics
Authors
Recent
Search
2000 character limit reached

HIN-LLM Enhanced Knowledge Tracing

Updated 26 November 2025
  • The paper introduces HISE-KT, a novel framework combining HIN modeling with LLM-driven meta-path quality assessment for accurate prediction of student performance.
  • HISE-KT constructs a multi-relationship heterogeneous network and employs automated meta-path selection alongside student similarity retrieval to enhance interpretability.
  • Empirical results show up to +9% AUC improvement on public datasets, with clear, evidence-backed explanations that address meta-path noise and improve prediction transparency.

HIN-LLM Synergistic Enhanced Knowledge Tracing (HISE-KT) is a knowledge tracing framework integrating heterogeneous information networks (HINs) with LLMs to achieve accurate and evidence-based prediction of student performance, together with interpretable explanations. HISE-KT departs from earlier models prone to meta-path noise and explanation inconsistency by introducing automated meta-path quality assessment, student-similarity retrieval, and structured prompt engineering, each informed by educational psychology and optimized with LLM capabilities. The method demonstrates substantial predictive and interpretative improvement on public knowledge tracing benchmarks (Duan et al., 19 Nov 2025).

1. Multi-Relationship Heterogeneous Information Network Construction

HISE-KT models educational data as a multi-relationship heterogeneous information network (MRHIN)

G=(V,E,T,R),G = (V, E, \mathcal{T}, \mathcal{R}),

where V=⋃T∈TVTV = \bigcup_{T \in \mathcal{T}} V_T is the set of nodes with the following type set:

  • UU: students,
  • QQ: questions,
  • KK: knowledge concepts,
  • AA: student-ability levels (Low/Medium/High),
  • DD: question-difficulty levels (Low/Medium/High).

The edge-type set R={rQ−U,rQ−K,rQ−D,rU−A}\mathcal{R} = \{r_{Q-U}, r_{Q-K}, r_{Q-D}, r_{U-A}\} encodes relationships: student answered question (rQ−Ur_{Q-U}), question involves concept (rQ−Kr_{Q-K}), question difficulty (V=⋃T∈TVTV = \bigcup_{T \in \mathcal{T}} V_T0), student ability level (V=⋃T∈TVTV = \bigcup_{T \in \mathcal{T}} V_T1). Each relation V=⋃T∈TVTV = \bigcup_{T \in \mathcal{T}} V_T2 is associated with a binary adjacency matrix V=⋃T∈TVTV = \bigcup_{T \in \mathcal{T}} V_T3 such that V=⋃T∈TVTV = \bigcup_{T \in \mathcal{T}} V_T4 iff V=⋃T∈TVTV = \bigcup_{T \in \mathcal{T}} V_T5.

This formalization enables joint encoding of interactions, content, skill level, and student ability, forming the substrate for cross-semantic meta-path reasoning (Duan et al., 19 Nov 2025).

2. Meta-Path Specification and Instantiation

A family of meta-path templates V=⋃T∈TVTV = \bigcup_{T \in \mathcal{T}} V_T6 defines possible cross-type traversals:

  • Basic instances include V=⋃T∈TVTV = \bigcup_{T \in \mathcal{T}} V_T7–V=⋃T∈TVTV = \bigcup_{T \in \mathcal{T}} V_T8–V=⋃T∈TVTV = \bigcup_{T \in \mathcal{T}} V_T9, UU0–UU1–UU2, UU3–UU4–UU5, UU6–UU7–UU8–UU9–QQ0.
  • Composite meta-paths such as QQ1–QQ2–QQ3–QQ4–QQ5–QQ6–QQ7 encode more complex semantic traversals.

Instantiated paths QQ8 conform to both type and edge constraints: QQ9, KK0. Meta-paths encode both direct (single-hop) and higher-order relational semantics (multi-hop, cross-domain), supporting nuanced aggregation beyond classic neighbor-based HIN analytics.

3. LLM-Based Meta-Path Quality Assessment and Selection

HISE-KT employs an LLM to automatically quantify the quality of instantiated meta-paths along four axes:

  • Question Centrality (KK1): Encourages paths tightly centered on the target question KK2 by penalizing average shortest-path distance.
  • Knowledge-Concept Relevance (KK3): Measures overlap between questions on the path and the target concept KK4.
  • Informativeness (KK5): Rewards distinct node instances on the path excluding KK6 and KK7.
  • Node-Type Diversity (KK8): Penalizes homogeneity in ability/difficulty subtypes using a level entropy term.

Each dimension is scored in KK9, and summed to a total AA0:

AA1

For each meta-path template AA2, only the Top-K paths AA3 with maximal AA4 are retained, replacing earlier heuristic, random, or manual selection strategies (Duan et al., 19 Nov 2025).

4. Meta-Path-Aware Student Similarity Retrieval

For a target student AA5 and question AA6, HISE-KT extracts all students AA7 that co-occur in high-quality Top-K meta-paths. Each candidate AA8 is represented by a feature vector:

AA9

where DD0 is IRT ability, DD1 is per-concept accuracy, DD2 is number of shared questions, DD3 is number of shared concepts, DD4 is co-occurrence frequency on DD5, DD6 is a decay constant.

Student similarity is measured by Mahalanobis distance DD7 (parameters estimated from the population), with DD8. Top-S most similar students are selected to yield a context pool DD9, where R={rQ−U,rQ−K,rQ−D,rU−A}\mathcal{R} = \{r_{Q-U}, r_{Q-K}, r_{Q-D}, r_{U-A}\}0 is the full historical trajectory of R={rQ−U,rQ−K,rQ−D,rU−A}\mathcal{R} = \{r_{Q-U}, r_{Q-K}, r_{Q-D}, r_{U-A}\}1 (Duan et al., 19 Nov 2025).

5. Structured Prompt Engineering and Explainable Prediction

HISE-KT leverages a structured prompt which concatenates:

  • Target student summary: student ID, ability R={rQ−U,rQ−K,rQ−D,rU−A}\mathcal{R} = \{r_{Q-U}, r_{Q-K}, r_{Q-D}, r_{U-A}\}2, interaction history R={rQ−U,rQ−K,rQ−D,rU−A}\mathcal{R} = \{r_{Q-U}, r_{Q-K}, r_{Q-D}, r_{U-A}\}3,
  • Target question summary: question ID, concept, difficulty, discrimination, prior student accuracy,
  • Similar-students context: for each Top-S student R={rQ−U,rQ−K,rQ−D,rU−A}\mathcal{R} = \{r_{Q-U}, r_{Q-K}, r_{Q-D}, r_{U-A}\}4, their ability, history on R={rQ−U,rQ−K,rQ−D,rU−A}\mathcal{R} = \{r_{Q-U}, r_{Q-K}, r_{Q-D}, r_{U-A}\}5, and accuracy.

The full prompt ends with an instruction:

Based on the above, predict: 1. Will student R={rQ−U,rQ−K,rQ−D,rU−A}\mathcal{R} = \{r_{Q-U}, r_{Q-K}, r_{Q-D}, r_{U-A}\}6u_idR={rQ−U,rQ−K,rQ−D,rU−A}\mathcal{R} = \{r_{Q-U}, r_{Q-K}, r_{Q-D}, r_{U-A}\}7 answer R={rQ−U,rQ−K,rQ−D,rU−A}\mathcal{R} = \{r_{Q-U}, r_{Q-K}, r_{Q-D}, r_{U-A}\}8q_0R={rQ−U,rQ−K,rQ−D,rU−A}\mathcal{R} = \{r_{Q-U}, r_{Q-K}, r_{Q-D}, r_{U-A}\}9 correctly? (correct/wrong) with probability. 2. Provide a three-sentence analysis citing evidence from rQ−Ur_{Q-U}0 and rQ−Ur_{Q-U}1.

The LLM produces both a point prediction and an explanation referencing evidence paths and similar students, thereby coupling performance and interpretability. The design enforces zero-shot generality and supports automated, evidence-citing explanations.

6. Complete Model Workflow

The HISE-KT pipeline proceeds as follows:

  1. Construct rQ−Ur_{Q-U}2 from dataset and IRT calculations.
  2. For each rQ−Ur_{Q-U}3: a. Enumerate (sample) rQ−Ur_{Q-U}4 path instances, b. For each path, query LLM for scores rQ−Ur_{Q-U}5, rQ−Ur_{Q-U}6, rQ−Ur_{Q-U}7, rQ−Ur_{Q-U}8 to obtain rQ−Ur_{Q-U}9, c. Retain Top-K by rQ−Kr_{Q-K}0.
  3. Aggregate all students rQ−Kr_{Q-K}1 from retained paths.
  4. For each candidate rQ−Kr_{Q-K}2: compute rQ−Kr_{Q-K}3, rQ−Kr_{Q-K}4. Select Top-S rQ−Kr_{Q-K}5 for context.
  5. Compile the prompt with rQ−Kr_{Q-K}6, rQ−Kr_{Q-K}7, rQ−Kr_{Q-K}8 meta-data. Call LLM for prediction and explanation.

This systematic workflow supports joint optimization of both knowledge-tracing accuracy and interpretability, unifying the strengths of HIN modeling and LLM-based reasoning (Duan et al., 19 Nov 2025).

7. Empirical Performance and Interpretability

HISE-KT was evaluated on four public datasets (Assistment09, Slepemapy, Statics2011, Frcsub). Table 1 displays peak AUC results for HISE-KT (Qwen variant) and leading baselines:

Dataset HISE-KT_Qwen AUC Best Previous Baseline (Method, AUC)
Assistment09 0.8703 CoKT 0.8211
Slepemapy 0.9749 STHKT 0.8574
Statics2011 0.8888 TCL4KT 0.8357
Frcsub 0.9482 CoKT 0.9238

Accuracy improvements reach up to +9%. Interpretability, judged via human assessments and path-citation metrics, consistently exceeded all baselines. Explanatory outputs explicitly cited relevant meta-paths and student trajectories. For example, in Assistment09, the output LLM explanation referenced both meta-path evidence and similar peers’ incorrect answers to motivate its prediction (wrong, rQ−Kr_{Q-K}9 for the target item) (Duan et al., 19 Nov 2025).

SINKT (Fu et al., 2024) also deploys a heterogeneous graph and LLM-based message-passing, but focuses primarily on student-inductive generalization and relies on LLMs for semantic initialization and graph expansion, with predictions realized through machine-learned encoders rather than prompt-driven explanation. In contrast, HISE-KT systematically integrates LLMs for both meta-path instance selection and final explanatory prediction, and introduces automated, fine-grained path scoring and student-similarity context aggregation. This suggests a broader applicability in environments where explainable, evidence-grounded predictions are requisite.

A plausible implication is that the HISE-KT paradigm can be extended to other domains where HINs and LLMs can be co-optimized for both prediction and interpretability, especially in educational recommender and adaptive tutoring systems. Current results represent a significant development in LLM-assisted, interpretable, evidence-backed knowledge tracing (Duan et al., 19 Nov 2025, Fu et al., 2024).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to HIN-LLM Synergistic Enhanced Knowledge Tracing (HISE-KT).