arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.17157cs.CL
收藏

LatticeGen:一种将生成文本隐藏在格中的协作框架,用于云端隐私感知生成

LatticeGen: A Cooperative Framework which Hides Generated Text in a Lattice for Privacy-Aware Generation on Cloud

University of Washington(华盛顿大学);University of California, San Diego(加利福尼亚大学圣迭戈分校);Allen Institute for Brain Science(艾伦脑科学研究所);Espresso Systems(意式浓缩咖啡系统公司);Rutgers University(罗格斯大学)

Mengke Zhang, Tianxing He, Tianle Wang, Lu Mi, Fatemehsadat Mireshghallah, Binyi Chen, Hao Wang, Yulia Tsvetkov

AI总结:

本文提出 LatticeGen 协作框架,让云端承担主要计算、用户控制采样并把真实文本混入噪声格,以抵御恶意服务器攻击并保护提示与生成隐私。

摘要:

在当前云端使用大语言模型(LLM)进行提示生成的用户-服务器交互范式中,服务器完全控制生成过程,这使得希望将生成文本保密的用户毫无选择。我们提出 LatticeGen,这是一种协作框架,其中服务器仍处理大部分计算,而用户控制采样操作。核心思想是,用户将真实生成序列与噪声 token 混合,并隐藏在一个带噪格中。考虑到假设的恶意服务器可能发起的攻击以及用户如何防御,我们提出了重复束搜索攻击和混合噪声方案。在实验中,我们应用 LatticeGen 同时保护提示和生成内容。结果表明,尽管带噪格会降低生成质量,但在强攻击下,LatticeGen 仍能在显著程度上成功保护真实生成内容(以 BERTScore 衡量,超过 50% 的语义保持隐藏)。

英文摘要:

In the current user-server interaction paradigm of prompted generation with large language models (LLM) on cloud, the server fully controls the generation process, which leaves zero options for users who want to keep the generated text to themselves. We propose LatticeGen, a cooperative framework in which the server still handles most of the computation while the user controls the sampling operation. The key idea is that the true generated sequence is mixed with noise tokens by the user and hidden in a noised lattice. Considering potential attacks from a hypothetically malicious server and how the user can defend against it, we propose the repeated beam-search attack and the mixing noise scheme. In our experiments we apply LatticeGen to protect both prompt and generation. It is shown that while the noised lattice degrades generation quality, LatticeGen successfully protects the true generation to a remarkable degree under strong attacks (more than 50% of the semantic remains hidden as measured by BERTScore).

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

↑