Reproduce “SHAPE: Unifying Safety, Helpfulness and Pedagogy for Educational LLMs” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Sihang, Zhao, Kangrui Yu, Youliang Yuan, Pinjia He, Hongyi Wen

A study defines safe, helpful, and pedagogical behaviors for educational Large Language Models (LLMs) based on a knowledge-mastery graph, while introducing the SHAPE benchmark to evaluate their resilience to "pedagogical jailbreaks." A graph-augmented pipeline is presented, which improved Qwen3-80B's worst-case safety against such attacks from 0% to 92.25% while maintaining helpfulness.

Key insights

  • Current state-of-the-art general-purpose LLMs, even when prompted or fine-tuned for educational roles, are highly vulnerable to "pedagogical jailbreaks," leading to substantial degradation in their safety and instructional intent.
  • There is a prevalent safety-helpfulness trade-off, where smaller LLMs may achieve high safety through indiscriminate refusal (over-refusal) or compromise pedagogical integrity by succumbing to jailbreaks.
  • Integrating a knowledge-mastery graph into the LLM's decision-making process offers a robust architectural defense, enabling contextually appropriate and pedagogically sound responses against adversarial manipulation.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.