Skip to content

GovernRAG: Governance of Retrieval and Response GenerationGovernRAG: Governance of Retrieval and Response Generation

Madhav Sunil, Tasneem AS
Nest Digital
Hugging Face Daily PapersarXiv:2612.02208Originally published Indexed by this site · 3 days agoDefenses

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

The authors propose GovernRAG, which constrains retrieval and answering in industrial RAG with dual contracts; in the pilot, GovernRAG has OSRR 0.000 but task success rate 0.500.

Threat modelThe protection goal is to keep human deployment approval enforceable when source documents, derived indexes and deployment state change, and to release only evidence-supported answers from within the approved scope. It assumes tenant authentication, application logic and the canonical GovernRAG endpoint are uncompromised; privileged database compromise, administrative bypass and non-contract interfaces were not evaluated.

Questions
The documents and indexes of industrial maintenance RAG change continuously, and semantically relevant content may still fall outside the scope of human deployment approval. The authors focus on how to make approval a runtime constraint and to refuse to answer when evidence is insufficient.
Methods
GovernRAG uses a Knowledge-Scope Contract to fix the approved documents, chunks, source files, logical index fingerprints, and retrieval settings, and a Grounding Contract to check evidence and answers, allowing one repair and otherwise refusing to answer.
Experiments and results
The pilot compares four retrieval configurations. Dense and Hybrid RAG each went out of scope on 6/10 live queries, while no out-of-scope retrieval was observed for Human-Scoped RAG and GovernRAG; GovernRAG detected 5/5 simulated changes, but abstained on 4 of 8 answerable questions.
Limitations and future work
The authors note that the validator falsely rejects answerable questions and cannot determine whether approved content was originally erroneous or malicious. The experiments cover only one local industrial maintenance scenario, ten queries, and five simulated changes, report no confidence intervals, and provide no corpus or implementation artifacts.
Experimental setupPoisoned Knowledge Benchmark · MRR、OSRR et al.
Metrics
MRROSRRKLRContract ComplianceAbstention AccuracyAnswer CorrectnessTask SuccessCDDRP50/P95/Maximum latency
AI summaryGovernRAG introduces a governance layer for retrieval-augmented industrial maintenance assistants, using knowledge-scope contracts to lock retrieval within approved document snapshots, blocking reasoning on any out-of-scope access. In the pilot, unrestricted dense and hybrid retrieval each went out of scope in 9 of 50 results and 6 of 10 queries, while GovernRAG had no out-of-scope access and detected all 5 fingerprint mutations. However, the heuristic validator abstained on 4 of 8 answerable questions, dropping task success rate to 50.0%.

GovernRAG introduces a governance layer for retrieval-augmented industrial maintenance assistants, using knowledge-scope contracts to lock retrieval within approved document snapshots, blocking reasoning on any out-of-scope access. In the pilot, unrestricted dense and hybrid retrieval each went out of scope in 9 of 50 results and 6 of 10 queries, while GovernRAG had no out-of-scope access and detected all 5 fingerprint mutations. However, the heuristic validator abstained on 4 of 8 answerable questions, dropping task success rate to 50.0%.

Related events and news

