mlsanityData to 7 Oct 2026

Estimating Privacy Leakage of Augmented Contextual Knowledge in Language Models

arXiv 2410.03026 ↗First posted 3 Oct 2024cs.CL cs.LGcited by 6

Not on the map. Why?

Abstract (arXiv)

Language models (LMs) rely on their parametric knowledge augmented with relevant contextual knowledge for certain tasks, such as question answering. However, the contextual knowledge can contain private information that may be leaked when answering queries, and estimating this privacy leakage is not well understood. A straightforward approach of directly comparing an LM's output to the contexts can overestimate the privacy risk, since the LM's parametric knowledge might already contain the augmented contextual knowledge. To this end, we introduce *context influence*, a metric that builds on differential privacy, a widely-adopted privacy notion, to estimate the privacy leakage of contextual knowledge during decoding. Our approach effectively measures how each subset of the context influences an LM's response while separating the specific parametric knowledge of the LM. Using our context influence metric, we demonstrate that context privacy leakage occurs when contextual knowledge is out of distribution with respect to parametric knowledge. Moreover, we experimentally demonstrate how context influence properly attributes the privacy leakage to augmented contexts, and we evaluate how factors -- such as model size, context size, generation position, etc. -- affect context privacy leakage. The practical implications of our results will inform practitioners of the privacy risk associated with augmented contextual knowledge.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 43 of its 62 references that are in the map. First posted on arXiv 3 Oct 2024.

Builds on

43 of 62 references.

References · 43

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2024The Llama 3 Herd of Modelscited by 14,192
  4. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
  5. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  6. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  7. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
  8. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  9. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  10. 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
  11. 2020Extracting Training Data from Large Language Modelscited by 2,144
  12. 2019Language Models as Knowledge Bases?cited by 1,922
31 more
  1. 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,281
  2. 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,271
  3. 2018Hierarchical Neural Story Generationcited by 1,182
  4. 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 847
  5. 2021Entity-Based Knowledge Conflicts in Question Answeringcited by 349
  6. 2023Trusting Your Evidence: Hallucinate Less with Context-aware Decodingcited by 319
  7. 2022Deduplicating Training Data Mitigates Privacy Risks in Language Modelscited by 309
  8. 2021Understanding Factuality in Abstractive Summarization with FRANK: A Benchmark for Factuality Metricscited by 285
  9. 2023Can LLMs Keep a Secret? Testing Privacy Implications of Language Models via Contextual Integrity Theorycited by 218
  10. 2020Auditing Differentially Private Machine Learning: How Private is Private SGD?cited by 213
  11. 2024PrivacyLens: Evaluating Privacy Norm Awareness of Language Models in Actioncited by 161
  12. 2024The Good and The Bad: Exploring Privacy Issues in Retrieval-Augmented Generation (RAG)cited by 159
  13. 2019Privacy- and Utility-Preserving Textual Analysis via Calibrated Multivariate Perturbationscited by 115
  14. 2024ContextCite: Attributing Model Generation to Contextcited by 93
  15. 2024Investigating Data Contamination for Pre-training Language Modelscited by 91
  16. 2022Position: Considerations for Differentially Private Learning with Large-Scale Public Pretrainingcited by 86
  17. 2024Follow My Instruction and Spill the Beans: Scalable Data Extraction from Retrieval-Augmented Generation Systemscited by 76
  18. 2022Mutual Information Alleviates Hallucinations in Abstractive Summarizationcited by 67
  19. 2022The Limits of Word Level Differential Privacycited by 63
  20. 2023Locally Differentially Private Document Generation Using Zero Shot Promptingcited by 63
  21. 2020Individual Privacy Accounting via a Renyi Filtercited by 57
  22. 2023FactKB: Generalizable Factuality Evaluation using Language Models Enhanced with Factual Knowledgecited by 55
  23. 2020A Differentially Private Text Perturbation Method Using a Regularized Mahalanobis Metriccited by 41
  24. 2021When Does Translation Require Context? A Data-driven, Multilingual Explorationcited by 36
  25. 2024Context versus Prior Knowledge in Language Modelscited by 25
  26. 2024Generating Is Believing: Membership Inference Attacks against Retrieval-Augmented Generationcited by 25
  27. 2024DP-MLM: Differentially Private Text Rewriting Using Masked Language Modelscited by 24
  28. 2024Differentially Private Knowledge Distillation via Synthetic Text Generationcited by 18
  29. 2023Are Chatbots Ready for Privacy-Sensitive Applications? An Investigation into Input Regurgitation and Prompt-Induced Sanitizationcited by 17
  30. 2021Privately Publishable Per-instance Privacycited by 12
  31. 2023Context-aware Decoding Reduces Hallucination in Query-focused Summarizationcited by 10

Built on by

Cited by year (2026 to 7 Oct)

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

6 papers.