mlsanityData to 14 Oct 2026

Retrieval-Confused Generation is a Good Defender for Privacy Violation Attack of Large Language Models

arXiv 2506.19889 ↗First posted 24 Jun 2025cs.CR cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Recent advances in large language models (LLMs) have made a profound impact on our society and also raised new security concerns. Particularly, due to the remarkable inference ability of LLMs, the privacy violation attack (PVA), revealed by Staab et al., introduces serious personal privacy issues. Existing defense methods mainly leverage LLMs to anonymize the input query, which requires costly inference time and cannot gain satisfactory defense performance. Moreover, directly rejecting the PVA query seems like an effective defense method, while the defense method is exposed, promoting the evolution of PVA. In this paper, we propose a novel defense paradigm based on retrieval-confused generation (RCG) of LLMs, which can efficiently and covertly defend the PVA. We first design a paraphrasing prompt to induce the LLM to rewrite the "user comments" of the attack query to construct a disturbed database. Then, we propose the most irrelevant retrieval strategy to retrieve the desired user data from the disturbed database. Finally, the "data comments" are replaced with the retrieved user data to form a defended query, leading to responding to the adversary with some wrong personal attributes, i.e., the attack fails. Extensive experiments are conducted on two datasets and eight popular LLMs to comprehensively evaluate the feasibility and the superiority of the proposed defense method.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 17 of its 26 references that are in the map. First posted on arXiv 24 Jun 2025.

Builds on

17 of 26 references.

References · 17

  1. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  2. 2023Qwen Technical Reportcited by 3,344
  3. 2022Interleaving Retrieval with Chain-of-Thought Reasoning for Knowledge-Intensive Multi-Step Questionscited by 923
  4. 2022A Survey on In-context Learningcited by 721
  5. 2021Retrieval Augmentation Reduces Hallucination in Conversationcited by 692
  6. 2024A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Modelscited by 452
  7. 2024A Systematic Survey of Prompt Engineering in Large Language Models: Techniques and Applicationscited by 431
  8. 2023ToolQA: A Dataset for LLM Question Answering with External Toolscited by 274
  9. 2024To CoT or not to CoT? Chain-of-thought helps mainly on math and symbolic reasoningcited by 263
  10. 2024Jailbreak Attacks and Defenses Against Large Language Models: A Surveycited by 230
  11. 2024Security and Privacy Challenges of Large Language Models: A Surveycited by 186
  12. 2023Compositional Exemplars for In-context Learningcited by 144
5 more
  1. 2024CoRAL: Collaborative Retrieval-Augmented Large Language Models Improve Long-tail Recommendationcited by 44
  2. 2024A Synthetic Dataset for Personal Attribute Inferencecited by 36
  3. 2024Self-Training with Direct Preference Optimization Improves Chain-of-Thought Reasoningcited by 26
  4. 2024IncogniText: Privacy-enhancing Conditional Text Anonymization via LLM-based Private Attribute Randomizationcited by 23
  5. 2024Large Language Models are Advanced Anonymizerscited by 22

Built on by

Not cited yet.