komomori's picture
Add 1,000,000 cases and three nested benchmark runs
f9430af verified
|
Raw History Blame Contribute Delete
12.7 kB
metadata
language:
  - en
task_categories:
  - text-classification
tags:
  - content-moderation
  - ai-safety
  - benchmark
size_categories:
  - 1M<n<10M
configs:
  - config_name: scenarios
    default: true
    data_files:
      - split: test
        path:
          - scenarios.jsonl
          - scenarios-v3-grounded.jsonl
          - scenarios-v3-nearfuture.jsonl
          - scenarios-v3-speculative.jsonl
          - scenarios-v4-*.jsonl.gz
  - config_name: public
    data_files:
      - split: test
        path: public.jsonl
  - config_name: light
    data_files:
      - split: test
        path: runs/light.jsonl.gz
  - config_name: medium
    data_files:
      - split: test
        path:
          - runs/light.jsonl.gz
          - runs/add-medium.jsonl.gz
  - config_name: heavy
    data_files:
      - split: test
        path:
          - runs/light.jsonl.gz
          - runs/add-medium.jsonl.gz
          - runs/add-heavy.jsonl.gz

General Baseline Moderation Evaluation

An English regression set for three text-moderation profiles at Standard: Kids safe v2, Social standard v1, and Dating v1. profiles.json records the profile versions, category IDs, and policy hashes. This repository contains the benchmark data and its documentation, not the runner or an API adapter.

Coverage

Profile Allow Flag Block Total
Kids safe 130,818 130,792 130,800 392,410
Social standard 131,155 130,821 130,845 392,821
Dating 109,035 109,032 109,022 327,089
Total 371,008 370,645 370,667 1,112,320

V4 adds 1,000,000 cases and preserves all 112,320 previously published rows. The counts here describe the unique corpus (scenarios and public). The three benchmark selections repeat rows from that corpus.

Config Provenance Cases
scenarios Original fictional scenarios 1,073
scenarios Everyday fictional settings (flagline-v2-grounded) 3,672
scenarios Near-future settings (flagline-v2-nearfuture) 3,672
scenarios Invented worlds (flagline-v2-speculative) 3,672
scenarios V3 everyday fictional settings (flagline-v3-grounded) 33,354
scenarios V3 near-future settings (flagline-v3-nearfuture) 33,303
scenarios V3 invented worlds (flagline-v3-speculative) 33,303
scenarios V4 everyday fictional settings (flagline-v4-grounded) 333,300
scenarios V4 near-future settings (flagline-v4-nearfuture) 333,300
scenarios V4 invented worlds (flagline-v4-speculative) 333,300
public Public comments from Civil Comments (civil-comments) 321
public Observed messages from SMS Spam Collection (uci-sms-spam) 8
public Published functional examples from HateCheck (hatecheck), not observed traffic 42

Expansion method

Two OpenCode Go / DeepSeek V4.1 Flash research passes checked source rights and provenance, and mapped moderation boundaries against the pinned profiles. CheckList (2020) and HateCheck (2021) informed the functional and contrastive design, and NCMEC's online enticement guidance informed the distinction between supervised support and secretive or coercive adult-child contact. Source and policy checks were completed in November 2026.

The V2 fictional cases start from 102 authored motifs, six per profile/category pair. Each motif is instantiated in 12 settings per tier. Each setting gives three cases with the same focal message and different context, one for each verdict. The context changes evidence that matters to the decision, such as whether a recipient consented to a follow-up or explicitly requested no contact. A merely suggestive threat can be a flag; an agreed meeting is not a threat. Explicit first-person self-injury intent follows the pinned profiles' block examples, distinct from coping, recovery, or ambiguous distress. Crisis disclosures require a separate human response regardless of the content verdict.

V3 adds 33,320 matched triples (99,960 fictional cases). It combines the 102 existing context-swap motifs with 102 new dialogue motifs authored with OpenCode Go / DeepSeek Flash assistance. In a context swap, the focal message stays fixed and the background changes. In a dialogue triple, the setting and preceding turn stay fixed and the focal reply changes. Triples span 60 additional settings with transcript, discussion-thread, and report-style layouts. Deterministic sampling balances verdicts within each tier and profile/category pair.

V4 adds 333,300 matched triples (999,900 fictional cases) and 100 reviewed public comments. Two OpenCode Go / DeepSeek Flash workers contributed to 102 new dialogue motifs. V4 combines all 306 motif families from V2, V3, and V4 with 60 settings, three message layouts, and eight kinds of benign surrounding turns. Within a triple the surrounding turn stays fixed, so differences in the verdict should come from the focal reply or its context.

