📄 Research Article
Balancing AI responsibility with privacy, safety, and utility: Unlearning in large language models for mathematics education
Synthesis: Balancing AI responsibility with privacy, safety, and utility: Unlearning in large language models for mathematics education
Key Findings
Study Design & Method
Online mathematics learning platforms increasingly adopt LLMs for scalable, on-demand support, but pre-trained models may reproduce private information from training data or generate harmful language. The study first detects PII and harmful content on the ~3M-point Algebra I tutoring corpus, applies gradient-based unlearning in two orders (harmful→PII and PII→harmful), and then compares the generated outputs of the unlearned models with those of the pre-trained model in terms of PII-containing output rate and harmful rate, including on the external RealToxicityPrompts benchmark for generalization. Finally, the unlearned models are evaluated on two math classification tasks (single-label and multi-label) to confirm that utility survives, alongside learning-rate and unlearning-sample-size sensitivity analyses. The order effect matters theoretically: because the second unlearning stage updates the same parameters again, it can strengthen or partially reverse the first stage's changes, so the optimal sequence may not generalize uniformly across model families.
Implications for AI in Education
For responsible deployment in educational settings, the work shows that post-hoc unlearning is a viable complement to data curation: models already trained on sensitive or unsafe classroom data can be steered toward safer behavior without retraining from scratch. The trade-off between safety and utility is managed rather than eliminated — privacy and harmfulness drop substantially (to 0.1% PII output rates under the harmful→PII order and 0.0% toxic rates on the external benchmark) while math-task performance is maintained. Practitioners should treat unlearning order as a design decision rather than a detail, since the two orders produced different privacy–safety balances. This supports Pedagogical Safety and Privacy-conscious design of LLM-based tutors in K 12 mathematics contexts, where student data are especially sensitive, and connects to the broader AI Governance Education conversation about model-level mitigations alongside data curation and deployment policy.
Limitations
The findings are limited to the Algebra I context in which unlearning was applied and evaluated, so results and procedures may not transfer directly to other subject areas, grade levels, learning platforms, or deployment contexts where PII-like and harmful output risks differ. The PII-containing output rate captures classifier-detected PII-like spans in generated responses and should not be interpreted as direct evidence of memorized training-data leakage — exact or approximate target matching has its own reliability problems, so reductions are best read as decreases in PII-like generation under the study's configuration. Only gradient-based unlearning was examined; other unlearning approaches remain to be benchmarked in education, and future work should add extraction tests, membership-inference evaluations, and target-specific reproduction analyses.
Connected Concepts
Connected Articles
Citation
Li, C., Gülfidan, G., & Zhang-Kopf, Y. (2026). Balancing AI responsibility with privacy, safety, and utility: Unlearning in large language models for mathematics education.