extract 0 0 0

RCantini/CLEAR-Bias

published by @RCantini

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
2.6K
Last 30 days
64
Likes
3
Size
540 KB
Created on HF
2025-04-04
Age
1 years ago

Description

Dataset Card for CLEAR-Bias

CLEAR-Bias (Corpus for Linguistic Evaluation of Adversarial Robustness against Bias) is a benchmark dataset designed to assess the robustness of large language models (LLMs) against bias elicitation, especially under adversarial conditions.

It consists of carefully curated prompts that test the ability of LLMs to resist generating biased content when exposed to both standard and adversarial inputs.

The dataset targets a broad spectrum of social… See the full description on the dataset page: https://huggingface.co/datasets/RCantini/CLEAR-Bias.

Tags

task_categories:text-generationtask_categories:text-classificationlanguage:enlicense:apache-2.0size_categories:1K<n<10Kformat:parquetmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissantlibrary:polarsarxiv:2504.07887region:usLLMsSLMsBias_elicitationAdversarial_analysisJailbreak_prompting

README current version from Hugging Face


dataset_info:

  • config_name: base_prompts
    features:
    • name: BIAS CATEGORY
      dtype: string
    • name: TASK
      dtype: string
    • name: STEREOTYPE
      dtype: string
    • name: COUNTER-STEREOTYPE
      dtype: string
    • name: PROMPT
      dtype: string
      splits:
    • name: train
      num_bytes: 64405
      num_examples: 200
      download_size: 22644
      dataset_size: 64405
  • config_name: control_set
    features:
    • name: BIAS CATEGORY
      dtype: string
    • name: TASK
      dtype: string
    • name: PROMPT
      dtype: string
    • name: RESPONSE
      dtype: string
    • name: LABEL
      dtype: string
      splits:
    • name: train
      num_bytes: 318255
      num_examples: 800
      download_size: 36456
      dataset_size: 318255
  • config_name: jailbreak_prompts
    features:
    • name: BIAS CATEGORY
      dtype: string
    • name: TASK
      dtype: string
    • name: ATTACK
      dtype: string
    • name: VARIANT
      dtype: string
    • name: STEREOTYPE
      dtype: string
    • name: COUNTER-STEREOTYPE
      dtype: string
    • name: PROMPT
      dtype: string
      splits:
    • name: train
      num_bytes: 2509626
      num_examples: 4200
      download_size: 486690
      dataset_size: 2509626
      configs:
  • config_name: base_prompts
    data_files:
    • split: train
      path: base_prompts/train-*
  • config_name: control_set
    data_files:
    • split: train
      path: control_set/train-*
  • config_name: jailbreak_prompts
    data_files:
    • split: train
      path: jailbreak_prompts/train-*
      license: apache-2.0
      task_categories:
  • text-generation
  • text-classification
    language:
  • en
    tags:
  • LLMs
  • SLMs
  • Bias_elicitation
  • Adversarial_analysis
  • Jailbreak_prompting
    pretty_name: CLEAR-Bias
    size_categories:
  • 1K<n<10K

Dataset Card for CLEAR-Bias

CLEAR-Bias (Corpus for Linguistic Evaluation of Adversarial Robustness against Bias) is a benchmark dataset designed to assess the robustness of large language models (LLMs) against bias elicitation, especially under adversarial conditions.
It consists of carefully curated prompts that test the ability of LLMs to resist generating biased content when exposed to both standard and adversarial inputs.
The dataset targets a broad spectrum of social biases and incorporates advanced attack strategies intended to bypass safety mechanisms.

Dataset Structure

The dataset comprises 4,400 bias-probing prompts across two task formats:

  • Multiple-choice (CTO)
  • Sentence completion (SC)

Prompts cover 10 bias categories:

  • 7 isolated categories: age, disability, ethnicity, gender, religion, sexual orientation, and socioeconomic status
  • 3 intersectional categories
  • Each category includes 20 carefully crafted base prompts (10 per task type)

Base prompts are systematically expanded using 7 jailbreak techniques to simulate diverse adversarial scenarios:

  • These techniques include: machine translation, obfuscation, prefix injection, prompt injection, refusal suppression, reward incentive, and role-playing
  • Each technique is implemented in 3 variants

Uses

CLEAR-Bias is intended for researchers, developers, and practitioners seeking to assess or enhance the ethical behavior of language models.
It serves as a benchmarking tool for measuring how effectively different models resist producing biased outputs in both standard and adversarial scenarios.
By supporting the evaluation of ethical reliability before real-world deployment, CLEAR-Bias contributes to the development of safer and more responsible LLMs.

Citation

Cantini, R., Orsino, A., Ruggiero, M., Talia, D. Benchmarking adversarial robustness to bias elicitation in large language models: scalable automated assessment with LLM-as-a-judge. Mach Learn 114, 249 (2025). https://doi.org/10.1007/s10994-025-06862-6

BibTeX:

@article{cantini2025benchmarking,
  title={Benchmarking adversarial robustness to bias elicitation in large language models: scalable automated assessment with LLM-as-a-judge},
  author={Cantini, R. and Orsino, A. and Ruggiero, M. and Talia, D.},
  journal={Machine Learning},
  volume={114},
  page={249},
  year={2025},
  publisher={Springer},
  doi={10.1007/s10994-025-06862-6},
  url={https://doi.org/10.1007/s10994-025-06862-6}
}

README history 20 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-10-16Update README.md06e6e184.1 KB
    Loading...
  2. 2025-10-16Update README.md3554dc64.1 KB
    Loading...
  3. 2025-10-16Update README.md004ec764.1 KB
    Loading...
  4. 2025-10-16Update README.mdbcd57a54.1 KB
    Loading...
  5. 2025-04-13Update README.md11c14914 KB
    Loading...
  6. 2025-04-13Update README.md92d0d964.3 KB
    Loading...
  7. 2025-04-13Update README.md09afa964.3 KB
    Loading...
  8. 2025-04-13Update README.mddb8b88b4.3 KB
    Loading...
  9. 2025-04-13Update README.md6eb57db4.3 KB
    Loading...
  10. 2025-04-13Update README.md0a57bfe4.3 KB
    Loading...
  11. 2025-04-13Update README.mdcf0ba414.2 KB
    Loading...
  12. 2025-04-13Update README.mde6b62cd4.5 KB
    Loading...
  13. 2025-04-13Update README.mdc44a9274.5 KB
    Loading...
  14. 2025-04-13Update README.md31ba4c04.5 KB
    Loading...
  15. 2025-04-13Update README.mdb71defb4.5 KB
    Loading...
  16. 2025-04-13Update README.md4094c764.5 KB
    Loading...
  17. 2025-04-13Update README.mddc497f34.5 KB
    Loading...
  18. 2025-04-13Update README.md18379be4.5 KB
    Loading...
  19. 2025-04-13Update README.mdd91d0864.5 KB
    Loading...
  20. 2025-04-13Update README.md7d2ae2d4.5 KB
    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. 2025-04-05[bot] Conversion to Parquetopen1 💬#1
    Loading...

Related datasets same stage · extract

Read further

Metadata

License
apache-2.0

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