arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.20138cs.CRcs.CL
收藏

DEPN:检测与编辑预训练语言模型中的隐私神经元

DEPN: Detecting and Editing Privacy Neurons in Pretrained Language Models

Tianjin University(天津大学);ByteDance Lark AI(字节跳动飞书人工智能);Tsinghua University(清华大学)

Xinwei Wu, Junzhuo Li, Minghui Xu, Weilong Dong, Shuangzhi Wu, Chao Bian, Deyi Xiong

AI总结:

本文提出DEPN框架,通过检测并置零预训练语言模型中的隐私神经元,以批处理方式消除私有信息记忆,在不损害模型性能的前提下显著降低数据泄露风险。

摘要:

在海量数据上预训练的大语言模型捕获了训练数据中丰富的知识与信息。先前研究揭示的预训练语言模型的数据记忆与复述能力带来了数据泄露风险。为有效降低这些风险,我们提出了一个框架DEPN,用于检测与编辑预训练语言模型中的隐私神经元,部分受到知识神经元和模型编辑的启发。在DEPN中,我们引入了一种新方法,称为隐私神经元检测器,用于定位与私有信息相关的神经元,然后通过将这些检测到的隐私神经元的激活值置零来进行编辑。此外,我们提出了一个隐私神经元聚合器,以批处理方式消除对私有信息的记忆。实验结果表明,我们的方法能够显著且高效地减少私有数据泄露的暴露,同时不损害模型性能。另外,我们从多个角度(包括模型规模、训练时间、提示、隐私神经元分布)实证展示了模型记忆与隐私神经元之间的关系,说明了我们方法的鲁棒性。

英文摘要:

Large language models pretrained on a huge amount of data capture rich knowledge and information in the training data. The ability of data memorization and regurgitation in pretrained language models, revealed in previous studies, brings the risk of data leakage. In order to effectively reduce these risks, we propose a framework DEPN to Detect and Edit Privacy Neurons in pretrained language models, partially inspired by knowledge neurons and model editing. In DEPN, we introduce a novel method, termed as privacy neuron detector, to locate neurons associated with private information, and then edit these detected privacy neurons by setting their activations to zero. Furthermore, we propose a privacy neuron aggregator dememorize private information in a batch processing manner. Experimental results show that our method can significantly and efficiently reduce the exposure of private data leakage without deteriorating the performance of the model. Additionally, we empirically demonstrate the relationship between model memorization and privacy neurons, from multiple perspectives, including model size, training time, prompts, privacy neuron distribution, illustrating the robustness of our approach.

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

↑