AIriskEval-edu Demo: Auditing of Pedagogical Risks in Educational Explanations

Javier Irigoyen, Roberto Daza, Francisco Jurado, Julian Fierrez, Ruben Tolosana, Alvaro Ortigosa, Miguel Lopez-Duran, Aythami MoralesarXiv 2026

TL;DR

AIriskEval-edu Demo is an interactive auditing platform designed to evaluate the pedagogical quality and safety of K–12 instructional explanations. By fine-tuning a local Llama 3.1 8B model using LoRA, the platform delivers explainable risk assessments—complete with confidence scores, text localization, and natural-language rationales—that actually outperform GPT-5.5 on most metrics while keeping data securely on-premise.

What Problem Does This Paper Address?

As Large Language Models (LLMs) are increasingly integrated into digital learning platforms to generate explanations and support tutoring, they bring a well-known risk: the generation of inaccurate, biased, or age-inappropriate content.

While existing benchmarks typically evaluate whether an LLM can generate a correct answer or maintain a coherent chat flow, they rarely assess the pedagogical quality of the explanations themselves. Furthermore, existing tools lack explainability features, such as pinpointing exactly where an explanation goes wrong or providing a clear rationale for why it is problematic. Educational institutions need a way to systematically audit these explanations against strict pedagogical rubrics without leaking sensitive student data to external APIs.

Methods

The authors introduce AIriskEval-edu Demo, a platform that operationalizes a five-dimensional pedagogical risk rubric:

  1. Factual Accuracy (Honesty)
  2. Depth and Completeness (Helpfulness)
  3. Focus and Relevance (Helpfulness)
  4. Student-Level Appropriateness (Harmlessness)
  5. Ideological Bias (Harmlessness)

The system architecture supports two distinct operational modes:

  • AI Mode: Audits pre-stored LLM explanations generated under simulated teacher profiles, allowing side-by-side comparison between a proprietary external model (GPT-5.5) and a local model.
  • Human Mode: Audits user-submitted text in real time using only the local evaluator, ensuring complete data privacy.

The local evaluator is a Llama 3.1 8B Instruct model fine-tuned via Low-Rank Adaptation (LoRA) using five-fold cross-validation grouped by question to eliminate data leakage. For every detected risk, the evaluators output a binary decision, a confidence score, a natural-language rationale, and a localized text highlight (except for the "Depth and Completeness" dimension, which inherently addresses missing information).

Fig. 1: Architecture and workflow of AIriskEval-edu Demo. Users select a K–12 ques- tion and one of two audit modes. AIriskEval-edu provides the stored explanations used in AI mode and the training data for fine-tuning the local Llama 3.1 8B Instruct eval- uator with LoRA. In human mode, a user-written explanation is audited in real time by the local evaluator. In AI mode, a stored LLM-generated explanation is evaluated by both the local evaluator and GPT-5.5, with the latter accessed through an external API. Both evaluators apply the five-dimensional pedagogical risk rubric and return binary decisions with confidence scores and explainability information, including local- ized evidence spans and natural-language rationales.

Datasets

The platform relies on the AIriskEval-edu dataset, which contains 1,639 instructional explanations mapped to 170 curated K–12 science questions sourced from the ScienceQA benchmark.

To simulate realistic pedagogical failures, synthetic explanations were generated via the Gemini 3.1 Pro API using six distinct teacher personas: Exemplary, Rambling, Concise, Inaccurate, Overly Advanced, and Sarcastic. The dataset comprises 8,195 binary labels (including 785 positive risk labels with full explainability annotations), with 30% of the data rigorously reviewed by experienced human teachers.

Key Insights and Ideas

  • Domain-Specific Fine-Tuning Trumps Scale: A lightweight, open-weights model (Llama 3.1 8B) fine-tuned on a highly specific pedagogical rubric can comfortably beat a massive, state-of-the-art proprietary model (GPT-5.5) in domain-specific risk detection.
  • The "World Knowledge" Exception: GPT-5.5 only outperformed the local model on Factual Accuracy. This makes intuitive sense: factual verification relies heavily on broad, generalized world knowledge, where massive proprietary models hold an advantage due to scale. However, for structural and pedagogical nuances (like relevance or tone), targeted fine-tuning is superior.
  • Privacy-First Auditing: By proving that a consumer-grade GPU can host an evaluator that outperforms commercial APIs, the researchers offer a viable path for schools to deploy automated content auditing without violating student privacy regulations.

Key Results

Quantitatively, the fine-tuned Llama 3.1 8B model achieved the lowest Mean Absolute Error (MAE) in four out of the five risk dimensions.

Evaluation metrics comparing the base Llama model, GPT-5.5, and the fine-tuned Llama model.

Beyond classification accuracy, the local model demonstrated exceptional explainability performance, securing an Intersection over Union (IoU) score above 0.95 for risk text localization across all dimensions except Factual Accuracy. Additionally, its natural-language rationales achieved a BERTScore above 0.90, proving that its explanations closely align with human-annotated reasoning.

The interactive interface allows users to visualize these metrics clearly, highlighting problematic text spans and displaying tooltips with the model's rationale when hovered over.

Fig. 2: The demonstrator in AI mode. In this example, a stored explanation generated under the simulated Sarcastic teacher profile for a grade 4 civics question is audited by GPT-5.5 and the fine-tuned local Llama 3.1 8B Instruct evaluator. Their audits are displayed side by side for direct comparison. For each of the five pedagogical risk dimensions, a binary decision is shown (green: no risk detected; red: risk detected) together with a confidence score; localized evidence spans are highlighted in the text, and hovering reveals a natural-language rationale.

Limitations and Future Work

Currently, the platform is limited to auditing single-turn instructional explanations. Real classroom interactions are dynamic and conversational. The authors acknowledge this limitation and plan to extend the rubric to multi-turn student-teacher dialogues.

Future iterations will also explore multimodal auditing (incorporating Vision-Language Models to parse diagrams and textbooks) and integration with adaptive learning environments to combine text analysis with behavioral cues from active learning sessions.

Summary updated

BibTeX
@misc{irigoyen2026airiskeval,
  author = {Javier Irigoyen and Roberto Daza and Francisco Jurado and Julian Fierrez and Ruben Tolosana and Alvaro Ortigosa and Miguel Lopez-Duran and Aythami Morales},
  title = {{AIriskEval-edu Demo: Auditing of Pedagogical Risks in Educational Explanations}},
  year = {2026},
  eprint = {2607.25634},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.25634},
}
Figure