ReCoPII: A Relation-Grounded Framework for Building Contextual PII Masking Datasets
Abstract
Training contextual masking systems for personally identifiable information (PII) requires examples distinguishing maskable from preservable mentions of one entity type, but privacy restrictions limit access to real data. Author-based augmentation (SPY) labels mentions unrelated to the author as non-PII, presuming a single data subject and overlooking others. We propose ReCoPII (Relation-grounded Contextual PII masking), a framework that builds such data without this premise: it plans ontology-constrained entity relations, writes insertion sentences with placeholders, reconstructs annotations with code, checks the result with a separate LLM, and derives MASK/KEEP labels from entity relations. On Korean documents from six domains, it yields ReCoPII-Ko, a corpus with relation, privacy, and MASK/KEEP annotations, which we validate. Across 300 pairs, four annotators agree with 88.42% of its sampled KEEP labels, against 26.27% for SPY-style augmentation of the same sources. Classifiers trained on it over-mask less than under that reference on a matched test. Contextual masking fine-tuned jointly with a PII detector removes most over-masking of detection alone within a fixed leakage budget; on human-verified entity records, the four detectors meeting it over-mask at most 5.04% with at most 4.18% leakage. The detector is comparable to XLM-R-large on KDPII with about a quarter of its parameters.
Create a lesson
Metadata
- Categories
- cs.CL, cs.AI
Related papers
StutterStigma-TR: A Novel Turkish Dataset and Target-Aware BERT Framework for Stuttering-Related Stigma Detection
Shared title terminologycs.CLMuhsin Dölek, Arezoo Sadeghzadeh
ESG-Kor: A Korean Dataset for ESG-related Information Extraction and Practical Use Cases
Shared title terminologycs.CLJaeyoung Lee, Geonyeong Son, Misuk Kim
Beyond Reachability: A Relation-Semantic Reasoning Framework for Biomedical Multi-hop QA
Shared title terminologycs.CLZiyang Ling, Ziyi Chen, Ronald X. Xu et al.
From Grammar Deltas to Token Masks: Incremental Constrained Decoding under Runtime Grammar Evolution
Shared title terminologycs.CLHantao Hua, Jiming Su, Yonggang Che et al.
BCP: A Lightweight Boundary-Controlled Framework for Online Sign Language Recognition and Translation
Shared title terminologycs.CLXiao Ma, Lin Li, Shiqing Wu et al.
On the Importance of Hidden-State Refinement in Masked Diffusion Language Models
Shared title terminologycs.CLLinhao Zhong, Bozhen Fang, Xuehao Wang et al.