Classroom Simulacra: Building Contextual Student Generative Agents in Online Education for Learning Behavioral Simulation

Songlin Xu, Hao-Ning Wen, Hongyi Pan, Dallas Dominguez, Dongyin Hu +1 more
2/4/2025
cs.HCcs.AIcs.LG

No official code found. Best implementation: songlinxu/ClassroomSimulacra (9 stars, CC0-1.0, last commit 2025-04-14). 1 more below.

Abstract

Student simulation supports educators to improve teaching by interacting with virtual students. However, most existing approaches ignore the modulation effects of course materials because of two challenges: the lack of datasets with granularly annotated course materials, and the limitation of existing simulation models in processing extremely long textual data. To solve the challenges, we first run a 6-week education workshop from N = 60 students to collect fine-grained data using a custom built online education system, which logs students' learning behaviors as they interact with lecture materials over time. Second, we propose a transferable iterative reflection (TIR) module that augments both prompting-based and finetuning-based large language models (LLMs) for simulating learning behaviors. Our comprehensive experiments show that TIR enables the LLMs to perform more accurate student simulation than classical deep learning models, even with limited demonstration data. Our TIR approach better captures the granular dynamism of learning performance and inter-student correlations in classrooms, paving the way towards a ''digital twin'' for online education.

View on arXivView PDF

Code Implementations(2)

CC0-1.0

The authors' implementation for CHI 2025: Classroom Simulacra: Building Contextual Student Generative Agents in Online Education for Learning Behavioral Simulation

92PythonFeb 4, 20251 years agoCC0-1.0
51CSS, HTMLFeb 10, 20251 years ago

Similar Papers

Cite this paper

@article{xu2025classroom,
  title  = {Classroom Simulacra: Building Contextual Student Generative Agents in Online Education for Learning Behavioral Simulation},
  author = {Songlin Xu and Hao-Ning Wen and Hongyi Pan and Dallas Dominguez and Dongyin Hu and Xinyu Zhang},
  year   = {2025},
  eprint = {2502.02780},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.02780v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.02780.svg)](https://codeofpaper.com/paper/2502.02780)

Discussion