Exploring the Design Space of Cognitive Engagement Techniques with AI-Generated Code for Enhanced Learning
Majeed Kazemitabaar, Oliver Huang, Sangho Suh, Austin Z. Henley, Tovi, Grossman

TL;DR
This study explores and refines seven cognitive engagement techniques to improve deep learning in novice programmers interacting with AI-generated code, emphasizing the most effective method of guided, step-by-step problem-solving.
Contribution
The paper introduces a systematic design process for engagement techniques and identifies the most effective method for fostering deeper learning with AI-generated code.
Findings
Guided step-by-step problem-solving is most effective.
Techniques increase learners' ability to apply concepts independently.
Iterative refinement improves engagement and learning outcomes.
Abstract
Novice programmers are increasingly relying on Large Language Models (LLMs) to generate code for learning programming concepts. However, this interaction can lead to superficial engagement, giving learners an illusion of learning and hindering skill development. To address this issue, we conducted a systematic design exploration to develop seven cognitive engagement techniques aimed at promoting deeper engagement with AI-generated code. In this paper, we describe our design process, the initial seven techniques and results from a between-subjects study (N=82). We then iteratively refined the top techniques and further evaluated them through a within-subjects study (N=42). We evaluate the friction each technique introduces, their effectiveness in helping learners apply concepts to isomorphic tasks without AI assistance, and their success in aligning learners' perceived and actual coding…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsOnline Learning and Analytics · Engineering Education and Technology · Cognitive Science and Mapping
