arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2606.17467cs.CRcs.CL
收藏

PARSE: 面向专业领域LLM Agent的溯源感知检索净化

PARSE: Provenance-Aware Retrieval Sanitization for Professional Domain LLM Agents

Data Science Institute(数据科学研究所)

Aaditya Pai

AI总结:

针对真实企业文档中提示注入攻击难以防御的问题,提出PARSE方法,通过分类句子注入可能性、提取结构化事实并验证一致性,将攻击成功率从25.4%降至15.6%,同时保持86.9%的实用性。

摘要:

在合成基准上评估的提示注入防御无法泛化到真实企业文档,这些文档更长、更密集,并将合法权威语言与事实内容交织在一起。我们通过一个包含五个专业领域(金融、法律、医学、科学、DevOps)122个任务的真实文档基准,使用实际的SEC文件、联邦公报规则、PubMed摘要、arXiv论文和GitHub事后分析报告,展示了这一差距。在合成基准上最强的防御方法——释义,在真实文档上未显示出统计显著的攻击成功率降低(p=0.500),同时实用性从91.8%降至82.8%。我们引入了PARSE(溯源感知检索净化),一种领域感知、事实保留的净化流程,它按注入可能性对每个句子进行分类,在重写前提取结构化事实,并通过一致性检查循环验证事实保留。一个指导性门控将59%的真实企业文档路由到轻量级路径,将计算成本集中在高风险文档上。PARSE实现了15.6%的攻击成功率——相比25.4%的基线降低了38%——在86.9%的实用性下,这是唯一既统计显著(p=0.014,具有充分统计功效)又保持接近基线实用性的条件。从业者应在领域匹配的真实文档上评估防御,而不是合成代理。

英文摘要:

Prompt injection defenses evaluated on synthetic benchmarks do not generalize to real enterprise documents, which are longer, denser, and interleave legitimate authority language with factual content. We demonstrate this gap with a benchmark of 122 tasks across five professional domains (financial, legal, medical, scientific, DevOps) built on real retrieved documents -- actual SEC filings, Federal Register rules, PubMed abstracts, arXiv papers, and GitHub postmortems -- paired with LLM-generated tasks and camouflaged payloads that were not human-validated. Paraphrasing, the strongest defense on synthetic benchmarks, shows no statistically significant attack success rate reduction on real documents (p=0.500) while degrading utility from 91.8% to 82.8%. We introduce PARSE (Provenance-Aware Retrieval Sanitization), a domain-aware, fact-preserving sanitization pipeline that classifies each sentence by injection likelihood, extracts structured facts before rewriting, and verifies fact preservation via a consistency-checking loop. A directiveness gate routes 59% of real enterprise documents to a lightweight path, concentrating computational cost on high-risk documents. PARSE achieves 15.6% attack success rate -- a 39% reduction versus the 25.4% baseline -- at 86.9% utility, the largest reduction of any condition evaluated (h=-0.245), nominally significant (p=0.014) but not surviving correction for multiple comparisons. Practitioners should evaluate defenses on domain-matched real documents, not synthetic proxies.

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

↑