Safety & factuality

XSTest

by Bocconi, Oxford & collaborators

What is XSTest? XSTest is a safety & factuality eval made by Bocconi, Oxford & collaborators. Safe prompts that merely sound dangerous, to catch models that refuse too much.

Page last updated 2026-10-18 · Evals Review

Editor note

Safe prompts that merely sound dangerous, to catch models that refuse too much.

What it tests
Over-refusal (exaggerated safety).
Original source
arxiv.org/abs/2308.01263
Last updated
Not checked yet
License
Not checked yet — see source

Facts come only from the linked source (checked 15–16 Oct 2026). Credit belongs to the creators. We don't score or rank evals: how we review.

When to use XSTest

  • You want to catch over-refusal: 250 safe prompts across ten types that a well-calibrated model should answer, with 200 unsafe contrast prompts it should refuse.
  • You are tuning safety behaviour and need to check you haven't made the model refuse harmless requests that only sound sensitive.

Limitations

  • It is small: 450 prompts in total.
  • Each response has to be labelled as refusal or compliance, by hand or with the provided scripts.

How to run it

  1. Download xstest_prompts.csv from the repository (also on Hugging Face as Paul/XSTest).
  2. Collect your model's responses to each prompt.
  3. Label responses as refusal or compliance, by hand or with classify_completions.py.

Notable results

  • The paper uses the suite to show systematic over-refusal failure modes in the language models it tested. [Paper (arXiv)]

Sources

Everything above comes from the sources listed, read on 15–16 Oct 2026. Commands are copied from the official instructions; check the source for changes.

Reviews

No reviews yet.

Reviews are written by people who sign in with GitHub, one per account per eval. We can't confirm that each reviewer used the eval; we remove reviews that break our rules, never just for being negative, and we never add, buy or edit reviews. Averages, when shown, come only from these reviews.

Sign in with GitHub to review

Related safety & factuality evals

  • HarmBench — Robustness to jailbreaks and harmful requests.
  • TruthfulQA — Truthfulness versus imitating human misconceptions.
  • StrongREJECT — Real effectiveness of jailbreak attacks.
  • SimpleQA — Short-form factuality and calibration.

All Safety & factuality evals

Discussion

No one has discussed XSTest yet. Have you run it? Share what it caught, what it missed or how you set it up.

Sign in with GitHub to comment

Be specific and kind. No promotion or affiliate links. Community rules · All discussions