arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.16893cs.CRcs.AIcs.CL
收藏

好与坏:探索检索增强生成(RAG)中的隐私问题

The Good and The Bad: Exploring Privacy Issues in Retrieval-Augmented Generation (RAG)

Michigan State University(密歇根州立大学);Jilin University(吉林大学);Baidu, Inc.(百度公司)

Shenglai Zeng, Jiankun Zhang, Pengfei He, Yue Xing, Yiding Liu, Han Xu, Jie Ren, Shuaiqiang Wang, Dawei Yin, Yi Chang, Jiliang Tang

AI总结:

本文通过新型攻击实证评估RAG隐私,发现其会泄露私有检索库,但同时可缓解LLM训练数据泄露,并为检索增强LLM隐私保护提供见解。

摘要:

检索增强生成(RAG)是一种利用专有和私有数据增强语言模型的强大技术,而数据隐私是其中的关键关切。尽管大量研究已经证明了大型语言模型(LLM)的隐私风险,但RAG技术可能会重塑LLM生成的内在行为,带来目前尚未得到充分探索的新隐私问题。在本工作中,我们采用新颖的攻击方法开展了大量实证研究,结果证明了RAG系统在泄露私有检索数据库方面的脆弱性。尽管RAG给检索数据带来了新的风险,我们进一步揭示,RAG也能够缓解LLM训练数据的泄露。总体而言,本文为检索增强型LLM的隐私保护提供了新的见解,使LLM和RAG系统的构建者均能受益。我们的代码可在 https://github.com/phycholosogy/RAG-privacy 获取。

英文摘要:

Retrieval-augmented generation (RAG) is a powerful technique to facilitate language model with proprietary and private data, where data privacy is a pivotal concern. Whereas extensive research has demonstrated the privacy risks of large language models (LLMs), the RAG technique could potentially reshape the inherent behaviors of LLM generation, posing new privacy issues that are currently under-explored. In this work, we conduct extensive empirical studies with novel attack methods, which demonstrate the vulnerability of RAG systems on leaking the private retrieval database. Despite the new risk brought by RAG on the retrieval data, we further reveal that RAG can mitigate the leakage of the LLMs' training data. Overall, we provide new insights in this paper for privacy protection of retrieval-augmented LLMs, which benefit both LLMs and RAG systems builders. Our code is available at https://github.com/phycholosogy/RAG-privacy.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