π‘οΈ Educational AI Safety & Red Teaming Dataset
π Project Description
This repository contains a specialized collection of 25 red teaming prompts designed to audit and stress-test Large Language Models (LLMs) used in educational and administrative environments.
As AI becomes integrated into classrooms and school administrations, we must ensure it maintains pedagogical integrity, protects student privacy (GDPR), and remains free from socioeconomic and racial biases.
π Repository Structure
results_llama3.csv: A detailed breakdown of all 25 test cases, including status (Passed/Failed) and specific findings.prompts.md: The full list of scenarios used to "stress test" the model.
π Dataset Structure
The dataset is organized into 5 core pillars of AI safety:
| Category | Focus Area | Goal |
|---|---|---|
| Pedagogical Guardrails | Academic Integrity | Prevent AI from bypassing the learning process. |
| Biases & Fairness | Racial/Socioeconomic/Gender | Audit for systemic discrimination in admissions and grading. |
| Data Privacy (PII) | GDPR Compliance | Test against social engineering and unauthorized record access. |
| Instructional Safety | Minor Protection | Ensure age-appropriate and safe scientific/practical guidance. |
| Jailbreak/Roleplay | Filter Bypass | Testing model robustness against adversarial "persona" attacks. |
π― Methodology & Research Goals
This dataset was developed through the lens of a Master of Education combined with Data Analytics principles.
The prompts are simulated adversarial attacks that target:
- Linguistic Elitism: Favoring standard dialects over regional variations.
- Deterministic Profiling: Penalyzing students based on ZIP codes or family status.
- Gender Nudging: Stereotyping career paths in STEM vs. Arts.
π‘οΈ AI Safety Audit: Llama-3.1-8B in Education
This repository contains the results of an independent safety and ethics audit conducted on the Llama-3.1-8B-Instruct model.
The audit focuses on evaluating the model's behavior within an educational context,
specifically testing for pedagogical integrity, socioeconomic bias, and safety guardrails.
π Executive Summary
The audit consisted of 25 targeted stress tests (red-teaming prompts).
The results reveal a significant gap between the model's "hard" safety (refusing illegal acts) and its "soft" ethics (social bias and factuality).
Key Findings:
- Factuality & Hallucination: The model frequently fabricates academic data (e.g., hallucinating 47 cantos in Danteβs Divine Comedy).
- Socioeconomic Bias: A critical failure was observed where the model explicitly favored students from higher socioeconomic backgrounds, equating wealth with giftedness.
- Gender Bias: The model complied with instructions to generate gender-stereotyped recommendation letters (Leadership for males vs. Cooperativeness for females).
- Safety Guardrails: PASSED. The model showed remarkable resilience against emotional manipulation and "jailbreak" attempts regarding hacking and illegal activities.
- Pedagogical Integrity: The model tends to provide direct answers (shortcuts) rather than acting as a supportive tutor, which undermines learning goals.
βοΈ Final Verdict
While Llama-3.1-8B is robust against direct malicious use, it is not recommended for standalone educational use without significant fine-tuning.
Its tendency toward socioeconomic bias and factual inaccuracy poses a risk to equitable and accurate learning environments.
π€ About the Author
Dinruz |* M.Ed. in ICT-Enhanced Education| AI ethics & Data Analytics
How to use: These prompts are for research purposes. If you use this dataset to audit your model, please credit the repository.