Abstract
Personalized learning systems, the cornerstone of modern Intelligent Education Systems (IES), are currently bottlenecked by a significant "data gap." Real-world student response data is often scarce, privacy-sensitive, and lacks the interpretability needed to understand the underlying cognitive processes of learners. This paper introduces Agent4Edu, a novel simulator that leverages Large Language Model (LLM)-powered generative agents to mimic human learners. Unlike traditional simulators that provide binary outcomes, Agent4Edu simulates the entire cognitive journey—including memory, forgetting, and reasoning—providing high-fidelity, interpretable data to train and evaluate educational algorithms.
1. Introduction
The development of adaptive learning tools, such as exercise recommendation engines and Computerized Adaptive Testing (CAT), requires massive volumes of high-quality student response data. However, researchers face a persistent challenge: existing datasets are often biased or restricted by privacy regulations. Furthermore, traditional simulation models often act as "black boxes," predicting whether a student will succeed or fail (0 or 1) without explaining the "why" behind the result. This lack of process-level data hinders the development of systems that can truly understand and adapt to a student's evolving knowledge state.
Agent4Edu addresses these challenges by treating the learner as an autonomous agent. By simulating the internal reasoning and memory dynamics of a student, the framework provides a transparent and scalable solution for generating synthetic educational data.
2. The Agent4Edu Framework
Agent4Edu is structured around three specialized modules designed to replicate the multi-faceted nature of human learning:
2.1 Learner Profile Module
This module establishes the agent's baseline characteristics. It incorporates statistical features such as practice frequency, diversity of topics, and historical success rates. To ensure psychological grounding, it utilizes Item Response Theory (IRT) to estimate a latent "ability" factor, allowing the agent to exhibit consistent performance levels relative to the difficulty of the material.
2.2 Memory Module
Inspired by cognitive psychology, the memory module manages information across three distinct layers:
- Factual Memory: A raw record of all past exercise attempts.
- Short-term Memory: Recent observations and immediate feedback.
- Long-term Memory: High-level summaries of the learning journey and reinforced concepts.
Crucially, this module incorporates a forgetting function based on the Ebbinghaus forgetting curve. It also employs DNeuralCDM to track the agent's evolving proficiency in specific knowledge concepts over time, ensuring that the simulation reflects the natural decay and reinforcement of knowledge.
2.3 Action Module
The action module utilizes the reasoning capabilities of LLMs to simulate the student's response process. Instead of a simple probability calculation, the agent performs a sequence of cognitive steps:
- Decision: The agent decides whether to attempt a recommended exercise based on its perceived ability.
- Perception: It identifies the core knowledge concepts within a given question.
- Reasoning: Using Chain-of-Thought (CoT) prompting, the agent solves the problem step-by-step before producing a final answer.
3. Experimental Setup
The framework was evaluated using EduData, a dataset provided by iFLYTEK Co., Ltd., focusing on high school mathematics and physics. The dataset includes 18,045 response records from 500 students across 1,032 exercises and 458 knowledge concepts. To test the utility of synthetic data, the authors created EduData+, an augmented dataset where real-world records are supplemented with agent-generated simulations.
4. Key Results and Insights
4.1 High-Fidelity Simulation
Agent4Edu (powered by GPT-3.5-turbo) demonstrated superior performance in predicting student responses compared to established baselines like DAISIM and EERNN. The model achieved an Accuracy (ACC) of 66.70% and an F1-score of 79.84%.
4.2 Knowledge Understanding and Interpretability
When evaluating the agent's ability to grasp educational content, the GPT-4 powered version reached 82.43% accuracy in identifying the underlying concepts of questions. Because the agent generates a reasoning chain, researchers can diagnose why an agent failed—distinguishing between a lack of conceptual knowledge and a simple calculation error.
4.3 Algorithm Boosting
A significant finding of the study is the "closing of the loop": using Agent4Edu to generate additional training data (EduData+) improved the F1-score of CAT algorithms by up to 2.39%. This proves that synthetic data generated by LLM agents can effectively pre-train and enhance models intended for real-world human use.
4.4 Zero-Shot Capability
Unlike traditional models (e.g., SAKT or DKVMN) that require extensive historical data to function, Agent4Edu can simulate "cold-start" scenarios. By initializing a random profile, the agent leverages the LLM's internal "common sense" regarding educational difficulty to simulate a new student's behavior immediately.
5. Limitations and Future Work
While Agent4Edu represents a significant step forward, several challenges remain:
- Reasoning Complexity: Agents still struggle with highly complex mathematical proofs compared to high-performing human students.
- Computational Cost: High-fidelity simulations using models like GPT-4 are significantly more expensive and slower than traditional statistical methods.
- Modality: The current framework is primarily text-based. Future iterations will need to incorporate multi-modal capabilities to handle geometric figures and physics diagrams.
- Social Dynamics: Future research should expand the framework to include multi-agent interactions, simulating classroom dynamics and teacher-student cooperation.
6. Conclusion
Agent4Edu demonstrates that generative agents can bridge the data gap in intelligent education. By prioritizing the process of learning over mere outcomes, the framework provides a scalable, interpretable, and effective tool for developing the next generation of personalized educational technologies.
Summary updated