计算机科学
人工智能
图形
自动推理
知识表示与推理
知识图
基于知识的系统
机器学习
非单调逻辑
时态逻辑
答案集编程
自然语言处理
基于模型的推理
程序设计语言
知识库
定性推理
作者
Shuzhan Wu,Wenjun Zhou,Qiaofeng Zhang,Wentao Xiong Wentao Xiong
标识
DOI:10.1007/s44163-026-01423-9
摘要
Automated programming assessment systems predominantly evaluate final code submissions while ignoring the problem-solving processes that reveal genuine learning, and large language model (LLM)-based feedback systems suffer from hallucinations due to the absence of structured domain knowledge grounding. This paper proposes a Process-AwareEvaluation Framework that is based on a combination of temporal knowledge graph reasoning with KG-augmented LLM verification, which can be used for the overall assessment of programming assignments. The proposed framework includes four modules that are tightly coupled and connected: Process-Aware Temporal Knowledge Graphs(PA-TKG), which models the evolution of code, concept coverage, and problem-solving activities as a timestamped heterogeneous graph structure; Composition-based Graph Convolutional Networks (CompGCN), which learn embeddings of relation-aware representations across different edge types; Contrastive Process Pattern Learning(CPPL)with a dual-encoder architecture that compares static code structure to dynamic development patterns to detect anomalous behavior; and KG-Guided Chain-of-Thought Verification (KG-CoTV), which constrains LLM reasoning against valid learning paths derived from a knowledge graph. The experiments conducted using two publicly available datasets demonstrated that the proposed framework achieved a process evaluation score of 0.912, indicating a 26.1 percent increase compared to the best performing baseline, as well as 62.8 percent higher anomaly detection accuracy and an 83.3 percent decrease in feedback hallucination rates. Ablation studies were also performed to verify the contributions of each module toward the overall framework performance, where it was found that the Process-Aware Temporal Knowledge Graphs (PA-TKG)provided the most significant representational basis. The core non-LLM pipeline (graph construction, embedding, anomaly detection, and constraint checking)takes less than 500 ms to process submissions; when combined with LLM inference for feedback generation, the total end-to-end latency averages 3.26 s on an NVIDIA A100 GPU, making the proposed framework suitable for near-real-time deployment in educational environments.
科研通智能强力驱动
Strongly Powered by AbleSci AI