EGS:面向教育类大语言模型的互补安全框架
EGS: A Complementary Safety Framework for Educational LLMs
AI总结:
本文提出教育护栏系统(EGS),一种轻量、与模型无关的互补安全框架,可提升教育类大语言模型的审核性能、拒绝质量和越狱鲁棒性,同时保留教学效用。
摘要:
大语言模型(LLMs)在个性化教育领域具有巨大潜力,但面向青少年部署时会产生有毒、有偏见、误导性或不符合发展阶段的内容风险。本文提出教育安全不应局限于二元拒绝:学生查询常具有模糊性或好奇心驱动的特点,需要情境化引导而非简单拦截。我们引入教育护栏系统(EGS),这是一种轻量、与模型无关的运行时框架,通过查询审核、情境感知的教学引导和响应审核来补充内在对齐。EGS按风险等级对输入进行分类,针对灰色地带查询提供特定类别的教育干预措施,并在输出交付前进行审核。在通用及教育专用基准上的实验表明,EGS可提升各类大语言模型的审核性能、拒绝质量和越狱鲁棒性。这些发现表明,多层防御护栏可在保留教育类大语言模型所需教学效用的同时增强安全性。我们的代码和模型权重将公开提供,以支持社区采用。
英文摘要:
Large Language Models (LLMs) offer strong potential for personalized education, but adolescent-facing deployment raises risks of toxic, biased, misleading, or developmentally inappropriate content. We argue that educational safety should move beyond binary refusal: student queries are often ambiguous or curiosity-driven, requiring contextual guidance rather than simple blocking. We introduce the Educational Guardrail System (EGS), a lightweight, model-agnostic runtime framework that complements intrinsic alignment through query moderation, scenario-aware pedagogical guidance, and response moderation. EGS triages inputs by risk level, redirects gray-zone queries with category-specific educational interventions, and audits outputs before delivery. Experiments across general and education-specific benchmarks show that EGS improves moderation performance, refusal quality, and jailbreak robustness across diverse LLMs. These findings suggest that defense-in-depth guardrails can strengthen safety while preserving the pedagogical utility required in educational LLMs. Our code and model weights will be publicly available to support community adoption.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。