Personalized Safety in LLMs: A Benchmark and A Planning-Based Agent Approach

Yu-Chen Wu, Edward Sun, Kai-Jie Zhu, Jian-Xun Lian, J. Hernández-Orallo +2 more
5/1/2025
22 citations
benchmark-dataset

No official code found. Best implementation: yuchenlwu/PersonalizedSafety (18 stars).

Abstract

Large language models (LLMs) typically generate identical or similar responses for all users given the same prompt, posing serious safety risks in high-stakes applications where user vulnerabilities differ widely. Existing safety evaluations primarily rely on context-independent metrics - such as factuality, bias, or toxicity - overlooking the fact that the same response may carry divergent risks depending on the user's background or condition.

Show full abstract

We introduce personalized safety to fill this gap and present PENGUIN - a benchmark comprising 14,000 scenarios across seven sensitive domains with both context-rich and context-free variants. Evaluating six leading LLMs, we demonstrate that personalized user information significantly improves safety scores by 43.2%, confirming the effectiveness of personalization in safety alignment. However, not all context attributes contribute equally to safety enhancement. To address this, we develop RAISE - a training-free, two-stage agent framework that strategically acquires user-specific background. RAISE improves safety scores by up to 31.6% over six vanilla LLMs, while maintaining a low interaction cost of just 2.7 user queries on average. Our findings highlight the importance of selective information gathering in safety-critical domains and offer a practical solution for personalizing LLM responses without model retraining. This work establishes a foundation for safety research that adapts to individual user contexts rather than assuming a universal harm standard.

View on arXivView PDF

Code Implementations(1)

[NeurIPS 2025]: Personalized Safety in LLMs — A Benchmark and a Planning-Based Agent Approach

183

Similar Papers

Cite this paper

@article{wu2025personalized,
  title  = {Personalized Safety in LLMs: A Benchmark and A Planning-Based Agent Approach},
  author = {Yu-Chen Wu and Edward Sun and Kai-Jie Zhu and Jian-Xun Lian and J. Hernández-Orallo and Aylin Caliskan and Jin-Dong Wang},
  year   = {2025},
  eprint = {2505.18882},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2505.18882},
  url    = {https://doi.org/10.48550/arXiv.2505.18882},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.18882.svg)](https://codeofpaper.com/paper/2505.18882)

Discussion