mlsanityData to 14 Oct 2026

Information Leakage from Embedding in Large Language Models

arXiv 2405.11916 ↗First posted 20 May 2024cs.LG cs.CRcited by 10

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 15 of its 26 references that are in the map. First posted on arXiv 20 May 2024.

Builds on

15 of 26 references.

References · 15

  1. 2017Attention Is All You Needcited by 60,361
  2. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  3. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
  4. 2016Pointer Sentinel Mixture Modelscited by 3,096
  5. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
  6. 2021Improving language models by retrieving from trillions of tokenscited by 1,293
  7. 2019Deep Leakage from Gradientscited by 1,021
  8. 2014Distributed Representations of Sentences and Documentscited by 678
  9. 2020iDLG: Improved Deep Leakage from Gradientscited by 382
  10. 2020Information Leakage in Embedding Modelscited by 203
  11. 2023Text Embeddings Reveal (Almost) As Much As Textcited by 192
  12. 2023Sentence Embedding Leaks More Information than You Expect: Generative Embedding Inversion Attack to Recover the Whole Sentencecited by 81
3 more
  1. 2022LAMP: Extracting Text from Gradients with Language Model Priorscited by 54
  2. 2022Decepticons: Corrupted Transformers Breach Privacy in Federated Learning for Language Modelscited by 53
  3. 2023Privacy-Preserving Face Recognition Using Random Frequency Componentscited by 15

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 6; 2026: 4.

10 papers.