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

MIA-Tuner:将大语言模型适配为预训练文本检测器

MIA-Tuner: Adapting Large Language Models as Pre-training Text Detector

Huazhong University of Science and Technology(华中科技大学);Tsinghua University(清华大学)

Wenjie Fu, Huandong Wang, Chen Gao, Guanghua Liu, Yong Li, Tao Jiang

AI总结:

本文提出MIA-Tuner,一种基于指令的成员推理攻击方法,让LLM自身作为预训练数据检测器,并设计两种指令防护措施,同时构建新基准WIKIMIA-24,实验表明其将MIA的AUC从0.7提升至0.9。

摘要:

大语言模型(LLMs)日益增长的参数量和庞大的数据集,凸显了审计与LLMs相关的潜在隐私风险和版权问题的技术解决方案的迫切需求。现有研究通过探索预训练数据检测问题部分地满足了这一需求,该问题是成员推理攻击(MIA)的一个实例。该问题涉及判断给定文本是否在目标LLM的预训练阶段被使用过。尽管现有方法设计了各种复杂的MIA评分函数,在预训练LLM上取得了可观的检测性能,但如何实现高置信度检测以及如何在对齐LLM上执行MIA仍然具有挑战性。在本文中,我们提出了MIA-Tuner,一种新颖的基于指令的MIA方法,该方法指示LLM自身在内部充当更精确的预训练数据检测器,而不是设计外部MIA评分函数。此外,我们设计了两种基于指令的防护措施,分别缓解现有方法和MIA-Tuner带来的隐私风险。为了全面评估最新的最先进LLMs,我们收集了一个更新的MIA基准数据集,命名为WIKIMIA-24,以取代广泛采用的基准WIKIMIA。我们在两个基准数据集上对各种对齐和未对齐的LLMs进行了大量实验。结果表明,MIA-Tuner将MIA的AUC从0.7提高到显著的高水平0.9。

英文摘要:

The increasing parameters and expansive dataset of large language models (LLMs) highlight the urgent demand for a technical solution to audit the underlying privacy risks and copyright issues associated with LLMs. Existing studies have partially addressed this need through an exploration of the pre-training data detection problem, which is an instance of a membership inference attack (MIA). This problem involves determining whether a given piece of text has been used during the pre-training phase of the target LLM. Although existing methods have designed various sophisticated MIA score functions to achieve considerable detection performance in pre-trained LLMs, how to achieve high-confidence detection and how to perform MIA on aligned LLMs remain challenging. In this paper, we propose MIA-Tuner, a novel instruction-based MIA method, which instructs LLMs themselves to serve as a more precise pre-training data detector internally, rather than design an external MIA score function. Furthermore, we design two instruction-based safeguards to respectively mitigate the privacy risks brought by the existing methods and MIA-Tuner. To comprehensively evaluate the most recent state-of-the-art LLMs, we collect a more up-to-date MIA benchmark dataset, named WIKIMIA-24, to replace the widely adopted benchmark WIKIMIA. We conduct extensive experiments across various aligned and unaligned LLMs over the two benchmark datasets. The results demonstrate that MIA-Tuner increases the AUC of MIAs from 0.7 to a significantly high level of 0.9.

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

↑