evaluate gated 0 0

AmanPriyanshu/FRACTURED-SORRY-Bench-Automated-Multishot-Jailbreak

published by @AmanPriyanshu

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
507
Last 30 days
31
Likes
1
Size
378 KB
Created on HF
2024-08-29
Age
2 years ago

Description

FRACTURED-SORRY-Bench: Framework for Revealing Attacks in Conversational Turns Undermining Refusal Efficacy and Defenses over SORRY-Bench (Automated Multi-shot Jailbreaks)

Dataset Card for FRACTURED-SORRY-Bench Dataset

🌐Website

📑Paper

📚Dataset

💻Github

FRACTURED-SORRY-Bench is a framework for evaluating the safety of Large Language Models (LLMs) against multi-turn conversational attacks. Building upon the SORRY-Bench dataset, we propose a… See the full description on the dataset page: https://huggingface.co/datasets/AmanPriyanshu/FRACTURED-SORRY-Bench-Automated-Multishot-Jailbreak.

Tags

task_categories:question-answeringtask_categories:text-generationlanguage:enlicense:cc-by-nc-4.0size_categories:1K<n<10Kformat:csvmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissantlibrary:polarsarxiv:2408.16163region:ussafety judgementai-safetyred-teamingjailbreaks

README current version from Hugging Face


license: cc-by-nc-4.0
task_categories:

  • question-answering
  • text-generation
    language:
  • en
    tags:
  • safety judgement
  • ai-safety
  • red-teaming
  • jailbreaks
    pretty_name: >-
    FRACTURED-SORRY-Bench: Framework for Revealing Attacks in Conversational Turns
    Undermining Refusal Efficacy and Defenses over SORRY-Bench (Automated
    Multi-shot Jailbreaks)
    size_categories:
  • 1K<n<10K

FRACTURED-SORRY-Bench: Framework for Revealing Attacks in Conversational Turns Undermining Refusal Efficacy and Defenses over SORRY-Bench (Automated Multi-shot Jailbreaks)

Dataset Card for FRACTURED-SORRY-Bench Dataset

FRACTURED-SORRY-Bench is a framework for evaluating the safety of Large Language Models (LLMs) against multi-turn conversational attacks. Building upon the SORRY-Bench dataset, we propose a simple yet effective method for generating adversarial prompts by breaking down harmful queries into seemingly innocuous sub-questions.

Usage

Requires joining SORRY-Bench with the current dataset for vanilla-question comparison.

Decomposed Question Loading

import pandas as pd

# Loading dataset from huggingface
df = pd.read_csv("hf://datasets/AmanPriyanshu/FRACTURED-SORRY-Bench/fractured_sorry_bench.csv")

# Group the dataset by the `sorry_bench_map_question_id` column
grouped = df.groupby('sorry_bench_map_question_id')

# Create the list of lists where each list contains subquestions for a particular main question
nested_questions = [group['question'].tolist() for name, group in grouped]

# Print Length and first sample of the dataset
print(len(nested_questions))
print(nested_questions[0])

Key Results

Vanilla Responses:

Model Harmful & Relevant Harmful but Irrelevant Harmless ASR (%)
GPT-4o 52 3 395 11.56
GPT-3.5 21 4 425 4.67
GPT-4o-mini 58 2 390 12.89
GPT-4 45 3 402 10.00

Decomposed Responses:

Model Harmful & Relevant Harmful but Irrelevant Harmless ASR (%)
GPT-4o 223 103 124 49.56
GPT-3.5 229 106 115 50.89
GPT-4o-mini 226 106 118 50.22
GPT-4 221 104 125 49.11

Our approach achieves significant increases (6X) in Attack Success Rates (ASRs) across multiple models

Citation

@misc{priyanshu2024fracturedsorrybenchframeworkrevealingattacks,
      title={FRACTURED-SORRY-Bench: Framework for Revealing Attacks in Conversational Turns Undermining Refusal Efficacy and Defenses over SORRY-Bench}, 
      author={Aman Priyanshu and Supriti Vijay},
      year={2024},
      eprint={2408.16163},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2408.16163}, 
}

README history 9 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. 2024-11-07Update README.md92834174.7 KB
    Loading...
  2. 2024-11-07name modified48d78734.5 KB
    Loading...
  3. 2024-08-30Linked to paperecf2eba4.5 KB
    Loading...
  4. 2024-08-30Added paper citationee9f7954.5 KB
    Loading...
  5. 2024-08-29Added results2ddb9154.4 KB
    Loading...
  6. 2024-08-29Update README.md396ae0d3.3 KB
    Loading...
  7. 2024-08-29FRACTURED-SORRY-Bench raw csvdc7fcee350 B
    Loading...
  8. 2024-08-29Completing READMEaaef9ae350 B
    Loading...
  9. 2024-08-29initial commit5f791e133 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. 2024-08-30[bot] Conversion to Parquetopen1 💬#1
    Loading...

Related datasets same stage · evaluate

Read further

Metadata

License
cc-by-nc-4.0

Repository

Download the dataset

Gated dataset. You need to accept the author's terms on Hugging Face before downloading. Visit the repository, click Agree and access repository, then log in locally with huggingface-cli login and use one of the snippets below.

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("AmanPriyanshu/FRACTURED-SORRY-Bench-Automated-Multishot-Jailbreak")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="AmanPriyanshu/FRACTURED-SORRY-Bench-Automated-Multishot-Jailbreak", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/AmanPriyanshu/FRACTURED-SORRY-Bench-Automated-Multishot-Jailbreak
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