Manuscript Offprint
arXiv:2611.12572Text2NGAC: a multi-LLM pipeline for NGAC policy extraction with mutation-based verification
Abstract
Access-control policies are written in natural language but enforced as formal models, and translating them into NIST Next Generation Access Control (NGAC) graphs remains unsolved: prior systems cover only subsets of the NGAC model, and none verify the graphs they extract. We present TEXT2NGAC, a pipeline of cooperating large language models that disambiguates each sentence before extraction, escalates uncertain sentences to a multi-model ensemble, and checks the resulting graph with a five-strategy verifier whose own effectiveness is measured by controlled mutation testing. To our knowledge it is the first system to extract all four NGAC relationship types — associations, prohibitions, event-response obligations, and assignments — from real-world policy documents. Three results anchor the evaluation. The verifier detects 99.7% of 918 injected mutants and every structural fail-open fault, and the fault classes it misses are characterized and weighted by security consequence rather than left unexamined. The extracted graphs are enforceable: one corpus's graph loads unmodified into the NIST reference implementation, which reproduces all 55 access decisions the graph entails and fires an extracted obligation end-to-end. Extraction reaches 97.3-99.6% exact-tuple-match accuracy on the 714 scored sentences of four real corpora, far above three reproduced baselines on matched metrics, and paraphrase probes with semantic re-scoring bound the pipeline's sensitivity to rewording. Reported accuracy is wording- and benchmark-specific, adversarial input is outside the verifier's guarantees, and the intended deployment is extraction plus structural verification feeding expert review. A complete two-tier reproducibility artifact accompanies the paper.
Keywords: Access control, Next Generation Access Control (NGAC), Natural language processing, Large language models, Policy extraction, Mutation testing, Verification
1 Introduction
Access control policies (ACPs) are vital to protect resources against unauthorized access while guaranteeing accessibility to legitimate users. ACPs are typically part of security requirements, often written in natural language. They articulate strict rules describing how access is managed, who may access resources, and under what conditions. ACP statements are manually translated into a formal representation (i.e., a security model) (Hu et al. 2013) following a standard framework such as Role-Based Access Control (RBAC) (Sandhu et al. 1996; Ferraiolo et al. 2001) or Attribute-Based Access Control (ABAC). Next Generation Access Control (NGAC), standardized in NIST SP 800-178 (Ferraiolo et al. 2016), unifies attribute-based, role-based, and discretionary access control through a graph-based architecture with four relation types (associations, prohibitions, obligations, and assignments) and enforcement via the NIST Policy Machine (Ferraiolo et al. 2015).
Researchers have worked on automated extraction of ACP elements using NLP and machine learning techniques (Narouei et al. 2020; Xiao et al. 2012; Slankas et al. 2014; Alohaly et al. 2019). However, existing approaches to NGAC policy extraction face four critical challenges that remain unresolved.
Challenge 1: Incomplete NGAC coverage. Prior work covers only subsets of the NGAC model: rule-based extraction reaches associations and partial assignments at ~75% accuracy (Abdelgawad et al. 2023); LLM prompting reports 99% F1, but only on LLM-synthesized data and without obligations or verification (Lawal et al. 2024b); a NIST report excludes assignments entirely (Lawal et al. 2024a); and ABAC-oriented work targets flat Subject–Action–Resource triples (Yang et al. 2025). No existing approach supports all four NGAC types with obligations modeled as event-response structures per NIST SP 800-178.
Challenge 2: Linguistic complexity. Natural language policy documents contain compound sentences, pronoun ambiguity, and implicit subjects that confound single-pass extraction. For example, “Only the name and email are provided by the HCP” contains a conjunction requiring decomposition and a passive voice requiring subject resolution. The syntactic parsing of Abdelgawad et al. (2023) produces systematic failures on such constructs. Single-model approaches also exhibit per-type biases: our evaluation of 15 LLMs reveals that no single model dominates all NGAC types, with Assignment accuracy varying from 54% to 100% across models.
Challenge 3: Verification gap. Extracted policy correctness must be validated against formal NGAC semantics, yet zero of the four most relevant prior NL-to-NGAC systems (Abdelgawad et al. 2023; Lawal et al. 2024b; Yang et al. 2025; Lawal et al. 2024a) provide automated verification with measured effectiveness: Abdelgawad et al. (2023) include only partial rule-based checking, while Lawal et al. (2024b), Yang et al. (2025), and the NIST report (Lawal et al. 2024a) include no automated verification at all. Manual verification does not scale, and a single misclassified relationship in the 725-sentence corpus of this paper would suffice to silently create a security vulnerability.
Challenge 4: Verification rigor. Even when a verification phase is included, the question of whether it is effective at catching real errors is rarely answered. A pipeline that passes all of its own verification checks could still be wrong if the checks are too lenient. Across the same four prior systems above, none report quantitative evidence, such as detection rate against controlled fault injection, that the verifier (where present) would catch a deliberately corrupted policy graph.
Our contributions. In response to the above four challenges, we develop three integrated innovations:
(1) Proactive semantic disambiguation (Phase 0). We decouple linguistic complexity from extraction by resolving ambiguity before tuple extraction begins. An LLM-driven scoring rubric flags compound sentences, passive voice, pronoun ambiguity, and implicit subjects; flagged sentences are decomposed and rewritten by a comprehension-rewrite cycle, with an independent LLM validating that semantics are preserved. This addresses Challenge 2; its measured contribution is snapshot-dependent — largest where the base model is weakest (Section 4.9).
(2) Task-optimized multi-LLM ensemble (Phase A). A six-stage extraction pipeline routes each sentence through policy-class assignment, RAG-augmented type classification, and tuple extraction. A two-valued confidence-gated escalation mechanism (Section 9.1) routes low-confidence sentences to an ensemble that exploits empirically-measured per-type model complementarity. This addresses Challenges 1 and 2.
(3) Five-strategy verification paired with controlled-mutation evaluation (Phase B). Phase B verifies the extracted graph against the original sentences through five complementary strategies: coverage (every sentence is reflected), correctness (entities are well-typed), consistency (no allow/deny conflicts), obligation completeness (every obligation has both event and response), and minimality (no redundant edges). To assess the verifier's effectiveness against extractor errors, we adapt the NGAC mutation methodology of Chen et al. (2021) to the NL-extracted-graph setting: eight controlled fault-injection operators corrupt the verified graph in well-defined ways, and we measure the fraction of corruptions that Phase B detects, classifying every injected fault by its security consequence: fail-open faults that silently broaden privilege versus fail-closed faults that merely deny legitimate access. Under this classification, every structural fail-open fault is detected (438/438), while semantically plausible privilege-broadening faults are detected at only 37.7% — a measured boundary (Section 5.3). The novelty is narrower than Chen et al.'s “mutation testing for NGAC”: we apply mutation analysis to validate a verifier of NL-extracted policies (Section 8), addressing Challenges 3 and 4.
The paper proceeds from preliminaries and datasets (Section 2) through the three-phase pipeline (Section 3), the extraction results (Section 4), the controlled-mutation evaluation, the prompt-injection analysis, and the enforcement replay (Sections 5–7), related work (Section 8), and limitations (Section 9).
2.1 NGAC
The NGAC framework (Ferraiolo et al. 2016) models access control as a directed graph in which each user (a principal) is grouped into one or more user attributes (think roles, departments, clearances), each resource (a protected object) is grouped into one or more resource attributes (think folders, file types, sensitivity classes), and access is granted or denied through edges that connect those attributes. The graph carries four relationship types: an association edge says “users in attribute X may perform operation o on resources in attribute Y,” a prohibition edge says the opposite (and wins under deny-overrides), an obligation edge declares an event-triggered automatic response (“when the registration period ends, lock the form”), and an assignment edge places a child entity inside a parent attribute (e.g., placing role LHCP inside role HCP, or placing concrete record pat_001 inside attribute patient_record). A policy class is an administrative container that bounds the scope of a hierarchy. Access decisions are computed by traversing this graph; a request (user, op, resource) is allowed iff there exists a path through user attributes and resource attributes whose final association covers op and no prohibition along that path forbids it. The remainder of this section formalizes the entities and relationships described above.
Definition 1 (Entity types). NGAC distinguishes six vertex types: users (U), user attributes (UA), resources (R, also called objects in the NGAC literature), resource attributes (RA), policy classes (PC), and operations. Users represent identifiable principals; user attributes group users by role, clearance, or department. Resources are protected items; resource attributes group them by sensitivity, type, or owner. Policy classes are administrative containers that bound the scope of attribute hierarchies.
Definition 2 (Association). An access permission: assoc(ua, op, ra), granting users in user attribute ua the right to perform operation op on resources in resource attribute ra.
Definition 3 (Prohibition). An access denial: prohib(ua, op, ra), denying users in ua the right to perform op on resources in ra. Prohibitions take precedence over associations under NGAC's deny-overrides semantics.
Definition 4 (Obligation). An event-triggered automated response: oblig(event, response). True obligations require both an EVENT trigger describing an observable action and an automatic RESPONSE specifying the system's mandatory reaction. Simple workflow descriptions or conditional permissions are not obligations per NIST SP 800-178 (Ferraiolo et al. 2016).
Definition 5 (Assignment). Hierarchical containment: assign(child, parent). NGAC supports six sub-types: U→UA, UA→UA, R→RA, RA→RA, UA→PC, and RA→PC.¹ Tan et al. (2025) proved the NGAC safety problem coNP-complete under mild assumptions, underscoring the need for automated policy construction to ensure correctness at scale.
Figure 1 illustrates a small NGAC policy graph with five of the six entity types of Definition 1 — operations label edges rather than appearing as vertices — and three relationship types.
The graph concretely encodes the four iTrust UC1 sentences used as the running example throughout Section 3 (UC1-2, UC1-4, UC1-7, UC1-8; the prefix avoids collision with Phase B's S1–S5 strategy labels): each labeled edge in the figure derives from one of these sentences, traced stage by stage in Table 2, and the UA/RA hierarchies are extracted in Stage 5 from possessives such as “the patient's MID”. All edges are anchored to the policy class create_disable_patients per the UC1 header.
2.2 Design-Time Model Evaluation
Before constructing the pipeline, we benchmarked 15 LLMs across the four NGAC relationship types on a balanced 50-sentence design-time set (10 sentences from each of five sources; no design-time sentence appears in any evaluation set; protocol, footnoted caveats, and the full per-model heat map ship with the artifact). Two findings drive the architecture: no single LLM dominates all four types (per-type accuracy 54%–100%, with different models excelling on different types), and the complementarity is exploitable by a confidence-weighted vote. With n=11–14 sentences per type cell these are motivating signal, not load-bearing evidence. The decisive evidence for the ensemble comes from the evaluation corpora at natural scale (Sections 4.2 and 4.9).
2.3 Datasets
We evaluate on four datasets (Table 1), representing the most widely used benchmarks in NL-to-access-control research (Lawal et al. 2024b).
¹We write resources where SP 800-178 writes objects (Definition 1); our R/RA sub-types map one-to-one onto the standard's O→OA, OA→OA, and OA→PC vocabulary, so a reader checking conformance can substitute O for R and OA for RA throughout.
NGAC policy graph for iTrust UC1 (Create and Disable Patients)

Fig. 1: NGAC policy graph for the running example (iTrust UC1). Node and edge color codings are given by the in-figure key (!e = deny edit, !ent = deny enter). A simplified subset; the full released Stage-6 graph appears in Figure 4.
Table 1: Dataset characteristics.
| Dataset | Tot. | ACP | Asc | Asg | Obl | Prh | P0 |
|---|---|---|---|---|---|---|---|
| iTrust Text2Policy | 471 | 234 | 168 | 45 | 9 | 12 | 67 |
| iTrust ACRE-n | 1160 | 362 | 238 | 81 | 36 | 7 | 143 |
| CyberChair | 303 | 54 | 29 | 19 | 6 | 0 | 21 |
| IBM Course Reg. | 401 | 75 | 64 | 6 | 1 | 4 | 14 |
| Total | 2335 | 725 | 499 | 151 | 52 | 23 | 245 |
Tot. = total sentences in source document; ACP = access-control sentences; Asc/Asg/Obl/Prh = relationship-type counts; P0 = sentences modified by Phase 0.
iTrust Text2Policy (Meneely and Williams 2012; Xiao et al. 2012) is a healthcare EHR system (234 ACP sentences across 37 use cases, 36 of which define policy classes; 12 prohibitions on sensitive patient data), the standard iTrust corpus of Xiao et al.'s Text2Policy work. iTrust ACRE-n (Slankas et al. 2014; Meneely and Williams 2012) is the larger iTrust corpus (362 ACPs) from the ACRE relation-extraction release, with more explicit-trigger obligations and substantially more compound sentences — a same-domain stress test that exposes failure modes invisible on the smaller variant. CyberChair is a conference-management system (54 ACPs) with complex assignment hierarchies and multi-level role inheritance. IBM Course Registration (IBM Course Registration Team 2010) is a university system (75 ACPs) heavily skewed toward associations (85.3%), stressing the type-distribution prior on which Stage 3 R1 relies.
Our combined corpus of 725 ACP sentences across four independently-authored documents from three domains is comparable to or exceeds recent related work: Abdelgawad et al. (2023) evaluate on ~200 sentences; Lawal et al. (2024b) on ~250 LLM-synthesized sentences. Publicly available NL-to-access-control datasets remain scarce: unlike NER or relation extraction, no large-scale NGAC-annotated corpus exists, and constructing one requires expertise in both access control semantics and the NIST SP 800-178 type system.
Ground truth construction. Annotations were created by the authors following the NGAC relationship-type criteria of NIST SP 800-178. Annotation comprised sentence-level type classification against the formal definitions of Section 2.1 (associations require an explicit actor-operation-object triple; obligations require both an EVENT trigger and an automatic RESPONSE; assignments describe hierarchical containment), tuple extraction under strict NGAC naming conventions, and cross-validation against the original policy documents. Ground-truth reliability was assessed by an independent second annotator outside the annotation lineage, who coded all four corpora against these NGAC type criteria. Cohen's against the released labels is 0.84 pooled (; one iTrust Text2Policy sentence the coder left blank is excluded): 0.93 on iTrust Text2Policy, 0.82 on iTrust ACRE-n, 0.72 on IBM, and 0.70 on CyberChair; both codings are released with the artifact. Per-type (one-vs-rest) on the same codings: association 0.70–0.96, assignment 0.58–0.92, prohibition 0.87–1.00 where present, and obligation 0.21–0.79 — weakest on CyberChair, whose ground truth holds only six obligations; CyberChair and IBM disagreements additionally went through a written-feedback adjudication round, released alongside the codings.
3 Approach
Research questions. The three contributions of Section 1 map directly to three research questions, one per innovation phrase in the title:
- RQ1 (Automated Extraction). Can a multi-stage LLM-driven pipeline achieve end-to-end extraction of NGAC policy graphs from real-world natural-language policy documents at accuracy levels that support an expert-in-the-loop workflow (extraction plus structural validation feeding human review, Section 9.1), rather than unsupervised deployment? Answer: 97.3–99.6% sentence-level exact-tuple-match accuracy on the corpora's original wording, far above all three reproduced baselines on matched metrics (Sections 4.3, 4.8, 4.10).
- RQ2 (Multi-LLM Pipeline). Does confidence-gated multi-LLM ensemble routing (the gate is R1's self-reported confidence, binary in practice; Section 9.1) improve extraction accuracy over single-LLM configurations, and what is the marginal contribution of each pipeline component? Answer: the ensemble-plus-refinement layer is the dominant, snapshot-stable contributor (+13.3 to +18.8 pp over single-model extraction); no single frontier model from three vendors (GPT-5, Claude-Sonnet-5, DeepSeek-Reasoner) closes the gap, and Phase-0/RAG contributions are snapshot-dependent (Section 4.9).
- RQ3 (Mutation-Based Verification Rigor). Is Phase B's five-strategy automated verifier empirically effective at detecting controlled corruptions of the extracted graph, and does this effectiveness generalize across datasets? Answer: 99.7% of 918 structural mutants and 96.7–99.2% on three of four independently sampled fault classes, with parent-entity abstraction (9.2%) as the measured boundary (Section 5).
TEXT2NGAC is organized into three phases: Phase 0 performs sentence-level preprocessing (semantic disambiguation), Phase A performs the core information extraction in six numbered stages (Stages 1–6), and Phase B performs post-extraction graph verification. We use the letter-phase nomenclature (Phase 0/A/B) for top-level pipeline modules and the digit-stage nomenclature (Stage 1–6) only for the internal stages of Phase A; Phase 0 and Phase B are not subdivided into stages. Figure 3 presents the high-level architecture. Throughout this section, we illustrate each stage using sentences from iTrust's Create and Disable Patients use case (UC1) — sentences UC1-2, UC1-4, UC1-7, and UC1-8, whose full text appears in Table 2.
3.1 Phase 0: Proactive Semantic Disambiguation
Phase 0 realizes Contribution 1 and addresses Challenge C2 (linguistic complexity). Prior NL-to-NGAC systems run extraction as a single pass over raw policy sentences, which fails predictably on compound sentences, passive voice, pronoun chains, and implicit subjects. Our design choice is to decouple linguistic complexity from extraction by inserting a dedicated disambiguation stage upstream of any tuple extraction. By the time a sentence reaches Phase A, the surface form has been normalized; downstream stages can then focus on the typing decision instead of also having to fight the surface form. The trade-off is one additional LLM call per flagged sentence (18.7–39.5% of inputs, see below); the benefit is that downstream R1 confidence becomes informative again, not dominated by ambiguity noise.
Phase 0 resolves three categories of ambiguity before extraction: compound sentences are decomposed into individual extraction targets; pronoun references are resolved to antecedent entities; and implicit subjects are inferred from context.
Each sentence is scored for ambiguity (a final score 0.3 triggers processing). The scoring procedure has two components: (i) an LLM (DeepSeek-Chat) assigns a base score from 0.0 to 1.0 using a structured rubric based on four linguistic features: possessive constructions, conjunctions, unclear pronouns, and complex preposition attachment; and (ii) a deterministic regex pass adds a pattern-boost of 0.05 per

Fig. 2: Phase 0 disambiguation workflow: sentences scoring 0.3 undergo comprehension-question generation, disambiguation, and independent validation; failures fall back to the original text.
detected pattern category, capped at the [0,1] interval. The threshold of 0.3 is principled: it sits at the modal boundary of the empirical score distribution; we discuss its calibration and sensitivity in Section 9.1. To validate the scoring heuristic against human judgment, we manually assessed all 54 CyberChair sentences: the LLM-generated scores achieved 92.6% agreement with human ambiguity judgments (50/54 sentences matched on the binary trigger/no-trigger decision at the 0.3 threshold).
When a sentence is flagged, Phase 0 executes the four-step cycle of Figure 2: detect the dominant ambiguity pattern, comprehend it via a generated question that probes the ambiguity (e.g. "Who provides the name and email?"), rewrite the sentence (decomposing conjunctions, resolving passive voice, inserting inferred subjects), and validate the rewrite with an independent LLM (Claude Sonnet, claude-sonnet-4-5-20250929), falling back to the original text on failure so Phase 0 cannot silently corrupt its input.
Across the four datasets, Phase 0 modified 67 of 234 iTrust Text2Policy sentences (28.6%), 143 of 362 iTrust ACRE-n sentences (39.5%), 21 of 54 CyberChair sentences (38.9%), and 14 of 75 IBM sentences (18.7%). The variation across datasets is itself informative: the ACRE-n corpus contains considerably more compound sentences and pronoun chains than the Text2Policy variant, which is part of why the same-domain comparison in Section 5.8 is informative.
Table 2 traces Phase 0's behavior on the running example, including its scores, the flagged issues (conjunction, passive voice, implicit subject), and the rewrites it produces.
3.2 Phase A: Multi-Stage Extraction
Phase A realizes Contribution 2 and addresses Challenges C1 (incomplete NGAC coverage) and C2 (linguistic complexity). The two structural findings of the design-time evaluation (Section 2.2) — no single LLM dominates all four NGAC types, and the per-type biases are exploitable by a confidence-weighted vote — motivate Phase A's design; the evaluation corpora confirm the pattern at natural scale, where single-model R1 trails the final pipeline by up to 33 percentage points on Stage 3 accuracy (Table 3). A single-LLM single-call pipeline would either inherit one model's per-type bias or pay the latency/cost of an unconditional ensemble. Our design choice is a confidence-gated ensemble: a fast Round-1 model handles the majority of sentences alone, and only the small subset where R1 reports low confidence is escalated to a multi-LLM Round-2 ensemble. This isolates per-type bias to the sentences where it actually surfaces and keeps amortized cost low (R2 trigger rates are 3.0–20.9% across the four corpora). The six-stage decomposition (policy class → RAG context → R1/R2 classification → tuple extraction → refinement → graph construction) further factors the problem so that each stage has a single well-defined responsibility, which makes per-stage diagnosis tractable.
Phase A extracts NGAC tuples from disambiguated sentences through six sequential stages. The first three stages establish context and classification; Stages 4–6 produce the policy graph. Figure 3 summarizes the data flow.
3.2.1 Stages 1–2: Policy Class Assignment and RAG Context
Each sentence is assigned to one of the document's policy classes (PCs). PCs are derived from use-case headers (e.g. "UC1: Create and Disable Patients" yields the PC create_disable_patients) by a deterministic preprocessor, then refined: sentences are clustered by sentence-embedding similarity

Fig. 3: Phase A six-stage extraction: Stages 1–3 establish context and typing with confidence-gated R1→R2 escalation; Stages 4–6 produce the graph that Phase B validates.
(OpenAI text-embedding-3-small), and an LLM labels each cluster against the candidate PC names. Stage 1 produces the assignment of each ACP sentence to a single PC, which scopes downstream type classification and tuple extraction.
Stage 2 enriches each sentence with retrieval-augmented context drawn from a domain glossary. For iTrust, the glossary defines healthcare-specific terms (e.g. HCP = “Health Care Personnel”; MID = “Medical Identification number”); for CyberChair, conference roles (e.g. PCC = “Program Committee Chair”); for IBM, university roles. Glossary terms are embedded with the same embedding model as Stage 1; for each sentence, the top- most-similar glossary entries are retrieved and prepended to the Stage 3 prompt as context. Stage 2 is the mechanism that allows the same Stage 3 prompt template to generalize across domains without per-dataset prompt engineering.
3.2.2 Stage 3: Relationship Type Classification (R1 + Confidence-Triggered R2)
Stage 3 classifies each sentence as Association, Prohibition, Obligation, or Assignment, exploiting the per-type model complementarity established in Section 2.2. Stage 3 uses a two-round design.
R1: single-model classification. Each sentence is classified by DeepSeek-Chat with a temperature of 0.1 against a structured prompt that includes the disambiguated sentence, the Stage 1 PC assignment, the Stage 2 RAG context, and explicit NGAC type definitions from NIST SP 800-178. The R1 model emits a type label and a confidence score on {0.85, 0.95}.
R2: confidence-gated ensemble. R1's two-valued confidence makes the 0.9 threshold a binary flag in practice ({0.85, 0.95}); Section 9.1); flagged sentences are escalated to a multi-LLM ensemble that votes across complementary models identified at design time. The Tier-2 trigger rate used in the cost analysis ranges from 3.0% on iTrust ACRE-n to 20.9% on iTrust Text2Policy (Section 5.7); Stage-3 candidate identification is broader once schema-validation failures are included — 60/234 (25.6%) on iTrust Text2Policy, 34/54 (63.0%) on CyberChair, 17/75 (22.7%) on IBM, and 197/362 (54.4%) on iTrust ACRE-n — so the R1→Final lifts of Table 3 are not bounded by the billable trigger rate (Section 4.2). The R2 trigger pattern as a function of dataset size is the subject of an explicit scalability analysis in Section 5.4: across the four datasets we find no monotone relationship between trigger rate and corpus size, a finding inconsistent with monotone few-shot scaling at the corpus sizes tested (54–362 sentences).
The threshold sits in a degenerate region, not on a robustness plateau — R1 emits only two distinct confidence values, so the trigger is effectively binary — a calibration limitation documented in Section 9.1.

Fig. 4: Schematic NGAC graph extracted from iTrust UC1 by Stage 6: assignments (solid black), associations (dashed blue), prohibitions (dashed red), with the contained RA hierarchies and the Create_and_Disable_Patients policy class — the full released graph for the use case whose simplified subset appears in Figure 1.
3.2.3 Stage 4: Tuple Extraction
Stage 4 extracts the actual NGAC tuple structure from each classified sentence. The extraction prompt is type-specific: associations and prohibitions extract (UA, op, RA) triples; obligations extract (event, response) pairs where each component is itself a structured tuple; assignments extract (child, parent) pairs and the assignment sub-type. Stage 4 enforces strict NGAC naming conventions (UA/RA prefix, snake_case, singular form, entity-type tagging).
3.2.4 Stage 5: Refinement
Stage 5 unifies entity references across sentences. Singular/plural forms (patient vs. patients), morphological variants (HCP vs. health_care_provider), and case differences are normalized through a deterministic ruleset followed by LLM-assisted deduplication. Embedded assignment expansion extracts implicit hierarchical relationships from possessives and prepositions (Slankas et al. 2014): e.g. “patient’s MID” yields an implicit assignment (MID, patient_record).
3.2.5 Stage 6: NGAC Graph Construction
Stage 6 materializes the refined tuples as a Neo4j property graph. Nodes carry an ngac_type attribute (one of U, UA, R, RA, PC); edges carry the relationship type (ASSIGN, ASSOC, PROHIB, OBLIG) and the operation. We represent obligations through a paired-edge construction: each obligation contributes a triggering EVENT edge and a corresponding RESPONSE edge, with a shared obligation_id property linking them. This preserves the full event-response semantics of NIST SP 800-178 while remaining queryable via standard Cypher path expressions. The graph is the canonical artifact handed to Phase B. Figure 4 shows the schematic graph produced for the iTrust UC1 example; the same graph as rendered by the Neo4j Browser front-end is included in the artifact.
3.2.6 Running Example: Stage-by-Stage Walkthrough
To make Phase A concrete, Table 2 traces the four UC1 sentences (UC1-2, UC1-4, UC1-7, UC1-8) introduced at the start of Section 3 through every stage of the pipeline. Compound-sentence decomposition (UC1-4, UC1-8) and implicit-subject inference (UC1-7) happen before extraction, which is what lets Stage 4 produce clean per-conjunct tuples. The same example produces the policy graph rendered in Figure 1.
Table 2: Running example: the four UC1 sentences traced through the pipeline.
| ID | Sentence | Phase 0 | PC (S1) | Type (S3) | Tuple (S4) | Hierarchies (S5) | Edge (S6) |
|---|---|---|---|---|---|---|---|
| UC1-2 | "An HCP creates patients." | (unchanged; ambig.score 0.15) | create_disable.patients | Association | assoc(UA:HCP, create,RA:patient_record) | U →Bob→HCP | UA: HCP −{c}–patient_record |
| UC1-4 | "Only the name and email are provided by the HCP." | Score 0.65;conjunction +passive voice ⇒"The HCP providesthe name" (andanalogously foremail) | create_disable.patients | Association | assoc(UA:HCP,provide, RA:name)assoc(UA:HCP, provide,RA:email) (one tupleper decomposedbranch; verb preservedfrom the rewrite) | RA →name, emailcontained withinpatient_record(extractedfrom possessivestructure) | HCP −{p}–name, email |
| UC1-7 | "The patient's MID can not be edited." | Score 0.40; implicitsubject ⇒ "TheHCP cannot edit thepatient's MID" | create_disable.patients | Prohibition | prohib(UA:HCP, edit,RA:patient_mid) | RA →patient_midcontained withinpatient_record(from possessive"patient's MID") | HCP −{e}–patient_mid |
| UC1-8 | "The HCP does not have the ability to enter the patient's security question and password." | Score 0.55;conjunction +negation ⇒ "TheHCP cannot enterthe patient's securityquestion" (andanalogously forpassword) | create_disable.patients | Prohibition(bothbranches) | prohib(UA:HCP, enter,RA:security_question)prohib(UA:HCP, enter,RA:password) | RA →security_question,passwordcontained withinpatient_record | HCP −{lent}–security_questionHCP −{lent}–password |
“→” = Phase-0 decomposition into multiple extraction targets; bolded Stage-4 tuples correspond to the labeled edges of Figure 1; entity names lightly simplified (normalized forms in Figure 4).
3.3 Phase B: Five-Strategy Verification
Phase B realizes Contribution 3 and addresses Challenges C3 (verification gap) and C4 (verification-rigor gap). Even an accurate extractor produces some errors, and a single mis-classified edge in an NGAC graph can silently introduce a security vulnerability; manual inspection of a 900-edge graph is not a realistic option in deployment. Our design choice is to make verification a first-class pipeline stage, not an afterthought, and to make it multi-faceted — the five strategies (coverage, correctness, consistency, obligation completeness, minimality) are deliberately complementary, each catching a different class of extraction error. The accompanying mutation-testing harness (Section 5.1) addresses Challenge C4 by answering a question that no prior NL-to-access-control work answers: “does the verifier actually catch errors?” Eight fault-injection operators deliberately corrupt the verified graph, and the fraction Phase B detects is the empirical measurement of verifier effectiveness. We adapt the mutation methodology of Chen et al. (2021) to the NL-extracted-graph setting (scope relation detailed in Section 8).
Phase B verifies the Stage 6 graph against the original sentence corpus through five complementary strategies. A run is reported as PASS only if all five strategies pass their thresholds. One scoping property matters for interpretation: the sentence-grounded tests that S1 executes are themselves LLM-generated from the corpus sentences, so Phase B’s correctness metric is relative to the generated test suite, not to ground truth — which is precisely why Section 5 evaluates the verifier itself by controlled mutation instead of taking its PASS verdicts at face value.
S1: Coverage. Every ACP sentence in the input must be reflected in at least one tuple in the graph. We compute coverage by checking whether the sentence’s identifier appears in the sentence_ids provenance set of any node or edge. S1 is the check the controlled-mutation evaluation in Section 5.1 relies on: it provides the sentence-level link between input and output that the mutation harness exploits. (An early version of the pipeline did not propagate sentence_ids into the operation-merging graph rebuild; we describe the patch we deployed and its empirical effect in Section 5.)
S2: Correctness. Every node has a well-typed ngac_type, every edge connects type-compatible endpoints (e.g. ASSOC edges must run UA → RA; ASSIGN edges must respect the six legal assignment sub-types from Definition 5), and every operation is one of the document’s declared operations.
S3: Consistency. No two edges (u, op, r) exist as both ASSOC (allow) and PROHIB (deny) for the same triple. NGAC’s deny-overrides semantics permits prohibition–association pairs in principle, but unintended pairs indicate extraction error.
S4: Obligation completeness. Every OBLIG edge has a paired EVENT and RESPONSE, both well-typed and connected through their shared obligation_id.
S5: Minimality. No two edges duplicate the same (src, op, tgt, type); the operation-merging graph rebuild ensures redundant tuples collapse to a single edge with merged sentence_ids.

★ load-bearing for mutation testing (Section 5)
Fig. 5: Phase B five-strategy verification. A run is PASS only if all five strategies pass.
A Phase B run reports a verdict (PASS / FAIL with detailed reasons), per-strategy pass rates, and the set of sentences and tuples flagged by each failing strategy. We use the verdict in two ways: as the end-of-pipeline correctness check, and as the detection signal in the controlled-mutation evaluation (Section 5.1). Figure 5 summarizes the five-strategy verification flow.
4 Evaluation
This section reports the extraction-side results: per-stage accuracy, end-to-end accuracy across the four corpora, reproduced baselines (Abdelgawad, Lawal, BERT-RE), and single-variable ablation. Section 5 reports the verification-side results, including mutation testing and its cross-dataset replication.
4.1 Experimental Design
RQ1 is answered by per-stage and end-to-end accuracy plus three reproduced baselines (Sections 4.2–4.8); RQ2 by the ablation and single-model controls (Section 4.9); and RQ3 by controlled mutation testing and its cross-dataset replication (Section 5).
The evaluation uses four datasets (Section 2.3) whose ground truth is validated by an independent second-annotator double-coding (Cohen's pooled; Section 2.3). All metrics are computed against this ground truth using exact tuple match, a strict criterion where partial matches receive no credit. For the baseline comparison (RQ1), original (non-disambiguated) sentences are used to ensure fairness, as the baseline has no equivalent to Phase 0. To quantify sampling uncertainty given the small per-corpus , every reported macro-F1 is accompanied by a 95% bootstrap confidence interval obtained by resampling sentences with replacement ( resamples, percentile method, fixed seed 42); full per-cell intervals appear in the supplementary material.
4.2 Relation Type Classification
Table 3 presents classification results. The dominant confusion is association obligation, where conditional language appears in both types. The low IBM Stage-3 Final macro-F1 and its wide CI reflect small-sample fragility of the rare classes ( obligation in IBM ground truth) and macro-averaging under class imbalance; most residual IBM misclassifications are corrected by the Stage-4 type-match loop, which lifts IBM type accuracy to 94.7% (21 sentences reclassified; Section 4.3). On iTrust Text2Policy, 60/234 sentences (25.6%) were routed to Round 2 — 39 by low confidence, 38 by schema-validation failure, 17 by both — and R1 was already correct on 52 of the 60, so the ensemble's potential accuracy contribution is concentrated in the 8 R1 errors among them. Per-corpus Tier-2 trigger rates used in the cost model appear in Table 17.
Round 1 accuracy and ensemble justification. The R1 accuracy gap between the design-time benchmark (98%) and evaluation datasets (62.7% on IBM, 64.8% on CyberChair) reflects systematic per-type bias. On IBM, most R1 errors are the same misclassification: ASSOCIATION misidentified
Table 3: Stage 3 type classification and Stage 4 tuple extraction.
| Dataset | Stage 3 (type classification) | Stage 4 (tuple extraction) | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| R1 | Final | P | R | F1 | R1 | Final | P | R | F1 | |
| iTrust Text2Policy | 95.3% | 98.3% | .983 | .941 | .958 | 80.8% | 99.6% | .999 | .999 | .999 |
| iTrust ACRE-n | 74.0% | 90.6% | .911 | .950 | .925 | 98.9% | 99.1% | .991 | .991 | .991 |
| CyberChair | 64.8% | 98.1% | .983 | .989 | .986 | 83.3% | 98.1% | .994 | .994 | .994 |
| IBM | 62.7% | 69.3% | .650 | .835 | .627 | 84.0% | 97.3% | .987 | .980 | .982 |
R1 = single model (DeepSeek-Chat); Final = after ensemble R2 — before type-match feedback for Stage 3, after the full loop for Stage 4. Stage-3 P/R/F1 are macro-averaged over classes; Stage-4 values are per-sentence tuple-set averages; iTrust ACRE-n Stage 4 is scored on n=351 (11 sentences carry no GT tuple). Per-cell bootstrap CIs in the supplementary material.
as OBLIGATION due to conditional language (“If X occurs, the system will Y”). Such systematic biases are what multi-model ensembles and downstream structural evidence resolve: diverse models with different training data do not share the same bias, and an association-format tuple extracted from a sentence classified as obligation is direct structural evidence of the misclassification. On CyberChair the ensemble alone resolves the gap (64.8% → 98.1%); on IBM the ensemble contributes a smaller share (62.7% → 69.3%) and the Stage 4 type-match feedback loop corrects a further 21 sentences, reaching 94.7% type accuracy (Section 4.3). On iTrust Text2Policy, where the type distribution matches DeepSeek-Chat’s strengths, R1 achieves 95.3%, leaving the ensemble little to correct. iTrust ACRE-n exhibits a middle pattern: R1 reaches 74.0% (the larger corpus contains more compound obligations and event-triggered associations that R1 conflates), which the ensemble lifts to 90.6%.
4.3 Tuple Extraction
The Stage-4 block of Table 3 shows extraction results. Table 4 breaks down iTrust ACRE-n by type: obligation reaches 36/36 (Wilson 95% CI [90.4%, 100%]), and assignment is the weakest class — its two residual errors are the direction-inversion and containment cases of Table 7, which refinement does not repair. Across all four datasets, Stage 4 final accuracy reaches 97.3%–99.6% on the corpora’s original wording (wording sensitivity: Section 4.10), demonstrating that the type-match verification mechanism reliably converts Stage 3 classification into well-formed tuples.
Stage 4 accuracy exceeding Stage 3 on iTrust Text2Policy and IBM. On iTrust Text2Policy (99.6% vs. 98.3%) and IBM (97.3% vs. 69.3%), Stage 4 final accuracy exceeds Stage 3 final (pre-feedback) accuracy. This is not an error but a consequence of Stage 4’s type-match verification: when an extracted tuple’s structure is inconsistent with the Stage 3 classification (e.g. an association-format tuple from an obligation-classified sentence), the mismatch triggers automatic reclassification and re-extraction. On IBM this loop matters: it reclassifies 21 sentences, lifting type accuracy from 69.3% to 94.7% before tuple scoring. Consequently, Stage 3 and Stage 4 are not independent measurements: in Table 3, the Stage-3 columns report classification accuracy before Stage 4 type-match feedback, while the Stage-4 columns report extraction accuracy after the full loop including reclassification. This feedback mechanism is a deliberate design feature that allows downstream extraction evidence to correct upstream classification errors.
Controls. Two potential inflators of the headline are measured and bounded. In-prompt overlap: 19/234, 16/54, 1/75, and 4/351 scored sentences (iTrust Text2Policy, CyberChair, IBM, iTrust ACRE-n) appear verbatim in their corpus’s own Stage-4 prompt text; all are extracted correctly, and excluding them changes Stage-4 Final accuracy by at most 0.8 pp on any corpus (99.6→99.5, 98.1→97.4, 97.3→97.3, 99.1→99.1). Label reliability: restricting iTrust ACRE-n scoring to the 318 sentences where the independent second annotator agreed with the released label leaves Stage-4 Final accuracy at 99.4% (316/318), versus 97.0% on the 33 contested sentences (full treatment in Section 9.2). Neither test-set leakage nor label ambiguity carries the headline.
Unified end-to-end metric. Because the two blocks are not independent (the feedback loop above), the Stage-3 and Stage-4 columns of Table 3 cannot be multiplied into an end-to-end number. The end-to-end metric a deployer cares about is sentence-level extraction correctness after the full Phase 0–Phase A extraction pipeline (Phase B verifies the result rather than correcting it), which equals the Stage 4 “Final Acc.” column in Table 3: iTrust Text2Policy 99.6%, iTrust ACRE-n 99.1%, CyberChair 98.1%, IBM 97.3%. Stage 3 Final macro-F1 (Table 3) is reported separately for per-type diagnosis.
4.4 Obligation Extraction
Obligations are the most semantically demanding NGAC type because each tuple requires recognizing an explicit event trigger and a response action. On every corpus these are extracted as structured
Table 4: iTrust ACRE-n Stage 4: per-type extraction accuracy over the 351 GT-annotated sentences.
| Type | n | R1 | Final | Δ |
|---|---|---|---|---|
| Association | 236 | 99.2% | 99.6% | +0.4% |
| Assignment | 72 | 97.2% | 97.2% | 0 |
| Prohibition | 7 | 100% | 100% | 0 |
| Obligation | 36 | 100% | 100% | 0 |
| Total | 351 | 98.9% | 99.1% | +0.2% |
event(subject, verb, object)→response tuples (released per corpus in ngac_obligations.csv). The Stage-6 paired-edge graph materialization — rendering each obligation as an OBLIGATION node with TRIGGERS and REQUIRES scaffolding edges — is applied to the iTrust Text2Policy graph (12 OBLIGATION nodes, 36 scaffolding edges; Table 5 caption), on which the enforcement replay (Section 7) loads and fires an obligation end-to-end; the other corpora's released Stage-6 graphs retain obligations in tabular form. The paired-edge construction is thus demonstrated and enforced on one corpus, not materialized uniformly across all four. The four datasets contribute 52 obligation sentences in total (Table 1); on iTrust ACRE-n alone there are 36 obligations, more than the other three datasets combined. Per-corpus obligation counts are small on three datasets; the Wilson intervals carry that uncertainty directly: exact-match obligation accuracy is 9/9 on iTrust Text2Policy (95% Wilson CI [70.1%, 100%]) and 6/6 on CyberChair (Wilson CI [61.0%, 100%]), while iTrust ACRE-n, with n=36 sentences at 36/36 (Wilson CI [90.4%, 100%]), provides the tightest evidence that the obligation pipeline is correct on real corpora.
Sentence-to-tuple mapping. The 9 obligation sentences in iTrust Text2Policy yield 12 obligation tuples because some sentences specify multiple event triggers within a single policy statement. UC201 ("Alert by Email") contains one sentence listing four distinct triggering events (password change, lab procedure status change, comparison report request, comparison report generation), each producing a separate obligation tuple with the same response. This is a many-to-one expansion at the tuple level, not over-extraction: each tuple corresponds to a distinct event-response pair explicitly described in the source text. The same many-to-one expansion holds for iTrust ACRE-n at larger scale.
4.5 NGAC Graph Statistics
Upstream of the graphs, Stage 1 derives 36/44/14/8 policy classes per corpus (iTrust Text2Policy / iTrust ACRE-n / CyberChair / IBM) and Stage 2's retrieval knowledge bases hold 61/64/60/15 domain terms.
Table 5 summarizes the generated policy graphs. The iTrust ACRE-n graph (411 nodes, 969 edges) is larger than the IBM and CyberChair graphs combined, providing direct evidence that the pipeline scales structurally to richer real-world policies. The 44 policy classes in iTrust ACRE-n (vs. 8–36 in the other datasets) also stress-test the policy-class assignment stage (Stage 1).
Assignment sub-type coverage (measured). The six NIST SP 800-178 assignment sub-types are exercised unevenly by real policy documents. Counting assignment edges per sub-type in the released Stage-6 edge CSVs across iTrust Text2Policy / CyberChair / IBM / iTrust ACRE-n: RA→PC 280/71/55/303, UA→PC 66/25/24/110, R→RA 47/11/1/40, RA→RA 35/22/1/130, UA→UA 2/0/0/4, and U→UA 0/0/0/0. On the first three corpora these sums reconcile exactly with Table 5 (Edges – Assoc. – Deny = 430/129/81), and every assignment edge carries one of the five occurring legal sub-types. On iTrust ACRE-n the released graph's 660 assignment edges exceed this census (587) by 73; the topology audit classifies every residual delta as an entity→PC anchoring edge added by the final graph rebuild, with all non-PC sub-type counts matching exactly, so no assignment edge falls outside the legal sub-types. Five of the six sub-types occur in the corpora; individual-user assignment (U→UA, binding a named person to an attribute) does not appear, because these documents specify attribute- and role-level rules, not assignments of named individuals. The pipeline's representation supports U→UA — the running-example figure includes illustrative user nodes (Alice, Bob) that are additions, not extractions — but we report the claim as five of six sub-types exercised, not all six.
4.6 Phase B: Verification Results
Table 6 presents Phase B results from the development-time run, scored against the LLM-generated S1 suite (Section 3.3); the deterministic re-runs on the released graphs appear in Table 18 (Section 5.8). Three of the four datasets achieve PASS with ≥99.4% test pass rates; IBM reports NEEDS REFINE on a
Table 5: Generated NGAC policy graph statistics, counted from the released Stage 6 graph CSVs.
| Dataset | Nodes | Edges | PC | Assoc. | Deny |
|---|---|---|---|---|---|
| iTrust Text2Policy | 321 | 662 | 36 | 224 | 8 |
| iTrust ACRE-n | 411 | 969 | 44 | 299 | 10 |
| CyberChair | 90 | 167 | 14 | 38 | 0 |
| IBM | 57 | 135 | 8 | 49 | 5 |
Edges = ASSIGNMENT + ASSOCIATION + PROHIBITION after operation merging (one edge per source-target-type triple); iTrust Text2Policy's 36 obligation-scaffolding REQUIRES/TRIGGERS edges are excluded (Section 9.1).
Table 6: Phase B verification results from the initial development-time run.
| Dataset | Verification run | Failure diagnosis vs. GT | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Tests | Pass% | Compl. | Corr. | Con. | Min. | Fail | TP | FP | Missed | Recall | |
| iTrust Text2Policy | 1430 | 99.4% | 100% | 98.6% | 0 | 97.7% | 9 | 1 | 8 | 0 | 100% |
| iTrust ACRE-n | 1987 | 99.6% | 98.9% | 99.2% | 0 | 97.4% | 8 | 1 | 0 | 0 | 100% |
| CyberChair | 287 | 99.7% | 100% | 99.1% | 0 | 95.8% | 1 | 1 | 0 | 0 | 100% |
| IBM | 418 | 97.4% | 100% | 95.4% | 1 | 99.2% | 11 | 2 | 9 | 0 | 100% |
Compl./Corr./Con./Min. = completeness / correctness / consistency conflicts / minimality; TP = genuine error; FP = Cypher formatting noise; Missed = GT errors not caught. Recall = TP / genuine GT errors flagged in this run (1, 1, 1, 2 per dataset); the E3-class parent-abstraction error on iTrust Text2Policy (Section 5.2) is structurally undetectable and outside this denominator. TPs include graph-level defects not scored in the Stage-4 tuple census of Section 4.7 (iTrust Text2Policy's TP is the S5 minimality catch among the 16 redundant transitive assignments cleaned before release, Section 5.8); iTrust ACRE-n's containment-naming and direction-inversion residuals produce well-typed, conflict-free edges outside the suite's observables and are scored only in the Stage-4 census; the 7 iTrust ACRE-n failures not shown as TP or FP are boundary mismatches reclassified as verification-correct (Section 5.5).
single genuine consistency conflict, the temporal-scoping catch documented in Section 5.8.1 and preserved as a diagnostic case study, not fixed.
Verification diagnostic analysis. To substantiate Phase B's detection capability, we cross-validated all test failures against ground truth on all four datasets (Table 6). Each failure is categorized as: true positive (genuine extraction error confirmed by GT), false positive (Cypher formatting noise: entity-name casing, underscore conventions), or missed error (GT error not flagged by Phase B).
The verifier's diagnostic value depends on both recall and precision. Recall: no genuine GT errors were missed on any dataset (5/5). Precision: the initial-run FP rate is high on iTrust Text2Policy and IBM, the two corpora processed before the entity-normalization patches (17 of 20 flags were Cypher formatting noise), which the three pipeline patches of Section 5.5 eliminate (0% FP on the post-patch runs); the S1-provenance pre-patch pair (iTrust Text2Policy and CyberChair) was preserved in its original state to enable the 2×2 patch-validation comparison of Section 5.1, and deployment readiness should be judged on the post-patch precision, since the patches ship in the released pipeline.
Phase B as a diagnostic instrument: case study from iTrust ACRE-n. Phase B's first run on iTrust ACRE-n achieved 98.9% completeness, 99.2% correctness, and 97.4% minimality, but flagged a single same-operation conflict on (UA:hcp, edit, RA:patient_mid), blocking a clean PASS verdict. Rather than dismiss this as a borderline case, we treated it as a diagnostic signal and traced its provenance. The conflict arose from two tuples drawn from different sentences: from sentence ID 75 ("Patient MID should be the number assigned when the patient is added to the system and cannot be edited") came the correct prohibition deny(UA:hcp, edit, RA:patient_mid); from sentence ID 150 ("HCP must enter the MID of a patient and then enter or edit demographic information...") came the spurious association assoc(UA:hcp, edit, RA:patient_mid). The second extraction is wrong: in the coordinated phrase "enter or edit demographic information", the verb "edit" attaches to "demographic information", not to "MID". The Stage 4 model fell into a classic coordinated verb-phrase attachment ambiguity, propagating "edit" leftward to the nearer noun. Both edges entered the graph, and Phase B's S3 consistency check correctly identified the same-operation grant/deny pair as a violation. We removed the spurious tuple and added the correct one (assoc(UA:hcp, edit, RA:demographic_information)), then re-ran Phase B; the conflict resolved to zero, yielding a clean PASS verdict on all four properties. This case demonstrates Phase B's value beyond rubber-stamp validation: the structural consistency check (S3) caught a single-tuple extraction error that would otherwise have silently introduced a contradictory policy into a 969-edge
Stage 3: Confusion Matrices (R1 vs Final)


Fig. 6: Stage 3 confusion matrices (rows = ground truth, columns = predicted; Final matrices use the pre-feedback convention of Table 3).
graph. Manual inspection of 362 ACP sentences would not reliably surface such localized cross-sentence inconsistencies; automated graph-level verification does so by construction.
4.7 Error Analysis
Across the four datasets, the pipeline produces 7 total errors out of the 714 scored sentences: 1 on iTrust Text2Policy, 3 residual on iTrust ACRE-n, 1 on CyberChair, and 2 on IBM. These cluster into four diagnostic classes: (1) UA/RA prefix confusion, (2) coordinated-VP attachment ambiguity, (3) parent-entity abstraction, and (4) CRUD-style type-boundary confusion. Each is the subject of a Section 5.8 case study or a documented residual. The three residual iTrust ACRE-n errors are one VP-attachment error (the patient_mid case, Section 5.8.1), one containment-naming error (RA:mid extracted with the wrong parent), and one assignment-direction error (a UA-to-UA assignment in the wrong direction); iTrust Text2Policy's single error is the parent-abstraction case (LHCP_message_inbox, Table 7), which is E3-class and structurally undetectable by design (Section 5.2). Of the seven, the patient_mid conflict was caught by Phase B's S3 without human pre-screening (Section 4.6). Table 7 provides one canonical example per pattern, and Figure 6 shows the Stage 3 confusion matrices in which CyberChair R1's systematic Association→Obligation bias is corrected by the ensemble. Pattern 2 (coordinated-VP attachment) has no row: it manifests as the cross-sentence patient_mid grant/deny conflict of Section 4.6, not as a single-tuple mismatch. The two rows marked residual are the containment-naming and assignment-direction errors on iTrust ACRE-n.
4.8 Baseline Comparison
We reproduced the approach of Abdelgawad et al. (2023) using their three classification algorithms with spaCy's en_core_web_1g model on all four datasets. To ensure a fair comparison, we used original (non-disambiguated) sentences, as the baseline has no equivalent to Phase 0 semantic disambiguation. Both the Abdelgawad reproduction and the Lawal Code4Policy reproduction received identical input (raw sentences plus the same use-case header context that TEXT2NGAC consumes), unlimited retry budget on transient failures, and the same ground-truth annotations for scoring; the comparison measures algorithmic capability under matched-input conditions, not budget or pre-processing differences. Table 8
Table 7: Qualitative error catalogue: one canonical example per diagnostic pattern.
| Dataset | Sentence (truncated) | Ground truth tuple | Text2NGAC prediction | Pattern |
|---|---|---|---|---|
| CyberChair | “... the PCC may ask non-experts to assign ... reviewers ...” | assoc(UA:PCC, ask, RA:reviewer) | assoc(UA:PCC, ask, UA:reviewer) | 1: UA/RA prefix |
| iTrust ACRE-n | “... the personal representative may view test results on behalf of the patient.” | assoc(UA:representative, view, RA:test_result) | assoc(UA:representative, view, UA:test_result) | 1: UA/RA prefix |
| iTrust ACRE-n | “The HCP cannot edit the patient's MID.” | prohib(UA:HCP, edit, RA:patient_mid) | prohib(UA:HCP, edit, RA:mid) (incorrect parent) | residual: containment naming |
| iTrust Text2Policy | “... the LHCP receives messages in the message inbox.” | assoc(UA:LHCP, read, R:system) | assoc(UA:LHCP, read, RA:LHCP_message_inbox) | 3: parent abstraction |
| iTrust ACRE-n | “LHCPs are HCPs with limited privileges.” | assign(UA:LHCP →UA:HCP) | assign(UA:HCP →UA:LHCP) (direction inverted) | residual |
| IBM | “This use case allows the registrar to register students for courses.” | assoc(UA:registrar, register, RA:course) | assign(R:course_reg_system →RA:course) | 4: type boundary |
Table 8: Unified baseline comparison on the four real corpora.
| Dataset | Abdelgawad et al. | Lawal Code4Policy | BERT-RE | Text2NGAC | ||||
|---|---|---|---|---|---|---|---|---|
| P | R | F1 | Type-F1 | Tuple-F1 | macro-F1 (OOD) | Type-F1 | Tuple-F1 | |
| iTrust Text2Policy | .624 | .431 | .477 | 0.447 | 0.211 | 0.608 | 0.958 | 0.999 |
| iTrust ACRE-n | .372 | .454 | .367 | 0.335 | 0.206 | — (train) | 0.925 | 0.991 |
| CyberChair | .310 | .246 | .192 | 0.177 | 0.047 | 0.422 | 0.986 | 0.994 |
| IBM | .530 | .457 | .492 | 0.485 | 0.234 | 0.291 | 0.627 | 0.982 |
Abd. P/R/F1 = macro precision/recall/F1; Type-F1 = classification macro-F1; Tuple-F1 = per-sentence tuple-set F1; BERT-RE is trained on iTrust ACRE-n and evaluated out-of-domain only. Pre-feedback Stage-3 macro-F1; the type-match loop lifts IBM to 0.867 (Section 4.3). Per-cell bootstrap CIs in the supplementary material.
presents the comparison. The reproduction is faithful within the baseline's design scope: restricted to association-typed sentences, the class Abdelgawad et al.'s rules target, it reaches 91.1% on iTrust Text2Policy (n=168), 75.6% on iTrust ACRE-n (n=238, matching their reported ~75%), 44.8% on CyberChair (n=29), and 48.4% on IBM (n=64) — the lower CyberChair and IBM in-scope figures reflect those corpora's non-CRUD verb vocabulary. The macro-F1 gap on the full corpora arises predominantly from the type classes outside the rule-set's scope (assignment recall 0.049) and therefore quantifies scope, not reproduction infidelity.
The baseline's accuracy is severely limited by its rule-based dependency parsing: compound sentences, passive voice, and pronoun chains all produce extraction failures. Its highest F1 (0.492 on IBM) is achieved on the corpus with the simplest sentence structure; on CyberChair, where assignment hierarchies are deepest, F1 collapses to 0.192. Across the four datasets, TEXT2NGAC's per-sentence tuple F1 is 0.982–0.999 against the reproduction's macro F1 of 0.192–0.492; the two columns are different aggregations of identical ground truth (see the table footnote), so we report them side by side, not as a subtraction. The reproduction is weakest exactly where the rule-based parser fails most often: CyberChair (0.192) and iTrust ACRE-n (0.367).
4.8.1 Comparison to Lawal et al. Code4Policy
The Abdelgawad baseline is rule-based; a fairer LLM-vs-LLM comparison is the more recent Code4Policy approach of Lawal et al. (2024b), which prompts an LLM to instantiate a Python @dataclass schema representing access-control tuples. Lawal et al. report 99% F1 on LLM-synthesized policy documents but did not evaluate on real-world corpora. We reproduce Code4Policy on all four of our datasets using the exact @dataclass schema and few-shot prompts from their Listings 1 and 2, instantiated on DeepSeek-Chat at temperature 0 — the same base model and endpoint as TEXT2NGAC's own R1 extraction — so the comparison isolates the extraction method rather than confounding it with model capability.
Different scopes by design, and the structural cap that follows. Lawal et al. scoped Code4Policy to CRUD-style associations and prohibitions: the published @dataclass schema defines only CRUD operation codes ( and their negations) and cannot express ASSIGNMENT or OBLIGATION tuples, whereas TEXT2NGAC extracts all four NGAC types. Because assignment- and obligation-typed sentences account for 9%–46% of ACPs per corpus (28% pooled), the type-F1 of any
Code4Policy reproduction is upper-bounded near 0.5 regardless of which LLM instantiated the schema; the numbers below quantify the cost of CRUD-only scope on full-NGAC corpora, not a deficiency in Code4Policy within its intended scope.
Metrics. We report type-F1 (macro-F1 across the four NGAC type classes, with assignment and obligation contributions structurally zero under the cap) and tuple-F1 (exact-match F1 against the full ground truth after symmetric verb canonicalization through Code4Policy's CRUD codes plus object-side plural lemmatization). Table 8 reports the head-to-head results.
Interpretation. TEXT2NGAC's Tuple-F1 and Abdelgawad's macro-F1 aggregate identical ground truth differently (per-sentence vs. macro), so Table 8 reports them side by side, not as a subtraction. The cleanest comparison is same-scope, same-metric: restricted to Code4Policy's own design scope (association- and prohibition-typed sentences only, n=29-245 per corpus), its per-sentence tuple-F1 is 0.310/0.267/0.058/0.233 on iTrust Text2Policy/iTrust ACRE-n/CyberChair/IBM against TEXT2NGAC's 1.000/0.996/0.989/0.995 on the identical subsets and metric (0.058-0.310 vs. 0.989-1.000) — a gap scope cannot explain. In full, under the structural cap just described, Code4Policy's type-F1 lands at 0.18-0.49 and its tuple-F1 at 0.05-0.23 (CyberChair's 0.047 is the mismatch at its sharpest: 25 of 54 sentences carry schema-inexpressible ground truth, and most remaining association sentences use conference-domain verbs outside the CRUD vocabulary). We also checked whether the gap is a scoring artifact from entity-naming conventions: re-scoring the baseline under entity-side normalization (possessive-s stripping, plural lemmatization, underscore collapse) raises its tuple-F1 by only 2-5 pp (e.g. CyberChair 0.05→0.07, IBM 0.23→0.29), closing a small fraction of the ~0.7 gap and confirming it reflects extraction failure, not naming penalties. Most of the gap to Lawal's published 0.99 (on synthesized, schema-co-designed data) is thus explained partly by scope and partly by this in-scope gap, and TEXT2NGAC's advantage comes from covering all four types plus the disambiguation, retrieval, and ensemble machinery of Phases 0 and A. We did not re-run Code4Policy on Lawal's three synthesized corpora (BoA, NHS, UTSA): their ground truth is by construction expressible in the CRUD-only schema and free of natural-language ambiguity, so the run would reproduce the published 0.99 essentially by construction while answering none of the generalization questions the real corpora answer; moreover, those synthesized corpora are not publicly archived, so a confirmatory reproduction on them requires the original authors' data.
4.8.2 Comparison to a Fine-Tuned BERT-RE Baseline
The Abdelgawad and Lawal baselines are, respectively, rule-based and prompting-based. The remaining obvious alternative is the IE/RE literature's default, a fine-tuned relation-extraction model, which we add as a third baseline: bert-base-uncased (110M parameters) fine-tuned for NGAC type classification. We choose iTrust ACRE-n as the training corpus because it is the largest of our four real corpora (n=362), is the only corpus with non-trivial obligation samples (n=36), and is the canonical stress-test dataset in our evaluation. Training is 5 epochs, batch 16, learning rate (the standard full-fine-tuning rate for bert-base), max length 128, with weighted cross-entropy by inverse class frequency to address rare-class imbalance; seed 42, fully deterministic. End-to-end training plus evaluation completes in 6.3 s on a single RTX 5090. We report out-of-domain evaluation only: in-domain evaluation would measure memorization, and the meaningful comparison with TEXT2NGAC's zero-shot pipeline is cross-corpus transfer. Table 8 reports the per-corpus result.
Interpretation. Two observations matter for the comparison: (i) Out-of-domain transfer is poor. Macro-F1 lands at 0.422 on CyberChair (a different conference-domain corpus), 0.291 on IBM (different educational domain), and 0.608 on iTrust Text2Policy (the same healthcare domain as ACRE-n but a different curation). One out-of-domain hop costs the fine-tuned model 23–55 percentage points of macro-F1 from its in-domain 0.842 (in-domain measures memorization and is reported only as the reference point for the drop; per-class values ship with the artifact). This is the structural reason a fine-tuned RE pipeline cannot serve as a turn-key NGAC extraction stage on heterogeneous corpora. (ii) Per-class collapse on rare types. BERT-RE scores 0.000 F1 on prohibition for all three out-of-domain datasets and on obligation for two of three: the small absolute counts of those classes (n=1–12 in the OOD corpora, n=7–36 in training) leave too little signal for the model to learn the rare classes, even with weighted cross-entropy.
TEXT2NGAC, by contrast, is zero-shot at inference time and reaches type macro-F1 of 0.925–0.986 on three corpora and 0.867 on IBM after the type-match loop (Table 8), including the three OOD corpora used for BERT-RE evaluation. The baseline therefore strengthens the case for the LLM-driven pipeline: BERT converged on its n=362 training sentences yet does not transfer across the corpus boundary.
A learning-rate sweep under the identical protocol confirms the configuration is not under-tuned and the conclusion is rate-robust; cross-domain macro-F1 never exceeds 0.52 on CyberChair or IBM at any rate (the supplementary material).
Table 9: Ablation study: matched single-snapshot arms.
| Configuration | iT. T2P | Cyber. | IBM |
|---|---|---|---|
| R1 single model (re-run) | 58.5 / .638 | 87.0 / .888 | 58.7 / .644 |
| – RAG (Stage 2) | 58.5 / .636 | 85.2 / .867 | 60.0 / .651 |
| – Phase 0 | 51.3 / .568 | 87.0 / .892 | 61.3 / .657 |
| – RAG – Phase 0 | 52.6 / .593 | 87.0 / .904 | 58.7 / .628 |
| Δ RAG (vs. R1) | 0.0 pp (p=1.0) | -1.9 pp (p=1.0) | +1.3 pp (p=1.0) |
| Δ Phase 0 (vs. R1) | -7.3 pp (p=0.002) | 0.0 pp (p=1.0) | +2.7 pp (p=0.75) |
| Δ both (vs. R1) | -6.0 pp (p=0.009) | 0.0 pp (p=1.0) | 0.0 pp (p=1.0) |
Cells: exact-match % / mean tuple-F1 (). rows: within-run change vs. the same-run R1 arm with exact McNemar -values; all arms share one pinned snapshot (drift-free deltas). values are computed on per-sentence counts before rounding and can differ from differences of the rounded percentages by 0.1 pp.
Table 10: Ensemble evidence, grouped by model snapshot.
| Configuration (exact-match %) | iT. T2P | Cyber. | IBM |
|---|---|---|---|
| Archived snapshot (production record) | |||
| R1 single model | 80.8 | 83.3 | 84.0 |
| Full pipeline | 99.6 | 98.1 | 97.3 |
| Current snapshot (re-run toggled arms) | |||
| R1 DeepSeek-Chat | 58.5 | 87.0 | 58.7 |
| R1 DeepSeek-Reasoner | 59.0 | 81.5 | 57.3 |
4.9 Ablation Study
Table 9 presents the ablation results. Design. The four single-model conditions — R1 with full context, –RAG, –Phase 0, and both removed — were all run under one pinned DeepSeek-Chat snapshot (temperature 0.1), using each corpus's verbatim Stage-4 prompt assembly (system prompt with domain glossary and NGAC rules, per-type few-shots, ±3-sentence context, recorded Stage-3 type routing). Because all four arms share one snapshot, the within-table deltas are free of vendor drift. The –RAG condition is a surgical excision, not a prompt rewrite: it omits only the per-sentence retrieved domain-context block while retaining the policy-class line, the surrounding-sentence context, and the disambiguated sentence. Ensemble evidence is reported in a separate table (Table 10), grouped by snapshot, because cross-snapshot comparisons compound component effects with vendor drift. The ablation covers iTrust Text2Policy, CyberChair, and IBM. Instrumentation health per cell: zero API failures; at most 9 of 234 unparseable responses, so the magnitudes below are not artifacts of broken outputs. Statistical testing uses exact McNemar tests on paired per-sentence exact-match outcomes.
What the measured ablation shows. (i) The ensemble-plus-refinement layer dominates, and its contribution is stable across snapshots. On the archived same-snapshot record, single-model R1 Stage-4 accuracy is 80.8%/83.3%/84.0% against the full pipeline's 99.6%/98.1%/97.3% (Table 10; per-corpus record in Table 3), a drift-free +13.3 to +18.8 pp; this is a pipeline-stage comparison recorded in production, not a toggled ablation arm, and the current-snapshot comparison below provides the toggled-arm corroboration. Under the current snapshot, the archived full pipeline beats the re-run R1 arm by +11.1 to +41.0 pp, with every discordant sentence pair favouring the full pipeline (McNemar on all three corpora); this second comparison compounds ensemble benefit with vendor drift and is corroborative only. Per-class, IBM's rare classes collapse entirely without the ensemble: the R1 arm scores 0/6 on assignments, 1/4 on prohibitions, and 0/1 on obligations, so the full pipeline's rare-class correctness on IBM is supplied by the ensemble-plus-refinement layer, not by the single model. (ii) Phase 0 has a significant single-model effect where the single model is weakest. On iTrust Text2Policy, removing Phase 0 costs 7.3 pp (; the degradation concentrates in associations, 61.9%→52.4%, and assignments); on CyberChair and IBM the single-model effect is null. (iii) RAG shows no measurable single-model effect on any corpus under the current snapshot (-1.9 to +1.3 pp, all ). Full per-condition per-class accuracy and F1 are in the released artifact (ablation_summary.json).
Component contributions are snapshot-dependent. The archived ablation runs against the earlier vendor snapshot measured much larger single-model contributions: removing RAG cost 20.4 pp on CyberChair (83.3%→63.0%) and 62.4 pp on iTrust Text2Policy (80.8%→18.4%), with Phase-0 effects of similar magnitude, and the missing glossary produced the systematic Association→Obligation R1 bias visible in Figure 6. The current snapshot reproduces neither effect: it reaches 87.0% on CyberChair
Table 11: Wording-robustness probes: paired original-vs-paraphrase deltas (percentage points, 95% bootstrap CIs).
| Probe | Corpus | Orig. | Para. | Δ strict | Δ op-wildcarded | Δ semantic |
|---|---|---|---|---|---|---|
| Single path (R1) | iTrust Text2Policy | 58.3 | 8.3 | -50.0 [-66.7, -36.1] | -36.1 [-52.8, -22.2] | -19.4 [-33.3, -8.3] |
| CyberChair | 89.5 | 47.4 | -42.1 [-60.5, -23.7] | -26.3 [-42.1, -10.5] | -18.4 [-34.2, -5.3] | |
| IBM | 58.3 | 22.2 | -36.1 [-52.8, -22.2] | -25.0 [-38.9, -11.1] | -13.9 [-30.6, +2.8] | |
| Full pipeline, substitute roster | CyberChair | 60.5 | 26.3 | -34.2 [-50.0, -21.1] | — | — |
| Full pipeline, production roster | CyberChair | 47.4 | 21.1 | -26.3 [-42.1, -10.5] | — | -7.9 [-21.1, +5.3] |
Orig./Para. = strict exact-match accuracy per arm. Semantic-arm accuracies: single-path originals 80.6/92.1/66.7% vs. paraphrases 61.1/73.7/52.8%; production pipeline 50.0→42.1%. Substitute roster: DeepSeek-Chat base, DeepSeek-Reasoner escalation/arbitration; production roster: Claude Phase-0 validation, the reduced three-model R2 ensemble of Section 5.7, GPT-4o-mini second extraction, Claude arbitration.
with no pipeline support at all. The parsimonious reading is that the newer model has internalized much of the disambiguation and domain grounding that the earlier snapshot obtained from Phase 0 and RAG. Two consequences follow. First, the layered design functions as insurance whose value depends on the underlying model: largest where the model is weakest (every archived-snapshot effect, and the Phase-0 effect on iTrust Text2Policy today), null where the model has caught up. Second, single-model component contributions measured on one vendor snapshot do not transfer to another — an instance of the vendor-drift threat (Section 9.2). The one contribution stable across both snapshots is the ensemble-plus-refinement layer.
Single-model controls. To rule out the objection that the ensemble’s value is an artifact of a weak base model, we ran the identical R1 configuration on DeepSeek-Reasoner and on two other vendors’ frontier models — GPT-5 (gpt-5-2025-08-07) and Claude-Sonnet-5 (claude-sonnet-5) on stratified 40-sentence subsets per corpus, with GPT-4o-mini (gpt-4o-mini-2024-07-18) additionally on the full corpora; exact identifiers are pinned here and in the artifact. No single model significantly outperforms DeepSeek-Chat as a single extractor on any corpus (paired exact McNemar everywhere), and against the full pipeline the gap is one-directional: no single-model arm ever solved a sentence the pipeline missed (discordant pairs 3:0 to 122:0; on every corpus wide enough to power the test). Absolute single-arm levels carry the same cross-snapshot caveat as the ablation; the within-subset paired direction does not. The headline accuracy therefore comes from the layered ensemble-plus-refinement machinery, not raw single-model strength.
4.10 Wording-Robustness Probes
Extraction accuracy on a fixed benchmark says nothing about sensitivity to how the same policy is worded — a robustness dimension the NL-to-policy literature does not normally measure. We measure it with controlled paraphrase probes at three levels — the single-model extraction path (three corpora), the complete architecture on a substitute same-family roster, and the complete architecture on the production roster — plus a semantic re-scoring of all arms that separates true extraction failure from surface-form scoring artifacts. Table 11 collects the results; the probes also serve the training-data-contamination analysis in Section 9.1.
Method. Per corpus, 40 ground-truth-bearing ACP sentences (stratified by NGAC type, seed 42) were paraphrased by DeepSeek-Chat at temperature 0.7 under instructions to preserve every actor, action, resource, polarity, and event-response structure; DeepSeek-Reasoner screened each paraphrase for semantic preservation, discarding 4/2/4 of 40 on iTrust Text2Policy, CyberChair, and IBM. Both arms of each pair were extracted by the corpus’s verbatim machinery and scored by exact tuple-set match with paired bootstrap CIs (). For the semantic score, every strict mismatch passed deterministic normalization, batched LLM adjudication (DeepSeek-Chat, ), and a hand review of every verdict under a conservative rubric: synonym operations and same-referent renames count as correct; type or polarity changes, actor or resource referent changes (including dropped owner prefixes), missing or extra rules, and empty predictions never do. All paraphrases, per-sentence records, adjudication verdicts, and review overrides ship with the artifact.
Reading the table. The paired deltas, not the absolute levels, are the comparable quantity: the arms run against current vendor snapshots (CyberChair reproduces its archived R1 within 3.7 pp; iTrust Text2Policy drifts by roughly -22 pp; Section 4.9) and, for the single path, without the R2 ensemble or Stage-5 refinement — but both arms of each pair share the drift equally. Two mechanical artifacts inflate the strict deltas: Stage 4’s verb-preservation rule copies the paraphrase’s verb (e.g. submit where the original said send), which string-mismatches ground truth anchored to the original verb (the op-wildcarded column removes this), and 14 of 38 scored CyberChair sentences appear verbatim in that corpus’s own few-shot prompt (1 and 0 on the others) — excluding them leaves the op-wildcarded deltas
Table 12: End-to-end pipeline efficiency across the four datasets.
| Dataset | ACPs | R2 % | Wall-clock | Gross spend (devel.-inclusive) |
|---|---|---|---|---|
| iTrust Text2Policy | 234 | 20.9% | ~2.5 h | ~$28 |
| iTrust ACRE-n | 362 | 3.0% | ~3.5 h | ~$45 |
| CyberChair | 54 | 14.8% | ~30 m | ~$5 |
| IBM | 75 | 16.0% | ~45 m | ~$8 |
essentially unchanged, so the residual drop is distinguishable from zero on all three corpora. Three findings follow. The single-model path is materially sensitive to meaning-preserving rewording, and roughly half of its strict-match collapse is scoring artifact, not extraction failure. The layered architecture recovers only ~8 pp of the loss under the substitute roster. Under the production roster the semantic delta of -7.9 pp carries a wide interval at n=38 — consistent with anything from no drop to a ~20-pp drop — so the probe bounds the full pipeline’s paraphrase sensitivity rather than establishing wording-invariance. The residual drop cannot be attributed to pretraining memorization specifically: few-shot examples, prompt conventions, and ground truth are all anchored to the original phrasing, and paraphrasing shifts the input distribution, each of which depresses the paraphrase arm independently of memorization. Reported headline accuracies should accordingly be read as accuracy on the corpora’s original wording.
4.11 Efficiency Analysis
Table 12 reports per-dataset wall-clock time and measured API spend. Wall-clock scales linearly with corpus size (0.55–0.64 minutes per sentence across a 6.7× size range), dominated by serial LLM calls; the only cross-sentence processing dependency is the run-time few-shot memory, and the trigger-rate analysis (Section 5.4) finds no monotone benefit from its accumulation at the corpus sizes tested, so throughput should parallelize across sentences with little accuracy cost — relevant for enterprise-scale documents, where a 10,000-sentence corpus would take ~4 days serially; validating parallel equivalence at that scale is untested and noted as future work. For enterprise-scale documents, per-sentence processing is independent, amortized API cost extrapolates linearly (47 per 1,000 sentences; Section 5.7), and the trigger-rate analysis found no size-driven growth in escalation over the 6.7× size range tested — though validation on corpora beyond ~400 sentences remains future work. Two cost figures appear in this paper and measure different things: (i) the measured gross spend of Table 12 is the total API expenditure over each corpus’s full processing history, including schema-validation re-prompts, transient-failure retries, and partial re-runs; its per-sentence quotient (0.12) does not track the Tier-2 trigger rate for exactly this reason and should not be read as a marginal cost. (ii) The amortized marginal cost of Table 17 models a clean single pass as 0.20 per sentence (0.047 across the four corpora) and is the deployment-relevant figure. The 2.6–11× gap between the two is development overhead, not hidden marginal cost.
5 Mutation-Based Verification Rigor
Experimental provenance. Results in this section come from four measurement states named consistently throughout: the development-time run (pre-cleanup working graphs, Table 6), the released graphs (published Stage-6 outputs, on which every deterministic re-run executes), pre- vs. post-patch verifier states (S1 provenance patch toggled on identical graphs), and archived vs. current model snapshots; table captions name the state they report.
We adapt the NGAC mutation methodology of Chen et al. (2021) to a narrower question: whether Phase B’s verifier reliably detects corruptions of an NL-extracted graph whose upstream extractor (Phases 0 and A) is itself fallible (Section 8 gives the full positioning). This section establishes the empirical evidence through four complementary experiments (mutation testing, R2 trigger-rate scalability analysis, Cypher false-positive rate analysis, and test-suite coverage analysis), then closes with a sensitivity analysis of the pipeline’s two key thresholds and an end-to-end cost-effectiveness analysis.
5.1 Mutation Testing of Phase B
Following the mutation analysis methodology of Chen et al. (2021), we defined eight mutation operators, each targeting a specific Phase B verification strategy. Table 13 formalizes the operators.
Experimental protocol. For each dataset, we generated 30 mutants per operator (with random seed 42 fixed for reproducibility) from the clean Phase B-verified graph. A mutant is counted as detected
Table 13: Eight mutation operators with formal definitions.
| Op | Operation | Targets |
|---|---|---|
| M1 | Remove a uniformly-random ASSOCIATION edge | S1 Coverage |
| M2 | Add a spurious ASSOCIATION between a random unrelated UA-RA pair (empty sentence_ids) | S1 Provenance |
| M3 | Replace one operation on a random edge with a different operation from the operation pool | S2 Correctness |
| M4 | Add a same-operation grant where a deny exists, creating a conflict | S3 Consistency |
| M5 | Reverse the direction of a random ASSOCIATION edge (UA→RA ⇒ RA→UA) | S2 Correctness |
| M6 | Re-label a random ASSOCIATION as a PROHIBITION (preserving direction and ops) | S3 / S2 |
| M7 | Add an exact-duplicate ASSOCIATION edge (parallel edge with identical attributes) | S5 Minimality |
| M8 | Replace an obligation tuple with a truncated version having an empty response field | S4 Obligations |
A mutant is detected if any Phase B metric (correctness, conflicts, test failures, minimality) moves in the direction predicted by the operator's target strategy.
Table 14: Mutation detection rates by operator and dataset (post-patch verifier).
| Op | iT. ACRE-n | IBM | CyberChair | iT. T2P |
|---|---|---|---|---|
| M1 | 100% | 100% | 96.7%‡ | 100% |
| M2 (original run) | 100% | 100% | 0% | 0% |
| M2 (post-patch) | 100% | 100% | 100% | 100% |
| M3 | 100% | 100% | 100% | 100% |
| M4 | 100% | 100% | NA | 100% |
| M5 | 100% | 100% | 93.3%‡ | 100% |
| M6 | 100% | 100% | 100% | 100% |
| M7 | 100% | 100% | 100% | 100% |
| M8 | 100% | 100% | 100% | 100% |
| Aggregate (original run) | 237/237 | 231/231 | 177/210 (84.3%) | 210/240 (87.5%) |
| Aggregate (post-patch) | 237/237 | 231/231 | 207/210 (98.6%) | 240/240 |
n=30 seeded mutants per cell (seed 42, deterministic). ‡Reproducible fault masking on the single baseline-flagged CyberChair edge (n=300 probe; Section 5.1). M2 rows: historical split vs. uniform post-patch re-run (same graphs, same seed); M4 NA: CyberChair has no PROHIBITION edges. Aggregates count completed trials; fractions without percentages are 100%.
if any Phase B metric deviates in the direction predicted by the operator's target strategy. M4 trials are skipped when the random sample picks a (UA, RA) pair that already has a coexisting same-operation association in the baseline; these are vacuous trials, not failures. The wall-clock cost of the experiment is approximately 18 seconds per dataset on a single CPU; no LLM API calls are required, making the experiment fully reproducible at zero marginal cost. Seed sensitivity: re-running the complete harness under five seeds (42–46) varies the aggregate post-patch structural detection between 98.7% and 99.9% and the taxonomy-suite aggregate between 72.6% and 75.2%; all reported values use seed 42, and per-seed records ship with the artifact.
The S1 edge-provenance patch. The first run of the experiment surfaced a coverage gap in Phase B's original S2 strategy: M2 mutants (spurious added edges) were undetectable because S2 tests are sentence-derived, and a random spurious edge has no sentence backing. We patched Phase B by extending S1 with an edge-provenance requirement: every ASSOCIATION and PROHIBITION edge must carry a non-empty sentence_ids list. This requires the Stage 6 graph rebuild to propagate sentence_ids from each contributing tuple to the merged edge, a small but essential change. The patched check raises M2 detection from 0% to 100% across all post-patch datasets while introducing zero baseline failures (every naturally-extracted edge carries provenance). The patch could equivalently be framed as fixing an implementation gap in the original Phase B pipeline that we shipped without detecting; mutation testing is the harness that surfaced the gap. In both framings, a controlled-injection harness is what exposes coverage gaps a verifier cannot detect on its own output.
Per-dataset results. Table 14 reports detection rates for each operator and dataset, in both the historical state and the uniform post-patch re-run; the controlled 2×2 M2-detection split of the historical state (100% post-patch vs. 0% pre-patch with no exceptions) independently corroborates the patch effect: the four datasets span three domains and two graph sizes, so the only systematic difference between the two groups is the patch itself. The deterministic before/after toggle below is the primary evidence for the patch; the natural experiment serves as independent corroboration.
Table 15: Taxonomy-derived fault operators: detection by dataset.
| Op (error class) | iT. ACRE-n | IBM | CyberChair | iT. T2P | Overall |
|---|---|---|---|---|---|
| E1 UA/RA prefix confusion | 30/30 | 30/30 | 29/30 | 30/30 | 119/120 (99.2%) |
| E2 coordinated-VP attachment | 28/30 | NA | NA | 30/30 | 58/60 (96.7%) |
| E3 parent-entity abstraction | 8/30 | 0/30 | 0/30 | 3/30 | 11/120 (9.2%) |
| E4 CRUD type-boundary | 30/30 | 30/30 | 27/30 | 30/30 | 117/120 (97.5%) |
E-mutants keep sentence provenance, so detection is scored on correctness/conflict/minimality movement only. NA: no sibling-bearing RA hierarchies in the corpus graph.
Aggregate. Across all four datasets, 918 mutants complete (vacuous and inapplicable M4 trials excluded). In the historical mixed pre-/post-patch state, Phase B detects 855 of them (93.1%), with every miss confined to M2 on the two pre-patch datasets (60 mutants) plus 3 CyberChair mutants that landed on a single baseline-flagged defective edge (fault masking; footnote to Table 14). Under the uniform post-patch re-run described next, detection is 915/918 (99.7%).
Fault masking and the uniform re-run. The three residual misses expose a property of mutation testing itself: detection is conditional on a clean baseline. Corruptions stacked on an edge already implicated in a baseline-flagged extraction error move no metric and pass silently; a targeted 2,400-trial probe detected every one of its 2,323 healthy-edge mutations, and the masking vanishes once the flagged defect is corrected (the same NEEDS-REFINE workflow applied to the patient_mid conflict). Because the verifier, the Stage-6 rebuild, and the mutation harness are deterministic and CPU-only, we re-ran the verifier side uniformly on all four datasets, rebuilding the two pre-patch corpora from archived sentence tuples with sentence_ids propagated; toggling the S1 provenance patch off and on over identical graphs flips M2 detection 0%→100%, isolating the patch effect from vendor drift.
5.2 Taxonomy-Derived Fault Operators
The eight operators above were each designed to target a specific Phase B strategy, so the operator set and the verifier are co-designed (Section 9.1): 100% detection of faults built to exercise the verifier's own checks is necessary but not sufficient evidence of effectiveness against arbitrary extraction faults. To break the circularity, we defined four additional operators sampled from an independent source, the empirical Stage 4 error taxonomy of Section 4.7: E1 retypes an association target with the wrong UA/RA prefix (the PCC→reviewer class); E2 reattaches an operation to a sibling resource in the same RA hierarchy (the coordinated-VP patient_mid class); E3 replaces an association target with its hierarchy parent (the parent-entity abstraction class); E4 re-labels an association as a containment ASSIGNMENT (the CRUD-style type-boundary class). Unlike M1–M8, every E-mutant edge keeps its sentence_ids, because a real extractor fault carries provenance, so detection cannot lean on the S1 provenance check and is scored only on movement in correctness, conflicts, or minimality. The experiment is deterministic and CPU-only (30 mutants per operator per dataset, seed 42, run against the post-patch verifier); Table 15 reports the results. E2 is inapplicable on CyberChair and IBM, whose graphs contain no sibling-bearing RA hierarchies (analogous to M4-NA on CyberChair).
Three of the four independently-derived fault classes are detected at 96.7–99.2%, materially strengthening the effectiveness claim beyond the co-designed operator set. The E3 result is a measured detection boundary: a parent-entity abstraction fault passes verification silently in roughly nine cases out of ten (across five seeds, E3 detection spans 9.2–17.5% and never exceeds 18%, so the boundary is seed-robust), so a real extractor error of this class would reach deployment undetected. Three points characterize the boundary. Mechanism: an edge moved from patient_mid to its parent patient_record remains a well-typed, provenance-carrying, conflict-free edge, and Phase B's hierarchy-aware access resolution, the same NGAC-correct inheritance semantics defended in Section 5.5, resolves queries about the child through the parent, legitimizing the fault by construction; the 11 detected E3 cases are those where the operation merge happened to move a correctness or conflict metric. Consistency: Section 4.7 already classified parent-entity abstraction errors as "both defensible"; E3 turns that qualitative gesture into a quantitative limit. Implication: graph-structural verification has a measured boundary at semantically-plausible abstraction-level faults; deployments requiring protection against this class need sentence-grounded checks rather than additional structural rules. A deterministic pilot of exactly this kind — flag any association whose target attribute has a hierarchy descendant named in the edge's own source sentence — recovers 86.7/100/100/93.3% of the E3 mutants on iTrust Text2Policy/CyberChair/IBM/iTrust ACRE-n (114/120 overall) while flagging only 2.3–5.3% of healthy association edges for expert review. It is a review-routing heuristic, not an automated repair — some
Table 16: Detection re-reported by security consequence (post-patch verifier).
| Consequence | Operators (fault effect) | Detection |
|---|---|---|
| Fail-open, structural | M2 spurious grant; M3 operation substitution; M4 conflict grant; M8 obligation-response loss | 438/438 (100%) |
| Fail-open, semantic | E2 operation reattachment; E3 parent-entity privilege broadening; E4 on the non-canonical flagged edge (inheritance-broadening) | 69/183 (37.7%) |
| Fail-closed | M1 edge deletion; M5 direction reversal; M6 grant→deny flip; E1 UA/RA retype (dangling); E4 grant→containment flip (canonical edges) | 593/597 (99.3%) |
| Redundancy hygiene | M7 duplicate edge | 120/120 (100%) |
M3 is classified by its granting component. E4 is split empirically: the injected containment edge adds no reachable grant on any canonical edge, but becomes a legal UA→UA assignment on the one baseline-flagged edge, whose inheritance broadens privilege.
healthy flags are legitimately parent-targeted edges whose sentences mention sub-attributes — but it shows the E3 boundary is addressable with sentence grounding at low review cost; the detector and per-mutant records ship with the artifact.
The E3 boundary is structural, inherent to hierarchy-aware graph verification; the single E1 miss and all three E4 misses are contingent fault masking on one baseline-flagged edge and vanish once it is corrected, while E2's two misses are genuine semantic absorption (per-mutant traces ship with the artifact).
5.3 Security-Consequence Weighting
Counting detected faults treats all corruptions alike, but their security consequences are asymmetric. A fault that removes or restricts legitimate access fails closed: an availability defect, disruptive but safe. A fault that grants access that should not exist, or broadens a privilege beyond its intended scope, fails open: a latent policy violation. Table 16 classifies the twelve operators by consequence and re-reports detection accordingly (post-patch verifier, as-extracted baselines). The four observed extraction-error classes (Section 4.7) map the same way: UA/RA prefix confusion produces dangling references (fail-closed), the IBM temporal-scoping conflict over-restricts (fail-closed), and parent-entity abstraction broadens privilege (fail-open).
Two facts emerge. First, every structural fail-open fault is detected: 438/438 across spurious grants (M2), operation substitutions (M3), conflict grants (M4), and obligation-response losses (M8). Second, the residual fail-open exposure concentrates entirely in the semantically plausible classes: E2's two undetected reattachments, E4's three undetected mutants of the non-canonical flagged edge (whose grant→containment flip yields a legal UA→UA assignment that lets PCC inherit reviewer's grants, verified by exhaustive reachability analysis over all 610 association edges), and, dominantly, E3's privilege broadening (109 of 120 undetected). The verifier's one measured weak point is precisely its highest-severity class: a parent-entity abstraction fault silently broadens privilege in roughly nine of ten cases. Concretely, an association that should target patient_mid but is abstracted to its parent patient_record grants the operation on every sub-attribute the parent contains — security question, password, MID — through ordinary NGAC inheritance, and the resulting edge is well-typed, provenance-carrying, and conflict-free, so it passes every structural check. The exposure does not require an attacker: an ordinary extraction error of this class reaches deployment as a silent privilege broadening, and a source document whose wording invites abstraction (possessives spanning several sub-attributes) makes the error more likely. The available mitigations today are procedural — flagging hierarchy-parent targets whose source sentence names a specific sub-attribute for expert review — while the automated fix, sentence-grounded semantic checks, is the concrete future-work item this boundary motivates. Fail-closed faults, whose consequence is availability, not violation, are detected at 99.3% (593/597).
5.4 R2 Trigger-Rate Scalability Analysis
Across the four corpora the R2 trigger rate shows no monotone relationship with corpus size (per-quartile slopes disagree in direction, all ), inconsistent with few-shot scaling at the sizes tested (); it tracks sentence-type difficulty instead. Full quartile analysis is in the supplementary material.
Table 17: End-to-end pipeline cost across four datasets.
| Dataset | Tier 2 trig. | Full-ens. cost | Reduced cost | Δ F1 |
|---|---|---|---|---|
| iTrust ACRE-n | 3.0% | $0.011/s | $0.008/s | -0.2 pp |
| CyberChair | 14.8% | $0.035/s | $0.020/s | -0.3 pp |
| IBM | 16.0% | $0.037/s | $0.022/s | +0.1 pp |
| iTrust Text2Policy | 20.9% | $0.047/s | $0.027/s | -0.4 pp |
| Unweighted mean | 13.7% | $0.033/s | $0.019/s | -0.2 pp |
5.5 Cypher False-Positive Rate Analysis
The original Phase B implementation reported an 85% Cypher false-positive rate (17/20) on iTrust Text2Policy and IBM — the two corpora processed before the entity-normalization patches, a different pair from the S1-provenance pre-patch pair of Section 5.1 — dominated by entity-name normalization noise (Table 6). Three pipeline patches — strict operation matching in S2, the S1 edge-provenance check (Section 5.1), and an operation-preserving Stage-6 rebuild — eliminate this class: the post-patch Cypher FP rate is 0% on all corpora (on iTrust ACRE-n, of 8 residual Phase B failures 1 is the patient_mid true positive and 7 are verification-correct boundary mismatches from UA-ancestor inheritance). The deterministic re-runs on the released graphs are FP-free (Table 18); patch details and the per-failure breakdown are in the supplementary material.
5.6 Test-Suite Coverage Analysis
Phase B’s test suite covers 93.9%–100% of NGAC structural elements per class across the four datasets (operation-triple coverage 98.0%–100%; aggregate 97.7%–100%). The one iTrust ACRE-n gap is a single uncovered grant triple targeting the flagged non-canonical UA→UA edge Phase B has already flagged for review. The per-element breakdown is in the supplementary material.
5.7 Cost-Effectiveness
Deployment cost matters for a pipeline built on commercial LLMs; three design choices bound it. First, we separate the pipeline into a mandatory Tier 1 (Phase 0 ambiguity scoring + Phase A R1 extraction + Phase B verification, costing ~0.20/sentence on triggered sentences only). Across the four paper datasets, the Tier 2 R2 trigger rate ranges from 3.0% (iTrust ACRE-n) to 20.9% (iTrust Text2Policy), yielding amortized effective costs of 0.047 per sentence end-to-end, translating to 47 per 1,000-sentence policy document. Second, we conducted a reduced-ensemble experiment in which the full five-model R2 ensemble was replaced with a smaller three-model configuration (DeepSeek-Reasoner, GPT-4o-mini, and Claude Sonnet (claude-sonnet-4-5-20250514), retaining the best per-type performers from the design-time benchmark in Section 2). Third, we identify open-source fine-tuning as a concrete future-work path to reduce cost further.
The reduced-ensemble result. Table 17 reports the head-to-head comparison. The reduced three-model ensemble produces a small macro-F1 degradation on three of four datasets (-0.2, -0.3, -0.4 pp on iTrust ACRE-n, CyberChair, and iTrust Text2Policy respectively) and a small improvement on IBM (+0.1 pp). The arithmetic mean across the four datasets is a -0.2 pp degradation. The change is small but non-zero: removing two ensemble members trades a fraction of a percentage point in macro-F1 for a 42% cost reduction (from 0.019/sentence). For deployments where this trade is acceptable, the three-model ensemble is the recommended configuration. The finding is informative not because accuracy is unchanged but because the trade-off curve is shallow: most of the ensemble’s value comes from the top-three per-type performers identified at design time, and the additional two models provide marginal disagreement-resolution benefit relative to their cost.
Open-source fine-tuning pilot (preliminary). A Qwen-2.5-7B-Instruct + QLoRA pilot reaches global held-out macro-F1 0.829 [0.738, 0.899] at a 580-sentence stratified training split (iTrust ACRE-n held-out 0.910, within 0.005 of the closed-source result) while not being viable at the 50-sentence scale — an in-corpus feasibility result, not cross-domain transfer. The gating cost appears to be annotation effort, not compute (5.0 min on one RTX 5090); the conclusion awaits out-of-domain validation, and adapters, results, and training scripts ship with the artifact.
Table 18: Cross-dataset rigor evaluation: unique results per corpus.
| Metric | iTrust ACRE-n | CyberChair | IBM | iTrust Text2Policy |
|---|---|---|---|---|
| Phase B baseline (released graphs, post-patch*) | ||||
| Completeness | 98.9% | 100% | 100% | 100% |
| Correctness | 99.2% | 100% | 99.0% | 100% |
| Conflicts | 0 | 0 | 1* | 0 |
| Minimality | 97.4% | 100% | 100% | 100% |
| Verdict | PASS | PASS | NEEDS REFINE* | PASS |
| Mutation testing detection | ||||
| Total mutants (completed) | 237 | 210 | 231 | 240 |
| Aggr. detection (post-patch) | 100% | 98.6% | 100% | 100% |
| Aggr. detection (historical) | 100% | 84.3% | 100% | 87.5% |
| M2 detection (post-patch) | 100% | 100%** | 100% | 100%** |
| Cypher FPs / total failures | 0 / 8 | 0 / 1 | 0 / 3 | 0 / 0 |
| Phase B natural-error case study | ||||
| Catch | patient_mid | PCC→reviewer | student-registerc | (clean baseline) |
| Class of finding | VP attachment | UA/RA confusion | temporal scoping | — |
*Patch applied by the deterministic verifier-side re-run; **historically 0% (pre-patch CSVs carried no sentence_ids); cIBM's baseline conflict is documented as a temporal-scoping case study (Section 5.8.1), not fixed. Aggregates exclude vacuous/inapplicable M4 trials; mutation rows = uniform post-patch re-run; Phase-B and Cypher-FP blocks = re-run on the released graphs (development-time runs in Table 6; the two tables' failure counts differ by design). CyberChair's single failing test is the S1 dangling-reference diagnostic of Section 5.8.1; strategy-level metrics are computed per element and read 100% even as that one test fails. iTrust ACRE-n was processed post-patch, so its development-time and released-graph numbers coincide with Table 6.
5.8 Cross-Dataset Replication and Diagnostic Case Studies
To verify that the verification-rigor results generalize beyond a single dataset, we replicated all four rigor experiments (mutation testing, R2 trigger-rate analysis, Cypher false-positive rate analysis, and test-suite coverage) on each of the four datasets. The four datasets span three domains (healthcare, conference review, education) and three graph sizes (135–969 edges); the uniform post-patch re-run of Section 5.1 equalizes the verifier side across all four. Table 18 summarizes the cross-dataset results; the per-dataset case studies that follow document the diagnostic Phase B catches and explain the methodological role of each finding.
Coverage gap: prohibition-related verification on CyberChair. The CyberChair corpus contains zero PROHIBITION edges by virtue of the conference-management domain's natural language patterns (no "deny" / "cannot" constructs in the source documents). The M4 mutation operator (which injects a same-operation grant conflicting with an existing PROHIBITION edge, and therefore needs at least one deny to target; Table 13) is therefore vacuous on CyberChair, so the prohibition-related portion of the rigor evaluation rests on three datasets (T2P, ACRE-n, IBM), not four. Independently, the M4-on-IBM "vacuous skips" described in Section 5.8.1 are a different phenomenon (the random sampler rediscovers an existing IBM conflict), not a corpus-coverage gap.
5.8.1 Diagnostic Case Studies
Three datasets produced one diagnostic catch each — three distinct error classes across three corpora — and the fourth provides the clean baseline.
iTrust ACRE-n: coordinated-VP attachment. The patient_mid grant/deny conflict fully documented in Section 4.6: a failure mode that prompt engineering alone does not reliably catch but that Phase B's graph-level consistency check exposes by construction.
CyberChair: UA/RA type confusion. Phase B's single baseline failure (S1_Coverage_0117) traced to a dangling RA:reviewer: one sentence has the PCC "asking" a reviewer, so Stage 4 typed "reviewer" as an action target (RA), while the rest of the corpus consistently types it as the acting role (UA); Stage 6 canonicalizes the UA reading, and S1 correctly detects the orphaned reference. The class: an entity that legitimately plays both roles confounds sentence-local typing.
IBM: temporal scoping. S3 flagged a same-operation grant/deny conflict on (UA:student, register, RA:course_offering): two sentences grant registration unconditionally while sentence 308 denies it after the semester's registration closes. Each extraction is correct in isolation, but the flat tuple representation cannot encode the temporal qualifier, so the deny conflicts structurally with the grants; the appropriate fix is a scope-aware Stage 4 representation (a conditional obligation or a deadline-activated policy class), so we document the case rather than patch it. The M4 sampler's 9 vacuous skips on IBM independently rediscover the same conflict, confirming S3 and the mutation generator observe the same graph state.
Clean baseline (iTrust Text2Policy). The released Stage 6 graph scores 100% on every Phase B metric, with all 1,184 rigor-baseline tests passing. The initial development-time run (Table 6: 1,430 tests, 9 failures — 8 Cypher-formatting false positives, 1 true positive per Table 6) preceded a cleanup that removed 16 redundant transitive assignments, yielding the released graph. The corpus's single ground-truth extraction error (the parent-abstraction case behind the 99.6% Stage-4 accuracy) remains in the released graph without contradicting the clean baseline: parent-entity abstraction is precisely the E3 class that structural verification does not detect. Across the four corpora, Phase B is sensitive in proportion to structurally visible error density: PASS when clean, NEEDS-REFINE with a specific diagnostic when an issue exists, zero post-patch false alarms (Section 5.5).
6 Adversarial Input: Prompt-Injection as a Fail-Open Channel
The verifier boundaries above concern extraction errors on good-faith documents. A distinct security question is what happens when the input document is itself adversarial. Because the pipeline's LLM stages read document text directly, a document author (or an attacker who can edit a document before extraction) has a prompt-injection surface, and Phase B is structurally blind to it: its S1 tests verify the graph against the source text, so an edge faithfully extracted from injected text passes verification by construction. We measured this channel: 24 adversarial CyberChair-domain sentences in three families (explicit spurious grants, indirection, embedded instructions) were injected into the corpus. The extractor emitted the attacker's intended grant for 16 of 24 (66.7%), and 19 of 24 (79.2%) produced a structurally well-formed edge that Phase B accepts by construction — text-level prompt injection is a measured fail-open channel. The M2 result (100% detection of spurious grants) covers only edges without sentence provenance and does not cover injected-but-grounded edges. Mitigations are upstream — document provenance and integrity controls, instruction-data separation, an injection classifier on Phase-0 input — or rest with the expert-review operating point, where a reviewer sees both the extracted grant and its source sentence.
7 Enforcement Replay in the NIST Reference Implementation
To confirm that the extracted graphs are enforceable, not merely well-formed, we translated the iTrust Text2Policy Stage 6 graph into PML and loaded it into the NIST reference implementation, policy-machine-core v3.3.0 (Ferraiolo et al. 2015). The full structure — 36 policy classes, 18 user attributes, 254 resource attributes, one resource, 430 assignments, 224 associations, and 8 prohibitions (as conjunctive prohibitions) — loaded without modification (the corpus's 12 obligation records, which account for the remaining nodes in Table 5, are paired-edge constructs handled through the PM obligation mechanism, not graph nodes): every node and edge satisfied the reference implementation's type constraints, with zero orphaned attributes and zero skipped edges. Demonstration users and an authoring-rights scaffold for the obligation response are the only additions beyond the extracted graph (marked in the released generator).
We then replayed 55 access requests whose expected decisions were computed independently from SP 800-178 semantics (per-policy-class intersection over association-derived rights, minus prohibitions): 24 association-derived grants, 13 prohibition-covered denials, and 18 no-privilege denials. The reference PDP agreed on 55 of 55, including every prohibition override, and one extracted paired-edge obligation (OBL_367, an LHCP administering an immunization) was registered and fired end-to-end through the reference event-processing point. The scope of this result is translation fidelity and internal coherence, not source correctness: the expected decisions are derived from the extracted graph under SP 800-178 semantics, so 55/55 agreement establishes that what TEXT2NGAC extracts is faithfully and deterministically enforceable by the reference implementation.
8 Related Work
NLP for access control policy extraction. Narouei et al. (2020) applied semantic role labeling for policy sentence identification, achieving approximately 80% accuracy on the upstream identification subtask. Slankas et al. (2014) introduced ACRE, a dependency-parse-driven relation extraction approach for software engineering documents, and released the larger iTrust corpus we evaluate against in this work. Xia et al. (2022) applied BERT-based semantic-role labeling to ABAC policy extraction from healthcare documents. Alohaly et al. (2019) explored deep learning for ABAC attribute extraction. Xiao et al. (2012) extracted XACML-format ABAC policies using dependency parsing in their Text2Policy work, which gave the smaller iTrust corpus its name. None of these efforts target NGAC, none model obligations as event-response structures per NIST SP 800-178, none cover all six NGAC assignment sub-types (U→UA, UA→UA, R→RA, RA→RA, UA→PC, RA→PC), and none provide an automated graph-level verification stage; TEXT2NGAC contributes all four.
Table 19: Detailed capability comparison with prior approaches.
| Approach | Extraction method | Type coverage | Assignment depth | Obligation semantics | Evaluation data | Verification & rigor |
|---|---|---|---|---|---|---|
| Abdelgawad et al. (2023) (SAC-MAT 2023) | spaCy en_core_web_lg dependency parser; root-verb POS heuristics; rule-based negation list of 26 prohibition words | Assoc., Prohib.; no obligation; partial assignment | Only U→UA and R→RA; no UA→UA, RA→RA, or PC sub-types | Not supported; advcl clauses detected but reduced to associations | 7 university policy documents (real); 75% average accuracy | Cypher-based regex testcases (1 per path); no formal property checks; no controlled-mutation evaluation of the verifier |
| Abdelgawad and Ray (2024) (SAC-MAT 2024) | spaCy + ABAC-specific rule extensions; same syntactic pipeline as 2023 | ABAC only (Subject, Action, Resource, Condition); no NGAC obligations or prohibitions | Partial U→UA assignment via NER; ABAC scope only | Not supported | Same datasets as 2023; ABAC scope | None reported |
| Lawal et al. (2024b) (TPS-ISA 2024) | GPT-4 with Code4Policy prompting (Python @dataclass schema); zero-shot baseline + few-shot scaled version | Assoc., Prohib.; partial obligation; no assignment | Not supported; assignment “inherently established through tree hierarchy while synthesizing the dataset” (Lawal et al. 2024b) | Partial: extracted as conditional clause; no event-response paired-edge construction | 3 LLM-synthesized datasets (BoA, NHS, UTSA, ~917 sentences); no real-document evaluation | NGAC specification-checker validates entity types in extracted relations; no formal property verification; no controlled-mutation evaluation of the verifier |
| NIST report (Lawal et al. 2024a) | Chain-of-thought prompting (GPT-4) | Assoc.; partial obligation; no prohibition or assignment | Not supported | Partial: described in narrative only | Self-synthesized policy expressions | None reported |
| Yang et al. (2025) (SAC-MAT 2025) | Knowledge distillation (large LLM teacher→small student model) | Flat (Subject, Action, Resource) triples for ABAC; no NGAC types | Not applicable (flat triples) | Not supported | Real ABAC policy data | None reported |
| Text2NGACPhase 0 LLM (this work) | disambiguation + Phase A six-stage pipeline (DeepSeek R1 + confidence-gated multi-LLM R2 ensemble; OpenAI embeddings; Claude validation) | All four NGAC types: Association, Prohibition, Obligation, Assignment | Represents all six sub-types; five exercised on these corpora (U→UA absent; §4.5) | Event-response paired-edge construction (materialized and enforced on iTrust Text2Policy; §7) | 4 real-world datasets (725 ACPs total) across 3 domains | Phase B five-strategy verification (S1–S5) + mutation-testing harness (8 structural + 4 taxonomy-derived operators; 99.7% structural detection post-patch) |
Cells state the method used or the scope of partial support, not a binary mark; Real = evaluated on real (vs. LLM-synthesized) documents; bottom row = TEXT2NGAC.
NGAC-specific extraction. Abdelgawad et al. (2023) pioneered rule-based NGAC extraction from real documents (spaCy dependency parsing; associations and partial assignments at ~75% accuracy), with a follow-up narrowed to ABAC (Abdelgawad and Ray 2024). Lawal et al. (2024b) introduced LLM-based extraction (Code4Policy), reporting 99% F1 — on LLM-synthesized corpora (BoA, NHS, UTSA) that lack the compound sentences, pronoun chains, and attachment ambiguity of naturally-authored documents — without assignments, graph verification, or verifier evaluation. We reproduce both as baselines (Section 4.8); Table 19 details the per-capability distinctions, and the ablation's snapshot-dependence finding (Section 4.9) suggests why synthesized-data results transfer poorly to real text.
General-purpose information and relation extraction. Joint entity-relation models (REBEL (Huguet Cabot and Navigli 2021), UniRE (Wang et al. 2021)), BERT-based RE pipelines (Baldini Soares et al. 2019; Xia et al. 2022), and OpenIE systems (Stanovsky et al. 2018) extract flat (subject, predicate, object) triples without the type discipline NGAC requires: no association-vs-prohibition polarity, no event-response obligation pairs, hierarchies treated as ordinary relations, and no verification against the access-control model. ACRE (Slankas et al. 2014) comes closest in motivation but is likewise restricted to flat triples; we evaluate against its corpus (iTrust ACRE-n) but not its model.
TEXT2NGAC complements this literature: where those systems extract flat relations, it extracts a typed, verified, NGAC-compliant graph (head-to-head comparison with a fine-tuned RE model in Section 4.8).
A NIST technical report (Lawal et al. 2024a) explores chain-of-thought prompting for NL-to-NGAC extraction, but excludes assignments entirely and includes no automated verification. Yang et al. (2025) contribute a knowledge-distillation approach evaluated on real data, but target flat ABAC triples (Subject-Action-Resource), not NGAC's richer graph semantics.
TEXT2NGAC unifies these threads: LLM-based extraction evaluated on real documents; all four NGAC relationship types (six assignment sub-types represented, five exercised on these corpora); event-response paired-edge obligations that a NIST Policy Machine can enforce (Section 7), where prior approaches reduce obligations to conditional clauses that cannot fire; and five-strategy verification paired with a controlled-mutation evaluation of the verifier. No prior approach combines any two of these; Table 19 details the per-capability distinctions.
NGAC analysis and testing. Tan et al. (2025) proved the NGAC safety problem coNP-complete under mild assumptions, underscoring the importance of automated policy construction and verification. Chen et al. (2023) developed coverage-based testing of obligations; Chen et al. (2021) proposed mutation analysis for NGAC policies, providing the conceptual foundation for our Phase B mutation harness. TEXT2NGAC automates the upstream policy specification that these analytical frameworks operate upon.
LLMs for structured extraction. Wei et al. (2022) demonstrated chain-of-thought prompting; Wang et al. (2023) proposed self-consistency; Brown et al. (2020) established the few-shot capabilities underpinning RAG-augmented prompting; Lewis et al. (2020) introduced retrieval-augmented generation. Our Stage 2 RAG context and Stage 3 R1+R2 confidence-gated ensemble adapt these techniques to the NGAC type-classification setting. Our multi-LLM ensemble strategy relates to a broader trend of applying LLMs to formal-specification extraction (Jabal et al. 2019), where model complementarity and verification against formal semantics are critical challenges.
Mutation testing. Mutation analysis has a long history in software testing (Jia and Harman 2011; Papadakis et al. 2019) and has been applied directly to NGAC policies by Chen et al. (2021) as a way to assess the adequacy of policy test suites. Our use of mutation testing is closely related but addresses a different question: rather than measuring whether a policy's tests cover its mutants, we measure whether TEXT2NGAC's verifier detects controlled corruptions of the extracted graph. The novelty relative to Chen et al. is narrower than "mutation testing for NGAC" (which Chen et al. introduced) and is best stated as: applying mutation analysis to validate a verifier of NL-extracted policies, where the upstream extractor is itself fallible and the verifier's effectiveness against extractor errors is what is being measured. We share Chen et al.'s mutation-operator design vocabulary (edge addition, edge deletion, type substitution, attribute reassignment) and adapt it to operate on the post-extraction graph rather than on a hand-authored policy.
9 Discussion and Limitations
9.1 Limitations
Five bounded limitations are established elsewhere in the paper and need only a line each here. Pipeline-version split: CyberChair and iTrust Text2Policy upstream outputs are cached pre-patch, while the deterministic verifier side runs uniformly post-patch on all four datasets (Section 5.1); an upstream re-run awaits a re-pinned LLM snapshot. Rebuild-vs-published topology deltas: rebuilt graphs match the released Stage 6 CSVs on every verifier-relevant edge class, and the residual PC-attribution and obligation-materialization deltas are measured inert; diff scripts ship with the artifact. LLM-synthesized datasets: the rationale for not re-running Code4Policy on BoA/NHS/UTSA accompanies the comparison (Section 4.8.1). Fault masking: contingent on unrepaired baseline-flagged edges and post-repair-verified (Section 5.1); iTrust ACRE-n carries one analogous flagged edge (1 of 299 associations, never drawn at n=30). Reduced-ensemble scope: a three-model ensemble preserves accuracy within ±0.4 pp at ~40% lower Tier-2 cost (Section 5.7). Three limitations warrant fuller discussion — threshold calibration, training-data contamination, and verifier-operator co-design — and follow in full prose; the wording-robustness probes are reported as experiments in Section 4.10.
Threshold sensitivity. The pipeline has two key thresholds; both sweeps characterize calibration, not robustness. Stage-3 confidence (default 0.9): the R1 model emits only two confidence values, {0.85, 0.95}, on every dataset, so any threshold in (0.85, 0.95] is behaviorally identical and the flat response is a degeneracy of binary-valued confidence, a known calibration weakness of zero-shot LLM scoring (Xiong et al. 2024), not resilience. Phase-0 ambiguity (default 0.3): sweeping on CyberChair spans a 3.7-pp R1 spread (decision-flip rates of 5.3–16.7% at ±0.1 across corpora), with 0.3 sitting at the score-distribution inflection that captures all observed decision flips. Because Stages 4–6 and Phase B are deterministic functions of the Stage-3 output, the 3.7-pp R1 spread upper-bounds any end-to-end Path-B effect, which is smaller than the bootstrap CI half-widths on every Phase B metric (±2–6 pp), so a full Path-B sweep could not distinguish a threshold effect from sampling noise at these corpus sizes; running one against current vendor snapshots would additionally mix in vendor drift (Section 9.2). A full Path-B sweep against a re-pinned snapshot remains planned follow-up; per-threshold tables ship with the artifact.
Training-data contamination. Three of the four evaluation corpora are long-public documents: the iTrust requirements date to 2012 (Meneely and Williams 2012), the IBM Course Registration document to 2010 (IBM Course Registration Team 2010), and CyberChair has been publicly available for well over a decade. All of them plausibly appear in the pretraining corpora of the commercial LLMs the pipeline relies on (DeepSeek-Chat, GPT-4o-mini, Claude Sonnet, and Claude Opus), raising the natural question of whether the reported 97–99% extraction accuracy reflects memorization of these documents, not extraction capability. Three observations bound this threat. First, the ground-truth NGAC tuple annotations are new and unpublished: they were constructed by the authors for this work (Section 2.3), so no (sentence, NGAC tuple) pairs for these corpora exist anywhere public. Memorizing the source documents therefore does not yield the labels: mapping a sentence to a typed NGAC tuple with correct UA/RA prefixes, normalized operations, and the right assignment sub-type requires performing the extraction task. Second — a weaker argument, since the paraphrase probes (Section 4.10) show surface-form sensitivity that memorization would also predict — single-model extraction reaches only 58.5–87.0% exact match on the same sentences (Table 9) against the full pipeline's 97.3–99.6%; if memorized sentence-to-tuple mappings drove the headline number, a single call would suffice. Third, the Phase B case studies (the patient_mid attachment error, the PCC→reviewer type confusion, and the IBM temporal-scoping conflict; Section 5.8) document genuine extraction errors on these very corpora, errors of exactly the kind memorization would prevent. The paraphrase probes of Section 4.10 measure surface-form sensitivity directly; their residual drop cannot be attributed to memorization specifically, and the three bounding observations above are unaffected by it.
Verifier-operator co-design. The eight M-operators target specific Phase B strategies, so 100% detection of the co-designed set is necessary but not sufficient evidence of effectiveness against arbitrary faults; Sections 5.1–5.2 treat the circularity and its mitigations in full (operator vocabulary adapted from the independently designed Chen et al. (2021); the surfaced M2 gap showing the harness finds real holes; the independently sampled E-operators scoring 96.7–99.2% on three classes with the E3 boundary at 9.2%). The E3 boundary now has a piloted sentence-grounded mitigation (95% of E3 mutants flagged at a 2–5% review burden; Section 5.2); what remains open is a fully automated repair and fault models drawn from sources external to this paper entirely, e.g. operator vocabularies from other verification literatures. The twelve operators sample the fault classes we could mechanically generate, not a uniform coverage of NGAC's semantic fault space — cross-sentence referent drift and plausible-but-wrong operation choices, for instance, have no generator — so per-class detection rates are measurements, not a global adequacy score.
Threat model: trusted policy documents. TEXT2NGAC assumes its input documents are authored in good faith; adversarial input is outside the extraction guarantees, and Section 6 measures the prompt-injection channel this assumption leaves open (66.7% attack success, accepted by Phase B by construction; mitigations are upstream or rest with the expert reviewer). Concretely, a malicious policy author needs only one planted sentence granting their own role access to a sensitive resource attribute: the pipeline faithfully encodes it, every structural check passes, and the grant reaches the reviewer as legitimate-looking output — which is why the mitigations must sit upstream of extraction.
What the system does not guarantee. Four boundaries define how the results should be read: a graph that passes Phase B is structurally validated, not semantically certified (Section 5.3); accuracy is wording-specific, not wording-invariant (Section 4.10); accuracy is relative to the released annotations, whose blind-coder reliability and agreed-subset control are in Section 4.3; and the intended operating point is extraction plus structural validation feeding expert review, not autonomous deployment.
9.2 Threats to Validity
Internal validity. The primary internal threat is circularity between ground truth and system: annotations follow the same NGAC naming conventions the extractor emits. Three considerations bound it. Both the annotation guide and the Stage 4 prompts derive their naming conventions from the NIST SP 800-178 type definitions (Section 2.1), a shared external source, rather than either being derived from the other. Reliability is established by independent second-annotator coding: Cohen's pooled (Section 2.3). The agreed-vs-contested split reported next to the headline (Section 4.3) shows the headline is not carried by the contested labels. All metrics use exact-match semantics against this ground truth, with the Stage-3/Stage-4 reporting convention of Section 4.3. Ablation comparisons use exact McNemar tests on paired per-sentence exact-match outcomes; significant effects are reported with exact p-values and null effects as null (Table 9). The R2 trigger-rate trend tests use both linear regression and Mann-Kendall; both reach the same null conclusions.
External validity. Publicly available NL-to-access-control datasets remain scarce (Section 2.3). Our four datasets from three domains exceed the evaluation scale of all prior NGAC-extraction work. However, the all-four-types coverage claim rests on a thin slice of that data: the corpora contain 52 obligation and 23 prohibition sentences out of 725, CyberChair contributes zero prohibitions, and IBM a single obligation — so per-type results for these two classes are evidence of capability on ~75 sentences, not of robust per-domain performance. All four are English-language enterprise documents; applicability to other languages, IoT/cloud policies, or different linguistic registers remains to be validated. Their long public availability also raises a training-data contamination concern, which we analyze and bound in Section 9.1 (training-data contamination). The mutation-testing framework is graph-structural and language-independent, so we expect it to generalize naturally; the LLM-driven extraction stages are language-dependent and would require retraining or prompt adaptation for other languages.
Construct validity. We report exact-match accuracy, macro-averaged precision, recall, and F1 throughout, all scored against the released labels. Independent second-annotator agreement is pooled (Section 2.3); the residual disagreements concentrate at the assignment-association and obligation-association boundaries, the same categories that dominate error analysis (Section 4.7) — boundary ambiguity intrinsic to NGAC typing, not random noise, and bounded by the agreed-subset control (Section 4.3). Phase B pass rates depend on LLM-generated test quality; partial-credit metrics (Slankas et al. 2014) and mutation-based test adequacy (Chen et al. 2021) are alternative effectiveness measures for future work.
Conclusion validity. Three risks bear on the strength of our quantitative claims. (1) Prompt sensitivity: all reported numbers use the structured prompts in our public artifact and temperature=0.1. We did not run a systematic prompt-perturbation study, so the absolute numbers may shift under prompt rewrites; however, every comparison in the paper (full-pipeline vs. ablations, TEXT2NGAC vs. baselines, R1 vs. R2) holds the prompt fixed across conditions, so relative claims are robust to this risk. (2) Model-version drift: the underlying LLM endpoints are vendor-managed and may evolve. We pin exact model versions in the released artifact, but exact bit-level reproduction of Tier 2 (LLM-driven) results across vendor updates is not guaranteed. The Tier 1 verification and rigor results are deterministic and unaffected by drift. Migrating to a new snapshot is a bounded recalibration exercise: re-run the 50-sentence design-time benchmark to refresh per-type ensemble weights, re-sweep the two thresholds (both sweeps ship with the artifact), and re-validate on one corpus; the deterministic verifier side needs no change. (3) Multiple-comparison risk: the ablation makes nine within-run comparisons (three conditions three corpora; Table 9). Under a Bonferroni correction (), the Phase-0 effect on iTrust Text2Policy survives (); the combined-removal effect on the same corpus () is nominally significant but does not survive the correction and is suggestive only. For the archived-full-vs-re-run-R1 comparisons, every discordant sentence pair favors the full pipeline (96:0, 6:0, 29:0); the CyberChair count (6:0, ) is nominally significant but does not survive a three-way correction, while the other two are far below any threshold. Null results are reported as null throughout.
9.3 Reproducibility
TEXT2NGAC's artifact has two reproducibility tiers (a separate axis from the cost tiers of Section 5.7). Tier 1 (zero API cost, fully deterministic): Phase B verification and all rigor experiments operate on the released Stage 6 CSVs with seeded harnesses (random_seed=42) and reproduce bit-exactly in under five minutes on a single CPU. Tier 2 (LLM-dependent): the Phase 0 + Phase A extraction stages run at temperature=0.1 against pinned commercial model versions; we measured sentence-level disagreement between two independent full-pipeline runs on iTrust ACRE-n at the same pinned versions, while vendor model updates can shift absolute numbers (a drift instance is measured in Section 4.9); the released ground truth and scoring scripts let any re-run be evaluated against the same canonical metrics, with the reported bootstrap CIs as the tolerance bounds.
A per-result reproducibility map (each headline result, its tier, and the expectation an independent replication should hold) is provided in the supplementary material.
9.4 Future Work
Five concrete threads of follow-up work flow directly from the limitations above: F1 a conditional-scope representation (conditional obligations or scope-bounded policy classes) so temporal qualifiers like the IBM registration deadline become first-class rather than verifier-reconstructed (Section 5.8.1); F2 a multilingual pilot (professionally translated UC1 set; Spanish, Mandarin, Arabic); F3 a few-shot scaling study on a single 1,000-sentence corpus, since n=54–362 shows no monotone pattern (Section 5.4); F4 an out-of-domain evaluation of the open-source fine-tuned ensemble slot, extending the preliminary pilot of Section 5.7; and F5 a human-in-the-loop review UI that surfaces Phase-B-flagged low-confidence cases with proposed graph edits, converting the residual 1–3% extraction gap into a tractable manual workflow.
10 Conclusion
We presented TEXT2NGAC, a multi-stage pipeline for near-automated NGAC policy extraction from natural language, paired with five-strategy semantic verification (Phase B) whose effectiveness is itself evaluated through a controlled-mutation analysis adapted from Chen et al. (2021) to the NL-extracted-graph setting. Three contributions — proactive semantic disambiguation (Phase 0), task-optimized multi-LLM ensemble routing (Phase A), and the verifier-plus-mutation-evaluation pairing (Phase B + §5.1) — collectively achieve 97.3–99.6% Stage 4 sentence-level extraction accuracy across four diverse datasets on their original wording (wording-specific; Section 4.10), far above all three reproduced baselines on matched metrics (Table 8). The ablation shows the ensemble-plus-refinement layer is the dominant contributor, and no single frontier model from three vendors closes the gap (Section 4.9).
The mutation-testing experiment shows Phase B detects 99.7% of the 918 structural mutants under a uniform, deterministic post-patch re-run, with M2 detection moving 0%→100% when the S1 edge-provenance patch is toggled on identical graphs; the residual misses trace to fault masking on a single baseline-flagged edge (Section 5.1). On the taxonomy-derived operators, detection is 96.7–99.2% on three fault classes; the fourth, parent-entity abstraction (9.2%), is the verifier's measured boundary and dominates the residual fail-open exposure (Table 16); a sentence-grounded pilot detector flags 95% of these faults at a 2–5% review burden (Section 5.2). The four-corpus replication adds three diagnostic case studies, each a distinct Stage 4 error class, and the end-to-end amortized cost is 0.047 per sentence, with a reduced three-model ensemble preserving accuracy at roughly 40% lower Tier-2 cost.
The extracted graphs are demonstrably enforceable — the iTrust Text2Policy graph loads unmodified into the NIST reference implementation, the reference PDP reproduces all 55 access decisions the graph entails under SP 800-178 semantics (translation fidelity, not source correctness), and an extracted paired-edge obligation fires end-to-end (Section 7) — and the verifier-plus-mutation-evaluation pairing is a general methodology, applicable wherever a structured artifact is extracted from unstructured text and mechanically verifiable correctness properties exist. Together with complete NGAC type coverage, including event-response obligations, and explicit cost-effectiveness, this positions TEXT2NGAC as a practical tool for translating natural-language policies into structurally validated NGAC policy graphs ready for expert review.
Abbreviations. ABAC: Attribute-based access control; ACP: Access control policy; ACRE: Access control relation extraction; API: Application programming interface; CI: Confidence interval; CRUD: Create, read, update, delete; FP: False positive; GT: Ground truth; HCP: Health care personnel; IE: Information extraction; LHCP: Licensed health care personnel; LLM: Large language model; NGAC: Next Generation Access Control; NIST: National Institute of Standards and Technology; NL: Natural language; NLP: Natural language processing; OOD: Out-of-domain; PC: Policy class; R: Resource; RA: Resource attribute; RAG: Retrieval-augmented generation; RE: Relation extraction; SP: Special Publication; U: User; UA: User attribute; VP: Verb phrase.
Supplementary material. The supplementary analyses (supplementary.pdf) are available as an ancillary file of this arXiv record and in the reproducibility artifact: the R2 trigger-rate scalability analysis, the Cypher false-positive patch details, the per-element test-suite coverage table, the BERT-RE learning-rate sweep, the per-result reproducibility map, and the per-cell bootstrap confidence intervals for the results and baseline tables.
Declarations
Availability of data and materials. The reproducibility artifact is archived on Zenodo under the concept DOI https://doi.org/10.5281/zenodo.20309352, which always resolves to the latest published version. It contains the four annotated corpora and both independent codings, the extraction and verification code (Phases 0/A/B for every dataset), the mutation and rigor harnesses, reproduced baselines, statistical analysis scripts, the probe and pilot-detector records, and the NIST enforcement-replay harness. The version matching this manuscript will be published under the same concept DOI. Reproduction is split into a deterministic single-CPU Tier 1 (no API access required) and an LLM-driven
Tier 2 (reproducible up to vendor-side stochasticity at temperature=0.1). Code is MIT-licensed; data and annotations CC BY 4.0.
Competing interests. The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Funding. This work was supported by the Key Research and Development Program of Shaanxi (Program No. 2024GX-ZDCYL-01-20).
Authors' contributions. Ayesha Habib: Conceptualization, Methodology, Software, Investigation, Formal analysis, Data curation, Validation, Visualization, Writing (original draft), Writing (review & editing). Huixiang Zhang: Supervision, Conceptualization, Methodology, Resources, Funding acquisition, Writing (review & editing). Dan Zhu: Methodology, Validation, Writing (review & editing). Waiz Haider: Software, Investigation, Validation, Data curation, Writing (review & editing). All authors read and approved the final manuscript.
Acknowledgements. The authors thank the iTrust, CyberChair, and IBM Course Registration project maintainers for the publicly available source documents on which the annotated corpora are built.
Use of generative AI in scientific writing. During the preparation of this work the authors used generative-AI assistants (Claude Code by Anthropic) to assist with LaTeX editing, code review, drafting prose suggestions, and running supporting experiments (BERT-RE baseline training, bootstrap confidence-interval scripts, and the Qwen-2.5-7B+QLoRA fine-tuning pilot). After using these tools, the authors reviewed and edited the content as needed and take full responsibility for the content of the publication.
References
Abdelgawad M, Ray I (2024) Synthesizing and analyzing ABAC policies from natural language. In: Proceedings of the 29th ACM Symposium on Access Control Models and Technologies (SACMAT)
Abdelgawad M, Ray I, Alqrashi S, et al (2023) Synthesizing and analyzing attribute-based access control model generated from natural language policy statements. In: Proceedings of the 28th ACM Symposium on Access Control Models and Technologies (SACMAT), pp 91–98, https://doi.org/10.1145/3589608.3593844
Alohaly M, Takabi H, Blanco E (2019) Automated extraction of attributes from natural language attribute-based access control (ABAC) policies. Cybersecurity 2(1):1–25
Baldini Soares L, FitzGerald N, Ling J, et al (2019) Matching the blanks: Distributional similarity for relation learning. In: Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics (ACL), pp 2895–2905
Brown TB, Mann B, Ryder N, et al (2020) Language models are few-shot learners. In: Advances in Neural Information Processing Systems, pp 1877–1901
Chen E, Dubrovenski V, Xu D (2021) Mutation analysis of NGAC policies. In: Proceedings of the 26th ACM Symposium on Access Control Models and Technologies (SACMAT), pp 71–82, https://doi.org/10.1145/3450569.3463563
Chen E, Dubrovenski V, Xu D (2023) Coverage-based testing of obligations in NGAC systems. In: Proceedings of the 28th ACM Symposium on Access Control Models and Technologies (SACMAT), pp 169–179, https://doi.org/10.1145/3589608.3593832
Ferraiolo D, Gavrila S, Jansen W (2015) Policy machine: Features, architecture, and specification. Tech. Rep. NISTIR 7987, Revision 1, National Institute of Standards and Technology, Gaithersburg, MD
Ferraiolo DF, Sandhu R, Gavrila S, et al (2001) Proposed NIST standard for role-based access control. ACM Transactions on Information and System Security 4(3):224–274
Ferraiolo DF, Chandramouli R, Kuhn DR, et al (2016) Extensible access control markup language (XACML) and next generation access control (NGAC). Tech. Rep. NIST SP 800-178, National Institute of Standards and Technology, Gaithersburg, MD
Hu VC, Ferraiolo D, Kuhn R, et al (2013) Guide to attribute based access control (ABAC) definition and considerations. Tech. Rep. NIST SP 800-162, National Institute of Standards and Technology
Huguet Cabot PL, Navigli R (2021) REBEL: Relation extraction by end-to-end language generation. In: Findings of the Association for Computational Linguistics: EMNLP, pp 2370–2381
IBM Course Registration Team (2010) IBM course registration sample requirements document. Sample requirements document; a copy is included in the released artifact
Jabal AA, Davari M, Bertino E, et al (2019) Methods and tools for policy analysis. ACM Computing Surveys 51(6):1–35. https://doi.org/10.1145/3295749
Jia Y, Harman M (2011) An analysis and survey of the development of mutation testing. IEEE Transactions on Software Engineering 37(5):649–678
Lawal S, Zhao X, Rios A, et al (2024a) Translating natural language specifications into access control policies. Tech. Rep. NIST IR (Draft), National Institute of Standards and Technology, initial public draft of an NIST Internal Report; distinct from the same authors' TPS-ISA conference paper Lawal et al. (2024b)
Lawal S, Zhao X, Rios A, et al (2024b) Translating natural language specifications into access control policies by leveraging large language models. In: Proceedings of the 6th IEEE International Conference on Trust, Privacy and Security in Intelligent Systems and Applications (TPS-ISA), pp 361–370, https://doi.org/10.1109/TPS-ISA62245.2024.00048
Lewis P, Perez E, Piktus A, et al (2020) Retrieval-augmented generation for knowledge-intensive NLP tasks. In: Advances in Neural Information Processing Systems (NeurIPS)
Meneely A, Williams L (2012) iTrust healthcare application requirements. North Carolina State University Realsearch Group, http://agile.csc.ncsu.edu/iTrust/ (historical URL; a document copy is included in the released artifact)
Narouei M, Takabi H, Nielsen R (2020) Automatic extraction of access control policies from natural language documents. IEEE Transactions on Dependable and Secure Computing 17(3):506–517
Papadakis M, Kintis M, Zhang J, et al (2019) Mutation testing advances: An analysis and survey. Advances in Computers 112:275–378
Sandhu RS, Coyne EJ, Feinstein HL, et al (1996) Role-based access control models. Computer 29(2):38–47
Slankas J, Xiao X, Williams L, et al (2014) Relation extraction for inferring access control rules from natural language artifacts. In: Proceedings of the 30th Annual Computer Security Applications Conference (ACSAC), pp 366–375
Stanovsky G, Michael J, Zettlemoyer L, et al (2018) Supervised open information extraction. In: Proceedings of NAACL-HLT, pp 885–895
Tan B, Davies ESD, Ray I, et al (2025) Safety analysis in the NGAC model. In: Proceedings of the 30th ACM Symposium on Access Control Models and Technologies (SACMAT), pp 91–98, https://doi.org/10.1145/3734436.3734444
Wang X, Wei J, Schuurmans D, et al (2023) Self-consistency improves chain of thought reasoning in language models. In: International Conference on Learning Representations (ICLR)
Wang Y, Sun C, Wu Y, et al (2021) UniRE: A unified label space for entity relation extraction. In: Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics (ACL), pp 220–231
Wei J, Wang X, Schuurmans D, et al (2022) Chain-of-thought prompting elicits reasoning in large language models. In: Advances in Neural Information Processing Systems (NeurIPS)
Xia Y, Zhai S, Wang Q, et al (2022) Automated extraction of ABAC policies from natural-language documents in healthcare systems. In: Proceedings of the IEEE International Conference on Bioinformatics and Biomedicine (BIBM), pp 1289–1296, https://doi.org/10.1109/BIBM55620.2022.9995559
Xiao X, Paradkar A, Thummalapenta S, et al (2012) Automated extraction of security policies from natural-language software documents. In: Proceedings of the ACM SIGSOFT 20th International Symposium on the Foundations of Software Engineering (FSE), pp 1–11
Xiong M, Hu Z, Lu X, et al (2024) Can LLMs express their uncertainty? an empirical evaluation of confidence elicitation in LLMs. In: The Twelfth International Conference on Learning Representations (ICLR)
Yang M, Atluri V, Sural S, et al (2025) Extraction of machine enforceable ABAC policies from natural language text using LLM knowledge distillation. In: Proceedings of the 30th ACM Symposium on Access Control Models and Technologies (SACMAT), pp 157–168, https://doi.org/10.1145/3734436.3734447