← Lab /Security & privacy

LLM-generated intermediate representation yields 95.7% faithful NGAC policies

NGAC-IR can automatically translate natural-language access rules into NGAC policy graphs with >95% compilation success and faithfulness

Security & privacy arXiv 20 Nov 2026 Method Prototype evidence

Published as “Extracting Next Generation Access Control Policies from Natural Language Using LLMs: An Intermediate-Representation Approach with Back-Translation Verification”

Why it matters

Organizations can automatically generate enforceable NGAC policies from natural-language documents without paying for commercial LLM APIs, enabling on-prem, cost-free deployment.

Summary

NGAC-IR extracts NGAC policies with 95.7% faithfulness to the source sentences, outperforming prior methods (83.9-90.3%). All 714 outputs are syntactically valid thanks to grammar-constrained decoding, and the back-translation check flags 10.5% of sentences for human review, catching 26 of 31 real errors. The compiled policies are enforceable in NIST’s Policy Machine and answer all 390 test requests correctly. The paper’s limitation section was not provided, so detailed caveats are unknown.

What they found 2

  1. High faithfulness of extracted rules

    “NGAC-IR is faithful on 95.7% of sentences, from 93.4% on ACRE to 100% on CC”

  2. All outputs compile when using the grammar

    “With the grammar, all 714 outputs fit the IR and can be compiled”

Caveats 2

  • The grammar does not change accuracy: exact match over all 714 sentences is 44.1% without it and 44.5% with it.
  • This gives more access than the policy states for 98 of the 715 permissions (13.7%).

What’s new here 4

  • Uses a constrained JSON intermediate representation to guarantee syntactically valid output.
  • Introduces a back-translation verification step that checks rule meaning against the source sentence.
  • Achieves high extraction quality using only open-weight LLMs on a local server, incurring zero API cost.
  • Measures extraction quality by faithfulness rather than exact match to annotations.