Toxicity in ChatGPT: Analyzing role-playing language models
[Daily Paper] Toxicity in ChatGPT: Analyzing Persona-assigned Language Models
Deshpande et al.'s research shows that assigning roles to ChatGPT via system prompts significantly increases its toxic outputs, with some roles having toxicity rates 6 times higher than the default assistant. The study tested 90 roles, spanning historical figures, fictional characters, and professional roles, measuring toxicity across six dimensions using the Perspective API, generating over 500,000 outputs. Role-playing bypasses safety training, as the model prioritizes role consistency over safety constraints; different roles trigger systematically different types of toxicity, indicating that the model has learned role-related behavioral expectations from pretraining data. The paper argues that such attacks are predictable, but patching individual roles one by one cannot address the underlying mechanism.