evaluate gated 0 0

centrepourlasecuriteia/content-moderation-input-dataset

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
1.1K
Last 30 days
35
Likes
7
Size
361 KB
Created on HF
2025-11-14
Age
11 months ago

Description

Access Guidelines - READ THIS BEFORE REQUESTING ACCESS!

Access is only granted to identifiable individuals with proper reason to use this sensitive data.

If any other dataset could be used to accomplish your goal, this does not count as a proper reason. Half sentences and bullet points do not suffice and will be declined. Proper reasons include anything that showcases your specific need for this exact dataset.

Content Moderation Dataset

Overview… See the full description on the dataset page: https://huggingface.co/datasets/centrepourlasecuriteia/content-moderation-input-dataset.

Tags

task_categories:text-classificationlanguage_creators:foundlanguage_creators:expert-generatedlanguage_creators:machine-generatedmultilinguality:multilingualsource_datasets:extended|brash6/content_moderation_bells_v2source_datasets:extended|Bertievidgen/SimpleSafetyTestssource_datasets:extended|sorry-bench/sorry-bench-202503source_datasets:extended|Paul/XSTestsource_datasets:extended|LLM-LAT/benign-datasetlanguage:enlicense:cc-by-nc-sa-4.0size_categories:1K<n<10Kformat:csvmodality:textlibrary:datasetslibrary:pandaslibrary:polarslibrary:mlcroissantregion:ussafetyalignmentcontent-moderationguardrailsupervision

README current version from Hugging Face


license: cc-by-nc-sa-4.0
task_categories:

  • text-classification
    language:
  • en
    tags:
  • safety
  • alignment
  • content-moderation
  • guardrail
  • supervision
    pretty_name: BELLS-O Content Moderation Input Dataset
    size_categories:
  • 1K<n<10K
    language_creators:
  • found
  • expert-generated
  • machine-generated
    source_datasets:
  • extended|brash6/content_moderation_bells_v2
  • extended|Bertievidgen/SimpleSafetyTests
  • extended|sorry-bench/sorry-bench-202503
  • extended|Paul/XSTest
  • extended|LLM-LAT/benign-dataset
    multilinguality:
  • multilingual
    extra_gated_prompt: You agree not to use the dataset or information included in it to cause harm.
    extra_gated_fields:
    "Name of the Company or Institution you are affiliated with, or Independent": text
    "Institutional/Organizational email address":
    type: text
    optional: true
    Country: country
    Describe your intended use in 2-3 sentences (insufficient detail = declined): text
    I agree to use this dataset for non-commercial use ONLY: checkbox
    "I read the 'Access Guidelines' section in the README": checkbox

Access Guidelines - READ THIS BEFORE REQUESTING ACCESS!

Access is only granted to identifiable individuals with proper reason to use this sensitive data.

If any other dataset could be used to accomplish your goal, this does not count as a proper reason. Half sentences and bullet points do not suffice and will be declined. Proper reasons include anything that showcases your specific need for this exact dataset.


Content Moderation Dataset

Overview

This dataset contains 1,400 prompts designed to evaluate supervision systems on content moderation tasks as part of the BELLS-Operational benchmark. It enables rigorous assessment of LLM safety mechanisms across detection accuracy, false positive rates, latency, and cost.

Dataset Statistics

Category AI Generated Extracted Handcrafted Total
Benign 0 200 100 300
CBRN 30 40 30 100
Cyber 30 40 30 100
Harm to Minors 70 30 0 100
Harmful Manipulation 30 40 30 100
Hate Speech 30 40 30 100
Illegal Activities 30 40 30 100
Integrity & Quality 40 30 30 100
Physical Harm 30 40 30 100
Privacy 30 40 30 100
Self-Harm 30 40 30 100
Sexual Content 30 40 30 100
TOTAL 380 620 400 1,400

Multilinguality Disclaimer

The majority of prompts (99%) are in English. Only some of the OpenAI samples in the Sexual Content category are in different languages.

Taxonomy

Our taxonomy covers 11 harmful categories aligned with EU AI Act systemic risk categories and GPAI responsible use policies and 1 benign category to measure the harmful refusal rate:

Harmful Categories (11)

  1. CBRN: Chemical, biological, radiological, nuclear weapons and dangerous materials
  2. Cyber: Malware, hacking, exploits, and cybersecurity threats
  3. Harm to Minors: Content endangering, exploiting, or sexualizing individuals under 18
  4. Harmful Manipulation: Scams, fraud, phishing, psychological manipulation, misinformation
  5. Hate Speech: Discrimination, violence, or dehumanization based on protected characteristics
  6. Illegal Activities: Drug trafficking, weapons trafficking, financial crimes, human trafficking
  7. Integrity & Quality: Academic dishonesty, plagiarism, credential falsification, spam
  8. Physical Harm: Violence instructions, weapons, explosives, dangerous activities
  9. Privacy: Doxxing, unauthorized surveillance, personal information disclosure, stalking
  10. Self-Harm: Suicide, eating disorders, self-injury promotion or instructions
  11. Sexual Content: Explicit material, pornography, non-consensual intimate content

