arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2405.11916cs.LGcs.CR
收藏

大型语言模型中嵌入的信息泄漏

Information Leakage from Embedding in Large Language Models

Ant Group(蚂蚁集团)

Zhipeng Wan, Anda Cheng, Yinggui Wang, Lei Wang

AI总结:

本研究提出输入重建攻击方法及Embed Parrot模型,从LLM深层嵌入恢复用户输入,并引入防御机制以保护隐私。

摘要:

大型语言模型(LLM)的广泛采用引发了关于数据隐私的担忧。本研究旨在通过输入重建攻击来调查隐私侵犯的潜在可能性,在这种攻击中,恶意的模型提供者可能从嵌入中恢复用户输入。我们首先提出了两种从模型隐藏状态重建原始文本的基础方法。我们发现这两种方法在攻击浅层嵌入时有效,但在攻击深层嵌入时效果下降。为了解决这个问题,我们随后提出了Embed Parrot,一种基于Transformer的方法,用于从深层嵌入重建输入。我们的分析表明,Embed Parrot能够有效地从ChatGLM-6B和Llama2-7B的隐藏状态中重建原始输入,在各种令牌长度和数据分布下展现出稳定的性能。为了减轻隐私泄露的风险,我们引入了一种防御机制来阻止对嵌入重建过程的利用。我们的研究结果强调了在分布式学习系统中保护用户隐私的重要性,并为增强此类环境中的安全协议提供了宝贵的见解。

英文摘要:

The widespread adoption of large language models (LLMs) has raised concerns regarding data privacy. This study aims to investigate the potential for privacy invasion through input reconstruction attacks, in which a malicious model provider could potentially recover user inputs from embeddings. We first propose two base methods to reconstruct original texts from a model's hidden states. We find that these two methods are effective in attacking the embeddings from shallow layers, but their effectiveness decreases when attacking embeddings from deeper layers. To address this issue, we then present Embed Parrot, a Transformer-based method, to reconstruct input from embeddings in deep layers. Our analysis reveals that Embed Parrot effectively reconstructs original inputs from the hidden states of ChatGLM-6B and Llama2-7B, showcasing stable performance across various token lengths and data distributions. To mitigate the risk of privacy breaches, we introduce a defense mechanism to deter exploitation of the embedding reconstruction process. Our findings emphasize the importance of safeguarding user privacy in distributed learning systems and contribute valuable insights to enhance the security protocols within such environments.

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

↑