extract gated 0 0

MichiganNLP/one-shot-grpo-bias-flipped

published by @MichiganNLP

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
43
Last 30 days
5
Likes
-
Size
515.2 MB
Created on HF
2026-06-10
Age
4 months ago

Description

GRPO-Bias: One-Shot Flipped-Label Training Data

⚠️ Content warning. This dataset contains stereotyping and offensive content

about social groups by construction. It exists to study how easily aligned

LLMs can be biased, and how to defend against it. It does not reflect the views

of the authors or the University of Michigan.

This is the derived, flipped-label training data for the paper "It Takes One

to Bias Them All: Breaking Bad with One-Shot GRPO." These are the single (and… See the full description on the dataset page: https://huggingface.co/datasets/MichiganNLP/one-shot-grpo-bias-flipped.

Tags

task_categories:question-answeringtask_categories:text-generationlanguage:enlicense:cc-by-4.0size_categories:n<1Kformat:parquetmodality:textlibrary:datasetslibrary:dasklibrary:polarslibrary:mlcroissantarxiv:2606.10931region:usbiasfairnessstereotypesafetyrlhfgrpored-teaming

README current version from Hugging Face


pretty_name: "GRPO-Bias: One-Shot Flipped-Label Training Data"
license: cc-by-4.0
language:

  • en
    task_categories:
  • question-answering
  • text-generation
    tags:
  • bias
  • fairness
  • stereotype
  • safety
  • rlhf
  • grpo
  • red-teaming
    size_categories:
  • 1K<n<10K
    extra_gated_heading: "Request access to the GRPO-Bias flipped-label data"
    extra_gated_prompt: >-
    ⚠️ CONTENT WARNING. This dataset contains, by construction, stereotyping and
    offensive statements about social groups (age, gender, race/ethnicity,
    nationality, religion, sexual orientation, disability, physical appearance,
    and SES). It is released ONLY to support research on bias and the safety of
    post-training algorithms. To request access, please tell us who you are and
    agree to the terms below.
    extra_gated_fields:
    Full name: text
    Email: text
    Affiliation / organization: text
    Intended research use: text
    I will use this dataset solely for research on bias, fairness, and AI safety: checkbox
    I will NOT use it to build, deploy, or fine-tune systems intended to produce biased or harmful behavior: checkbox
    I have read and understand the content warning above: checkbox
    extra_gated_button_content: "I agree to these terms"

GRPO-Bias: One-Shot Flipped-Label Training Data

⚠️ Content warning. This dataset contains stereotyping and offensive content
about social groups by construction. It exists to study how easily aligned
LLMs can be biased, and how to defend against it. It does not reflect the views
of the authors or the University of Michigan.

This is the derived, flipped-label training data for the paper "It Takes One
to Bias Them All: Breaking Bad with One-Shot GRPO."
These are the single (and
few-) example training sets used to show that one-shot GRPO on a single biased
example
can induce systematic, generalizing bias in an aligned model.

What this is (and isn't)

  • It is label-flipped training examples derived from
    BBQ (Bias Benchmark for QA, CC-BY-4.0). Each
    example takes a BBQ question and flips the correct answer to the
    stereotype-consistent (or random / counterfactual / arbitrary) choice.
  • It is not a re-hosting of the original benchmarks. The clean evaluation
    benchmarks (BBQ, CrowS-Pairs, StereoSet, WinoQueer, GenMO) remain at their
    original sources; the code repo includes scripts to download and rebuild them.

Subsets

The layout mirrors the directory structure used in the code repo. Files are
provided as .parquet (canonical; consumed by verl) with matching .jsonl for
human inspection.

Directory Contents
train_single_example/ The one-shot training sets: stereotype_flip.<Category>.<seed> (label flipped to the stereotype-consistent answer — the main attack), plus counterfactual_flip.* (directional control), arbitrary_construct.* (a fabricated trigger, e.g. handedness, testing latent-bias reactivation), a ppo variant, and sanity_neutral / sanity_random controls.
random_flipped/ Corpus-level flips to a random incorrect answer at varying noise ratios (random_<ratio>).
cat_flipped/ Flips applied by category (flipped_<category>).
shrinked-noise-ratio-1/ A reduced-size stereotype-flip variant.

Bias-collapsed models

The models trained on this data are released (gated, research-only) in the
One-Shot GRPO Bias collection
— one repo per run, with a git revision per training step (OLMo-style).

Intended use

Research on: bias amplification under RL post-training (GRPO/PPO), label-noise
robustness, alignment fragility, and mitigation (e.g. KL regularization). Not for
deploying or improving biased systems.

Reproducing from source

All of this data can be regenerated from the original BBQ release using the
scripts in the code repository
(github.com/MichiganNLP/one-shot-grpo-bias):

cd src/src/data
python download_bbq.py
python flip_train_data_single_example.py

Licensing & attribution

Derived from BBQ (Parrish et al., 2022), licensed CC-BY-4.0; this derived
data is released under the same CC-BY-4.0 license. Please cite both BBQ and
our paper.

Citation

@article{deng2026onebias,
  title   = {It Takes One to Bias Them All: Breaking Bad with One-Shot GRPO},
  author  = {Deng, Naihao and Zhu, Yilun and Shi, Naichen and Scott, Clayton and Mihalcea, Rada},
  journal = {arXiv preprint arXiv:2606.10931},
  year    = {2026}
}

@inproceedings{parrish2022bbq,
  title     = {{BBQ}: A hand-built bias benchmark for question answering},
  author    = {Parrish, Alicia and Chen, Angelica and Nangia, Nikita and Padmakumar, Vishakh and Phang, Jason and Thompson, Jana and Htut, Phu Mon and Bowman, Samuel},
  booktitle = {Findings of ACL 2022},
  year      = {2022}
}

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. 2026-06-10Cross-link bias-collapsed models collection8e0e6b54.9 KB
    Loading...
  2. 2026-06-10Update README.md30e42c64.4 KB
    Loading...
  3. 2026-06-10Add flipped-label training data + gated dataset card7df10324.6 KB
    Loading...
  4. 2026-06-10initial commitd3dd8530 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-06-11[bot] Conversion to Parquetopen1 💬#1
    Loading...

Related datasets same stage · extract

Read further

Metadata

License
cc-by-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("MichiganNLP/one-shot-grpo-bias-flipped")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="MichiganNLP/one-shot-grpo-bias-flipped", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/MichiganNLP/one-shot-grpo-bias-flipped
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