For contrast scoring, remove the final hash segment from a V2, V3, or V4 ID to obtain the triple ID. For splits or uncertainty estimates, group at the broader motif level: also remove the tier, setting index, and (V3/V4) layout segment. V4 context- and reply- motifs match V2 and V3 originals, respectively. V4 newreply- motifs are new. Report accuracy by provenance and the proportion of triples where all three verdicts are correct. Do not count variants of a motif as independent observations.

Benchmark runs

Config Cases Public-source cases V2 / V3 / V4 contrast triples
light 22,560 370 1,200 / 2,348 / 3,491
medium 58,510 371 2,300 / 6,348 / 10,374
heavy 100,000 371 3,000 / 11,348 / 18,504

These fixed selections are nested: Light is contained in Medium, and Medium is contained in Heavy. All include the 1,073 original scenarios and keep contrast groups intact. Selection round-robins across motif and setting tier within each generation, which covers all profiles, categories, verdicts, and realism tiers without letting the million-row expansion crowd out the earlier cases. These are workloads, not independent splits. Use load_dataset("flagline/general-baseline-moderation-eval", "light", split="test"), substituting medium or heavy as needed.

Dataset fields

Field Meaning
id Stable case identifier
preset Moderation profile
text The full input to classify, including any supplied context
category The slice this case tests, not an extra label to send to the classifier
expected allow, flag, or block
source Source dataset, inspiration, or fictional cohort
sourceRow Upstream ID or one-based position in the pinned artifact, on imported rows only
rationale Why the expected action was assigned

Send only the text and intended profile/level to the classifier. Keep the expected verdict, category, and rationale for grading. Report mistakes and confusion counts separately by profile and by source mix, not just as an aggregate accuracy score.

Sources and rights

  • The scenarios*.jsonl files contain fictional cases. Source tags indicate inspiration, not a quote or official label. References include NCMEC on online enticement, UNICEF on cyberbullying, Tinder's community guidelines, and the FTC's 2023 romance-scam report. flagline-policy denotes labels based on the Flagline profile; Reddit's rules informed some social scenarios. No additional license is stated here for the original cases.
  • public.jsonl includes 42 cases from HateCheck, by Paul Röttger, Bertram Vidgen, Dong Nguyen, Zeerak Waseem, Helen Margetts, and Janet B. Pierrehumbert (ACL 2021). The texts are trimmed from test_suite_cases.csv at commit 3490854 under CC BY 4.0. sourceRow is the upstream case_id. Selected hateful and non-hateful rows are mapped to block and allow.
  • public.jsonl includes eight cases from SMS Spam Collection, by Tiago A. Almeida and José María Gómez Hidalgo (2011), UCI dataset 228, listed by UCI under CC BY 4.0. The original bundled readme uses its own copyright and warranty notice. sourceRow is the one-based line in SMSSpamCollection. Contact numbers and claim or reply codes are redacted. The source archive SHA-256 is 1587ea43e58e82b14ff1f5425c88e17f8496bfcdb67a583dbff9eefaf9963ce3.
  • public.jsonl also includes 321 actual comments from Civil Comments, archived from public news discussions (2015-2017) and annotated by Jigsaw. The archive and underlying text are CC0 1.0. sourceRow is the one-based row position in the pinned test Parquet, SHA-256 410f803ff161e7c4ba005db7de5b444cac413f4861bf056b0fd69d670d75aa08. Short comments were filtered for links, contact information, named individuals, and high-risk content, then selected by review. Whitespace was normalized. The neutral candidate pool had zero on all source annotation dimensions. Insult candidates had toxicity of at least 0.7 and insult of at least 0.6, without threat, identity attack, or explicit sexual labels. The 313 allow, three flag, and five block verdicts are Flagline judgments for Social standard / harassment, not Jigsaw labels. V3 and V4 add 40 and 100 reviewed allow examples from the same neutral source pool. The source's 2019 paper discusses annotation bias.

Limitations

This is not a private holdout, a representative sample of live traffic, or a launch gate. Public source rows may have appeared in training data. Scenarios are model-assisted and have not been independently annotated. The generated rows are controlled variants, not independently written messages. V3 and V4 reuse dialogue and background text across settings and layouts. Some context appears as a summary, and its cues may make those cases easier than live traffic. Real comments are a small, nonrepresentative slice of one profile. flag is a benchmark review judgment, not a verified violation.

The data includes examples of harassment, prejudice, threats, self-harm language, fraud, bullying, and non-graphic child-safety concerns. Kids safe contains no real messages from children. A benchmark verdict is not a substitute for a child-safety or crisis-response process.