arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.00539cs.LG

分析语言模型中个人身份信息的泄露

Analyzing Leakage of Personally Identifiable Information in Language Models

University of Waterloo(滑铁卢大学);Microsoft(微软)

Nils Lukas, Ahmed Salem, Robert Sim, Shruti Tople, Lukas Wutschitz, Santiago Zanella-Béguelin

AI总结:

本文提出仅需API访问的PII黑盒提取、推理与重构攻击定义,并在GPT-2上实证表明新攻击可多提取10倍PII,差分隐私仍泄露约3%。

摘要:

已有研究表明,语言模型(LM)会通过句子级成员推理攻击和重构攻击泄露有关训练数据的信息。理解LM泄露个人身份信息(PII)的风险受到的关注较少,这可归因于一种错误假设,即数据清洗等数据集整理技术足以防止PII泄露。清洗技术会降低但不能阻止PII泄露风险:在实践中,清洗并不完美,并且必须在最小化披露与保留数据集效用之间权衡。另一方面,差分隐私等旨在保证句子级或用户级隐私的算法防御在多大程度上能够阻止PII披露,目前尚不清楚。在本研究中,我们针对仅通过API访问LM的黑盒提取、推理和重构攻击,引入了严格的基于博弈的定义,涵盖三种类型的PII泄露。我们在三个领域(判例法、医疗保健和电子邮件)中,针对有防御和无防御条件下微调的GPT-2模型,对这些攻击进行了实证评估。我们的主要贡献是:(i)新型攻击能够提取的PII序列最多比现有攻击多10倍;(ii)证明句子级差分隐私降低了PII披露风险,但仍会泄露约3%的PII序列;以及(iii)揭示记录级成员推理与PII重构之间的微妙联系。复现本文所有实验的代码可在https://github.com/microsoft/analysing_pii_leakage获取。

英文摘要:

Language Models (LMs) have been shown to leak information about training data through sentence-level membership inference and reconstruction attacks. Understanding the risk of LMs leaking Personally Identifiable Information (PII) has received less attention, which can be attributed to the false assumption that dataset curation techniques such as scrubbing are sufficient to prevent PII leakage. Scrubbing techniques reduce but do not prevent the risk of PII leakage: in practice scrubbing is imperfect and must balance the trade-off between minimizing disclosure and preserving the utility of the dataset. On the other hand, it is unclear to which extent algorithmic defenses such as differential privacy, designed to guarantee sentence- or user-level privacy, prevent PII disclosure. In this work, we introduce rigorous game-based definitions for three types of PII leakage via black-box extraction, inference, and reconstruction attacks with only API access to an LM. We empirically evaluate the attacks against GPT-2 models fine-tuned with and without defenses in three domains: case law, health care, and e-mails. Our main contributions are (i) novel attacks that can extract up to 10$\times$ more PII sequences than existing attacks, (ii) showing that sentence-level differential privacy reduces the risk of PII disclosure but still leaks about 3% of PII sequences, and (iii) a subtle connection between record-level membership inference and PII reconstruction. Code to reproduce all experiments in the paper is available at https://github.com/microsoft/analysing_pii_leakage.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