By Saul Martin · · 5 min read
A redaction tool can fail in two ways. It can miss personal data, which then leaks into a log, a prompt or a training set. Or it can mask text that was never personal, which breaks the answer, record or analysis that depended on it.
One accuracy figure hides which failure you are getting. So we publish a number for each, plus the time a tool takes per text. This post explains what those numbers count, so you can read the eval results and the tool comparisons for yourself.
The dataset: PIIMark v1
PIIMark v1 tests redaction the way it is used: chat messages, documents, logs, forms, code and config snippets. It has 114,081 items in 34 languages. 97,446 contain synthetic personal data and 16,635 are harmless.
Every value is synthetic. ID numbers carry real checksums and come with invalid twins, phone numbers are valid in their numbering plan, and no real person appears. The items come from 21,116 sentence templates written in each language, not translated from one another.
The items are split into a dev set of 33,506 and a test set of 80,575. No template is in both, so a tool tuned on dev cannot memorise test. Every tool runs on all 80,575 test items, exactly the same items for each.
We built PIIMark ourselves, so it follows our labelling policy. That is a real limitation, and it is why the method and its known weak spots are published with the results.
Structured recall
Recall is the share of personal data a tool finds. Our headline figure, structured recall, covers the categories with a defined shape: national IDs, tax and document numbers, company numbers, phone numbers, emails, payment cards, IBANs, postal addresses, dates of birth, IP addresses, device IDs and secrets such as API keys.
A value counts as found only when every required character is masked. Masking half of an IBAN still leaks the other half, so it scores as a miss.
Update 4 Dec 2026: the two modes are now called Fast (formerly Precise) and Full (formerly Balanced, then Strict). The figures in this post are for both modes as they ship, on the full test split.
On the test split, Fast, our default mode, finds 90.6% of structured personal data, and Full 91.8%. The other tools we ran find 30.4% to 77.8%.
Recall on all categories
The second recall figure adds what structured recall leaves out: people's names, quasi-identifiers such as age, gender, job or city, and special categories such as health, religion or politics.
We score lower here, and that follows from how the engine works. Fast finds names by rules where the text labels them: form fields, letter greetings and signatures, chat speakers. Names in running prose stay as written. Quasi-identifiers and special categories are off by default. On all categories Fast scores 58.0%, and on the full test split it finds 49.5% of names.
Full adds a small XLM-RoBERTa model that we fine-tuned. It confirms or rejects candidates the rules found, such as a digit run or a street with no label next to it. Its name tagger also finds people’s names and organisations in running text.
If names in free text matter for your data, this is the number to read. That is why we show it next to the headline instead of folding it in.
False positives on harmless look-alikes
The false-positive rate is the share of harmless items where a tool masked anything at all. One stray mask makes the whole item count.
The harmless items are look-alikes on purpose: codes and numbers shaped like personal data, documented example keys and IBANs, test IDs that pass their checksum. Real text is full of them.
Over-masking has a cost you notice later. A chatbot that receives <PHONE_1> instead of an order number cannot answer the question about the order. A dataset where every code and date is masked loses what it was collected for. And reviewers who see constant false alarms stop trusting the redaction step.
Fast masks something in 8.6% of harmless items, and Full in 13.0%. The other tools do so in 26.5% to 91.9%. Some of them mask places, organisations or dates by design. We count those masks too, because they change the text either way.
Time per text
Speed is the median time per text, with one call per text, on one server CPU, with no GPU and no API calls. Every timed tool ran on the same machine, with the same harness, on the same items.
Fast takes 0.10 ms per text at the median. Full takes 5.8 ms, model included; its name tagger reads every text, so its time grows with length. A median hides the slow texts, so we report those too: in Fast, p95 is 1.3 ms and p99 is 3.3 ms.
The 10 other tools we timed take 0.40 ms to 773 ms per text at the median.
Keeping the comparison fair
- Every tool runs with its default settings and all its entity types on.
- Every tool sees the same items and is scored by the same scorer.
- Our two modes run the full engine, with every detector.
- A tool we could not time on the same setup is not compared on speed. Its accuracy still counts.
These 4 were scored but not timed, so the speed results leave them out:
- GLiNER-PII (knowledgator): 69.5% structured recall, 91.9% false positives.
- LLM Guard: 53.0% structured recall, 80.1% false positives.
- DataFog: 30.9% structured recall, 26.5% false positives.
- scrubadub: 30.4% structured recall, 37.7% false positives.
How to use these numbers
Start from the failure you can least afford. If a leak is the worst outcome, as in a dataset export, weigh recall and consider Full. If a broken answer is the worst outcome, as in a live chatbot, weigh false positives and keep Fast.
Then look at the data you actually have. A support inbox full of order numbers and a stack of forms full of labelled names stress different parts of any tool. The eval page has the full method and results, and the comparisons put us next to each tool.