arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.01639cs.LGcs.AIcs.CR
收藏

面向大语言模型的隐私保护上下文学习

Privacy-Preserving In-Context Learning for Large Language Models

Princeton University(普林斯顿大学)

Tong Wu, Ashwinee Panda, Jiachen T. Wang, Prateek Mittal

AI总结:

针对上下文示例可能被LLM响应泄露的问题,本文提出DP-ICL范式,通过不相交示例集上的模型集成与带噪共识生成差分隐私响应,并在分类和生成任务上验证了效用—隐私权衡。

摘要:

上下文学习(ICL)是大语言模型(LLM)的一项重要能力,使这些模型能够基于特定的上下文示例进行动态适配,从而提高准确性和相关性。然而,LLM的响应可能会泄露上下文示例中包含的敏感隐私信息。为应对这一挑战,我们提出了差分隐私上下文学习(DP-ICL),这是一种用于将ICL任务私有化的通用范式。DP-ICL范式的核心思想是:基于互不相交的示例集,在一组LLM响应之间通过带噪共识生成差分隐私响应。基于DP-ICL的通用范式,我们实例化了若干技术,展示如何将文本分类和语言生成的ICL私有化。我们在四个文本分类基准和两个语言生成任务上评估了DP-ICL,实证结果表明DP-ICL实现了良好的效用—隐私权衡。

英文摘要:

In-context learning (ICL) is an important capability of Large Language Models (LLMs), enabling these models to dynamically adapt based on specific, in-context exemplars, thereby improving accuracy and relevance. However, LLM's responses may leak the sensitive private information contained in in-context exemplars. To address this challenge, we propose Differentially Private In-context Learning (DP-ICL), a general paradigm for privatizing ICL tasks. The key idea for DP-ICL paradigm is generating differentially private responses through a noisy consensus among an ensemble of LLM's responses based on disjoint exemplar sets. Based on the general paradigm of DP-ICL, we instantiate several techniques showing how to privatize ICL for text classification and language generation. We evaluate DP-ICL on four text classification benchmarks and two language generation tasks, and our empirical results show that DP-ICL achieves a strong utility-privacy tradeoff.

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

↑