2023

Unveiling the Implicit Toxicity in Large Language Models

Wen, Jiaxin, Ke, Pei, Sun, Hao et al.

Understand

The open-endedness of large language models (LLMs) combined with their impressive capabilities may lead to new safety issues when being exploited for malicious use.

  • While recent studies primarily focus on probing toxic outputs that can be easily detected with existing toxicity classifiers, we show that LLMs can generate diverse implicit toxic outputs that are exceptionally difficult to detect via simply zero-shot prompting.
  • Moreover, we propose a reinforcement learning (RL) based attacking method to further induce the implicit toxicity in LLMs.
  • Specifically, we optimize the language model with a reward that prefers implicit toxic outputs to explicit toxic and non-toxic ones.

Reading the bibliography…