GoThread
appearance log in
home all local communities
c/cryptography@fed.dyne.org

Cryptography

log in to join
follow from another instance

Not on this instance? Enter your own instance's domain to go straight to following c/cryptography@fed.dyne.org there.

hashtags

#cryptography
0
c/cryptography@fed.dyne.org · jaromil@fed.dyne.org · 4 Nov 2024 15:35

LatticeGen: how to hide LLM conversations for Privacy-Aware Cloud AI

#cryptography
arXiv.org LatticeGen: A Cooperative Framework which Hides Generated Text in a Lattice for Privacy-Aware Generation on Cloud 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). arxiv.org

check post at origin

0 comments
also in c/cryptography@lemmy.ml

0 comments

log in to comment.

about

🔏 Cryptography, Cryptopolitics, Blockchain, Decentralization.

This is not a place for shilling currencies, market analysis and/or pump’n’dump schemes.

Questions and answers are encouraged. Be excellent to each other. 🕊️

members
49
posts
28
created
5 Aug 2024
active / week
0
active / month
0

moderators

  • @setto@fed.dyne.org
  • @jaromil@fed.dyne.org

rss · modlog

GoThread · self-hosted threadiverse · instances · modlog · rss · appearance · AGPL-3.0