アクセス制御文を段階的に分解し実行可能なポリシーへ変換
Structured Decomposition for Reliable LLM-Generated Access Control Policies
この論文をやさしく読む
ひとことで言うと
自然言語のアクセス権の説明を一度にコードへ変える代わりに、項目へ分けて検査しながら変換する方法です。
何に役立つ?
考えられる用途は、OPAで使う認可規則の作成支援です。構文だけでなく、許可すべき場合と拒否すべき場合のテストも評価に含めています。
この研究の面白いところ
一発のプロンプトに比べ、段階的な処理で正答率が15.3%から50.3%に上がりました。拒否や所有権などの条件別にも評価しています。
どこまで分かった?
全体の正答率は50.3%で、生成結果の約半数は所定の基準を満たしません。特定パターンの100%は評価対象内の結果であり、任意の認可規則の安全性保証ではありません。
v1のアブストラクトに基づくAI解説。日本語訳とは別に、用途の解釈を含みます。
アブストラクトの日本語訳
本論文は、自然言語のアクセス制御ポリシー(NLACP)をOpen Policy Agent(OPA)用の実行可能なRegoコードに翻訳する、LLMベースのシステムを提示する。ポリシーの検出、構成要素の抽出、スキーマ検証、静的検査、コンパイル、自動テストの生成と実行を行う、モジュール化されたエンドツーエンドのパイプラインを提供する。人が読めるアクセス要件と機械が強制できるpolicy-as-code(PaC)の隔たりを埋める設計で、配備時の信頼性とセキュリティ上の正しさを重視する。 構造化された分解とスキーマを考慮した検証の寄与を切り分けるため、主体、操作、資源の注釈が欠損していないACRE-completeのアクセス制御文372件で、直接一つのプロンプトを与えるLLMベースラインと比較した。システムのエンドツーエンドのポリシー正答率は50.3%で、ベースラインの15.3%に対し3.3倍の改善となった。コンパイル、静的検査、許可と拒否の両方のテストを満たす場合のみ正解と数えるため、これは配備可能な正しさの厳格な指標である。 セキュリティ上重要なパターンでは、拒否ポリシーの87.5%で正しい拒否の意味を生成した(ベースライン37.5%)。所有権の条件付きポリシーでは100%で所有権条件を、状態の条件付きポリシーでは100%で状態条件を正しく生成した(ベースラインはそれぞれ40%と55.6%)。これらの結果は、構造化された分解とスキーマを考慮した検証が、LLMによる認可ポリシー生成の信頼性を高めるうえで重要な役割を持つことを示す。
v1の要旨から自動生成。本文の精読・人による確認は未実施。
- 初稿
- 2026-09-21(UTC)
- 最新改訂
- 2026-09-21 · v1
- 査読・掲載
- 査読状況未確認
更新履歴
- v1 2026-09-21 この版を読む
取得できた版を表示。版の更新は査読済みを意味しません。過去版の本文差分は未解析です。
原文の要旨
This paper presents an LLM-based system that translates natural-language access control policies (NLACPs) into executable Rego code for Open Policy Agent (OPA). It provides a modular, end-to-end pipeline for policy detection, component extraction, schema validation, linting, compilation, and automated test generation and execution. The system is designed to bridge the gap between human-readable access requirements and machine-enforceable policy-as-code (PaC), with a focus on deployment reliability and security correctness. We evaluate the system on 372 ACRE-complete access control statements with non-null subject, action, and resource annotations against a direct single-prompt LLM baseline to isolate the contribution of structured decomposition and schema-aware validation. The system achieves a 50.3% end-to-end policy correctness rate, compared with 15.3% for the baseline, representing a 3.3x improvement. A policy is counted as correct only if it satisfies compilation, linting, and both positive and negative tests, making this a strict measure of deployable correctness. On security-critical patterns, the system generates correct deny semantics for 87.5% of deny policies (baseline: 37.5%), ownership conditions for 100% of ownership-qualified policies (baseline: 40%), and status-qualified conditions for 100% of status-qualified policies (baseline: 55.6%). These results indicate that structured decomposition and schema-aware validation play a critical role in improving the reliability of LLM-generated authorization policies.
arXiv ID: 2609.24036 / 要約の誤りについて