XSTest: A Test Suite for Identifying Exaggerated Safety Behaviours in Large Language Models

By Paul Röttger, Hannah Rose Kirk, Bertie Vidgen, Giuseppe Attanasio, Federico Bianchi, Dirk Hovy. North American Chapter of the Association for Computational Linguistics, 2023

447 citations recorded by the source corpus.

Without proper safeguards, large language models will readily follow malicious instructions and generate toxic content. This risk motivates safety efforts such as red-teaming and large-scale feedback learning, which aim to make models both helpful and harmless. However, there is a tension between these two objectives, since harmlessness requires models to refuse to comply with unsafe prompts, and thus not be helpful. Recent anecdotal evidence suggests that some models may have struck a poor balance, so that even clearly safe prompts are refused if they use similar language to unsafe prompts or mention sensitive topics. In this paper, we introduce a new test suite called XSTest to identify such eXaggerated Safety behaviours in a systematic way. XSTest comprises 250 safe prompts across ten prompt types that well-calibrated models should not refuse to comply with, and 200 unsafe prompts as contrasts that models, for most applications, should refuse. We describe XSTest’s creation and composition, and then use the test suite to highlight systematic failure modes in state-of-the-art language models as well as more general challenges in building safer language models.

Subfields: Artificial Intelligence, Information Systems, Software

View Paper: https://www.semanticscholar.org/paper/b67eb8213a63be8a4b0274728ffdc50bfa109e10

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Francesco Croce
  2. Ion Stoica
  3. Maksym Andriushchenko
  4. Dan Jurafsky
  5. Joseph E. Gonzalez
  6. Nicolas Flammarion
  7. Bill Yuchen Lin
  8. Tatsunori B. Hashimoto

In Information Systems

  1. Joseph E. Gonzalez
  2. Prateek Mittal
  3. Dan Jurafsky
  4. Tatsunori B. Hashimoto
  5. Ion Stoica
  6. Edgar Dobriban
  7. Peter Henderson
  8. Nouha Dziri

In Software

  1. George Pappas
  2. Ion Stoica
  3. Peter Henderson
  4. Joseph E. Gonzalez
  5. Paulo Tabuada

Citations in the corpus