ELMES: An Automated Framework for Evaluating Large Language Models in Educational Scenarios

Shou'ang Wei, Xinyun Wang, Shuzhen Bi, Jian Chen, Ruijia Li, Bo Jiang, Xin Lin, Min Zhang, Yu Song, BingDong Li, Aimin Zhou, Hao HaoarXiv 2025 · DOI

TL;DR

This paper introduces ELMES, an open-source framework for evaluating Large Language Models (LLMs) in educational settings. ELMES automates the creation of complex, multi-agent educational dialogues and uses an LLM-as-a-Judge approach to objectively assess pedagogical capabilities, addressing the current lack of specialized evaluation metrics for AI in education.

What Problem Does This Paper Address?

The rapid advancement of LLMs has opened up exciting possibilities for education, from personalized tutoring to automated content creation. However, evaluating these models' effectiveness in educational contexts is a significant challenge. Existing benchmarks primarily focus on general intelligence (like factual recall or commonsense reasoning) and fail to capture the nuanced pedagogical skills required for teaching. Furthermore, the diverse and dynamic nature of educational scenarios means that a one-size-fits-all evaluation metric is insufficient. This gap hinders the development and deployment of truly effective AI educational tools.

Methods

ELMES tackles this problem with a modular, extensible, and automated framework. Its core features include:

  • Declarative Configuration: Users define complex, multi-agent dialogues (e.g., teacher-student interactions) using simple YAML files, eliminating the need for extensive programming. This allows for flexible scenario design and dynamic generation of test cases.
  • Agent DAG Construction: The framework builds a Directed Acyclic Graph (DAG) to manage the flow of interactions between different agents (LLMs playing roles like teacher or student), enabling sophisticated conversational logic.
  • LLM-as-a-Judge Evaluation: Subjective pedagogical metrics (like instructional quality or emotional support) are quantified using a powerful LLM judge. This judge analyzes the dialogue based on predefined criteria and a detailed scoring rubric, converting qualitative assessments into structured data.
  • Automated Toolchain: A suite of command-line tools automates the entire evaluation workflow, from dialogue generation and data logging to result aggregation and visualization, ensuring reproducibility and efficiency.

Datasets

The paper does not explicitly mention training datasets for the LLMs themselves, as it focuses on evaluating pre-existing models. However, it introduces a novel benchmark comprising four core educational scenarios:

  • Knowledge Point Explanation: Assessing clarity and accuracy in personalized explanations.
  • Guided Problem-Solving Teaching: Evaluating a model's ability to guide students through problem-solving without direct answers.
  • Interdisciplinary Lesson Plan Generation: Testing the capacity to create integrated lesson plans across multiple disciplines.
  • Contextualized Question Generation: Measuring the skill in embedding knowledge points into realistic scenarios for application assessment.

These scenarios are supported by fine-grained, multi-level metrics developed in collaboration with education specialists.

Key Insights and Ideas

  • Pedagogical Capabilities are Distinct: The evaluation reveals that strong performance in general intelligence tasks doesn't automatically translate to effective teaching. Models exhibit specialized pedagogical profiles, highlighting a trade-off between deep content mastery and effective interactive teaching.
  • Model Scale Isn't Everything: Simply having a larger model doesn't guarantee better pedagogical performance. Smaller, specialized models can outperform larger, general-purpose ones in specific educational tasks.
  • The Need for Nuance: Traditional metrics are insufficient. Evaluating LLMs in education requires assessing aspects like "Role Adherence," "Emotional Support," "Guidance," and "Personalization," which are crucial for effective learning experiences.
  • Configuration-as-Code for Evaluation: ELMES's declarative approach significantly lowers the barrier to entry for researchers wanting to design and run complex educational simulations, democratizing LLM evaluation in this domain.

Key Results

The paper presents a comprehensive evaluation of twelve state-of-the-art LLMs across the four designed scenarios.

  • Knowledge Point Explanation: Gemini-2.5-Pro-Preview-06-05 achieved the highest overall score (AVG: 4.55), excelling in personalization and teaching methods, while models like Qwen-2.5-32B-Instruct showed strong emotional support, and DeepSeek-V3 demonstrated high knowledge mastery.
  • Guided Problem-Solving Teaching: Claude-Opus-4 and Gemini-2.5-Pro tied for the lead (AVG: 4.38), with Claude excelling in emotional support and Gemini in personalization. Grok-4 followed, focusing on cognitive scaffolding.
  • Interdisciplinary Lesson Plan Generation: DeepSeek-R1-0528 led with an AVG of 4.50, demonstrating strong logical integration and cognitive progression.
  • Contextualized Problem Generation: Gemini-2.5-Pro again took the lead (AVG: 4.46), showing a balanced profile across all metrics, particularly in solution quality.

Overall, the results show a clear performance hierarchy, with Gemini-2.5-Pro and Claude-Opus-4 consistently ranking high across multiple tasks, underscoring the importance of specialized pedagogical capabilities.

Limitations and Future Work

The authors acknowledge that despite extensive collaboration with education experts, the evaluation criteria for each scenario may still have gaps. They suggest that future work could expand the scope of evaluation scenarios and continue refining the LLM-as-a-Judge methodology to ensure its robustness. The paper also implicitly points to the need for models to better balance deep content knowledge with effective pedagogical strategies, suggesting that future LLM development should focus more on these specific educational skills.

Summary updated

BibTeX
@misc{wei2025elmes,
  author = {Shou'ang Wei and Xinyun Wang and Shuzhen Bi and Jian Chen and Ruijia Li and Bo Jiang and Xin Lin and Min Zhang and Yu Song and BingDong Li and Aimin Zhou and Hao Hao},
  title = {{ELMES: An Automated Framework for Evaluating Large Language Models in Educational Scenarios}},
  year = {2025},
  eprint = {2507.22947},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.22947},
}
Figure