extract 0 0 0

BruceYg/RAD-Database

published by @BruceYg

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
83
Last 30 days
19
Likes
1
Size
19.4 MB
Created on HF
2026-05-30
Age
4 months ago

Description

RAD Database and Paper-Core Evaluation Data

Companion data for Retrieval-Augmented Defense: Adaptive and Controllable Jailbreak

Prevention for Large Language Models (ACL 2026).

Content warning: this dataset contains adversarial prompts and harmful requests for

defensive safety research. Access should remain gated, and users should agree to use the

material only for legitimate research, evaluation, and development of safety systems.

Intended use

The current… See the full description on the dataset page: https://huggingface.co/datasets/BruceYg/RAD-Database.

Tags

task_categories:text-classificationlanguage:enlicense:mitsize_categories:10K<n<100Kformat:csvmodality:textlibrary:datasetslibrary:pandaslibrary:polarslibrary:mlcroissantregion:ussafetyjailbreakretrieval

README current version from Hugging Face


pretty_name: RAD Database
language:

  • en
    license: mit
    task_categories:
  • text-classification
    tags:
  • safety
  • jailbreak
  • retrieval

RAD Database and Paper-Core Evaluation Data

Companion data for Retrieval-Augmented Defense: Adaptive and Controllable Jailbreak
Prevention for Large Language Models
(ACL 2026).

Content warning: this dataset contains adversarial prompts and harmful requests for
defensive safety research. Access should remain gated, and users should agree to use the
material only for legitimate research, evaluation, and development of safety systems.

Intended use

The current snapshot supports local reconstruction of the RAD retrieval database used by the
paper-core Qwen experiments. The evaluation CSVs and reproduction manifest required to rerun
the complete Table 1, Figure 2, and Table 2 workflows are still being prepared and are not yet
part of this snapshot.

The final release is intended to support:

  • Qwen-2.5-14B-Instruct RAD-Base and RAD-Sim rows from Table 1;
  • the Qwen RAD operating curves from Figure 2; and
  • the incremental database experiment from Table 2.

Attack generation code, unrestricted deployment of attack prompts, and offensive use are not
intended uses.

Current repository layout

database/
  full.csv

database/full.csv contains 10,991 records and the required query, jailbreak, analysis,
and guidance fields. It has 94 exact duplicate records and no row-level provenance columns.
The SHA-256 digest of the released CSV bytes is
b748aef8746f4b8e777df9090026845aea5be8d1599f74c2e8b34704c8ebea70. The canonical
field-level digest computed by the public RAD loader is
559aea650bded65c1df7050cb17ab89d13901710c5327bd8d3282559f24952a0.

FAISS indexes are deliberately excluded. The code rebuilds them with the pinned
facebook/contriever-msmarco revision and records a database digest in the index metadata.

Construction and quality controls

The database uses a pool of 892 seed queries: 495 filtered AdvBench behaviors, 356 filtered DAN
forbidden questions, and 41 standard HarmBench validation behaviors. Its final 10,991 records
consist of 8,996 base/template/DAN/PAP-derived records and 1,995 PAIR-derived records. The
analysis and guidance fields are model-assisted RAD annotations.

The planned evaluation snapshot uses StrongREJECT harmful queries, paper-generated attack
prompts, and 313 synthetic benign counterparts. As described in the paper, the benign set was
reviewed by the authors for offensive content and identifying personal information, and the
evaluation queries do not overlap with database seed queries.

The current database CSV has been checked for UTF-8 decoding, required columns, nonempty required
fields, row count, duplicate count, and byte identity with the research artifact. Before tagging
the final reproducibility snapshot, the evaluation schemas, identifiers, row counts, and attack
families must also be validated.

Limitations and risks

The data covers English, text-only jailbreaks and inherits StrongREJECT's operational definition
of harmfulness. It is not a universal safety taxonomy. Its attack examples can be misused, and
gating reduces but does not eliminate this risk. Results also depend on model weights, hosted
judges, and inference kernels; raw outputs should be retained for audit.

