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

梳理凭证:从智能回复中主动提取模式

Combing for Credentials: Active Pattern Extraction from Smart Reply

University of Virginia(弗吉尼亚大学);Microsoft(微软);Microsoft Research(微软研究院)

Bargav Jayaraman, Esha Ghosh, Melissa Chase, Sambuddha Roy, Wei Dai, David Evans

AI总结:

本研究提出一种主动提取攻击,利用规范模式从智能回复模型中仅用少量查询即可提取训练数据中的敏感信息,并验证差分隐私可有效防御此类攻击。

摘要:

预训练的大型语言模型,如GPT-2和BERT,通常经过微调以在下游任务上实现最先进的性能。一个自然的例子是“智能回复”应用,其中预训练模型被调整以针对给定的查询消息提供建议回复。由于微调数据通常是敏感数据,如电子邮件或聊天记录,因此理解并减轻模型泄露其微调数据的风险至关重要。我们研究了典型智能回复流程中潜在的信息泄露漏洞。我们考虑一个现实场景,其中攻击者只能通过一个限制可发送到模型的查询类型的前端界面与底层模型交互。先前的攻击在这些设置中不起作用,但需要能够直接向模型发送无约束查询。即使对查询没有限制,先前的攻击通常也需要数千甚至数百万次查询才能提取有用信息,而我们的攻击仅需几次查询就能提取敏感数据。我们引入了一种新型的主动提取攻击,利用包含敏感数据的文本中的规范模式。我们通过实验表明,即使在所有与模型的交互都必须经过限制查询类型的前端的现实设置中,攻击者也有可能提取训练数据中存在的敏感用户信息。我们探讨了潜在的缓解策略,并实证展示了差分隐私似乎是对此类模式提取攻击的一种相当有效的防御机制。

英文摘要:

Pre-trained large language models, such as GPT\nobreakdash-2 and BERT, are often fine-tuned to achieve state-of-the-art performance on a downstream task. One natural example is the ``Smart Reply'' application where a pre-trained model is tuned to provide suggested responses for a given query message. Since the tuning data is often sensitive data such as emails or chat transcripts, it is important to understand and mitigate the risk that the model leaks its tuning data. We investigate potential information leakage vulnerabilities in a typical Smart Reply pipeline. We consider a realistic setting where the adversary can only interact with the underlying model through a front-end interface that constrains what types of queries can be sent to the model. Previous attacks do not work in these settings, but require the ability to send unconstrained queries directly to the model. Even when there are no constraints on the queries, previous attacks typically require thousands, or even millions, of queries to extract useful information, while our attacks can extract sensitive data in just a handful of queries. We introduce a new type of active extraction attack that exploits canonical patterns in text containing sensitive data. We show experimentally that it is possible for an adversary to extract sensitive user information present in the training data, even in realistic settings where all interactions with the model must go through a front-end that limits the types of queries. We explore potential mitigation strategies and demonstrate empirically how differential privacy appears to be a reasonably effective defense mechanism to such pattern extraction attacks.

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

↑