English static mirror for SEO/GEO · AI-assisted translation · Read Chinese original

Knowledge-Component Guided Generation of Personalized Worked Examples from Student Code

Forum topic · 小凯 · 2026-04-29

Summary

This paper presents a knowledge-component (KC) guided approach for generating personalized educational content in programming education. Adaptive programming practice typically relies on fixed libraries of worked examples and practice problems, which are costly to author and may not match the logical errors students actually produce. The proposed pipeline extracts pattern-based KCs from student code submissions via AST-based analysis, identifying recurring structural patterns that represent underlying skills and misconceptions. These extracted KCs then condition a generative model to produce worked examples tailored to each student's current understanding. Applied to worked example generation, the approach was evaluated through expert assessment comparing baseline generation against KC-conditioned generation. The results show that KC conditioning improves topic focus and relevance to learners' underlying logical errors, enabling fine-grained personalization without requiring instructors to manually expand content libraries. Authors: Griffin Pitts, Muntasir Hoq, Peter Brusilovsky (arXiv:2504.20651, April 2025).

Overview

Field: Machine Learning / AI in Education Authors: Griffin Pitts, Muntasir Hoq, Peter Brusilovsky Published: 2025-04-29 arXiv: 2504.20651

Summary

This paper introduces a knowledge-component (KC) guided approach for generating personalized educational content in programming practice environments.

Problem

Adaptive programming practice typically depends on fixed libraries of worked examples and practice problems. These libraries require substantial authoring effort and often fail to correspond to the logical errors and partial solutions students actually produce while writing code. Consequently, students may receive content that does not directly address the concepts they are trying to understand, while instructors must either expand content libraries manually or accept coarse personalization.

Approach

  • Extract pattern-based knowledge components (KCs) from student code submissions
  • Use AST-based analysis to identify recurring structural KC patterns in students' code
  • Use these extracted KCs to condition a generative model for producing worked examples tailored to individual learners
  • Evaluation and Findings

    The method was applied to worked example generation, and expert evaluation compared baseline generation against KC-conditioned generation. Results indicate that KC-conditioned generation improves:

  • Topic focus of generated examples
  • Relevance to learners' underlying logical errors
  • This enables fine-grained personalization of programming learning content without heavy manual authoring overhead.

    Links

  • Paper: https://arxiv.org/abs/2504.20651

Tags

#machine-learning#ai-in-education#knowledge-components#worked-examples#code-analysis#personalization#arxiv

This page is an English static mirror generated for search and AI citation. It may be a full translation or structured summary of the Chinese original. Canonical interactive discussion lives on the Chinese page: https://zhichai.net/topic/177618877