Licensing and attribution

The public code is MIT-licensed, but that license does not automatically apply to this dataset.
The Hub metadata is therefore license: unknown while the source-by-source redistribution review
is completed. AdvBench, the DAN dataset repository, and HarmBench identify MIT licenses, but the
exact upstream revisions, required notices, generated-output terms, and scope of those licenses
still need final author review. No blanket permission beyond applicable upstream terms is granted
by this card. See the public code repository's docs/DATA_PROVENANCE.md for the audit record.

Citation

@inproceedings{yang-etal-2026-retrieval,
    title = "Retrieval-Augmented Defense: Adaptive and Controllable Jailbreak Prevention for Large Language Models",
    author = "Yang, Guangyu  and
      Chen, Jinghong  and
      Mei, Jingbiao  and
      Lin, Weizhe  and
      Byrne, Bill",
    editor = "Liakata, Maria  and
      Moreira, Viviane P.  and
      Zhang, Jiajun  and
      Jurgens, David",
    booktitle = "Proceedings of the 64th Annual Meeting of the {A}ssociation for {C}omputational {L}inguistics (Volume 1: Long Papers)",
    month = jul,
    year = "2026",
    address = "San Diego, California, United States",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2026.acl-long.1895/",
    doi = "10.18653/v1/2026.acl-long.1895",
    pages = "40849--40868",
    ISBN = "979-8-89176-390-6",
    abstract = "Large Language Models (LLMs) remain vulnerable to jailbreak attacks, which attempt to elicit harmful responses from LLMs. The evolving nature and diversity of these attacks pose many challenges for defense systems, including (1) adaptation to counter emerging attack strategies without costly retraining, and (2) control of the trade-off between safety and utility. To address these challenges, we propose Retrieval-Augmented Defense (RAD), a novel framework for jailbreak detection that incorporates a database of known attack examples into Retrieval-Augmented Generation, which is used to infer the underlying, malicious user query and jailbreak strategy used to attack the system. RAD enables training-free updates for newly discovered jailbreak strategies and provides a mechanism to balance safety and utility. Experiments on StrongREJECT show that RAD substantially reduces the effectiveness of strong jailbreak attacks such as PAP and PAIR while maintaining low rejection rates for benign queries. We propose a novel evaluation scheme and show that RAD achieves a robust safety-utility trade-off across a range of operating points in a controllable manner."
}

README history 5 revisions

Every night we snapshot the README of every dataset in the catalog. When the SHA changes we archive the new version and diff it against the last. This is the evolving thought record of the alignment-data field: what the author decided to say about the corpus, and how that framing shifted over time.

  1. 2026-08-05Update BibTeX0eb820c5.9 KB
    Loading...
  2. 2026-08-05Document and normalize RAD database snapshot6e5d5dd4.4 KB
    Loading...
  3. 2026-08-04Upload dbv3_f.index with huggingface_hub941890428 B
    Loading...
  4. 2026-08-04Upload dbv3_f.csv with huggingface_hubbcf522828 B
    Loading...
  5. 2026-05-30initial commit7c2ebb528 B
    Loading...

Used by abliterated models none yet

No abliterated models in our catalog have declared this dataset in their YAML metadata yet. This can mean the dataset is used but not declared, is used outside abliteration workflows, or is new. The link will populate automatically as models are indexed.

Community discussions 1 thread · 1 open · 1 comments

Threads posted by the community on Hugging Face: bug reports, questions about usage, pull requests on the README, license clarifications. Click any thread to expand and read the full conversation inline. Newest first.

  1. 2026-08-05[bot] Conversion to Parquetopen1 💬#1
    Loading...

Related datasets same stage · extract

Read further

Metadata

License
mit

Repository

Download the dataset

0

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("BruceYg/RAD-Database")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="BruceYg/RAD-Database", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/BruceYg/RAD-Database
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration