Steering AI Tutors Through System Prompts: A Crossover Study on Self-Regulated Learning and Cognitive Engagement Scaffolds in CS1
Open Access
- 10 August 2026
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 104-118
Abstract
Background. Large language models are increasingly deployed as tutors in introductory programming courses, yet evidence that they actually improve learning remains thin, and their tendency to shortcut productive struggle raises concerns about pedagogical harm. Self-regulated learning (SRL) and cognitive engagement (CE) frameworks offer a principled way to address this, but whether embedding them in system prompts actually changes how students learn is an open question. Objectives. We investigated whether AI tutors guided by SRL and CE frameworks affect conceptual understanding, perceived usability, cognitive load, student engagement, and other outcomes when compared to a pedagogically constrained baseline tutor in CS1. Methods. We conducted a preregistered, three-armed crossover study over six weeks of authentic coursework, comparing a baseline AI tutor against two SRL and CE-guided tutors designed to model Zimmerman’s cyclical model, which scaffolds planning, monitoring, and reflection, and Chi’s ICAP framework, which promotes progressively deeper forms of cognitive engagement. We assessed outcomes using post-exercise surveys, conceptual multiple-choice questions, in-platform ratings, and coded responses from the interaction logs, and analyzed the quantitative measures with mixed-effects models. Findings. On the four preregistered confirmatory measures, we found no statistically significant differences between conditions. Non-confirmatory analysis showed that students spent significantly more time on task, wrote longer messages, and produced more constructive contributions when interacting with SRL and CE tutors. Furthermore, the relationship between cognitive load and quiz performance differed significantly by agent type. Implications. Our results suggest that the pedagogical behavior of AI tutors may not be easily steered through system prompts alone: embedding established SRL and CE frameworks did not produce detectable improvements on any preregistered outcome in a large, ecologically valid deployment. Rather than prescribing a single tutoring strategy, future designs may benefit from giving students greater agency over the kind of help they receive, allowing them to choose between scaffolded and more direct support based on their own needs.Keywords
Funding Information
- Research Council of Finland (356114)
- Swiss National Science Foundation (200021-232298)
This publication has 61 references indexed in Scilit:
- Less stress, better scores, same learning: The dissociation of performance and learning in AI-supported programming educationComputers and Education: Artificial Intelligence, 2025
- Can Large Language Models Match Tutoring System Adaptivity? A Benchmarking Study2025
- Self-regulated learning training programs enhance university students’ academic performance, self-regulated learning strategies, and motivation: A meta-analysisContemporary Educational Psychology, 2021
- Writing about personal goals and plans regardless of goal type boosts academic performanceContemporary Educational Psychology, 2020
- A Cyclical Self-Regulatory Account of Student Engagement: Theoretical Foundations and Applications2012
- Components of fostering self-regulated learning among students. A meta-analysis on intervention studies at primary and secondary school levelMetacognition and Learning, 2008
- A simple method for converting an odds ratio to effect size for use in meta-analysisStatistics in Medicine, 2000
- Attaining Self-Regulation2000
- Becoming a self-regulated learner: Which are the key subprocesses?Contemporary Educational Psychology, 1986
- Metacognition and cognitive monitoring: A new area of cognitive–developmental inquiry.American Psychologist, 1979