Role-Play Paradox in Large Language Models: Reasoning Performance Gains and Ethical Dilemmas

Jinman Zhao, Zifan Qian, Linbo Cao, Yining Wang, Yitian Ding +3 more
9/21/2024
cs.CL

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Role-play in large language models (LLMs) enhances their ability to generate contextually relevant and high-quality responses by simulating diverse cognitive perspectives. However, our study identifies significant risks associated with this technique. First, we demonstrate that autotuning, a method used to auto-select models' roles based on the question, can lead to the generation of harmful outputs, even when the model is tasked with adopting neutral roles. Second, we investigate how different roles affect the likelihood of generating biased or harmful content. Through testing on benchmarks containing stereotypical and harmful questions, we find that role-play consistently amplifies the risk of biased outputs. Our results underscore the need for careful consideration of both role simulation and tuning processes when deploying LLMs in sensitive or high-stakes contexts.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhao2024roleplay,
  title  = {Role-Play Paradox in Large Language Models: Reasoning Performance Gains and Ethical Dilemmas},
  author = {Jinman Zhao and Zifan Qian and Linbo Cao and Yining Wang and Yitian Ding and Yulan Hu and Zeyu Zhang and Zeyong Jin},
  year   = {2024},
  eprint = {2409.13979},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.13979v2}
}

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/2409.13979.svg)](https://codeofpaper.com/paper/2409.13979)

Discussion