隐于 plain-text:一种用于 RAG 中社会网络间接提示注入的基准测试
Hidden-in-Plain-Text: A Benchmark for Social-Web Indirect Prompt Injection in RAG
AI总结:
OpenRAG-Soc 提供了一种用于评估 RAG 系统在社会网络间接提示注入攻击下的基准测试工具,通过标准化的端到端评估和可部署的缓解措施,帮助从业者跟踪风险并增强部署安全性。
摘要:
检索增强生成(RAG)系统越来越多地强调将其响应基于在 Web 上发现的用户生成内容进行接地,从而增强其有用性和攻击面。最值得注意的是,间接提示注入和检索污染攻击那些在摄入管道中存活的网络原生载体,非常令人担忧。我们提供了 OpenRAG-Soc,一种紧凑、可重复的基准测试和测试工具包,用于在这些威胁下评估面向网络的 RAG。该套件结合了社会语料库和可互换的稀疏和密集检索器以及可部署的缓解措施 - HTML/Markdown 污染、Unicode 标准化和受信任回答的属性门控。它标准化了从摄入到生成的端到端评估,并报告在回答时间的一个响应的攻击时间、稀疏和密集检索器的排名变化、实用性和延迟,允许在载体和防御之间进行公平比较。OpenRAG-Soc 目标是需要快速且真实的测试来跟踪风险并加固部署的从业者。
英文摘要:
Retrieval-augmented generation (RAG) systems put more and more emphasis on grounding their responses in user-generated content found on the Web, amplifying both their usefulness and their attack surface. Most notably, indirect prompt injection and retrieval poisoning attack the web-native carriers that survive ingestion pipelines and are very concerning. We provide OpenRAG-Soc, a compact, reproducible benchmark-and-harness for web-facing RAG evaluation under these threats, in a discrete data package. The suite combines a social corpus with interchangeable sparse and dense retrievers and deployable mitigations - HTML/Markdown sanitization, Unicode normalization, and attribution-gated answered. It standardizes end-to-end evaluation from ingestion to generation and reports attacks time of one of the responses at answer time, rank shifts in both sparse and dense retrievers, utility and latency, allowing for apples-to-apples comparisons across carriers and defenses. OpenRAG-Soc targets practitioners who need fast, and realistic tests to track risk and harden deployments.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。