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

大型语言模型中用于隐私和数据审计的自然标识符

Natural Identifiers for Privacy and Data Audits in Large Language Models

CISPA Helmholtz Center for Information Security(CISPA 欧洲信息安全中心)

Lorenzo Rossi, Bartłomiej Marek, Franziska Boenisch, Adam Dziedzic

AI总结:

提出自然标识符(NIDs)解决LLM隐私审计难题,无需重训练即可进行事后差分隐私审计和数据集推断。

摘要:

评估大型语言模型(LLM)的隐私性面临重大挑战。特别是,大多数现有的差分隐私审计方法需要在训练期间插入精心构造的canary数据,这使得它们无法在不进行昂贵重训练的情况下审计已训练的模型。此外,数据集推断(审计可疑数据集是否用于训练模型)在无法访问私有非成员保留数据集的情况下是不可行的。然而,这样的保留数据集通常不可用或难以构建,因为它们必须与可疑数据同分布(IID)。这些限制严重阻碍了可扩展的事后审计能力。为了实现此类审计,本文引入自然标识符(NIDs)作为上述挑战的新解决方案。NIDs是结构化的随机字符串,例如加密哈希和缩短的URL,自然出现在常见的LLM训练数据集中。它们的格式使得能够从同一分布生成无限数量的额外随机字符串,这些字符串可以作为审计的替代canary,以及作为数据集推断的同分布保留数据。我们的评估强调,确实,使用NIDs,我们可以在无需任何重训练的情况下促进事后差分隐私审计,并使得对任何包含NIDs的可疑数据集进行数据集推断成为可能,而无需私有非成员保留数据集。

英文摘要:

Assessing the privacy of large language models (LLMs) presents significant challenges. In particular, most existing methods for auditing differential privacy require the insertion of specially crafted canary data during training, making them impractical for auditing already-trained models without costly retraining. Additionally, dataset inference, which audits whether a suspect dataset was used to train a model, is infeasible without access to a private non-member held-out dataset. Yet, such held-out datasets are often unavailable or difficult to construct for real-world cases since they have to be from the same distribution (IID) as the suspect data. These limitations severely hinder the ability to conduct scalable, post-hoc audits. To enable such audits, this work introduces natural identifiers (NIDs) as a novel solution to the above-mentioned challenges. NIDs are structured random strings, such as cryptographic hashes and shortened URLs, naturally occurring in common LLM training datasets. Their format enables the generation of unlimited additional random strings from the same distribution, which can act as alternative canaries for audits and as same-distribution held-out data for dataset inference. Our evaluation highlights that indeed, using NIDs, we can facilitate post-hoc differential privacy auditing without any retraining and enable dataset inference for any suspect dataset containing NIDs without the need for a private non-member held-out dataset.

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

↑