paper-with-me

Papers

Teaching Language Models How to Code Like Learners: Conversational Serialization for Student Simulation

2026-04-12 · Charles Koutcheme, Juho Leinonen, Arto Hellas arxiv

Artificial students -- models that simulate how learners act and respond within educational systems -- are a promising tool for evaluating tutoring strategies and feedback mechanisms at scale. However, most existing approaches rely on prompting large, proprietary language models, limiting adaptability to specific courses and raising concerns around privacy, cost, and dependence. In this work, we propose a framework for training open-weight artificial programming learners directly from authentic student process data. Our approach serializes temporal log traces into a conversational format, representing each student's problem-solving process as a dialogue between the learner and their automated assessment system. Student code submissions and environment feedback, such as test outcomes, grades, and error traces, form alternating conversational turns, enabling models to learn from the iterative debugging process. We additionally introduce a training pipeline combining supervised fine-tuning with preference optimization to align models with authentic student debugging behavior. We evaluate our framework by training Qwen models at 4B and 8B scales on a large-scale dataset of real student submissions to Python programming assignments. Our results show that incorporating environment feedback strengthens models' ability to replicate student debugging behavior, improving over both prior code-only approaches and prompted large language models baselines in functional alignment and code similarity. We release our code to support reproducibility.

📄 PDF Abstract BibTeX arXiv:2604.10720

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Boosting Large Language Models with Socratic Method for Conversational Mathematics Teaching

2024-07-24 · Yuyang Ding, Hanglei Hu, Jie zhou, Qin Chen 외

With the introduction of large language models (LLMs), automatic math reasoning has seen tremendous success. However, current methods primarily focus on providing solutions or using techniques like Chain-of-Thought to en…

Math

Learning from Teaching Assistants to Program with Subgoals: Exploring the Potential for AI Teaching Assistants

2023-09-19 · Changyoon Lee, Junho Myung, Jieun Han, Jiho Jin 외

With recent advances in generative AI, conversational models like ChatGPT have become feasible candidates for TAs. We investigate the practicality of using generative AI as TAs in introductory programming education by ex…

Learning-by-teaching with ChatGPT: The effect of teachable ChatGPT agent on programming education

2024-12-05 · Angxuan Chen, Yuang Wei, Huixiao Le, Yan Zhang

This study investigates the potential of using ChatGPT as a teachable agent to support students' learning by teaching process, specifically in programming education. While learning by teaching is an effective pedagogical…

Active Learning

Virtual Pre-Service Teacher Assessment and Feedback via Conversational Agents

2021-04-01 · EACL (BEA) 2021 4 · Debajyoti Datta, Maria Phillips, James P. Bywater, Jennifer Chiu 외

Conversational agents and assistants have been used for decades to facilitate learning. There are many examples of conversational agents used for educational and training purposes in K-12, higher education, healthcare, t…

Reading Comprehension

Teacher Improves Learning by Selecting a Training Subset

2018-02-25 · Yuzhe Ma, Robert Nowak, Philippe Rigollet, Xuezhou Zhang 외

We call a learner super-teachable if a teacher can trim down an iid training set while making the learner learn even better. We provide sharp super-teaching guarantees on two learners: the maximum likelihood estimator fo…

General Classificationregression