Skip to content

Feedback-guided knowledge base extraction from retrieval-augmented LLM applicationsFeedback-Guided Extraction of Knowledge Base from Retrieval-Augmented LLM Applications

arXiv· arXiv:2411.14110· Changyue Jiang, Xudong Pan, Geng Hong, Chenfu Bao, Yang Chen, Min Yang·Indexed by this site · 25 days ago· Originally publishedAttacks
AI summary

The researchers propose CopyBreakRAG, an agent-based black-box attack that progressively extracts the knowledge base of retrieval-augmented LLM applications through feedback reasoning and adaptive generation of adversarial queries. Previous query-based attacks typically achieve extraction coverage below 4%, while embedding-vector-based optimization methods require white-box access. The method uses curiosity-driven queries to balance exploration and exploitation and optimizes queries through feedback guidance; on applications built with mainstream RAG frameworks, the knowledge chunk extraction rate is on average 45% higher than existing state-of-the-art black-box methods. In applications on commercial platforms such as OpenAI GPTs and ByteDance Coze, it extracts over 70% of the knowledge base data with basic protections in place.

Read originalarxiv.org