A Case Study on the Impact of Anonymization Along the RAG Pipeline

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Bodea, Andreea-Elena, Meisenbacher, Stephen, Matthes, Florian
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913040958488576
author Bodea, Andreea-Elena
Meisenbacher, Stephen
Matthes, Florian
author_facet Bodea, Andreea-Elena
Meisenbacher, Stephen
Matthes, Florian
contents Despite the considerable promise of Retrieval-Augmented Generation (RAG), many real-world use cases may create privacy concerns, where the purported utility of RAG-enabled insights comes at the risk of exposing private information to either the LLM or the end user requesting the response. As a potential mitigation, using anonymization techniques to remove personally identifiable information (PII) and other sensitive markers in the underlying data represents a practical and sensible course of action for RAG administrators. Despite a wealth of literature on the topic, no works consider the placement of anonymization along the RAG pipeline, i.e., asking the question, where should anonymization happen? In this case study, we systematically and empirically measure the impact of anonymization at two important points along the RAG pipeline: the dataset and generated answer. We show that differences in privacy-utility trade-offs can be observed depending on where anonymization took place, demonstrating the significance of privacy risk mitigation placement in RAG.
format Preprint
id arxiv_https___arxiv_org_abs_2604_15958
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle A Case Study on the Impact of Anonymization Along the RAG Pipeline
Bodea, Andreea-Elena
Meisenbacher, Stephen
Matthes, Florian
Cryptography and Security
Computation and Language
Despite the considerable promise of Retrieval-Augmented Generation (RAG), many real-world use cases may create privacy concerns, where the purported utility of RAG-enabled insights comes at the risk of exposing private information to either the LLM or the end user requesting the response. As a potential mitigation, using anonymization techniques to remove personally identifiable information (PII) and other sensitive markers in the underlying data represents a practical and sensible course of action for RAG administrators. Despite a wealth of literature on the topic, no works consider the placement of anonymization along the RAG pipeline, i.e., asking the question, where should anonymization happen? In this case study, we systematically and empirically measure the impact of anonymization at two important points along the RAG pipeline: the dataset and generated answer. We show that differences in privacy-utility trade-offs can be observed depending on where anonymization took place, demonstrating the significance of privacy risk mitigation placement in RAG.
title A Case Study on the Impact of Anonymization Along the RAG Pipeline
topic Cryptography and Security
Computation and Language
url https://arxiv.org/abs/2604.15958