Deterministic Source Verification (DSVI) for Air-Gapped Statutory AI Governance Auditing: Architecture and Empirical Evaluation Across UK Public-Sector Policies
Organisations increasingly rely on large language models (LLMs) to check whether written AI-governance policies satisfy statutory and standards-based requirements. Cloud-hosted evaluators raise confidentiality concerns and, more fundamentally, return evidence quotations that may not exist in the audited document. This paper describes a five-stage, fully local auditing pipeline and a formal verification mechanism, the Deterministic Source Verification Invariant (DSVI), which rewrites any model-asserted finding to NONE unless its supporting quotation can be mechanically traced to a candidate passage of the source document. The pipeline combines layout-aware PDF text-flow extraction, adaptive sliding-window chunking, hybrid BM25 and dense-relevance retrieval fused by Reciprocal Rank Fusion, batched temperature-zero extraction with a locally hosted 7B-parameter model (Qwen 2.5 7B), a three-pass deterministic verifier, and a specification-driven non-compensatory state machine over 18 modules and 37 canonical sub-criteria in which any unmet fatal criterion caps a module at 0.49. We evaluate the system on four publicly available UK public-sector and corporate AI policy documents and one controlled remediation artefact. All four baseline documents triggered at least one hard veto and obtained coverage indices between 12.5% and 25.0% (RED); a 42-page, 11,005-word NHS integrated care board policy scored lower than an 8-page council policy, illustrating a length-to-control paradox, whereas the remediation artefact obtained 95.8% (GREEN) with 16 of 18 modules fully compliant. We document threats to validity, including retrieval-recall limits on long documents, the bag-of-words relaxation in DSVI Pass 3, the semantic ceiling of quantised 7B models, and heterogeneity of engine builds across audit dates.
Authors
- Manav Kumar
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-04
- DOI
- https://doi.org/10.5281/zenodo.24802797
- Primary Topic
- Artificial Intelligence in Law
- Type
- preprint