mlsanityData to 14 Oct 2026

CoderAgent: Simulating Student Behavior for Personalized Programming Learning with Large Language Models

arXiv 2505.20642 ↗First posted 27 May 2025cs.AIcited by 4

Not on the map. Why?

Abstract (arXiv)

Personalized programming tutoring, such as exercise recommendation, can enhance learners' efficiency, motivation, and outcomes, which is increasingly important in modern digital education. However, the lack of sufficient and high-quality programming data, combined with the mismatch between offline evaluation and real-world learning, hinders the practical deployment of such systems. To address this challenge, many approaches attempt to simulate learner practice data, yet they often overlook the fine-grained, iterative nature of programming learning, resulting in a lack of interpretability and granularity. To fill this gap, we propose a LLM-based agent, CoderAgent, to simulate students' programming processes in a fine-grained manner without relying on real data. Specifically, we equip each human learner with an intelligent agent, the core of which lies in capturing the cognitive states of the human programming practice process. Inspired by ACT-R, a cognitive architecture framework, we design the structure of CoderAgent to align with human cognitive architecture by focusing on the mastery of programming knowledge and the application of coding ability. Recognizing the inherent patterns in multi-layered cognitive reasoning, we introduce the Programming Tree of Thought (PTOT), which breaks down the process into four steps: why, how, where, and what. This approach enables a detailed analysis of iterative problem-solving strategies. Finally, experimental evaluations on real-world datasets demonstrate that CoderAgent provides interpretable insights into learning trajectories and achieves accurate simulations, paving the way for personalized programming education.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 18 of its 42 references that are in the map. First posted on arXiv 27 May 2025.

Builds on

18 of 42 references.

References · 18

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  2. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
  3. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
  4. 2022Using Large Language Models to Simulate Multiple Humans and Replicate Human Subject Studiescited by 515
  5. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 479
  6. 2015Deep Knowledge Tracingcited by 332
  7. 2021CodeNet: A Large-Scale AI for Code Dataset for Learning a Diversity of Coding Taskscited by 200
  8. 2023Recommender AI Agent: Integrating Large Language Models for Interactive Recommendationscited by 131
  9. 2019EKT: Exercise-aware Knowledge Tracing for Student Performance Predictioncited by 109
  10. 2024EduAgent: Generative Student Agents in Learningcited by 42
  11. 2024Empowering Personalized Learning through a Conversation-based Tutoring System with Student Modelingcited by 34
  12. 2025Agent4Edu: Generating Learner Response Data by Generative Agents for Intelligent Education Systemscited by 32
6 more
  1. 2023Large Language Model as a Policy Teacher for Training Reinforcement Learning Agentscited by 30
  2. 2024Do LLMs Overcome Shortcut Learning? An Evaluation of Shortcut Challenges in Large Language Modelscited by 25
  3. 2025LLM-powered Multi-agent Framework for Goal-oriented Learning in Intelligent Tutoring Systemcited by 21
  4. 2021Programming Knowledge Tracing: A Comprehensive Dataset and A New Modelcited by 9
  5. 2024E-QGen: Educational Lecture Abstract-based Question Generation Systemcited by 3
  6. 2024Social Learning through Interactions with Other Agents: A Surveycited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025CodeEdu: A Multi-Agent Collaborative Platform for Personalized Coding Education
  2. 2026PersonalPlan: Planning Multi-Agent Systems for Personalized Programming Learning
  3. 2025Embracing Imperfection: Simulating Students with Diverse Cognitive Levels Using LLM-based Agents
  4. 2025Simulating Human-Like Learning Dynamics with LLM-Empowered Agents
  5. 2025Training Turn-by-Turn Verifiers for Dialogue Tutoring Agents: The Curious Case of LLMs as Your Coding Tutors
  6. 2025Simulating Students with Large Language Models: A Review of Architecture, Mechanisms, and Role Modelling in Education with Generative AI
  7. 2026Hypothesis-guided discovery of cognitive algorithms via program refinement
  8. 2026Enhancing LLM Problem Solving via Tutor-Student Multi-Agent Interaction