96.9% recall, 61.9% precision: reading a PII benchmark honestly
96.9% recall, 61.9% precision: reading a PII benchmark honestly
A PII detector can find most labelled names and still remove too much useful text. Seclume Proxy's recorded PERSON results show both: 96.9% recall and 61.9% precision. Publishing only the first number would conceal a problem that matters to anyone asking a model to do useful work with the remaining text.
Seclume Proxy, under the Seclume umbrella, replaces detected sensitive values with session-stable Placeholders before forwarding supported request content to an external model. Known values can be restored in the caller's reply. That architecture reduces exposure; it does not establish that every identifier was found or that the model had enough information to answer well. The README describes the boundary and its current, unreleased scope.
This article reads the existing benchmark record. It does not report a new evaluator run.
What was measured
The results file dated 2026-10-28 describes a 220-sentence synthetic, project-authored set. The detector configuration was pattern matching plus a gazetteer plus GLiNER, using urchade/gliner_small-v2.1, the torch runtime, and timeout_ms=10000.
Those settings belong beside the numbers. The application's default NER timeout is 2000 ms, as defined in config.py. A quality evaluation with a larger inference budget is not a measurement of the full production-default request path. Under a tighter timeout, some requests may block rather than complete detection.
The historical PERSON row is:
| Measure | Recorded value |
|---|---|
| Gold labelled entities | 196 |
| Found entities | 307 |
| True positives | 190 |
| Precision, 95% confidence interval | 61.9% [56.3%, 67.1%] |
| Recall, 95% confidence interval | 96.9% [93.5%, 98.6%] |
Recall asks how many gold entities matched a detection. Precision asks how many detections matched a gold entity. A system that makes extra detections can keep recall high while reducing precision. For a redaction proxy, those extra detections mean more text disappears before the external model sees it.
The same report records 100% precision and recall for ACCOUNT_NO, BVN, EMAIL, NIN and PHONE on this set. These structured examples are template-like. Their recorded success does not establish general performance on arbitrary documents, unfamiliar formatting or deliberate evasion. The claims register explicitly limits the quality claim to this synthetic evidence.
Read the scoring code before interpreting the percentage
The evaluator uses one-to-one matching by entity type. A detection can match when it overlaps at least half the labelled span's length. Each matched detection is consumed, so it cannot satisfy another label. Unmatched detections lower precision; unmatched labels lower recall.
That overlap rule matters. A matched name span does not necessarily mean the detector found the exact boundaries or removed every identifying character. If an application requires exact removal, reviewers should inspect boundary errors separately rather than treating the reported recall as an exact-redaction success rate.
The evaluator validates label offsets and calculates Wilson 95% confidence intervals. It counts a scrub timeout as a miss and does not retry it. Its configured floor checks PERSON recall against 0.85. Passing that gate says the selected recall threshold was met on the evaluated set. It says nothing about an acceptable precision floor, downstream answer quality, or independent review.
Confidence intervals describe uncertainty around the measured proportion. They do not account for every weakness in dataset construction. A narrow interval on a biased collection would still leave the bias unresolved.
Held out does not mean independently validated
The benchmark notes say this set is separate from demo/labeled_eval.jsonl, which was used while tuning NER_THRESHOLD. They describe synthetic bank statements, KYC forms, chats, pidgin, Yoruba/Igbo/Hausa names, OCR-style spacing and negative examples. They also explicitly say no independent human labeller was available.
That separation is useful for regression work. It is not independent production evidence. Project authors still choose the examples, expected labels and categories of difficulty. An outside reviewer might disagree about whether a phrase identifies a person or whether a boundary is adequate.
There is no independent clinical test behind these figures. They should not become a claim about clinical-note de-identification, patient safety or suitability for regulated workflows. A healthcare evaluation would need its own authorised data handling, qualified review and task-specific criteria.
Over-redaction is an application problem
A Placeholder protects a detected value by withholding it from the upstream request. If the value was ordinary task context, the model must work without information it needed. Reinjection afterward cannot recover reasoning the model never had a chance to perform.
Consider a hypothetical support workflow, not a benchmark example: a model must distinguish an organisation's name from the name of a contact. If ordinary business terminology becomes PERSON Placeholders, a summary may become ambiguous. In a tool workflow, removing meaningful text from an argument may change how an external model chooses or constructs the next action.
The Scrubber implementation merges overlapping detections with longest-span preference. Pattern and gazetteer detections also blank their spans before the NER layer examines the leftover text. The reported PERSON row therefore belongs to a composed pipeline, not a standalone GLiNER score that can be transferred unchanged to another integration.
A useful next evaluation would compare task outcomes alongside redaction errors. Reviewers could judge whether a scrubbed summary preserves required facts, whether a tool argument remains usable, and whether missed identifiers create unacceptable exposure. Those are proposed checks, not completed results. Privacy and task utility need explicit acceptance criteria; a recall gate alone cannot choose them.
Keep the other measurements separate
The repository also records leaks: 0 / 35 planted entities on the project's own prompts. That is a distinct boundary test, not another description of the 220-sentence evaluator. It does not establish adversarial resistance. The limitations include obfuscated or unfamiliar formats, unsupported content and unknown request fields.
Latency needs the same discipline. The timing notes record rule-layer p50 timings around 0.15–0.22 ms for a particular 60-word workload on a development laptop. Those are not whole-model or end-to-end latency numbers. Cold inference, cached spans, skipped calls and longer inputs are different workloads.
A review that would help
Start with the metrics file and reviewer guide, rather than a screenshot of the recall figure. Then:
- Check the dataset's provenance, label policy and matching rule against your task.
- Separate misses from over-redaction and span-boundary errors during review.
- Record runtime, model, timeout, hardware and cache conditions for any local measurement.
- Define acceptable task utility before comparing detector configurations.
- Use synthetic reproductions for public detection-gap reports. Do not upload customer transcripts or real identifiers.
Independent validation should use a separately governed collection and reviewers who did not author the detector's examples. Until that exists, the honest conclusion remains specific: this recorded synthetic run found most labelled PERSON entities, with substantial over-redaction. Both numbers belong in the title.
About the Author
Hassan Oladipupo Ismail (@hassanismailtech) is a medical student and software builder working at the intersection of technology and healthcare in Africa. His interests include digital infrastructure, resilient systems design, and building practical software for emerging markets.
Currently building Seclume — an open-source, self-hosted PII-minimization proxy for AI apps and agents.