AIriskEval-edu: New Dataset for Risk Assessment in AI-mediated K-12 Educational Explanations

Javier Irigoyen, Roberto Daza, Francisco Jurado, Julian Fierrez, Ruben Tolosana, Alvaro Ortigosa, Enrique Blas, Aythami MoralesarXiv 2026

TL;DR

This paper introduces AIriskEval-edu-db2, a specialized dataset designed to train and evaluate LLM-based auditors to detect and explain pedagogical risks in K-12 educational content. By evaluating explanations across five distinct risk dimensions, the authors demonstrate that a lightweight, locally deployable 8B model can be fine-tuned to match or even outperform massive proprietary frontier models, offering a privacy-preserving solution for educational auditing.

What Problem Does This Paper Address?

Large Language Models (LLMs) are rapidly finding a home in educational technology, acting as automated tutors or evaluating instructional content. However, deploying raw LLMs in human-facing K-12 environments introduces significant risks: they can hallucinate facts, use developmentally inappropriate language, increase cognitive load with irrelevant information, or introduce subtle ideological biases.

While automated monitoring is essential, existing benchmarks typically focus on general question-answering or binary correctness. They lack a multi-criterion pedagogical perspective and rarely provide explainable risk assessments (i.e., identifying exactly where a risk occurs and why it is problematic). This paper tackles the challenge of building transparent, explainable AI auditors that can safeguard digital learning environments without sacrificing student privacy or incurring massive API costs.

Methods

The authors developed a structured pipeline to define, generate, and evaluate pedagogical risks:

  1. The Pedagogical Risk Rubric: Aligned with educational standards, the rubric spans five dimensions grouped into three core pillars:
  2. Honesty (H1): Factual Accuracy.
  3. Helpfulness (H2): Explanatory Depth & Completeness; Focus & Relevance.
  4. Harmlessness (H3): Student-Level Appropriateness; Ideological Bias.
  5. Profile-Conditioned Generation: Using Gemini 2.5 Pro, the authors simulated six distinct teacher personas (Exemplary, Rambling, Concise, Inaccurate, Overly Advanced, and Sarcastic) to generate diverse instructional explanations based on ScienceQA questions.
  6. Two-Stage Annotation Protocol:
  7. Stage I (Binary Detection): Assigning binary risk labels based on the intended persona profile, validated by experienced human teachers.
  8. Stage II (Explainability): Enriching risk-positive cases with precise text excerpts (risk localization) and natural language justifications (risk description).
  9. Local Model Fine-Tuning: The authors fine-tuned a lightweight Llama 3.1 8B Instruct model using Low-Rank Adaptation (LoRA) under a strict 5-fold cross-validation protocol grouped by question ID to prevent data leakage.
Fig. 1. Overview of the framework used in this work for the construction of AIriskEval-edu-db2 and explainable pedagogical risk evaluation. The diagram illustrates the main stages of the proposed pipeline: i) the definition of a pedagogical risk rubric; ii) the construction and annotation of AIriskEval-edu-db2, where each K–12 question is paired with multiple explanations generated by LLM-simulated teacher profiles and a human teacher, and annotated with binary pedagogical risk labels together with explainability annotations, including risk localization and risk description; and iii) the use of AIriskEval-edu-db2 to benchmark and fine-tune LLM-based pedagogical evaluators.

Datasets

The study introduces AIriskEval-edu-db2, which expands upon the authors' previous dataset, EduEVAL-DB.

  • Composition: The complete dataset contains 1,639 explanations derived from 170 curated ScienceQA questions covering science, language arts, and social sciences.
  • Human vs. AI: It pairs human-written teacher explanations with AI-generated explanations across 11 simulated teacher profiles, yielding 8,195 binary risk annotations.
  • The Extension Subset: A key novelty is the addition of 785 explanations fully annotated with structured explainability data (localization and descriptions) for all flagged risks.

Key Insights and Ideas

  • Small Models Can Beat Frontier Giants: When domain-specific data is available, a fine-tuned 8B parameter model can outperform massive models like GPT-4 or Gemini on nuanced pedagogical tasks. This is a huge win for deploying cost-effective, offline, and privacy-compliant models in schools.
  • Explainability Boosts Performance: Forcing the model to learn where the risk is and why it's a risk during training acts as a powerful regularizer, significantly improving its raw binary risk detection accuracy.
  • The Factual Bottleneck: While the fine-tuned local model excelled at identifying stylistic and pedagogical flaws (like rambling or inappropriate language), frontier models still hold an edge in detecting factual inaccuracies. This suggests that factual auditing relies heavily on the broad world knowledge embedded in larger models.
Fig. 2. Example from AIriskEval-edu-db2 showing a Sarcastic Teacher explanation and its explainable pedagogical risk evaluation, including the detected risk together with its risk localization and risk description.

Key Results

The authors evaluated their fine-tuned models (Llama (Ext) and Llama (EE-DBX)) against baseline models using Mean Absolute Error (MAE) for detection, and Intersection over Union (IoU) and Token-F1 for explainability.

  • Pedagogical Risk Detection: On the extension subset, the fine-tuned Llama model achieved an incredibly low MAE of 0.017 for Focus & Relevance and 0.023 for Depth & Completeness, drastically outperforming both the baseline Llama and proprietary models.
  • Risk Localization: For stylistic risks (Focus & Relevance, Student-Level Appropriateness, Ideological Bias), the fine-tuned Llama models achieved exceptional localization accuracy, with IoU scores exceeding 95%, outperforming GPT's baseline.
  • Risk Description: The fine-tuned models demonstrated the strongest descriptive capabilities, achieving semantic similarity (BERTScore) metrics above 0.90 across all criteria when comparing generated rationales to expert teacher validations.
Detailed explainability metrics comparing baseline and fine-tuned models across the risk dimensions.

Limitations and Future Work

The primary limitation lies in Factual Accuracy detection, where the local 8B model still lags slightly behind frontier models due to its limited parametric knowledge base.

For future work, the authors plan to extend this framework from static, single-turn explanations to dynamic, multi-turn student-teacher dialogs. They also aim to integrate these evaluators into multimodal learning analytics platforms that incorporate cognitive and behavioral cues, as well as exploring vision-language models (VLMs) and AI avatars in educational settings.

Summary updated

BibTeX
@misc{irigoyen2026airiskeval,
  author = {Javier Irigoyen and Roberto Daza and Francisco Jurado and Julian Fierrez and Ruben Tolosana and Alvaro Ortigosa and Enrique Blas and Aythami Morales},
  title = {{AIriskEval-edu: New Dataset for Risk Assessment in AI-mediated K-12 Educational Explanations}},
  year = {2026},
  eprint = {2607.01934},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.01934},
}
Figure