Manuscript Offprint

arXiv:2609.02207

LeakageBench: Document-Level Leakage Risk for Redacting Personally Identifiable Information in Document Images

Vishnu Prasad Vijaya Kumar, Santhosh Venkatesh, Ivan P. Yamshchikov

Abstract

Real-world personally identifiable information (PII) redaction often operates on document images—scans, screenshots, and PDF renderings—where OCR errors, layout structure, and visual noise determine whether sensitive information is actually removed. Existing PII benchmarks are mostly text-centric and do not measure document-level redaction risk: a page remains unsafe if even one identifier is missed. We introduce LeakageBench, a challenge set of 500 document images with 11,954 GDPR-aligned PII annotations spanning direct identifiers, linkage keys, and contextual re-identification surfaces. We evaluate generic OCR pipelines, commercial and task-adapted OCR-dependent detectors, and OCR-free vision-language models using entity-level F1, group-wise leakage, and document-level leakage metrics. Code Interpreter raises GPT-5.5 localization F1 from 0.090 to 0.249, but critical page-level leakage remains 0.968. These results show that stronger detection and tool assistance improve localization without making most pages safe for release. LeakageBench provides a diagnostic benchmark for high-recall, spatially grounded PII redaction in document images.

1 Introduction

Organizations routinely redact personally identifiable information (PII) from scanned and rendered business documents. OCR errors, complex layouts, repeated identifiers, and visual noise make this more than a clean-text tagging problem. Most PII benchmarks measure span-level precision, recall, and F1 on text, while document-understanding benchmarks typically target selected key fields. Neither directly measures release safety: a page remains unsafe when any in-scope identifier remains visible. Evaluation must therefore capture both entity-level localization quality and residual page-level leakage.

Redaction presents an asymmetric operational trade-off. False positives unnecessarily obscure useful document content, whereas a single false negative can make a page unsafe to release. We therefore treat document-level leakage as a recall-oriented complement to, rather than a replacement for, localization and typing F1, which also penalize over-redaction through unmatched predictions.

We introduce LeakageBench, a challenge set of 500 document-page images containing 11,954 localized PII annotations. Its GDPR-aligned schema distinguishes direct identifiers, linkage keys, and contextual re-identification surfaces. Using a shared image-space interface, LeakageBench exposes a stark deployment gap: even the strongest evaluated configuration leaks critical Direct+Linkage PII on 96.8% of applicable pages. Our diagnostics attribute these failures to schema coverage, OCR recoverability, detection, interface validity, and spatial grounding.

Our contributions are: (1) a controlled, densely annotated document-image redaction challenge set; (2) a privacy-oriented schema covering direct, linkage, and contextual identifiers; (3) release-oriented document-level leakage metrics reported alongside entity-level F1; and (4) a unified diagnostic evaluation identifying why OCR-dependent and OCR-free systems continue to leak PII.

References (26)