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

大语言模型中的差分私有解码

Differentially Private Decoding in Large Language Models

Amazon Alexa AI(亚马逊Alexa人工智能部门)

Jimit Majmudar, Christophe Dupuy, Charith Peris, Sami Smaili, Rahul Gupta, Richard Zemel

摘要:

最近的大规模自然语言处理(NLP)系统使用预先训练的大语言模型(LLM)在大规模和多样化的语料库作为一个开端。在实践中,通过对特定于任务的数据集进行微调,预先训练的模型可以适应各种任务。LLM虽然有效,但已被证明可以记住训练数据的实例,从而潜在地揭示在预训练期间处理的私人信息。潜在的泄漏可能进一步传播到LLM被微调的下游任务。另一方面,隐私保护算法通常涉及从头开始重新训练,这对于LLM来说非常昂贵。在这项工作中,我们提出了一个简单,易于解释,计算量小的扰动机制,应用于一个已经训练好的模型在解码阶段。我们的扰动机制是模型不可知的,可以与任何LLM结合使用。我们提供的理论分析表明,所提出的机制是差分私人,和实验结果显示的隐私效用权衡。

英文摘要:

Recent large-scale natural language processing (NLP) systems use a pre-trained Large Language Model (LLM) on massive and diverse corpora as a headstart. In practice, the pre-trained model is adapted to a wide array of tasks via fine-tuning on task-specific datasets. LLMs, while effective, have been shown to memorize instances of training data thereby potentially revealing private information processed during pre-training. The potential leakage might further propagate to the downstream tasks for which LLMs are fine-tuned. On the other hand, privacy-preserving algorithms usually involve retraining from scratch, which is prohibitively expensive for LLMs. In this work, we propose a simple, easy to interpret, and computationally lightweight perturbation mechanism to be applied to an already trained model at the decoding stage. Our perturbation mechanism is model-agnostic and can be used in conjunction with any LLM. We provide theoretical analysis showing that the proposed mechanism is differentially private, and experimental results showing a privacy-utility trade-off.

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

↑