Benign Category (1)

Benign: Legitimate requests covering cooking, education, travel, technology, creative writing, and general knowledge. Critical for measuring false positive rates.

Methodology

Construction Strategy

We used three complementary data sources to ensure diversity, realism, and comprehensive coverage:

1. Extracted from Existing Datasets (620 prompts, 44%)

Purpose: Leverage validated real-world examples from established safety benchmarks.

Advantages:

  • Empirically grounded test cases from production systems
  • External validity and comparability with prior work
  • Authentic adversarial attack patterns

Distribution:

  • Standard: 40 prompts per harmful category (when available)
  • Benign: 200 prompts for robust FPR baseline

2. Handcrafted Prompts (400 prompts, 29%)

Purpose: Capture edge cases, nuanced scenarios, and adversarial intensities that automated methods miss.

Process:

  • Manually designed by AI safety researchers
  • Focus on boundary cases and sophisticated evasion attempts
  • Iteratively refined through expert review

Distribution:

  • Standard: 30 prompts per harmful category
  • Benign: 100 prompts for diverse legitimate use cases
  • Harm to Minors: 0 prompts (ethical decision to avoid creating potentially harmful content)

3. AI-Generated Prompts (380 prompts, 27%)

Purpose: Scale coverage and fill gaps in categories with limited public data or sensitive content.

Process:

  • Adversarial generation with multi-stage filtering pipelines
  • Quality control through automatic filtering and manual review
  • Variation across adversarial intensity levels

Distribution:

  • Standard: 30 prompts per harmful category
  • No generation for Benign category
  • Harm to Minors: 70 prompts (compensating for 0 handcrafted due to ethical concerns)
  • Integrity & Quality: 40 prompts (limited high-quality extracted data available)

Design Rationale

Standard Split: 30-40-30

Our baseline distribution follows 30 AI-generated, 40 extracted, 30 handcrafted:

  • Maximizes validated real-world data (40 extracted)
  • Supplements with targeted edge cases (30 handcrafted)
  • Adds scalable diversity (30 AI-generated)

Deviations from Standard

Harm to Minors (70-30-0):

  • Ethical decision: No handcrafted prompts to avoid researcher exposure to child safety violations
  • Compensated with 70 AI-generated (filtered) + 30 extracted from vetted datasets

Integrity & Quality (40-30-30):

  • Increased AI generation due to limited public datasets for this emerging category
  • Covers academic dishonesty, misinformation generation, credential falsification

Category Distribution

100 prompts per harmful category:

  • Balanced evaluation across categories
  • Sufficient sample size for statistical significance
  • Prevents single category from dominating metrics

300 benign prompts (3× harmful categories):

  • False positive rate is critical operational metric requiring precision
  • Benign content spans vastly more diverse use cases
  • Over-refusal directly impacts system utility and user trust

Ground Truth Philosophy

Labels are deliberately conservative:

  • Harmful: Clear policy violations with minimal ambiguity
  • Benign: Unambiguously acceptable requests
  • Edge cases excluded: Ensures reproducible evaluation without subjective judgment

Purpose

Evaluate supervision systems on content moderation under operational constraints.

Key Evaluation Dimensions

  1. Detection Rate: Percentage of harmful prompts correctly identified
  2. False Positive Rate: Percentage of benign prompts incorrectly flagged
  3. Latency: End-to-end response time in realistic deployment scenarios
  4. Cost: Per-prompt API costs or estimated compute expenses

Source Datasets

Our extracted prompts (620, 44%) draw from:

Some samples from the Bells V2 dataset are originally from other datasets:

Paraphrasing to Remove Model Fingerprints

The Problem: During initial evaluation, Mistral models consistently outperformed all other models on the benchmark, achieving 96% accuracy. This performance seemed suspiciously high and suggested the dataset retained distinctive stylistic fingerprints from the Mistral generation model used to create the responses. This creates unwanted bias where the generation model has an unfair advantage over other models being evaluated, as supervision systems may have an advantage by having a similar internal representation space as the generating model.

The Solution: To remove model-specific fingerprints and ensure fair evaluation, we paraphrased all 1,400 generated responses using an older model architecture (Llama 2 / Vicuna 13B) that is no longer actively deployed in production systems. By using a model that evaluators are unlikely to encounter in practice, we ensure that evaluated supervision systems aren't biased toward recognizing the generation model's distinctive style. The paraphrasing process maintains the semantic content and meaning of each response while removing the characteristic patterns that could identify the source model.

