RedBench: A General-Purpose Dataset for Comprehensive Red-Teaming of Large Language ModelsRedBench: A Universal Dataset for Comprehensive Red Teaming of Large Language Models
RedBench aggregates 37 collections totaling 29,362 entries; on HarmBench, Ministral RainbowPlus ASR is 97.81%
- Existing red-teaming datasets have inconsistent risk classifications and incomplete domain coverage, and there are few unified comparisons of newer models such as Qwen2.5, Llama 3.1, and Gemma 2.
- RedBench aggregates 37 datasets and 29,362 items, dual-labeled with 22 risk categories and 19 domains; annotated in batches by Qwen2.5-72B-Instruct, then manually spot-checked.
- On HarmBench, Ministral's RainbowPlus ASR is 97.81%, and GPT-4.1-Nano's HumanJailbreak is 0.00%. The highest average RR is Llama-3.1-8B at 28.53%, and the lowest is Gemma-2-9B at 13.46%.
- In Appendix A, the authors note existing data biases, potentially inconsistent boundary annotations, evaluation of only six models, and attack main results concentrated on HarmBench. The experiment does not report the attacker LLM name or number of repetitions.
- Evaluated models
- Llama-3.1-8B-InstructGemma-2-9B-ItQwen2.5-7B-InstructMinistral-8B-Instruct-2410GPT-4o-MiniGPT-4.1-Nano
- Benchmarks
- RedBenchHarmBenchCoCoNotORBenchSGXSTestXSTest
- Metrics
- Rejection Rate (RR)Attack Success Rate (ASR)
The research team releases RedBench, a general-purpose dataset aggregating 37 red-teaming benchmark datasets with a total of 29,362 attack and refusal prompts. The dataset uses a unified taxonomy covering 22 risk categories and 19 domains, enabling consistent and comprehensive evaluation of LLM vulnerabilities. The paper analyzes existing datasets and establishes baselines for modern LLMs, while open-sourcing the dataset and evaluation code (https://github.com/knoveleng/redeval)。
Paper analysis
What problem does this paper attempt to solve?
Existing red teaming data has inconsistent classification and uneven coverage; RedBench aggregates 37 datasets using 22 risk categories and 19 domains.
Existing red teaming datasets lack consistent risk classification and cross-domain coverage, making it difficult to systematically compare modern LLMs' performance on adversarial prompts and over-refusal.
- Scenario of occurrence: The authors consider that LLMs have entered safety-critical applications such as healthcare and law, where adversarial prompts may elicit unsafe, biased, or incorrect answers, making robustness a deployment issue.
- Existing shortcomings: The authors state that datasets such as AdvBench, HarmBench, and Do-Not-Answer have inconsistent risk definitions, and differ in scope and format; some lean toward toxicity or bias, others toward jailbreaks, so the evaluation framework is fragmented.
- Model gap: The authors state that prior work such as RainbowPlus, AutoDAN, Tree-of-Attacks, and GPTFuzzer mainly evaluates older architectures, lacking comparison with Qwen2.5, Llama 3.1, and Gemma 2.
- This paper's approach: Proposes RedBench, aggregating 37 datasets and 29,362 samples, each labeled with one risk category and one domain, and establishing baselines for modern LLMs on a subset. The authors state that the dataset and evaluation code have been made public.
- Two directions: 33 datasets test attacks, to see whether prompts elicit unsafe, biased, or incorrect answers; 4 test refusal, namely whether CoCoNot, ORBench, SGXTest, XSTest refuse benign prompts that could be answered. The risk category of refusal samples is labeled No Risk.
What related research exists?
Related work is divided into automated red teaming and red teaming datasets; the authors state that the latter lacks unified risk classification, and attacks and refusals have not been placed in the same framework.
Automated red teaming
- Perez et al. (2022a) use LLMs to autonomously generate test cases to discover harmful outputs, reducing reliance on manual supervision.
- Deng et al. (2023) combine manual curation with in-context learning to improve prompts; Paulus et al. (2024) use optimization algorithms to emphasize generation speed; Liu et al. (2023) perform goal-directed attacks targeting failure modes such as toxicity or misinformation. The paper only describes these works.
- Rainbow (Samvelyan et al., 2024) and its enhanced version RainbowPlus (Dang et al., 2025) use quality-diversity search to improve the diversity and effectiveness of adversarial prompts. The experiments in this paper use RainbowPlus as one of the attack methods.
Red teaming datasets
- HarmBench (Mazeika et al., 2024), AdvBench (Zou et al., 2023), DAN (Shen et al., 2024a) target attack prompts, covering toxicity, misinformation, and jailbreaks. The authors state that they often lack standardized risk classification, with overlapping or ambiguous labels, hindering cross-dataset comparison.
- CoCoNot (Brahman et al., 2024), ORBench (Cui et al., 2024), StrongREJECT (Souly et al., 2024) use benign prompts to test over-defense. The authors state that their domain coverage is limited and prompt design is inconsistent, limiting generalization. Appendix B writes CoCoNot as CoCoNut.
- PurpleLlamaCyberSecEval (Bhatt et al., 2023) targets cybersecurity, and MedSafetyBench (Han et al., 2024) targets healthcare. The authors state that the two are not incorporated into a unified framework.
Evaluation gaps in the introduction
- AutoDAN (Liu et al., 2024; 2025), Tree-of-Attacks (Mehrotra et al., 2023), GPTFuzzer (Yu et al., 2023): The authors state that these studies mainly evaluate older LLMs and lack comparison with Qwen2.5, Llama 3.1, and Gemma 2.
Baseline methods and benchmarks
- The attack baselines are Direct, ZeroShot, HumanJailbreak, RainbowPlus, reporting ASR on HarmBench. The refusal benchmarks are CoCoNot, ORBench, SGXSTest, XSTest, with RR as the metric.
The authors place this paper on the side of dataset standardization: collecting 37 datasets and 29,362 samples into 22 risk categories and 19 domains, and placing attack prompts and refusal prompts in the same framework.
How does the paper address this problem?
After aggregating 37 datasets and applying dual risk and domain labels, baselines are established for six modern LLMs using RR and ASR.
RedBench first aggregates existing red-teaming data, then labels each sample with a risk category and a domain, and finally evaluates modern LLMs on a subset.
Data Collection
- Scale and Sources: 37 datasets from NeurIPS, ACL, ICML, ICLR, arXiv, etc. Selection criteria were peer-review status, relevance to red-teaming goals, and coverage of risk scenarios. Total 29,362 entries.
- Source Counts: The authors state 8 from arXiv, 6 from ACL, 6 from NeurIPS, 6 from ICLR, with the rest from EMNLP, ACM, ICML, EACL, USENIX, NAACL (Figure 1). The text does not give the counts for each of the latter six sources.
- Inclusion Criteria: Tasks must test safety, robustness, or refusal behavior; collectively cover toxicity, bias, misinformation, jailbreaks, and over-refusal; only data with clear documentation, reproducible prompts, and verified sources were kept.
Taxonomy
- Dual Labels: Risk Category indicates the type of harm or misuse the prompt may elicit; Domain indicates the application context. The authors state the category definitions avoid overlap and are based on Zou et al. (2023), Xie et al. (2024), NIST, and OWASP. Domains are based on deployment scenario analysis, stakeholder consultation, and specialized studies such as Bhatt et al. (2023) and Han et al. (2024). Definitions are in Table 8 and Table 9.
- 22 Risk Categories: Sexual Content, Abusive Content, Hateful Content, Violent Content, Extremism and Radicalization, Crime Content, Illegal Weapons (Non-CBRN), CBRN Information or Capabilities, Malware Code, Cybersecurity Threats (Beyond Malware), Misinformation, Confabulation, Bias Content, Self-Harm Content, Child Safety, Data Privacy, Intellectual Property, Decision-Making in Critical Systems, Election Interference, Economic Harm, Environmental Harm, Other. Benign prompts testing refusal are labeled No Risk.
- 19 Domains: Healthcare, Finance, Politics, Biology, Technology, Law, Education, Environment, Military, Infrastructure, Entertainment, Family, Workplace, Religion, Travel, Sports, Nutrition, Retail, General Knowledge.
Annotation and Data Composition
- Annotation Model: Qwen2.5-72B-Instruct. The authors state it was chosen for its instruction following and classification performance, and was compared with human annotators on a random sample of 300 entries (Appendix C).
- Process: Classification prompts were designed per Tables 8 and 9, including definitions and examples, and iterated based on pilots; the model annotated all samples in sequential batches; a subset was then manually spot-checked, with specialized data such as cybersecurity and healthcare re-labeled according to expert knowledge, and disagreements resolved by consensus. The paper does not give the size of this spot-checked subset. Appendix J provides the full classification prompts.
- Attack-side counts (Table 1): The largest are Abusive Content 3,523, Cybersecurity Threats (Beyond Malware) 2,906, Crime Content 2,668, Bias Content 2,376; the smallest are Confabulation 71, Election Interference 158.
- Domain counts (Table 2): General Knowledge attacks 8,581, refusals 982; Technology attacks 4,041, refusals 314. Travel attacks 102, refusals 26; Religion attacks 122, refusals 16.
- Heatmap: The authors state Technology is strongly associated with Cybersecurity Threats and Malware Code, mainly from CyberattackAssistance; Healthcare is dominated by Self-Harm Content, from MedSafetyBench; General Knowledge is broader, with Abusive Content and Crime Content contributing heavily (Figure 2). Cell values are not readable after text conversion.
Metrics and Attack Methods
Refusal rate is defined as RR = (Number of Refused Legitimate Prompts)/(Total Number of Prompts) × 100%, i.e., the proportion of legitimate prompts that are refused. Attack success rate is defined as ASR = (Number of Successful Attacks)/(Total Number of Attempted Attacks) × 100%, i.e., the proportion of attacks that elicit unsafe or inappropriate responses.
- Judgment: RR is judged by GPT-4o. The authors state that an explicit refusal to answer or a generic deflection counts as a refusal. ASR is judged by Llama-Guard-3-8B for whether the response is unsafe or inappropriate.
- Four Attack Methods (Appendix G): ZeroShot uses an attacker LLM to generate tests zero-shot; the authors state it is scalable but often lacks specificity for particular behaviors; HumanJailbreak replaces behavior strings in wild jailbreak templates; the authors state it lacks adaptability; Direct uses the original behavior string directly; the authors state it serves as a lower-bound baseline for safety alignment; RainbowPlus is an adaptive quality-diversity search. The paper does not state the name of the attacker LLM used in this experiment.
What experiments did the paper conduct?
On HarmBench, Ministral RainbowPlus ASR is 97.81%; Llama-3.1 average RR is 28.53%
Experimental setup
- Models tested: 6 safety-aligned LLMs: Llama-3.1-8B-Instruct, Gemma-2-9B-It, Qwen2.5-7B-Instruct, Ministral-8B-Instruct-2410, GPT-4o-Mini, GPT-4.1-Nano. Section 3.2 of the main text writes GPT-4o Mini twice; the closed-source models in Table 3 and Appendix I are GPT-4o-Mini and GPT-4.1-Nano. The authors state that Google Gemini and Anthropic Claude were not included due to institutional API restrictions.
- Refusal benchmarks: CoCoNot, ORBench, SGXSTest, XSTest. The sample sizes listed in Table 7 are 1,380, 1,319, 100, 450 respectively. The results section does not state whether the actual number of evaluated items equals these sizes, nor does it report the number of repetitions. Section 2.1 of the main text writes SGXSTest as SGXTest.
- Attack benchmark: The authors state that HarmBench is used as representative, comparing Direct, ZeroShot, HumanJailbreak, RainbowPlus. Table 7 lists 320 items for HarmBench; the results section does not separately state the size of the evaluated subset.
- Review: RR uses GPT-4o; ASR uses Llama-Guard-3-8B. The paper does not state the classification threshold, only the criteria for determining refusal.
- Compute: vLLM, NVIDIA A40. Annotation of 29,362 items used two A40s for one week; evaluation of six models used one A40 for one week (Appendix H). The authors state that temperature, top-p, and batch size were standardized according to typical deployment settings, with specific values in the code and not given in the main text.
- Attacker model: Appendix G says ZeroShot uses an attacker LLM, but does not give its name.
Main results
According to Table 4, ASR (%) on HarmBench:
Swipe horizontally to read the table
Model Direct ZeroShot HumanJailbreak RainbowPlus Qwen2.5-7B-Instruct 32.81 41.88 90.63 84.06 Gemma-2-9B-It 11.25 70.31 93.91 42.50 Llama-3.1-8B-Instruct 47.50 55.00 91.72 96.25 Ministral-8B-Instruct-2410 65.00 81.88 90.63 97.81 GPT-4o-Mini 8.75 16.56 0.16 28.75 GPT-4.1-Nano 3.44 0.63 0.00 6.88 - The authors state that open-source models are easier to break and closed-source models are more resistant; they also state that HumanJailbreak succeeds on open-source models and fails on closed-source models. In the table, HumanJailbreak is 0 only for GPT-4.1-Nano, and 0.16% for GPT-4o-Mini.
- The authors state that RainbowPlus is effective on both open-source and closed-source, and consider it more general than HumanJailbreak. In the table, RainbowPlus for Gemma-2-9B-It and Qwen2.5-7B-Instruct is lower than their respective HumanJailbreak.
- The authors suggest that closed-source models' resistance to HumanJailbreak may be due to more advanced safety mechanisms. This is the authors' speculation.
Refusal benchmarks
- What was measured: RR on four refusal datasets, with GPT-4o as the reviewer (Table 3).
- Results: The highest average RR is Llama-3.1-8B-Instruct at 28.53% (XSTest 32.60%, SGXSTest 29.60%), and the lowest is Gemma-2-9B-It at 13.46% (CoCoNot 9.93%, SGXSTest 11.60%). Qwen2.5-7B-Instruct averages 21.70%, Ministral-8B-Instruct-2410 averages 18.44%, GPT-4o-Mini averages 17.47%, GPT-4.1-Nano averages 25.71%. The highest single cell is GPT-4.1-Nano at 35.18% on ORBench, higher than Llama-3.1-8B-Instruct's 25.40% on that set.
- Authors' interpretation: The authors state that Llama-3.1-8B-Instruct may trade usability for safety, especially in General Knowledge, which accounts for the majority of refusal prompts; Gemma-2-9B-It is more permissive. Appendix A states that GPT-4.1-Nano's high RR on ORBench shows that prompt design varies by dataset, and considers that refusal benchmarks need further standardization.
Breakdown attacks and domain-specific refusal
- RainbowPlus breakdown: The authors state that in Figure 3a, Ministral-8B-Instruct-2410 is easier to break on Economic Harm and Extremism and Radicalization, and Llama-3.1-8B-Instruct also rises in these categories, but to a lesser degree. The authors state that in Figure 3b, Environment and Nutrition are more susceptible, and suggest this may be because safety training for these specialized contexts is limited. After text conversion, the values of the bars in the figure cannot be read.
- Six-model average ASR (Table 11, Table 12): RainbowPlus is 83.33% on Extremism and Radicalization and 66.67% on Economic Harm; ZeroShot is 0.00% on Economic Harm. On Nutrition, RainbowPlus is 83.33%; on Environment, Direct and ZeroShot are 0.00%, and HumanJailbreak and RainbowPlus are 66.67%. On Healthcare, Direct, HumanJailbreak, and ZeroShot are all 66.67%, and RainbowPlus is 50.00%. The authors state that RainbowPlus is overall the most effective; in Table 11, RainbowPlus for Self-Harm is 41.67%, lower than HumanJailbreak's 63.89%.
- Domain-specific average RR (Table 10, six-model average): Retail is 50.00% on CoCoNot and 30.56% on XSTest; Family is 28.69% on CoCoNot; Finance and Infrastructure are 28.71% and 27.27% on ORBench. Biology and Education are 0.00% on SGXSTest and XSTest. The authors state that SGXSTest is 0 in several domains, and its prompts may be less challenging or not diverse enough. The paper does not give domain-specific denominators. The authors state that in Figure 4, Llama-3.1-8B-Instruct has higher refusal rates on CoCoNot and ORBench; the non-zero values for SGXSTest appear in Finance, Nutrition, and Travel; on XSTest, GPT-4.1-Nano's refusals for Travel stand out. The numerical text in the figure is unreadable.
Other ablations and analyses
The paper does not report hyperparameter or component ablations.
- Risk category agreement with manual annotation: three runs of 85.71%, 87.30%, 81.03%, average 84.68%±2.66% (Table 5, 300 items).
- Domain agreement with manual annotation: 97.75%, 98.80%, 96.63%, average 97.73%±0.88% (Table 5). The authors state that domain is higher because context classification is more objective than risk assessment.
- Direct's six-model average ASR on Intellectual Property is 8.76%, and on Education is 0.00% (Table 11, Table 12).
- HumanJailbreak's average ASR on Intellectual Property is 53.42%, and the authors state that most categories are above 60% (Table 11).
- Attack sample extremes: Abusive Content 3,523, Confabulation 71 (Table 1).
- Domain extremes: General Knowledge attacks 8,581, Travel attacks 102 (Table 2).
What are some points that can be further explored?
The authors point out data biases, annotation boundaries, evaluation of only six models, and attack results concentrated on HarmBench.
Limitations and future directions noted by the authors
- Bias in existing data: Relying on existing datasets brings in their design biases, for example a bias toward General Knowledge and Technology (Appendix A).
- Annotation boundaries: Semi-automated annotation may be inconsistent in boundary cases, despite manual verification (Appendix A, pointing to the annotation process section).
- Model scope: Only six LLMs were evaluated, and Google Gemini and Anthropic Claude were not included due to API restrictions; the authors state that this limits the generalizability of the findings (Appendix A).
- Attacks concentrated on HarmBench: The authors state that HarmBench is representative, but may not fully cover the diversity of adversarial prompts in the 33 attack datasets in RedBench, and consider that broader testing on all 33 is needed (Appendix A).
- Sparse categories and domains: The authors state that targeted data augmentation should fill coverage gaps such as Election Interference, Confabulation, and Religion, Travel (Appendix A; Section 2.3 also writes targeted expansion as something to do in future iterations).
- Refusal benchmarks: The authors consider that refusal benchmarks need further standardization for consistent cross-model evaluation (Appendix A).
Experimental coverage
- The models tested are Qwen2.5-7B-Instruct, Gemma-2-9B-It, Llama-3.1-8B-Instruct, Ministral-8B-Instruct-2410, GPT-4o-Mini, GPT-4.1-Nano, 6 in total (Section 3.2, Appendix I, Table 3, Table 4).
- Refusal results come from CoCoNot, ORBench, SGXSTest, XSTest; the main attack table comes from Direct, ZeroShot, HumanJailbreak, RainbowPlus on HarmBench (Table 3, Table 4).
- The refusal reviewer is GPT-4o, and the attack reviewer is Llama-Guard-3-8B (Section 3.1). The annotation model is Qwen2.5-72B-Instruct, compared with manual annotation on 300 items over 3 runs (Appendix C, Table 5).
- Appendix F reports six-model average ASR by risk category, ASR by domain, and average RR by domain; Figure 3 is the breakdown figure for RainbowPlus, and the main text does not list the values of the items in the figure.
- The paper does not report the name of the attacker LLM in the experiments, the number of evaluation repetitions, or the specific values of temperature, top-p, and batch size (Appendix G, Appendix H).
Summarize the main content of the paper
RedBench aggregates 37 datasets using a unified taxonomy and reports baselines for six LLMs on refusal and HarmBench attacks.
RedBench is a red-teaming evaluation suite: it merges 37 existing datasets into 29,362 entries and applies a unified dual label of 22 risk categories and 19 domains.
- Problem: The authors argue that existing red-teaming data have inconsistent risk definitions and incomplete domain coverage, and prior methods rarely compare Qwen2.5, Llama 3.1, and Gemma 2, making it difficult to systematically evaluate modern LLMs.
- Approach: 33 datasets test attacks, and 4 test refusal (CoCoNot, ORBench, SGXTest/SGXSTest, XSTest). Qwen2.5-72B-Instruct annotates in batches, followed by manual spot-checking. Refusal uses RR, judged by GPT-4o; attacks use ASR, judged by Llama-Guard-3-8B.
- Composition: Among attack prompts, Abusive Content has 3,523 entries and Confabulation has 71 (Table 1). General Knowledge has 8,581 attack samples and Travel has 102 (Table 2). Over 300 entries, the average agreement rate with human annotators is 84.68% for risk categories and 97.73% for domains (Table 5).
- HarmBench: Ministral-8B-Instruct-2410's RainbowPlus ASR is 97.81%, and Llama-3.1-8B-Instruct's is 96.25%; GPT-4.1-Nano's HumanJailbreak is 0.00% and RainbowPlus is 6.88%, and GPT-4o-Mini's RainbowPlus is 28.75% (Table 4). Gemma-2-9B-It's HumanJailbreak is 93.91%, higher than its RainbowPlus of 42.50%.
- Refusal: Among the six models, the highest average RR is Llama-3.1-8B-Instruct at 28.53%, and the lowest is Gemma-2-9B-It at 13.46%; GPT-4.1-Nano on ORBench is 35.18% (Table 3).
- Authors' Conclusions: The authors state that open-source models are more vulnerable to adversarial prompts, especially under RainbowPlus, while closed-source models are more resistant; high refusal rates also create usability issues. The authors also believe existing benchmarks are imbalanced across categories and domains, with attack main results concentrated on HarmBench, and future work needs to add data and expand test coverage.
Related papers
Show 3 more papers
- Mitigating Many-Shot JailbreakingDefensesarXiv