ReCoPII:一种用于构建上下文PII掩码数据集的基于关系的框架
ReCoPII: A Relation-Grounded Framework for Building Contextual PII Masking Datasets
AI总结:
提出ReCoPII框架构建上下文PII掩码数据集,其生成的ReCoPII-Ko语料库的KEEP标签一致性远高于SPY方法,训练的分类器过度掩码率更低,检测器性能接近XLM-R-large且参数仅为其四分之一。
摘要:
训练用于个人身份信息(PII)的上下文掩码系统需要能区分同一实体类型中可掩码与可保留提及的示例,但隐私限制限制了真实数据的访问。基于作者的增强方法(SPY)将与作者无关的提及标记为非PII,假设存在单个数据主体而忽略其他主体。我们提出ReCoPII(基于关系的上下文PII掩码),一种无需该前提即可构建此类数据的框架:它规划受本体约束的实体关系,编写带有占位符的插入句子,用代码重建注释,用单独的LLM检查结果,并从实体关系中得出MASK/KEEP标签。在来自六个领域的韩语文档上,它生成了ReCoPII-Ko,一个带有关系、隐私和MASK/KEEP注释的语料库,我们对其进行了验证。在300对样本中,四名注释者对其采样的KEEP标签的一致性为88.42%,而对相同来源的SPY式增强的一致性为26.27%。在匹配测试中,基于该语料库训练的分类器的过度掩码率低于参考方法。与单独检测相比,结合PII检测器的上下文掩码在固定泄漏预算内消除了大部分过度掩码;在经人工验证的实体记录上,符合该预算的四个检测器的过度掩码率最高为5.04%,泄漏率最高为4.18%。该检测器在KDPII上的性能与XLM-R-large相当,但其参数约为后者的四分之一。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。