1 events · 0 news mentions

  • This event's paper

    GovernRAG:检索与响应生成的治理

    GovernRAG 把 RAG 检索锁定在已批准文档快照内,试点中无越界、检出全部 5 次指纹突变,但任务成功率降至 50.0%。

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The authors study how to turn human deployment approval into a RAG runtime constraint that is continuously enforced across documents, indexes and answer release.

    The core question is: when source documents and derived retrieval indexes keep changing, can industrial RAG continue to enforce the original human deployment approval and answer only from verified evidence within the approved scope.

    • Application scenario: an industrial maintenance assistant retrieves answers from equipment manuals, SOPs, inspection reports and repair records. The authors argue that search delays extend downtime, and that using outdated instructions may introduce safety risks.
    • Gaps in existing controls: the authors state that access control, version metadata, reranking, grounding checks and abstention each address different failure modes, but do not necessarily bind runtime retrieval to the knowledge state approved at deployment time. Relevant passages may still fall outside the approved scope.
    • Core observation: relevance and approval answer different questions; selecting the latest version also cannot confirm that revised source files, re-chunked content or rebuilt indexes have been reviewed for that deployment.
    • Proposed approach: GovernRAG represents approval as an executable deployment constraint, with the Knowledge-Scope Contract restricting retrieval and the Grounding Contract managing evidence sufficiency, claim verification, one repair attempt and abstention; the authors position the contribution as architectural integration rather than a new retrieval or verification algorithm.
    • Threat model: this is a defensive governance architecture; the paper does not define an active attacker or their capabilities, and mainly addresses knowledge drift, out-of-scope retrieval and unsupported answers.
      • Protection goal: maintain the approved knowledge boundary and fail closed when source files or logical index state change, until human re-approval.
      • Relied-upon assumptions: correct tenant authentication, valid deployment binding, uncompromised application logic, and use of the canonical GovernRAG endpoint.
      • Victim system boundary: an industrial maintenance copilot; privileged database or application compromise is outside the protection of the formal model.
  2. What related research exists?

    Related work covers RAG, Agentic RAG, RAGOps, secure retrieval, access and version control, and governance frameworks; the authors distinguish this paper by the deployment-approval invariant.

    RAG and Agentic RAG

    • Lewis et al. (2020): proposed RAG, combining dense neural retrieval with sequence generation so that the model consults external knowledge at inference time rather than relying only on parametric memory.
    • Retrieval extensions surveyed by Sharma (2025): include dense–sparse fusion, RRF, cross-encoder reranking, hierarchical chunking, graph retrieval and adaptive retrieval. The author states that most implementations still use the entire index store as the search space after routine access checks, and that the optimization objective is relevance rather than a deployment-approved snapshot.
    • Singh et al. (2025): survey planning, reflection, tool use, memory and iterative retrieval in Agentic RAG. The authors note that orchestration itself does not specify which document and index state a given deployment has approved.

    Lifecycle, trustworthy and secure RAG

    • RAGOps by Xu et al. (2025): extends LLMOps to ingestion, indexing, deployment, evaluation, monitoring and maintenance, covering continuous revision of documents, embeddings, indexes, prompts and models.
    • Ni et al. (2025): survey trustworthy RAG directions including evidence attribution, retrieval confidence, hallucination mitigation, interpretability, robustness and response verification.
    • Palanisamy et al. (2026): discuss document poisoning, prompt injection, retrieval manipulation, privacy leakage and defensive filtering. The authors keep the goals of this work distinct from deployment scope.

    Access, versioning, evidence and selective answering

    • Permission-Aware RAG (Jeong and Lee, 2025) and Authorization-First Retrieval (Namboothiri, 2026): the former verifies permissions through source-system identity and access management; the latter requires authorization to constrain the candidate set before semantic retrieval.
    • VersionRAG (Stuhlmann et al., 2025) and LedgerRAG (Wang et al., 2026): the former represents document revision relationships to support version-sensitive questions; the latter records evidence for individual claims and decides whether to continue, refresh or stop retrieval based on freshness, source authority and conflicts.
    • Selective Question Answering (Kamath et al., 2020): retains the option not to answer when confidence or evidence is insufficient, providing a relevant basis for abstention.

    Governance frameworks and experimental baselines

    • NIST Zero Trust Architecture (Rose et al., 2020) and AI RMF (Tabassi, 2023): provide, respectively, explicit policy-based access decisions and principles for accountability, transparency, monitoring and lifecycle risk management. The authors state that neither specifies how to bind RAG retrieval to a human-approved enterprise knowledge and index snapshot.
    • Experimental baselines and benchmark: Dense RAG, Hybrid RAG and Human-Scoped RAG are compared on the Poisoned Knowledge Benchmark constructed by the authors; the first two search the full knowledge base, while the latter searches only approved documents and does not use the Grounding Contract (Table 2).

    The authors position GovernRAG as a deployment-binding layer that reuses authorization, retrieval, grounding and abstention mechanisms: user authorization is a precondition, but the approved scope is a smaller subset of it; the distinction is that changes in source-file or logical-index fingerprints trigger blocking and re-approval, and the same deployment contract constrains both retrieval and answer release (Table 1).

  3. How does the paper address this problem?

    GovernRAG filters retrieval with an immutable knowledge-scope contract, blocks service on fingerprint changes, and then uses the grounding contract to decide release, repair or abstention.

    The overall idea is to separate deployment-time governance from runtime inference: GovernRAG first stores an immutable knowledge snapshot approved by experts, then on each request verifies state, constrains dense and sparse retrieval, and performs evidence and claim checks before an answer leaves the system.

    Deployment Approval and Knowledge-Scope Contract

    • Knowledge ingestion: Documents are parsed, split, embedded and indexed; the system records the SHA-256 digest of the original file, as well as a logical manifest derived from chunk identity and text, and also records the chunk count, embedding model and version, dimensions and splitting implementation metadata.
    • Human scoping: Only documents with complete index and integrity metadata can enter approval. A deterministic lexical recommender gives a bounded shortlist of candidates, domain experts decide the final scope, and the selected identifiers are verified again before creating the contract.
    • Immutable contract: The content includes the deployment target, documents and optional chunk identifiers, source and index fingerprints, retrieval configuration, grounding policy and governance metadata; the canonical payload is protected by a hash, and subsequent approvals create new versions without modifying old records.

    Contract-Bound Retrieval and Drift Handling

    • Runtime predicates: Each request derives tenant, approved documents and chunks, document readiness status and exact fingerprint constraints from the active contract; request parameters can only narrow the candidate set, not expand the approval boundary.
    • Unified filtering: Dense vector search and PostgreSQL full-text search use the same predicates, and candidates are fused via RRF and reranked by a cross-encoder; fusion and reranking can only adjust order or remove candidates, not add evidence that did not pass filtering.
    • Retrievable set: S(C,t)={c∣ tenant(c)=t∧ document(c)∈ DC∧(AC=∅∨ c∈ AC)∧ ready(document(c))∧ Ft(document(c))=FC(document(c))}, i.e., only chunks whose tenant, approval scope, readiness status and current fingerprint all conform to the contract can participate in retrieval (Eq. 1).
    • fail closed: Before retrieval, the current source file and logical index fingerprints are compared; any mismatch marks the contract as stale, records a governance event and blocks inference. The fingerprint predicate is also retained in the retrieval query, and service resumes only after re-approval and binding of a new version.

    Grounding Contract and Answer Release

    • Release condition: EvidenceSufficient(E)∧ V(a,E)=accept, i.e., an answer is released only when evidence is sufficient and the verifier accepts it (Eq. 4); if evidence is insufficient, the system refuses to answer directly.
    • One repair: After generating an answer, atomic claim verification is performed; after an initial rejection, at most one repair is made, and if it still fails, the system deterministically refuses to answer.
    • Current verifier: It uses lexical, numerical and negation-consistency checks, and the decision path is deterministic, but the authors explicitly state that its semantic judgment quality remains an empirical limitation.

    Algorithm Flow and Auditing

    1. Create contract: Algorithm 1 sequentially filters incomplete documents, ranks them for review, obtains the expert subset, verifies ownership and fingerprints, generates and hashes the contract, and then binds the copilot.
    2. Execute inference: Algorithm 2 first verifies the contract, then retrieves, fuses, reranks and checks evidence; afterward it generates, verifies, and depending on the result releases, performs one repair, or refuses to answer.
    3. Re-verify: Algorithm 3 marks the contract stale after detecting document or index modification, notifies reviewers, reviews the updated content, and generates and binds a new version.
    4. Retain records: Each request appends the contract version, runtime identifiers, evidence digest, generated claims and supporting or refuting relations; PostgreSQL row-level security provides tenant isolation, and append-only triggers prevent ordinary modification or deletion of governance records.

    The formal model states only software control invariants; it does not guarantee that approved documents are correct, that every answer is factually correct, or that maintenance recommendations are operationally safe, nor does it provide cryptographic authenticity for human approval itself.

  4. What experiments did the paper conduct?

    The pilot includes ten poisoned knowledge queries, ten live requests for each of four configurations, and five simulated changes; scope filtering is effective, but validator false rejections reduce task success rate.

    Experimental Setup

    • Evaluation targets: four system configurations: Dense RAG, Hybrid RAG, Human-Scoped RAG, and GovernRAG; this is a system-level governance comparison, not a benchmark of different foundation models or retrievers, and the paper does not report the name of the language model used.
    • Data and scale: the authors constructed the Poisoned Knowledge Benchmark, whose materials are enterprise-style industrial maintenance documents, including outdated revisions, conflicting procedures, corrupted or modified documents, semantically similar but irrelevant materials, prompt injection documents, and post-deployment updates; the paper does not report the total number of documents.
    • Three sets of experiments: the offline poisoned-knowledge test contains ten queries; the live evaluation submits the same set of ten questions to each of the four configurations, for a total of forty requests; five post-deployment fingerprint changes are additionally introduced.
    • Baseline differences: Dense and Hybrid RAG search the full knowledge base with no grounding; Human-Scoped RAG searches only approved documents with no grounding; GovernRAG uses contract scope and enables grounding (Table 2).
    • Metrics: MRR measures retrieval ranking; OSRR is the proportion of out-of-scope chunks, KLR is the proportion of released answers that cite at least one out-of-scope chunk, Compliance is the proportion of queries whose retrieved context is entirely in scope, and CDDR is the proportion of injected changes detected before inference.
    • Answer labels and scoring: answerability uses the original in-scope answerable binary labels; Answer Correctness is the proportion of released answers judged correct. Task Success counts a judged-correct release or an abstention on an unanswerable question as success, and does not separately penalize a correct release for being out of scope, so it is not a scope-compliance metric; the paper does not report the judge model, human raters, or number of repetitions.

    Main Results

    The aggregated results of the ten live queries are as follows (according to Table 4(a)):

    Swipe horizontally to read the table

    ConfigurationMRROSRRKLRComplianceAbstention AccuracyAnswer CorrectnessTask Success
    Dense RAG1.0000.1800.6000.4000.8001.0001.000
    Hybrid RAG1.0000.1800.6000.4000.8001.0001.000
    Human-Scoped RAG1.0000.0000.0001.0000.8001.0001.000
    GovernRAG1.0000.0000.0001.0000.6000.7500.500
    • Scope and ranking: the authors state that high retrieval ranking quality alone does not guarantee scope compliance; in this pilot, scope restriction removed the observed leakage while not reducing MRR.
    • Raw out-of-scope counts: the two unrestricted configurations, Dense and Hybrid, each returned 9 out-of-scope chunks among 50 retrieval results and crossed the approved boundary in 6 of the 10 live queries; no out-of-scope chunks were observed for Human-Scoped RAG or GovernRAG.
    • Success-rate definition: the three baselines still released judged-correct answers on live09 and live10, the two in-scope unanswerable questions, recorded as C*; this explains their combination of Task Success of 10/10 but only 8/10 correct abstention decisions (Table 4(b)).

    Offline Poisoned Knowledge and Per-Query Results

    • Offline governance metrics: Dense RAG has MRR of 0.833, OSRR of 0.679, KLR of 1.000, Compliance of 0.000, and Abstention Accuracy of 0.600; Human-Scoped RAG and GovernRAG both have MRR of 1.000, OSRR and KLR of 0.000, and Compliance of 1.000 (Table 3).
    • Offline abstention difference: Human-Scoped RAG has Abstention Accuracy of 0.600 and GovernRAG of 1.000; the authors state that GovernRAG produced the expected abstentions on the unanswerable cases in this test (Table 3).
    • Live false abstentions and incorrect releases: GovernRAG correctly abstained on live09 and live10, but also abstained on four of the eight answerable questions, namely live03, live05, live07, and live08; three of the four releases were judged correct and live02 was judged incorrect, yielding 6/10 correct abstention decisions, a 3/4 release correctness rate, and 5/10 task success (Table 4(b)).

    Knowledge Drift and Runtime Performance

    • Change detection: the five simulated changes cover source files, logical index content, embedding configuration, and chunking configuration; GovernRAG detected all five before retrieval and marked the contract stale, with CDDR of 5/5 = 1.000, and resumed inference only after re-validating the contract.
    • Local latency: GovernRAG's P50/P95/Maximum is 6.49/11.33/11.33 seconds, Human-Scoped RAG is 9.51/11.93/11.93 seconds, Dense RAG is 16.19/21.18/21.18 seconds, and Hybrid RAG is 16.05/18.15/18.15 seconds (Table 5).
    • Authors' caveat on latency: early abstention can end the pipeline before full generation, so these values are not a clean estimate of governance overhead; a component-level latency study is needed to separate contract validation, filtered retrieval, fingerprint checks, grounding, and generation.

    Other Ablations and Analyses

    • Separating scope and release control: the configuration comparison in Table 2 separates scope restriction from contract validation and verifier-governed release, but there is no ablation that separately removes the fingerprint check or the repair step.
    • Descriptive small sample: Section 6.4 explicitly states that the test set is small and the values are descriptive and should not be treated as stable population estimates.
    • Reproduction materials: Section 6.3 states that the four configurations use a fixed query set and corpus snapshot and report raw counts, but the preprint does not include the benchmark corpus or implementation artifacts.
    • Boundary of result generalization: Section 7.1 notes that the offline results apply only to the tested corpus and queries and cannot be taken to mean that leakage is impossible in any deployment.
  5. What are some points that can be further explored?

    The authors list validator quality, trustworthiness of approved content, and bypass paths as limitations, and plan to expand annotation, test across domains, and improve semantic validation.

    Limitations and future directions noted by the authors

    • Approved content is not necessarily correct: Section 7.4 notes that the corpus is treated as trustworthy after expert review; the system can detect that approved content has changed, but cannot determine whether it was already wrong, incomplete or malicious at the time of approval.
    • The verifier causes false abstentions: Section 7.4 notes that the current Grounding Contract relies on lexical, numerical and negation heuristics, is relatively conservative, and rejects answerable queries.
    • Chunk context and safety boundary: Section 7.4 notes that chunk-level retrieval may miss surrounding procedural context; fingerprints protect source-file and logical-index consistency, not semantic correctness or operational safety.
    • Bypass and compromise not evaluated: Section 7.4 explicitly lists privileged database compromise, administrative bypass, background services and legacy non-contract retrieval interfaces as not included in the evaluation.
    • Scale and reproducibility information: Section 7.4 states that the experiments are small, localized and cover only one industrial maintenance scenario, with no confidence intervals; larger-scale reproducible comparisons would require public disclosure of corpus composition, queries, labels, model and embedding versions, retrieval and verifier settings, hardware and repeated-run statistics.
    • Future directions: Section 8 proposes calibrated semantic verification, larger-scale independently annotated evaluation, cross-domain industrial testing, conflict-aware evidence handling, and practical workflows for contract evolution and re-approval.

    Scope of experimental coverage

    • System configurations: the experiments compare four configurations, Dense, Hybrid, Human-Scoped and GovernRAG, with the same query set and corpus snapshot fixed (Sections 6.2, 6.3).
    • Query and change scale: offline testing uses ten queries, live testing uses ten questions for each of the four configurations, and five simulated fingerprint changes; the paper does not report the number of repeated runs (Sections 6, 7.3).
    • Domain and materials: all experiments use enterprise-style materials from the industrial maintenance domain, covering the six categories of knowledge governance challenges listed by the authors; the total number of corpus documents is not reported (Section 6.1).
    • Model and review information: the paper does not report the names of the foundation model, local generation model or review model, nor the reviewers and agreement for the judged-correct labels (Sections 6.3, 6.4).
    • Release and reproducibility: the preprint does not include the benchmark corpus or implementation artifacts, and the latency results correspond only to the local pilot and are not normalized for hardware (Section 6.3).
  6. Summarize the main content of the paper

    GovernRAG implements human approval as dual contracts for retrieval and release; the pilot observed no out-of-contract-scope retrieval, but the heuristic verifier caused multiple false abstentions.

    GovernRAG is a deployment governance architecture for industrial maintenance RAG, addressing the problem that after changes to documents, chunking and indexes, the runtime knowledge state may deviate from the human-approved scope.

    • Method highlights: the Knowledge-Scope Contract stores approved documents and chunks, SHA-256 source-file snapshots, the logical index manifest and retrieval settings; dense and sparse retrieval are filtered by the contract first, and RRF and cross-encoder cannot add out-of-scope evidence.
    • Drift and release: when source-file or logical-index fingerprints do not match, the contract becomes stale and blocks inference until re-approval. The Grounding Contract checks evidence sufficiency and claim support, allows one repair attempt, otherwise abstains, and keeps audit records.
    • Offline results: on the ten-question Poisoned Knowledge Benchmark, Dense RAG has OSRR 0.679 and KLR 1.000; Human-Scoped RAG and GovernRAG both have OSRR and KLR of 0.000, and MRR of 1.000 (Table 3).
    • live results: Dense and Hybrid RAG each return 9 out-of-scope chunks among 50 retrieval results, and each has 6/10 queries out of scope; no out-of-scope retrieval was observed for GovernRAG, but Task Success is 0.500, lower than 1.000 for the three baselines (Table 4).
    • Utility cost and drift detection: GovernRAG abstains on four of eight answerable questions, and three of four releases were judged correct; all five simulated source-file or index changes were detected, with CDDR 5/5 = 1.000.

    The authors consider that this pilot supports the feasibility of maintaining the approved knowledge boundary at runtime, but does not establish general safety or leakage-prevention guarantees beyond the tested cases. The authors regard verifier quality as the main practical limitation, and list calibrated semantic verification, larger-scale independently annotated evaluation, cross-domain industrial testing and re-approval workflows as priority directions for future work.

Read originalhuggingface.co