Skip to content

LAMP: Extracting Text from Gradients with Language Model PriorsLAMP: Extracting Text from Gradients with Language Model Priors

arXiv· arXiv:2202.08827· NeurIPS· Mislav Balunović, Dimitar I. Dimitrov, Nikola Jovanović, Martin Vechev·Indexed by this site · 27 days ago· Originally publishedAttacks
AI summary

The paper proposes LAMP, a gradient reconstruction attack against text data that can recover the original text from gradient updates; the authors state that the number of bigrams it recovers is 5 times that of existing methods, with subsequences averaging 23% in length. The method uses an auxiliary language model to provide a text probability prior, guiding the search toward more natural text, and alternates between continuous and discrete optimization, minimizing the reconstruction loss on embeddings while using discrete text transformations to avoid local optima. The authors state that this work is the first study to recover text model inputs from a batch size greater than 1, and they believe that gradient updates of text models leak more information than previously thought.

Read originalNeurIPS