Abstract
Concept recommendation aims to suggest the next concept for learners to study based on their knowledge states and the human knowledge system. While knowledge states can be predicted using knowledge tracing models, previous approaches have not effectively integrated the human knowledge system into the process of designing these educational models. In the era of rapidly evolving Large Language Models (LLMs), many fields have begun using LLMs to generate and encode text, introducing external knowledge. However, integrating LLMs into concept recommendation presents two urgent challenges: 1) How to construct text for concepts that effectively incorporate the human knowledge system? 2) How to adapt non-smooth, anisotropic text encodings effectively for concept recommendation? In this paper, we propose a novel Structure and Knowledge Aware Representation learning framework for concept Recommendation (SKarREC). We leverage factual knowledge from LLMs as well as the precedence and succession relationships between concepts obtained from the knowledge graph to construct textual representations of concepts. Furthermore, we propose a graph-based adapter to adapt anisotropic text embeddings to the concept recommendation task. This adapter is pre-trained through contrastive learning on the knowledge graph to get a smooth and structure-aware concept representation. Our method does a better job than previous adapters in transforming text encodings for application in concept recommendation. Extensive experiments on real-world datasets demonstrate the effectiveness of the proposed approach.
Introduction
In online education, recommending the "next best thing to learn" is a complex task. Most existing systems rely heavily on Knowledge Tracing—predicting a student's proficiency based on past performance. However, these systems often neglect the "concept side": the semantic meaning of subjects and their structural relationships (e.g., the prerequisite link between "addition" and "multiplication").
The integration of Large Language Models (LLMs) offers a potential solution by providing rich semantic context. However, two major hurdles remain: Semantic Ambiguity, where concepts like "Table" vary by domain, and Anisotropy, where raw LLM text embeddings are non-smooth and poorly suited for recommendation tasks without adaptation.
Methodology: The SKarREC Framework
To address these challenges, we developed SKarREC (Structure and Knowledge Aware Representation learning framework for concept Recommendation). The framework utilizes a three-pronged approach to ground LLM knowledge within the structural rigor of Knowledge Graphs (KGs).
1. Structure-Aware Interpretation
Rather than providing a concept name in isolation, SKarREC prompts an LLM (such as GPT-3.5) with a concept’s "neighbors" from a Knowledge Graph—specifically its prerequisites and successors. This context ensures the LLM generates a context-specific, unambiguous explanation, effectively "grounding" general AI knowledge into a specific educational curriculum.
2. Graph-Based Text Adaptation
To resolve the anisotropy of raw text embeddings, we employ a Graph Convolutional Network (GCN) adapter. This adapter is pre-trained using contrastive learning (InfoNCE loss) on the Knowledge Graph. This process "smooths" the embeddings, ensuring that concepts related within the human knowledge system are mathematically proximal in the embedding space.
3. Hybrid Recommendation Engine
The final model integrates four data streams: concept IDs, student answer history, LLM-derived text features, and the student’s current "knowledge state" (tracked via a Gated Recurrent Unit). These features are processed by Transformer blocks to predict the most appropriate next concept.
Experimental Results
We evaluated SKarREC on three datasets: Junyi (featuring a human-curated KG), and ASSIST09/ASSIST12 (where KGs were approximated via student transition paths).
SKarREC consistently outperformed state-of-the-art baselines like SASRec and S3-Rec. On the ASSIST09 dataset, SKarREC achieved a Hit Ratio (HR@1) of 0.7922, significantly surpassing the best baseline (0.7661).
Ablation studies (as seen in the Junyi results above) confirm that both the Knowledge Tracing (KT) component and the pre-training strategy are vital. Removing the LLM-generated explanations or the graph-based adaptation leads to a measurable performance drop, proving that semantic meaning and structural links are equally essential for accurate recommendation.
Conclusion
SKarREC demonstrates that combining the semantic power of LLMs with the structural constraints of Knowledge Graphs significantly improves personalized concept recommendation. While the system currently relies on high-quality KGs, future work will explore dynamic graph construction and reducing the computational overhead of LLM preprocessing to make these advanced models more accessible for real-time educational platforms.
Summary updated