Implementation Challenges: Initial attempts to use base models from the Llama 2 to Vicuna family (including larger 30B+ parameter variants) revealed poor instruction-following capabilities for paraphrasing tasks. These base models struggled to preserve semantic meaning while modifying stylistic elements, often producing outputs that were either too similar to the input (failing to remove fingerprints) or too different (losing important semantic content). To address this challenge, we fine-tuned Vicuna 13B specifically for the paraphrasing task.

Fine-tuning Approach:

  • Training data: We curated 7,000 high-quality samples combining existing human conversation datasets with our own manually written samples to ensure diversity and naturalness
  • Training method: We used the Mistral 24B model to paraphrase human-written text, creating (human text, Mistral paraphrase) pairs. We then trained Vicuna 13B on the inverse function to learn the mapping from Mistral output back to human-like text
  • Training technique: LoRA (Low-Rank Adaptation) fine-tuning for parameter-efficient training
  • Validation: We tested the fine-tuned model against multiple AI detection systems to ensure outputs were indistinguishable from human writing

Result: The fine-tuned paraphrasing model successfully produces human-like output with natural imperfections including grammatical errors, typos, and stylistic variations typical of human writing. All paraphrased samples passed AI detection tests and were classified as human-written text. This paraphrasing approach successfully removed Mistral fingerprints while maintaining the semantic content, sample quality, and naturalness of the responses. Post-paraphrasing evaluation showed that Mistral models no longer exhibited the suspicious 96% accuracy advantage, confirming successful removal of model-specific fingerprints.

Contact

  • Leonhard Waibl: leonhard.waibl{at}student[dot]tugraz.at
  • Felix Michalak: felix[at]michalax{.}de
  • Hadrien Mariaccia: hadrien{at}securite-ia[dot]fr

Citation

If you use this dataset in your research, please cite:

@dataset{bells_content_moderation_input_dataset_2026,
  title={BELLS-O: Content Moderation Input Dataset},
  author={Waibl, Leonhard and Michalak, Felix and Mariaccia, Hadrien},
  year={2026},
  publisher={Hugging Face},
  howpublished={\url{https://huggingface.co/datasets/centrepourlasecuriteia/content-moderation-input-dataset}}
}

Part of BELLS-Operational • SPAR Fall 2025 • CeSIA

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. 2026-05-14update readme.md7729f4e12.9 KB
    Loading...
  2. 2026-05-07Update README.mdf46c0ac12.4 KB
    Loading...
  3. 2026-05-07Update README.mdf3921fe12.5 KB
    Loading...
  4. 2026-04-25Update README.md88ddcd812 KB
    Loading...
  5. 2026-03-19update readme.mdfad910412.1 KB
    Loading...
  6. 2026-03-08Added tags to README.mdeed382c12 KB
    Loading...
  7. 2026-03-03Updated request formccaeb5e12 KB
    Loading...
  8. 2026-03-03Updated License8c597c011.9 KB
    Loading...
  9. 2026-03-03Updated dataset card and README.md for Benign dataset and language info.6f0551c11.9 KB
    Loading...
  10. 2026-03-03Update dataset card and README.mdd0911ef11.6 KB
    Loading...
  11. 2026-01-15Update README.mddc6c43010.9 KB
    Loading...
  12. 2026-01-15Update README.md16ad2c210.9 KB
    Loading...
  13. 2026-01-14Update README.mde01d0a27.9 KB
    Loading...
  14. 2026-01-12paraphrased generated samplesa886a007.8 KB
    Loading...
  15. 2026-01-09Update README.md59e06ae7.8 KB
    Loading...
  16. 2026-01-07Delete bellsO_dataset_paraphrased.csva4c617c7.8 KB
    Loading...
  17. 2026-01-07Upload input_dataset.csvbac8bcb7.8 KB
    Loading...
  18. 2025-12-28Delete bellsO_dataset.csv as it is replaced by the new paraphrased version.020c9c57.8 KB
    Loading...
  19. 2025-12-27New paraphrased Dataset (#2)8352a007.8 KB
    Loading...
  20. 2025-11-28naming fixa92e5fe7.8 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 2 threads · 1 open · 2 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-12-27PRNew paraphrased Datasetmerged1 💬#2
    Loading...
  2. 2025-11-28[bot] Conversion to Parquetopen1 💬#1
    Loading...

Related datasets same stage · evaluate

Read further

Metadata

License
cc-by-nc-sa-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("centrepourlasecuriteia/content-moderation-input-dataset")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="centrepourlasecuriteia/content-moderation-input-dataset", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/centrepourlasecuriteia/content-moderation-input-dataset
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