arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.00387cs.CRcs.AI
收藏

RAGShield: 检测政府RAG系统中的数值主张操纵

RAGShield: Detecting Numerical Claim Manipulation in Government RAG Systems

KrishnaSaiReddy Patil

AI总结:

RAGShield通过直接操作提取的数值,识别政府文本中的金额和百分比,验证每个主张并跟踪时间变化,有效检测数值操纵。

摘要:

检索增强生成(RAG)系统被联邦机构用于面向公民的税务指导、福利资格和法律信息,单个错误数字会导致直接经济损失。本文证明所有基于嵌入的RAG防御都有一个根本性盲点:改变税款抵免5万美元会使余弦相似度达到0.9998,无法被现有检测阈值察觉。在174对操纵数据和两个嵌入模型上,平均灵敏度差距达1,459倍。盲点已在真实IRS文档上得到验证。根本原因是嵌入编码主题而非数值精度。RAGShield通过直接操作提取的值来绕过这一问题:基于模式的引擎识别政府文本中的金额和百分比,通过双阶段上下文传播将每个值与监管实体关联(在2,742个真实IRS段落上达到99.8%的实体检测率),并验证每个主张与自身语料库构建的跨源注册表。时间追踪器标记超出已知政府更新时间表的值变化。在430个由真实IRS文档内容生成的攻击中,RAGShield检测了全部(0.0% ASR,95% CI [0%, 1%]),而基于嵌入的防御遗漏了79-90%的相同攻击。

英文摘要:

Retrieval-Augmented Generation (RAG) systems are deployed across federal agencies for citizen-facing tax guidance, benefits eligibility, and legal information, where a single incorrect number causes direct financial harm. This paper proves that all embedding-based RAG defenses share a fundamental blind spot: changing a tax deduction by $50,000 produces cosine similarity 0.9998, invisible to every known detection threshold. Across 174 manipulation pairs and two embedding models, the mean sensitivity gap is 1,459x. The blind spot is confirmed on real IRS documents.The root cause is that embeddings encode topic, not numerical precision. RAGShield sidesteps this by operating on extracted values directly: a pattern-based engine identifies dollar amounts and percentages in government text, links each value to its governing entity through two-pass context propagation (99.8% entity detection on 2,742 real IRS passages), and verifies every claim against a cross-source registry built from the corpus itself. A temporal tracker flags value changes that fall outside known government update schedules. On 430 attacks generated from real IRS document content, RAGShield detects every one (0.0% ASR, 95% CI [0%, 1%]) while embedding-based defenses miss 79-90% of the same attacks.

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

↑