文本显示器:基于Transformers模型反演攻击的私有文本重构
Text Revealer: Private Text Reconstruction via Model Inversion Attacks against Transformers
摘要:
文本分类已广泛用于各种自然语言处理应用,如情感分析。当前的应用程序通常使用大型的基于transformer的语言模型来对输入文本进行分类。但是,在发布模型时,有多少私人信息可以被倒置,这方面缺乏系统的研究。在本文中,我们制定了\emph{Text Revealer} -第一个模型反演攻击的文本重建对文本分类与Transformers。我们的攻击忠实地重建包含在训练数据中的私有文本,并访问目标模型。我们利用外部数据集和GPT-2来生成目标领域的流畅文本,然后利用目标模型的反馈优化其隐藏状态。我们广泛的实验表明,我们的攻击是有效的,不同的文本长度的数据集,可以重建私人文本的准确性。
英文摘要:
Text classification has become widely used in various natural language processing applications like sentiment analysis. Current applications often use large transformer-based language models to classify input texts. However, there is a lack of systematic study on how much private information can be inverted when publishing models. In this paper, we formulate \emph{Text Revealer} -- the first model inversion attack for text reconstruction against text classification with transformers. Our attacks faithfully reconstruct private texts included in training data with access to the target model. We leverage an external dataset and GPT-2 to generate the target domain-like fluent text, and then perturb its hidden state optimally with the feedback from the target model. Our extensive experiments demonstrate that our attacks are effective for datasets with different text lengths and can reconstruct private texts with accuracy.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。