File size: 16,665 Bytes
d369d9b 2f2a688 d369d9b 2f2a688 d369d9b 2f2a688 d369d9b 2f2a688 d369d9b 2f2a688 d369d9b 2f2a688 d369d9b 2f2a688 d369d9b 2f2a688 d369d9b 2f2a688 d369d9b 2f2a688 d369d9b 2f2a688 d369d9b dcfc905 d369d9b 1137f3a 948ab3c d369d9b 1137f3a 948ab3c de56a83 d369d9b 2f2a688 d369d9b 2f2a688 d369d9b 2f2a688 d369d9b 2f2a688 d369d9b 2f2a688 d369d9b 2f2a688 d369d9b 2f2a688 d369d9b 2f2a688 d369d9b 2f2a688 d369d9b 2f2a688 d369d9b 2f2a688 d369d9b de56a83 d369d9b de56a83 d369d9b 1137f3a d369d9b 1137f3a d369d9b de56a83 1137f3a d369d9b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 | ---
language: [en]
task_categories: [text-classification]
tags: [content-moderation, ai-safety, benchmark, synthetic]
size_categories: [1M<n<10M]
configs:
- config_name: very_light
default: true
data_files:
- split: test
path:
- data/01-very_light.parquet
- config_name: size_1500
data_files:
- split: test
path:
- data/01-very_light.parquet
- sizes/1500.parquet
- config_name: size_2000
data_files:
- split: test
path:
- data/01-very_light.parquet
- sizes/2000.parquet
- config_name: light
data_files:
- split: test
path:
- data/01-very_light.parquet
- data/02-light.parquet
- config_name: size_3500
data_files:
- split: test
path:
- data/01-very_light.parquet
- data/02-light.parquet
- sizes/3500.parquet
- config_name: light_plus
data_files:
- split: test
path:
- data/01-very_light.parquet
- data/02-light.parquet
- data/03-light_plus.parquet
- config_name: size_7500
data_files:
- split: test
path:
- data/01-very_light.parquet
- data/02-light.parquet
- data/03-light_plus.parquet
- sizes/7500.parquet
- config_name: compact
data_files:
- split: test
path:
- data/01-very_light.parquet
- data/02-light.parquet
- data/03-light_plus.parquet
- data/04-compact.parquet
- config_name: size_15000
data_files:
- split: test
path:
- data/01-very_light.parquet
- data/02-light.parquet
- data/03-light_plus.parquet
- data/04-compact.parquet
- sizes/15000.parquet
- config_name: size_20000
data_files:
- split: test
path:
- data/01-very_light.parquet
- data/02-light.parquet
- data/03-light_plus.parquet
- data/04-compact.parquet
- sizes/20000.parquet
- config_name: medium
data_files:
- split: test
path:
- data/01-very_light.parquet
- data/02-light.parquet
- data/03-light_plus.parquet
- data/04-compact.parquet
- data/05-medium.parquet
- config_name: size_35000
data_files:
- split: test
path:
- data/01-very_light.parquet
- data/02-light.parquet
- data/03-light_plus.parquet
- data/04-compact.parquet
- data/05-medium.parquet
- sizes/35000.parquet
- config_name: size_40000
data_files:
- split: test
path:
- data/01-very_light.parquet
- data/02-light.parquet
- data/03-light_plus.parquet
- data/04-compact.parquet
- data/05-medium.parquet
- sizes/40000.parquet
- config_name: medium_plus
data_files:
- split: test
path:
- data/01-very_light.parquet
- data/02-light.parquet
- data/03-light_plus.parquet
- data/04-compact.parquet
- data/05-medium.parquet
- data/06-medium_plus.parquet
- config_name: size_60000
data_files:
- split: test
path:
- data/01-very_light.parquet
- data/02-light.parquet
- data/03-light_plus.parquet
- data/04-compact.parquet
- data/05-medium.parquet
- data/06-medium_plus.parquet
- sizes/60000.parquet
- config_name: large
data_files:
- split: test
path:
- data/01-very_light.parquet
- data/02-light.parquet
- data/03-light_plus.parquet
- data/04-compact.parquet
- data/05-medium.parquet
- data/06-medium_plus.parquet
- data/07-large.parquet
- config_name: size_85000
data_files:
- split: test
path:
- data/01-very_light.parquet
- data/02-light.parquet
- data/03-light_plus.parquet
- data/04-compact.parquet
- data/05-medium.parquet
- data/06-medium_plus.parquet
- data/07-large.parquet
- sizes/85000.parquet
- config_name: heavy
data_files:
- split: test
path:
- data/01-very_light.parquet
- data/02-light.parquet
- data/03-light_plus.parquet
- data/04-compact.parquet
- data/05-medium.parquet
- data/06-medium_plus.parquet
- data/07-large.parquet
- data/08-heavy.parquet
- config_name: size_125000
data_files:
- split: test
path:
- data/01-very_light.parquet
- data/02-light.parquet
- data/03-light_plus.parquet
- data/04-compact.parquet
- data/05-medium.parquet
- data/06-medium_plus.parquet
- data/07-large.parquet
- data/08-heavy.parquet
- sizes/125000.parquet
- config_name: size_150000
data_files:
- split: test
path:
- data/01-very_light.parquet
- data/02-light.parquet
- data/03-light_plus.parquet
- data/04-compact.parquet
- data/05-medium.parquet
- data/06-medium_plus.parquet
- data/07-large.parquet
- data/08-heavy.parquet
- sizes/150000.parquet
- config_name: size_200000
data_files:
- split: test
path:
- data/01-very_light.parquet
- data/02-light.parquet
- data/03-light_plus.parquet
- data/04-compact.parquet
- data/05-medium.parquet
- data/06-medium_plus.parquet
- data/07-large.parquet
- data/08-heavy.parquet
- sizes/200000.parquet
- config_name: very_heavy
data_files:
- split: test
path:
- data/01-very_light.parquet
- data/02-light.parquet
- data/03-light_plus.parquet
- data/04-compact.parquet
- data/05-medium.parquet
- data/06-medium_plus.parquet
- data/07-large.parquet
- data/08-heavy.parquet
- data/09-very_heavy.parquet
- config_name: size_300000
data_files:
- split: test
path:
- data/01-very_light.parquet
- data/02-light.parquet
- data/03-light_plus.parquet
- data/04-compact.parquet
- data/05-medium.parquet
- data/06-medium_plus.parquet
- data/07-large.parquet
- data/08-heavy.parquet
- data/09-very_heavy.parquet
- sizes/300000.parquet
- config_name: size_400000
data_files:
- split: test
path:
- data/01-very_light.parquet
- data/02-light.parquet
- data/03-light_plus.parquet
- data/04-compact.parquet
- data/05-medium.parquet
- data/06-medium_plus.parquet
- data/07-large.parquet
- data/08-heavy.parquet
- data/09-very_heavy.parquet
- sizes/400000.parquet
- config_name: extreme
data_files:
- split: test
path:
- data/01-very_light.parquet
- data/02-light.parquet
- data/03-light_plus.parquet
- data/04-compact.parquet
- data/05-medium.parquet
- data/06-medium_plus.parquet
- data/07-large.parquet
- data/08-heavy.parquet
- data/09-very_heavy.parquet
- data/10-extreme.parquet
- config_name: size_600000
data_files:
- split: test
path:
- data/01-very_light.parquet
- data/02-light.parquet
- data/03-light_plus.parquet
- data/04-compact.parquet
- data/05-medium.parquet
- data/06-medium_plus.parquet
- data/07-large.parquet
- data/08-heavy.parquet
- data/09-very_heavy.parquet
- data/10-extreme.parquet
- sizes/600000.parquet
- config_name: max
data_files:
- split: test
path:
- data/01-very_light.parquet
- data/02-light.parquet
- data/03-light_plus.parquet
- data/04-compact.parquet
- data/05-medium.parquet
- data/06-medium_plus.parquet
- data/07-large.parquet
- data/08-heavy.parquet
- data/09-very_heavy.parquet
- data/10-extreme.parquet
- data/11-max.parquet
- config_name: size_850000
data_files:
- split: test
path:
- data/01-very_light.parquet
- data/02-light.parquet
- data/03-light_plus.parquet
- data/04-compact.parquet
- data/05-medium.parquet
- data/06-medium_plus.parquet
- data/07-large.parquet
- data/08-heavy.parquet
- data/09-very_heavy.parquet
- data/10-extreme.parquet
- data/11-max.parquet
- sizes/850000.parquet
- config_name: size_900000
data_files:
- split: test
path:
- data/01-very_light.parquet
- data/02-light.parquet
- data/03-light_plus.parquet
- data/04-compact.parquet
- data/05-medium.parquet
- data/06-medium_plus.parquet
- data/07-large.parquet
- data/08-heavy.parquet
- data/09-very_heavy.parquet
- data/10-extreme.parquet
- data/11-max.parquet
- sizes/900000.parquet
- config_name: ultra
data_files:
- split: test
path:
- data/01-very_light.parquet
- data/02-light.parquet
- data/03-light_plus.parquet
- data/04-compact.parquet
- data/05-medium.parquet
- data/06-medium_plus.parquet
- data/07-large.parquet
- data/08-heavy.parquet
- data/09-very_heavy.parquet
- data/10-extreme.parquet
- data/11-max.parquet
- data/12-ultra.parquet
---

