Abstract
Personalized learning requires recommendation systems that understand the structured nature of knowledge and the dynamic progression of learners. Traditional collaborative filtering methods often overlook prerequisite dependencies and temporal shifts in student needs. This paper presents KG-TNeuMF, a hybrid recommendation framework that combines Neural Matrix Factorization (NeuMF) with Knowledge Graphs (KG) and temporal attention. By incorporating pedagogical constraints and time-decayed interaction history, the model achieves higher accuracy and better alignment with learning paths. Evaluations on a real-world K12 dataset show significant gains in recommendation quality and student performance.
Introduction
In the digital education landscape, recommending the right resource at the right time is critical. However, standard recommendation algorithms used in e-commerce—which rely primarily on user-item interaction patterns—face unique challenges in education. First, logical constraints dictate that certain concepts must be mastered before others (e.g., Algebra before Calculus). Second, temporal drift reflects how a student's focus shifts from initial concept acquisition to exam preparation. Finally, the cold start problem persists for new users and resources lacking historical data. To address these, we propose a model that bridges the gap between data-driven learning and pedagogical logic.
Methodology: The KG-TNeuMF Framework
The proposed KG-TNeuMF architecture integrates several advanced components to capture the multi-faceted nature of educational interactions.
Core Architecture
At its heart, the model utilizes Neural Matrix Factorization (NeuMF), which fuses two pathways:
- Generalized Matrix Factorization (GMF): Captures linear relationships between users and resources.
- Multi-Layer Perceptron (MLP): Learns complex, non-linear interaction patterns.
Knowledge Graph Integration
To respect educational logic, the system incorporates an Educational Knowledge Graph. Using the TransR algorithm, knowledge points and their relationships (e.g., "prerequisite of") are embedded into a vector space. This allows the model to perform "dependency pruning," ensuring that advanced materials are not recommended to students who haven't yet mastered foundational concepts.
Temporal Attention and Path Planning
A Temporal Module consisting of a Long Short-Term Memory (LSTM) network and a time decay factor processes interaction sequences. This ensures the model prioritizes recent behaviors while maintaining a long-term view of the student's progress. Furthermore, an Actor-Critic Reinforcement Learning architecture is employed for learning path planning, where the "Actor" proposes sequences and the "Critic" evaluates their pedagogical effectiveness.
Experimental Results
The model was evaluated using a dataset from a major Chinese K12 platform, comprising 100,000 students and 12.8 million interaction records. The Knowledge Graph included 8,500 knowledge points and 23,000 logical relationships.
Performance Metrics
KG-TNeuMF outperformed industry standards such as DeepFM and KGAT across several dimensions:
- Accuracy: Achieved an AUC of 0.812 and NDCG@10 of 0.478, compared to the base NeuMF's AUC of 0.782.
- Pedagogical Alignment: The model reached a Knowledge Coverage Ratio (KCR) of 0.76 and a Learning Path Fit (LPC) of 0.83, indicating that recommendations were both diverse and logically sequenced.
Real-World Impact
In a controlled trial with 120 students, those using the KG-TNeuMF system showed a 15.2% improvement in test scores and a 41.3% reduction in repetitive errors compared to a control group using standard recommendation methods.
Discussion and Conclusion
KG-TNeuMF successfully integrates pedagogical structure with deep learning to provide more effective educational recommendations. By treating learning as a structured journey rather than a series of isolated clicks, the model provides a more coherent experience for students.
However, challenges remain. The system's performance is highly dependent on the quality of the expert-labeled Knowledge Graph, which is resource-intensive to maintain. Additionally, while highly effective for "Science" subjects with rigid hierarchies, further adaptation is needed for "Arts" subjects where learning paths are more subjective. Future work will focus on automating knowledge graph construction and optimizing the computational efficiency of the fusion layers for real-time deployment.
Summary updated