XSTest
Progress Over Time
Interactive timeline showing model performance evolution on XSTest
XSTest Leaderboard
| Context | Cost | License | ||||
|---|---|---|---|---|---|---|
| 1 | Google | — | — | — | ||
| 2 | Google | — | — | — | ||
| 3 | Mistral AI | 3B | — | — | ||
| 4 | Google | 8B | — | — |
What is XSTest?
XSTest is a test suite designed to identify exaggerated safety behaviours in large language models. It comprises 450 prompts: 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 should refuse. The benchmark systematically evaluates whether models refuse to respond to clearly safe prompts due to overly cautious safety mechanisms.
XSTest is a text benchmark evaluating models on safety tasks. LLM Stats tracks 4 models on this benchmark, scored on a 0–1 scale. The current average is 1.0, with the leader at 1.0.
Compare leaders on the best AI for safety leaderboards.
Current leaders
Gemini 1.5 Pro from Google currently leads the XSTest leaderboard with a score of 0.988 across 4 evaluated AI models.
Source paper
- Title
- XSTest: A Test Suite for Identifying Exaggerated Safety Behaviours in Large Language Models
- Authors
- Paul Röttger, Hannah Rose Kirk, Bertie Vidgen, Giuseppe Attanasio, and 2 others
- Published
- arXiv
- 2308.01263
Abstract
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.
FAQ
Common questions about the XSTest benchmark and leaderboard.