SINKT: A Structure-Aware Inductive Knowledge Tracing Model with Large Language Model

Lingyue Fu, Hao Guan, Kounianhua Du, Jianghao Lin, Wei Xia, Ruiming Tang, Yasheng Wang, Yong Yu

TL;DR

SINKT is the first "inductive" Knowledge Tracing (KT) model, designed to predict student performance even on brand-new questions or concepts. By replacing traditional ID-based embeddings with semantic text embeddings and using GPT-4 to map out the structural relationships between educational concepts, SINKT overcomes the "cold start" problem that plagues current intelligent tutoring systems.

What Problem Does This Paper Address?

In Intelligent Tutoring Systems (ITS), Knowledge Tracing is the engine that predicts whether a student will get the next question right. However, most existing models are transductive and ID-based. This means they treat every question and concept as a unique ID number.

This approach has two major flaws:

  1. The Cold Start Problem: If a teacher adds a new question to the system, an ID-based model has no data for that specific ID and cannot make accurate predictions until thousands of students have already answered it.
  2. Ignoring Meaning: ID-based models don't "know" that "addition" is a prerequisite for "multiplication." They only learn relationships implicitly through student data logs, which are often sparse and noisy.

The authors aim to create an inductive model—one that can generalize its understanding to unseen content by actually "reading" the text of the questions and understanding the logical structure of the curriculum.

Methods

The SINKT (Structure-aware INductive Knowledge Tracing) framework consists of three main stages:

  1. Concept-Question Graph Generation: The authors use GPT-4 to act as a domain expert. They prompt the LLM to identify logical "prerequisite" or "related" relationships between concepts (e.g., "Decimals" should follow "Fractions"). This creates a heterogeneous graph connecting questions to concepts and concepts to each other.
  2. Semantic & Structural Encoding:
    • TIEnc (Textual Information Encoder): Instead of random IDs, SINKT uses Pretrained Language Models (like BERT or Vicuna) to convert the text of questions and concepts into high-dimensional vectors.
  3. SIEnc (Structural Information Encoder): A multi-layer Graph Attention Network (GAT) processes the GPT-generated graph. This allows the representation of a specific question to be "informed" by the concepts it belongs to and the related concepts surrounding it.
  4. Student State Tracking: A Gated Recurrent Unit (GRU) tracks the student's evolving knowledge state as they progress through a sequence of questions, capturing how they learn (or forget) over time.

Datasets

The model was evaluated on four real-world datasets:

  • ASSIST09 & ASSIST12: Standard math datasets from the ASSISTments platform.
  • Junyi: A large-scale dataset from the Junyi Academy (Taiwan).
  • Programming: A private dataset from a commercial code-learning platform. This was particularly important because it contains the full text of questions, allowing the researchers to fully test the "inductive" capabilities of the model.

Key Insights and Ideas

  • Semantics Over Symbols: The "aha moment" here is that the meaning of a question matters more than its database ID. By using LLM-based text embeddings, the model can see a new question about "Python Loops" and immediately relate it to a student's past performance on "Logic Gates" because the semantic vectors are related.
  • LLMs as Knowledge Architects: Rather than asking an LLM to predict the student's answer directly (which is expensive and slow), SINKT uses the LLM offline to build the structure of the knowledge space. This combines the reasoning power of LLMs with the efficiency of traditional deep learning.
  • Jumping Knowledge: The authors found that as information travels through the graph, the original "meaning" of a concept can get diluted. They implemented "jumping knowledge" connections to ensure the model retains the original text-based meaning while still benefiting from the graph structure.

Key Results

  • State-of-the-Art Performance: SINKT outperformed 12 established KT models (including DKT, AKT, and GKT) across all four datasets in standard transductive tasks.
  • Solving the Inductive Task: In a "new question" scenario where 25% of questions were hidden during training, SINKT achieved an AUC of 0.6071, while traditional models like DHKT struggled at 0.5442 (barely better than a random guess).
  • Faster Convergence: SINKT requires significantly fewer training samples to reach high accuracy because it starts with a "common sense" understanding of the subject matter provided by the LLM.

Limitations and Future Work

While SINKT is a major step forward, the authors note a few areas for growth:

  • LLM Dependency: The quality of the initial graph depends on the LLM's domain knowledge. While GPT-4 is excellent at math and coding, it might struggle with highly niche or emerging academic fields.
  • Computational Overhead: Encoding text via BERT/Vicuna and running GATs is more computationally intensive than simple ID lookups, though the authors argue the performance gain justifies the cost.
  • Future Directions: The team plans to explore incorporating even "wealthier" open-world knowledge (like full textbook explanations) into the embeddings to further refine the model's inductive reasoning.

Summary updated

BibTeX
@inproceedings{fu2024sinkt,
  author = {Lingyue Fu and Hao Guan and Kounianhua Du and Jianghao Lin and Wei Xia and Weinan Zhang and Ruiming Tang and Yasheng Wang and Yong Yu},
  title = {{SINKT: A Structure-Aware Inductive Knowledge Tracing Model with Large Language Model}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2024},
  doi = {10.1145/3627673.3679760},
}

Loading related content...

Figure