Skip to main navigation Skip to search Skip to main content

KGNN-KT: Enhancing Knowledge Tracing in Programming Education Through LLM-Extracted Knowledge Graphs

  • Di Zhang*
  • , Qiang Niu
  • , Tianshi Wang
  • , Yuntian Hou
  • , Jinheng Wu
  • , Chao Zhang
  • , Angelos Stefanidis
  • *Corresponding author for this work
  • Xi'an Jiaotong-Liverpool University

Research output: Chapter in Book or Report/Conference proceedingConference Proceedingpeer-review

1 Citation (Scopus)

Abstract

This paper introduces KGNN-KT, an innovative neural knowledge tracing framework that enhances programming education through structured knowledge representation. Our approach combines large language models (LLMs) with graph neural networks to model both student learning patterns and conceptual relationships in programming. The system first constructs a comprehensive knowledge graph by extracting programming concepts from problem descriptions and solutions using LLMs, which captures hierarchical dependencies between data structures, algorithms, and programming paradigms. The KGNN-KT model then processes this structured knowledge alongside student interaction histories through a multimodal architecture that integrates: (1) semantic embeddings of problem texts and code, (2) temporal modeling of student performance trajectories, and (3) graph-enhanced concept representations. Experiments across three programming education datasets demonstrate significant improvements, with an overall AUC of 0.84 (3.9% higher than leading baselines) and particularly strong results on complex problems (+5.3% AUC gain). Our work advances personalized programming education by bridging neural knowledge tracing with explicit knowledge structures, offering both accurate performance prediction and actionable curriculum insights. The system’s modular design supports extensions to diverse programming domains and adaptive learning scenarios.

Original languageEnglish
Title of host publicationAdvanced Intelligent Computing Technology and Applications - 21st International Conference, ICIC 2025, Proceedings
EditorsDe-Shuang Huang, Chuanlei Zhang, Qinhu Zhang, Yijie Pan
PublisherSpringer Science and Business Media Deutschland GmbH
Pages137-147
Number of pages11
ISBN (Print)9789819699858
DOIs
Publication statusPublished - 2025
Event21st International Conference on Intelligent Computing, ICIC 2025 - Ningbo, China
Duration: 26 Jul 202529 Jul 2025

Publication series

NameCommunications in Computer and Information Science
Volume2572 CCIS
ISSN (Print)1865-0929
ISSN (Electronic)1865-0937

Conference

Conference21st International Conference on Intelligent Computing, ICIC 2025
Country/TerritoryChina
CityNingbo
Period26/07/2529/07/25

Keywords

  • Graph Neural Networks
  • Interpretable AI
  • Knowledge Tracing
  • Large Language Models
  • Programming Education

Fingerprint

Dive into the research topics of 'KGNN-KT: Enhancing Knowledge Tracing in Programming Education Through LLM-Extracted Knowledge Graphs'. Together they form a unique fingerprint.

Cite this