EZYer: A simulacrum of high school with generative agent

Jinming Yang, Zimu Ji, Weiqi Luo, Guoying Wang, Bin Ma, Yueling Deng · DOI

Abstract

With the rapid development of online education and large language models (LLMs), existing educational tools still suffer from incomplete service, insufficient performance, and weak interactivity regarding courseware generation, interactive notes, and content quality assurance. This paper proposes EZYer, a generative agent system designed to simulate a high school mathematics classroom. EZYer consists of three primary components: 1) a Teacher Module that integrates text corpus retrieval to generate structured LaTeX Beamer courseware; 2) a Student Module that orchestrates a collaborative interaction between four distinct roles (Teacher, Assistant, Top Student, and Struggling Student) to produce academic notes; and 3) a Controller that ensures academic rigor through multi-tier validation. Evaluation across five dimensions—accuracy, coverage, usability, formatting, and visual appeal—demonstrates that EZYer produces high-quality content with significant application prospects.

Introduction

Despite the proliferation of EdTech, most current tools remain static, offering "one-size-fits-all" content that fails to capture the dynamic nature of a real classroom. Teachers often face the burden of manually formatting complex LaTeX slides, while students lack materials that address varying levels of understanding or common misconceptions.

EZYer addresses these gaps by creating a "simulacrum" of a high school environment. By leveraging multi-agent orchestration, the system automates the creation of professional-grade mathematical typesetting and interactive study materials that explore topics from multiple perspectives.

Overview of the EZYer classroom simulation environment and its multi-agent roles.

Methodology and System Architecture

EZYer is built on three core pillars, primarily powered by the DeepSeek-V3 model, to bridge the gap between raw information and pedagogical value.

1. Teacher Module

This module utilizes Retrieval-Augmented Generation (RAG) to transform user inputs—such as text or PDFs—into structured teaching materials. It specifically targets the generation of LaTeX Beamer code, allowing for professional mathematical typesetting that adheres to high school syllabi. Users can also insert custom images to personalize the slides.

2. Student Module (The Simulacrum)

The heart of EZYer is its recursive multi-agent interaction. The system simulates a classroom dialogue where five agents interact in a specific sequence ($Teacher \rightarrow Assistant \rightarrow Top Student \rightarrow Struggling Student \rightarrow Note Taker$). This cumulative context allows the system to capture nuances, such as common errors identified by the "Struggling Student" or deep inquiries from the "Top Student," which are then synthesized into a polished PDF by the Note Taker.

3. Controller

To ensure academic strictness, a four-tier quality assurance system is implemented. This includes keyword filtering via RegEx, a content scoring system, role co-validation to ensure agents maintain their pedagogical personas, and a dynamic correction system to fix LaTeX compilation errors or factual inaccuracies.

Detailed system architecture showing the interaction between the Teacher Module, Student Module, and Controller.

Key Insights: The Value of Misconception

A unique feature of EZYer is the inclusion of the "Struggling Student" agent. By intentionally generating "typical wrong questions" and highlighting common pitfalls, the system utilizes reverse thinking to reinforce correct knowledge. This pedagogical technique is highly effective in mathematics but is rarely automated in standard LLM tools.

Evaluation and Results

The authors established a benchmark of 100 Beamer files and 100 Notes documents, evaluated by five state-of-the-art LLMs (including ChatGPT-o1 and Claude 3.5 Sonnet) across five dimensions:

  • Content Accuracy & Coverage: The system achieved high scores, averaging 4.74/5 for accuracy and 4.70/5 for knowledge coverage.
  • Technical Stability: Formatting correctness for LaTeX Beamer files averaged 4.35/5, proving the Controller's effectiveness in managing complex syntax.
  • Model Performance: Advanced models like ChatGPT-o1 and Claude 3.5 Sonnet were found to be the most effective at maintaining logical coherence and pedagogical suitability during the simulation.

Conclusion and Future Work

EZYer demonstrates the potential of multi-agent systems to revolutionize courseware generation. While currently optimized for high school mathematics, future work will focus on expanding the system to other subjects and regional syllabi. Additionally, the authors aim to reduce API latency and incorporate manual evaluations from real-world educators to further validate the system's practical classroom utility.

Summary updated

Abstract

With the rapid development of the online education and large language model, the existing educational tools still suffer from incomplete service, insufficient performance and weak interactivity in terms of courseware generation, interactive notes and quality assurance of content. In particular, the proposed generative agent EZYer : 1) Teacher Module: Integrating the Text Corpus retrieval and in-depth generation technologies, it automatically generates structured teaching materials and LaTeX Beamer courseware in line with the high school mathematics syllabus and supports user-defined image insertion. 2) Student Module: Throughout the collaborative interaction of the four roles of Teacher, Assistant, Top Student and Struggling Student, Note Taker summarizes and generates academic notes to enhance the depth and interest of learning. 3) Controller: set up keyword filtering system, content scoring system, role co-validation system, and dynamic content correction system. This ensure academic strictness and pedagogical propriety of EZYer inputs and outputs. In order to evaluate EZYer, this paper designs five-dimensional evaluation indexes of content accuracy, knowledge coverage, usability, formatting correctness and visual design and appeal, and scores 100 Beamer and Notes generated by EZYer by five large language models, separately, and the results show that the quality of EZYer-generated content is excellent and has a good application prospect.
BibTeX
@misc{yang2025ezyer,
  author = {Jinming Yang and Zimu Ji and Weiqi Luo and Guoying Wang and Bin Ma and Yueling Deng},
  title = {{EZYer: A simulacrum of high school with generative agent}},
  year = {2025},
  eprint = {2512.02561},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.02561},
}
Figure