Research map / Large language models / Agents, code and math
Automated Knowledge Component Generation and Interpretable Knowledge Tracing in Coding Problems
Zhangqi Duan, Nigel Fernandez, Arun Balajiee Lekshmi Narayanan, Mohammad Hassany, Rafaella Sampaio de Alencar, Peter Brusilovsky, Bita Akram, Andrew Lan
University of Massachusetts Amherst · University of Pittsburgh · North Carolina State University
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use LLM-generated KCs instead of human-written KCs | KCGen-KT · CodeWorkout | AUC: 0.797 -> 0.816 | Improved |
| use LLM-generated KCs instead of human-written KCs | KCGen-KT · FalconCode | AUC: 0.752 -> 0.771 | Improved |
| use LLM-generated KCs instead of human-written KCs | KCGen-KT · CodeWorkout | CodeBLEU: 0.557 -> 0.580 | Improved |
| use KCGen-KT with human-written KCs instead of TIKTOC* | Llama-3-8B KT · CodeWorkout | AUC: 0.788 -> 0.797 | Improved |
| use KCGen-KT with generated KCs instead of TIKTOC* | Llama-3-8B KT · FalconCode | AUC: 0.728 -> 0.771 | Improved |
| add correct student solutions to KC generation (ablation) | KC generation · CodeWorkout | AUC: 0.789 -> 0.812 | Improved |
| add in-context examples to KC generation (ablation) | KC generation · CodeWorkout | AUC: 0.782 -> 0.812 | Improved |
| use only two random KCs per in-context example instead of full mapping (ablation) | KC generation · CodeWorkout | AUC: 0.812 -> 0.810 | No clear effect |
| also provide incorrect solutions during KC generation (ablation) | KC generation · CodeWorkout | AUC: 0.812 -> 0.773 | Hurt |
| add KC loss term (ablation) | KCGen-KT · CodeWorkout | AUC: 0.791 -> 0.812 | Improved |
| use actual student submissions instead of LLM-generated submissions for KC generation (ablation) | KC generation · CodeWorkout | AUC: 0.807 -> 0.812 | Improved |
| use code rather than AST input for KC generation (ablation) | KC generation · CodeWorkout | AUC: 0.784 -> 0.812 | Improved |
Open problems in code generation benchmarks
Do code benchmarks and methods hold beyond Python, small test sets and leaked data?
- Tested on Python or a few languages, so other languages are untested. · 25 papers state it
- Benchmarks are small, with a few dozen to a few hundred problems. · 14 papers state it
- Iterative or multi-step methods cost more tokens, latency and compute. · 12 papers state it
Closest papers by meaning
- Open-ended Knowledge Tracing for Computer Science Education (EMNLP 2022 · similarity 0.90)
- Exploring the Potential of Large Language Models in Generating Code-Tracing Questions for Introductory Programming Courses (EMNLP 2023 · similarity 0.88)
- Knowledge Tracing in Programming Education Integrating Students' Questions (ACL 2025 · similarity 0.86)
- Knowledge Tagging with Large Language Model Based Multi-Agent System (AAAI 2025 · similarity 0.85)
- Automated Assessment of Student Self-Explanation in Code Comprehension Using Pre-Trained Language Models (AAAI 2025 · similarity 0.84)
- K12-KGraph: A Curriculum-Aligned Knowledge Graph for Benchmarking and Training Educational LLMs (NeurIPS 2026 · similarity 0.84)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.