arXiv — NLP / Computation & Language · · 4 min read

Learning to Erase Private Knowledge from Multi-Documents for Retrieval-Augmented Large Language Models

Mirrored from arXiv — NLP / Computation & Language for archival readability. Support the source by reading on the original site.

Computer Science > Computation and Language

arXiv:2504.09910 (cs)
[Submitted on 14 Apr 2025 (v1), last revised 24 Jun 2026 (this version, v2)]

Title:Learning to Erase Private Knowledge from Multi-Documents for Retrieval-Augmented Large Language Models

View a PDF of the paper titled Learning to Erase Private Knowledge from Multi-Documents for Retrieval-Augmented Large Language Models, by Yujing Wang and Jinwen Chen and Hainan Zhang and Liang Pang and Yongxin Tong and Binghui Guo and Hongwei Zheng and Zhiming Zheng
View PDF HTML (experimental)
Abstract:Retrieval-Augmented Generation (RAG) is a promising technique for applying LLMs to proprietary domains. However, retrieved documents may contain sensitive knowledge, posing risks of privacy leakage in generative results. Thus, effectively erasing private information from retrieved documents is a key challenge for RAG. Unlike traditional text anonymization, RAG should consider: (1) the inherent multi-document reasoning may face de-anonymization attacks; (2) private knowledge varies by scenarios, so users should be allowed to customize which information to erase; (3) preserving sufficient publicly available knowledge for generation tasks. This paper introduces the privacy erasure task for RAG and proposes Eraser4RAG, a private knowledge eraser which effectively removes user-defined private knowledge from documents while preserving sufficient public knowledge for generation. Specifically, we first construct a global knowledge graph to identify potential knowledge across documents, aiming to defend against de-anonymization attacks. Then we randomly split it into private and public sub-graphs, and fine-tune Flan-T5 to rewrite the retrieved documents excluding private triples. Finally, PPO algorithm optimizes the rewriting model to minimize private triples and maximize public triples retention. Experiments on four QA datasets demonstrate that Eraser4RAG achieves superior erase performance than GPT-4o.
Subjects: Computation and Language (cs.CL)
Cite as: arXiv:2504.09910 [cs.CL]
  (or arXiv:2504.09910v2 [cs.CL] for this version)
  https://doi.org/10.48550/arXiv.2504.09910
arXiv-issued DOI via DataCite

Submission history

From: Yujing Wang [view email]
[v1] Mon, 14 Apr 2025 06:10:31 UTC (4,675 KB)
[v2] Wed, 24 Jun 2026 05:13:06 UTC (2,254 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Learning to Erase Private Knowledge from Multi-Documents for Retrieval-Augmented Large Language Models, by Yujing Wang and Jinwen Chen and Hainan Zhang and Liang Pang and Yongxin Tong and Binghui Guo and Hongwei Zheng and Zhiming Zheng
  • View PDF
  • HTML (experimental)
  • TeX Source

Current browse context:

cs.CL
< prev   |   next >
Change to browse by:
cs

References & Citations

Loading...

BibTeX formatted citation

loading...
Data provided by:

Bookmark

BibSonomy Reddit
Bibliographic Tools

Bibliographic and Citation Tools

Bibliographic Explorer Toggle
Bibliographic Explorer (What is the Explorer?)
Connected Papers Toggle
Connected Papers (What is Connected Papers?)
Litmaps Toggle
Litmaps (What is Litmaps?)
scite.ai Toggle
scite Smart Citations (What are Smart Citations?)
Code, Data, Media

Code, Data and Media Associated with this Article

alphaXiv Toggle
alphaXiv (What is alphaXiv?)
Links to Code Toggle
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub Toggle
DagsHub (What is DagsHub?)
GotitPub Toggle
Gotit.pub (What is GotitPub?)
Huggingface Toggle
Hugging Face (What is Huggingface?)
ScienceCast Toggle
ScienceCast (What is ScienceCast?)
Demos

Demos

Replicate Toggle
Replicate (What is Replicate?)
Spaces Toggle
Hugging Face Spaces (What is Spaces?)
Spaces Toggle
TXYZ.AI (What is TXYZ.AI?)
Related Papers

Recommenders and Search Tools

Link to Influence Flower
Influence Flower (What are Influence Flowers?)
Core recommender toggle
CORE Recommender (What is CORE?)
About arXivLabs

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Discussion (0)

Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.

Sign in →

No comments yet. Sign in and be the first to say something.

More from arXiv — NLP / Computation & Language