extract 0 0 0

YifanJ/Red_Queen

published by @YifanJ

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
717
Last 30 days
48
Likes
1
Size
116.7 MB
Created on HF
2025-07-20
Age
1 years ago

Description

♛ RED QUEEN: Safeguarding Large Language Models against Concealed Multi-Turn Jailbreaking

Red Queen is to follow all Umbrella orders, but also to protect human lives. — Resident Evil

The rapid progress of Large Language Models (LLMs) has unlocked new possibilities but also heightened the risk of misuse. Red teaming, commonly used to probe harmful outputs via jailbreak attacks, has mostly focused on single-turn interactions with explicit malicious queries, which do not fully… See the full description on the dataset page: https://huggingface.co/datasets/YifanJ/Red_Queen.

Tags

language:ensize_categories:10K<n<100Karxiv:2409.17458region:usjailbreaking

README current version from Hugging Face


language:

  • en
    tags:
  • jailbreaking
    pretty_name: Red Queen
    size_categories:
  • 10K<n<100K

♛ RED QUEEN: Safeguarding Large Language Models against Concealed Multi-Turn Jailbreaking

Red Queen is to follow all Umbrella orders, but also to protect human lives. — Resident Evil

The rapid progress of Large Language Models (LLMs) has unlocked new possibilities but also heightened the risk of misuse. Red teaming, commonly used to probe harmful outputs via jailbreak attacks, has mostly focused on single-turn interactions with explicit malicious queries, which do not fully reflect real-world complexities.

To address this, we propose RED QUEEN ATTACK, a multi-turn jailbreak strategy where malicious intent is concealed across multiple interactions. We generated 56k attack data points from 40 scenarios across 14 harmful categories and evaluated four LLM families. Results show that all models are vulnerable, with reaching 87.62% attack success rate on GPT-4o and 75.4% attack success rate on Llama3-70B, and larger models proving more susceptible.

To counter this, we introduce RED QUEEN GUARD, a simple yet effective mitigation strategy that reduces attack success to less than 1%, while maintaining model performance on standard benchmarks.

This repository contains the code and resources for the paper titled "RED QUEEN: Safeguarding Large Language Models against Concealed Multi-Turn Jailbreaking". It includes scripts for data generation, Red Queen Attack multi-turn data, Red Guard DPO data, and other related codes.

Check Red Queen Website for a brief summary.


⚠️ Model Harmful Output

Due to the potentially dangerous nature of model outputs, we are releasing only 10,000 harmful plans generated by GPT-4o and Llama3-70B, available in Jailbreak Result.


🛡️ Red Queen Guard

We propose Red Queen Guard, a DPO preference dataset that significantly reduces attack success rates to below 1% while preserving model performance on standard benchmarks. In the DPO_Data folder, you can find:


📂 Other Data


⚖️ Ethical Considerations

This study aims to explore potential security vulnerabilities in LLMs. We are committed to fostering an inclusive environment that respects all minority groups and firmly opposes any form of violence or criminal behavior. The goal of our research is to identify weaknesses in current LLMs to promote the development of more secure and reliable AI systems. While our work may involve sensitive or controversial content, it is solely intended to enhance the robustness and safety of LLMs. Future releases of our research findings will be clearly stated as intended for academic purposes only and must not be misused.


🙏 Acknowledgement

We thank our co-authors and colleagues at Hippocratic AI for their valuable contributions to this research. Hippocratic AI's commitment to safety and the principle of “do no harm” inspires and supports us in probing the vulnerabilities of current SOTA LLMs.


📜 Cite

If you find Red Queen useful for your work, please cite:

@article{jiang2024red,
  title={RED QUEEN: Safeguarding Large Language Models against Concealed Multi-Turn Jailbreaking},
  author={Jiang, Yifan and Aggarwal, Kriti and Laud, Tanmay and Munir, Kashif and Pujara, Jay and Mukherjee, Subhabrata},
  journal={arXiv preprint arXiv:2409.17458},
  year={2024}
}

README history 4 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. 2025-07-20Update README.md8505fdb4.4 KB
    Loading...
  2. 2025-07-20Create README.md5e5bd6996 B
    Loading...
  3. 2025-07-20Upload Red_Queen_Attack.zip2f701970 B
    Loading...
  4. 2025-07-20initial commitc636eac0 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.

Related datasets same stage · extract

Read further

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("YifanJ/Red_Queen")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="YifanJ/Red_Queen", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/YifanJ/Red_Queen
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