Simple Role Assignment is Extraordinarily Effective for Safety Alignment
Zhou Ziheng, Jiakun Ding, Zhaowei Zhang, Ruosen Gao, Yingnian Wu, Demetri Terzopoulos, Yipeng Kang, Fangwei Zhong, Junqi Wang
TL;DR
The paper reframes AI safety alignment from fixed principle lists to role conditioning grounded in Theory of Mind, proposing a training-free pipeline with a role-conditioned generator and iterative role-based critics. It formalizes the approach as $P(y|x,v,c)$ induced by a chosen role $r$, with the goal of maximizing $\log P(y^{\star}|x,r)$ through $\hat{r}=\arg\max_r$, and demonstrates that role-derived values $v^r$ and cognition $c^r$ can surpass principle-based methods. Across five model families and multiple benchmarks (SafeEdit, SaladBench, WildJailbreak, among others), the method dramatically reduces unsafe outputs (e.g., on DeepSeek-V3 from 81.4% to 3.6%), showing high robustness and scalability. The work provides a formal, interpretable mechanism for AI alignment and highlights potential for dynamic role rewriting and broad applicability to agentic safety tasks.
Abstract
Principle-based alignment often lacks context sensitivity and completeness. Grounded in Theory of Mind, we propose role conditioning as a compact alternative: social roles (e.g., mother, judge) implicitly encode both values and the cognitive schemas required to apply them. We introduce a training-free pipeline featuring a role-conditioned generator and iterative role-based critics for refinement. Across five model families, our approach consistently outperforms principle-based, Chain-of-Thought (CoT) and other baselines across benchmarks. Notably, it reduces unsafe outputs on the WildJailbreak benchmark from 81.4\% to 3.6\% with DeepSeek-V3. Not only for common safety benchmarks, it consistently applies for agentic safety tasks. These results establish role assignment as a powerful, interpretable paradigm for AI alignment and LLM-as-a-Judge construction.
