phtest-frf.github.io - Automatic Pseudo-Harmful Prompt Generation for Evaluating False Refusals in Large Language Models

Description: Automatic Pseudo-Harmful Prompt Generation for Evaluating False Refusals in Large Language Models

llm (1334) phtest (1) false refusal (1)

Example domain paragraphs

Safety-aligned large language models (LLMs) sometimes falsely refuse pseudo-harmful prompts, like "how to kill a mosquito," which are actually harmless. Frequent false refusals not only frustrate users but also provoke a public backlash against the very values alignment seeks to protect. In this paper, we propose the first method to auto-generate diverse, content-controlled, and model-dependent pseudo-harmful prompts. Using this method, we construct an evaluation dataset called PHTest , which is ten times l

PHTest Dataset contains 3k+ pseudo-harmful prompts generated by the red-teaming tool proposed in this paper. All prompts are labeled as either harmless or controversial . Here, we show eight examples of pseudo-harmful prompts and false refusals from LLMs. (Disclaimer: all examples were tested on August 7, 2024)

We develop a method to auto-generate pseudo-harmful prompts for white-box LLMs . It adapts AutoDAN , a controllable text generation technique previously used for jailbreaking LLMs, to handle the false refusal scenario. The pseudo-harmful prompts are generated auto-regressively with two optimization objectives: 1) fluency and content control; 2) eliciting refusals. This method also allows developers to generate diverse or specifically distributed pseudo-harmful prompts for different scenarios. It offers a to

Links to phtest-frf.github.io (3)