GitHub

Method

Same texts, same order, the settings written down. Label maps for every tool were frozen before the first score.

What we count

Hidden in full
Share of labelled private details whose every character the tool hid.
Found, at least in part
Share of labelled private details the tool touched with at least one masked character.
Precision
Share of the characters the tool hid that really were private. Fully labelled documents only.
Hidden by mistake
Characters hidden that were not private, per 1,000 characters of text. Lower is better.

The headline number is hidden in full: a private detail counts only if every character of it is hidden. A name with half the surname left in view is a leak, so it scores zero.

How each tool ran

Coverage

A tool is only scored where it can read the language. Azure AI Language is scored on the 1,486 OpamiBench documents in languages it supports. AWS Comprehend reads English and Spanish, so it has no OpamiBench Multi headline. Bedrock Guardrails returned 1,557 of 1,558 documents. Empty cells are never zeros.

Training overlap

OpamiBench was held out from the training of protect-v1. Four of the sets (Four languages set 1, Clean controls, AI4Privacy sample and Court passages) helped us choose between versions of protect-v1 before release: a new version had to do at least as well on them. REDACT uses its locked split. PII Arena's tab-echr set is left out because protect-v1 trained on TAB. Before scoring, every public dataset was checked for overlap with the training data.

Speed

200 documents per benchmark, the same for every tool and machine (seed 1116). Ten documents of warm-up, then one document per request, one request at a time. We report the median and p95 wall time per call. GPU: NVIDIA L4 (AWS g6.xlarge). Cloud APIs: timed from our servers, network included.

Left out

Our interest

Opami makes Opami Protect. OpamiBench is our own benchmark, and a maker's own test can favour its maker. That is why the four public benchmarks sit next to it, why we show the sets where we lose, and why the code is public. If your numbers differ from ours, publish them and tell us.