arXiv AI

Redacting Personal Data: A Speed and Accuracy Comparison of Regex, Presidio and Hybrid Designs

The paper evaluates four methods for redacting personally identifiable information (PII) from text before it is sent to large language models (LLMs). It compares a pure regex redactor, Microsoft Presidio, a hybrid that uses Presidio for names and regex for structured identifiers, and a fast hybrid that directly calls spaCy’s named‑entity component. In tests on a resume‑to‑profile workflow, the regex approach was fastest but missed 11.1% of PII, while the hybrid and fast hybrid methods caught all PII and preserved all business terms, with the fast hybrid adding only 13.48 ms to a 9,120 ms LLM call.

arXiv AI
Jun 18

RedactionBench

arXiv:2606. 18782v1 Announce Type: cross Abstract: Large Language Models are increasingly applied to sensitive domains that require redaction of personally identifiable information (PII).

By Sean Brynj\'olfsson, Shashvat Jayakrishnan, Esha Sali, Diptanshu Purwar, Madhav Aggarwal
arXiv AI
Aug 20

Redakto - The Incognito Tab for LLMs

Redakto is a new tool designed to anonymize text before it is processed by large language models (LLMs). It offers state‑of‑the‑art redaction of personally identifiable information (PII) and pseudonymization, accessible via a web interface, REST APIs, and model context protocol hooks. The authors evaluate its performance on legal and medical datasets, showing that anonymized texts retain utility comparable to the originals, enabling LLM tasks without significant loss of effectiveness.

By Saurav Kumar Saha, Tom R\"ohr, Felix Bie{\ss}mann
arXiv AI
Oct 28

ReCoPII: A Relation-Grounded Framework for Building Contextual PII Masking Datasets

ReCoPII is a relation‑grounded framework that generates contextual PII masking datasets without assuming a single data subject. It constructs ontology‑constrained entity relations, writes insertion sentences with placeholders, and derives MASK/KEEP labels through automated annotation and LLM verification. Applied to Korean documents across six domains, ReCoPII‑Ko achieves high agreement with human annotators (88.42% on KEEP labels) and improves masking performance compared to SPY‑style augmentation.

By Taehwan Lee
arXiv Machine Learning
Aug 27

OpenSanctions Pairs: Large-Scale Entity Matching with LLMs

OpenSanctions Pairs is the first large‑scale public benchmark for entity matching on sanctions and OSINT data, comprising 755,540 expert‑labeled pairs drawn from over 1 million entities across 293 source datasets and 45 jurisdictions. The dataset spans multiple languages and writing systems, inconsistent structures, and time‑varying provenance, making it far more heterogeneous than prior benchmarks. Baseline experiments show a rule‑based matcher achieving 91.3 % F1, GPT‑4o reaching 99.0 % F1, and a locally deployable open‑source model scoring 98.2 % F1, with complementary failure modes that highlight the need to focus on downstream pipeline components.

By Chandler Smith, Magnus Sesodia, Friedrich Lindenberg, Christian Schroeder de Witt
arXiv AI
Nov 2

P-ContextBench: From Personal Fact Recall to Personalized Agent Behavior

P-ContextBench is a benchmark designed to evaluate how well large language models understand and safely use personal context. It creates realistic, life‑story‑grounded digital humans from U.S. demographic seeds, embedding traits, routines, goals, and constraints in fragmented, evolving synthetic mobile‑app records. The benchmark tests five capabilities—fact recovery, temporal tracking, pattern inference, and safe handling of conflicting requests—using a multi‑stage validation pipeline and 4,810 verified test cases.

By Grant Nasir Brown, Abdul Basir Bari, Anmol Tadikonda, Isabel Song