# Message Moderation Eval
An English text-only benchmark with **1,000,000 unique standalone
messages**. Each row has one message. There are no scenario summaries,
transcripts, images, or earlier turns. Only send the `message` column to
the classifier; the other columns are evaluation metadata.
The benchmark uses one provider-neutral **29-category taxonomy**.
`category` is the only category field, and rows do not identify a provider.
The taxonomy merges 39 Flagline category entries across seven presets and
13 OpenAI text-moderation categories. `taxonomy.json` keeps that source
mapping for provenance only; it is not part of the label schema.
## Coverage
Every workload includes all **29 categories** and three evidence bands per
category. The source taxonomies differed in scope, and the merged category
is a shared benchmark concept, not a claim that every classifier defines it
identically.
## Hard cases
Exactly half of every workload is marked `difficulty="hard"`:
500 in `very_light`, 50,000 in `heavy`, and 500,000 in `ultra`. Hard cases
include paired messages where overlapping wording leads to opposite labels
because of a change in attribution, negation scope, timing, authorization,
speaker intent, or the target. Other hard cases omit the fact needed to
decide; those are `borderline` rather than forced positives or negatives.
They are authored fixtures and controlled wording variants, not 500,000
independently authored messages.
Report accuracy on hard and baseline rows separately. For hard pairs, send
each message on its own and only use `contrast_id` when grading. Count a
pair as correct only when both sides are correct. Skip singletons at a
workload boundary and report proxy pairs separately from decisive pairs.
For borderline rows, report a review or abstention rate instead of
treating either binary classification as a known error.
In two small blind pilots, a DeepSeek Flash subagent got 53 of 54
decisive authored challenge messages and 24 of 24 baseline controls
correct. Its one miss was a cheating case whose key distinction was
whether a paid rank boost was offered or reported. The subagent saw the
target category and message but not the labels. This was a spot check,
not a measurement of the full workload or a provider API comparison.
## Workloads
| Configuration | Cases |
| ------------- | --------: |
| `very_light` | 1,000 |
| `size_1500` | 1,500 |
| `size_2000` | 2,000 |
| `light` | 2,500 |
| `size_3500` | 3,500 |
| `light_plus` | 5,000 |
| `size_7500` | 7,500 |
| `compact` | 10,000 |
| `size_15000` | 15,000 |
| `size_20000` | 20,000 |
| `medium` | 25,000 |
| `size_35000` | 35,000 |
| `size_40000` | 40,000 |
| `medium_plus` | 50,000 |
| `size_60000` | 60,000 |
| `large` | 75,000 |
| `size_85000` | 85,000 |
| `heavy` | 100,000 |
| `size_125000` | 125,000 |
| `size_150000` | 150,000 |
| `size_200000` | 200,000 |
| `very_heavy` | 250,000 |
| `size_300000` | 300,000 |
| `size_400000` | 400,000 |
| `extreme` | 500,000 |
| `size_600000` | 600,000 |
| `max` | 750,000 |
| `size_850000` | 850,000 |
| `size_900000` | 900,000 |
| `ultra` | 1,000,000 |
Workloads are nested. The same message in two workloads has the same ID;
do not add the configuration totals together. Each config serves one `test`
split. The default is `very_light`, not `ultra`.
```python
from datasets import load_dataset
rows = load_dataset("flagline/message-moderation-eval", "very_light", split="test")
hard = rows.filter(lambda row: row["difficulty"] == "hard")
harassment = hard.filter(lambda row: row["category"] == "harassment")
```
## Fields and scoring
| Field | Meaning |
| ------------- | ----------------------------------------------------- |
| `id` | Stable hash-based message identifier |
| `message` | The only text to send to the classifier |
| `category` | Canonical provider-neutral category |
| `label` | `negative`, `borderline`, `positive`, or `proxy` |
| `family` | Shared authored fixture used to generate variants |
| `difficulty` | `baseline` or `hard` |
| `contrast_id` | Shared ID for one exact contrast pair; null otherwise |
For strict category scoring, use `positive` as present and `negative` as
absent, and score only the row's `category`. A negative for one category
does not imply that all other categories are negative. Report
`borderline` as a separate score or review distribution. The four labels
are benchmark judgments, not recorded predictions or product-wide
allow/block verdicts.
`proxy` fixtures test recognition of signals for sensitive categories
without reproducing source material: suspected child sexual abuse,
grooming reports, doxxing, children's private details, account takeover,
malware, prohibited-goods ads, and requests for assistance with violent
crime. They contain no real personal data, credentials, working exploit
code, or actionable violence or self-harm instructions. Score proxies
separately. For a proxy-only category, report negative-control behavior
and proxy behavior, not direct-positive recall. The self-harm instructions
category uses non-procedural encouragement, which its documented
definition includes.
## Construction and limits
The data is synthetic. The generator combines authored messages with
topical phrasing and chat or email registers. The one million rows are not
one million independently authored or independently annotated messages.
Schema v4 replaces half the rows from v3 and preserves the other half's
message IDs and labels. The source mapping stays in `taxonomy.json`;
rows stay provider-neutral. Workloads include every category, but do
not approximate real-world prevalence. Use `family` to account for
correlated variants and do not treat these nested workloads as independent
tests. The dataset is public, not a private holdout or a production launch
gate. It includes abusive language, self-harm and crisis language, and
descriptions of serious injuries.
In the Flagline source repo, regenerate the Parquet files and metadata
into a new directory:
```sh
node benchmarks/message-moderation-eval/build.mjs \
| uv run --no-project --with pyarrow==26.0.1 \
python benchmarks/message-moderation-eval/package.py /path/to/new-output
```
|