Local Anonymization of Free-Text Robbery Police Reports in Brazilian Portuguese: a Safety-Recall-Oriented Multi-Model Benchmark
Brazilian public-safety agencies release structured crime statistics but withhold the free-text narrative field of police reports, which is rich in modus operandi and contextual information, because it contains personal data protected by the Brazilian General Data Protection Law (LGPD). We address this deadlock for robbery reports with a fully local (on-premise) two-stage anonymization pipeline: a deterministic regular-expression stage for structured personally identifiable information (PII) and a pluggable semantic layer (dedicated NER, local LLMs served by Ollama, union and chained hybrids, and Microsoft Presidio as a system baseline). We contribute (i) an expert-annotated gold standard of 996 robbery narratives, released with the source code; (ii) an entity-level evaluation protocol whose headline metric is safety recall (how much PII actually did not leak), complemented by a re-identification-criticality analysis and bootstrap confidence intervals; and (iii) an empirical benchmark of nine engine configurations quantifying the safety–utility trade-off. The union of spaCy and qwen3:8b over the regex stage reaches the highest macro safety recall (0.986, 95% CI [0.972; 0.994]; micro 0.973) and is the most conservative (highest-recall) option, while qwen3:8b alone gives the best overall balance (safety recall 0.966, precision 0.80, micro-F1 0.826, text retention 96%) and is our recommendation for general use. In this configuration, direct identifiers (names, documents, phones, e-mails) are removed at 99–100%, with residual leakage concentrated in location quasi-identifiers. Safety recall measures PII removal, not residual reidentification risk: these figures bound leakage rather than certify anonymity. We recommend qwen3:8b for general supervised anonymization, and the union when leakage must be minimized, and discuss conditions for replication across Brazilian police forces.
- Link
- https://doi.org/10.5753/kdmile.2026.30418
- Found by
- Crossref
- Authors
- Murilo G. de Almeida, Leonardo C. Botega, Paula Miwa de Paiva Lima, M. G. de Almeida
- Categories
- benchmark, evaluation
- Published
- 2026-10-19
- Last seen by the radar
- 2026-10-21
- Citations
- 0
- Influential citations
- 0
- Radar score
- 35.50 / 100 (how it is scored)
- Why it scored so
- Also found via Semantic Scholar; Matched: benchmark, evaluat; Primary record: Crossref
- Related links
- https://www.semanticscholar.org/paper/88d95e1c918fe52888c3bd7660c28c9394d661e5
https://sol.sbc.org.br/index.php/kdmile/article/download/44984/44747