Manuscript Offprint
arXiv:2610.37716Generation, Not Selection: LLM Proposals for Certified Access-Control Policy Mining
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Attribute-Based Access Control (ABAC) policy mining—recovering a compact, auditable policy from an access log—is posed as minimum set cover and solved greedily, which enjoys an guarantee. That guarantee is conditional on a precondition the literature never states: the candidate pool handed to greedy must contain the optimal rules. Generation, not selection, is the binding constraint, and existing generators are purely syntactic—they surface a rule only when enough log records witness it, so they fail on precisely the rare exception rules that fill a heavy-tailed policy. We replace the generator with a language model proposing rules semantically, from attribute names, and keep the combinatorial selector to carry the guarantee: every proposal is filtered against the observed denials, so soundness is independent of the proposal mechanism and an unreliable proposer can only waste candidates, never grant access. Over five seeds on each of two enterprise domains, adding semantic proposal to a syntactic miner dominates it on ten of ten runs—strictly better on seven—with near-optimal policies (9.2–9.6 rules against , versus 11.2–14.6) and false grants cut four- to sevenfold. Replacing the syntactic miner rather than augmenting it wins only where witnesses are scarce. An anonymization ablation isolates the mechanism: opaque attribute names cost two thirds of the model's rule recovery while leaving the syntactic baselines provably unmoved, and cost nothing where witnesses are plentiful. Semantic knowledge and log evidence are substitutes.
1 Generation, not selection, is the bottleneck
Large organizations authorize millions of access requests—who may read which document, deploy to which environment, approve which trade—against a policy that must stay small enough for a human to audit. Policy mining recovers such a policy from a log of past decisions, and is the standard route to migrating a legacy authorization system onto Attribute-Based Access Control (ABAC) [Xu and Stoller, 2015]. It is a combinatorial optimization problem with a generative subproblem: the objective is a minimum cover, but the items to be covered must first be invented. This paper uses a language model for the invention and keeps an optimization layer to certify the result—a division of labour in which the generative component cannot violate the constraint that matters.
An ABAC rule is a conjunction of attribute-value predicates and a policy a disjunction of rules. Given permitted requests and denied requests , policy mining seeks a minimum-cardinality with and [Xu and Stoller, 2015]: minimum set cover over the universe , hence NP-hard [Karp, 1972], and solved in deployed miners by the greedy heuristic [Xu and Stoller, 2015, Cotrini et al., 2018, Aggarwal and Sural, 2023].
Every such pipeline factors into generation followed by selection , but is analyzed as one. Greedy searches a finite candidate pool , never the full rule space, which is
*Indian Institute of Technology Kharagpur, singhgautam1124@gmail.com †Northeastern University, r.sundaram@northeastern.edu ‡Indian Institute of Technology Kharagpur, shamik@cse.iitkgp.ac.in. Corresponding author.
Submitted to 40th Conference on Neural Information Processing Systems (NeurIPS 2026). Do not distribute.
exponential in the number of attribute-value pairs ; the classical analysis bounds only the second stage.
Definition 1 (Optimal rule recall). For a pool and an optimal policy ,
Theorem 2 (Conditional greedy guarantee). If then GREEDY-ABAC returns with , and a sample polynomial in , and the inverse accuracy and confidence parameters suffices for to be probably approximately correct on unseen requests. If the size bound does not apply.
The size bound is Chvátal [1979] on the universe , the generalization bound a consistent-learner union bound. The contribution is the hypothesis. is a property of the generator, assumed rather than established in the mining literature, and Section 2 shows it fails where it matters. It is also measurable whenever ground truth is known, which makes it our instrument.
Proposition 3 (Anchoring limits recall). Let and . If every rule on every monotone path from to in the subset lattice covers more than denials, then seed-and-generalize applied to cannot emit , nor any generalization of it.
The procedure halts at the first dead end, and this is the common case: a request carries predicates irrelevant to the rule that authorized it, which a deletion path cannot distinguish from the load-bearing ones.
Group intersection helps, but needs witnesses. Intersecting groups of requests avoids the trap. Formal concept analysis (FCA) [Ganter and Wille, 1999] takes the context whose objects are permitted requests and whose attributes are predicates; the closure —the predicates every request in shares—is the tightest conjunction the whole group satisfies, hence a candidate rule by construction, with no search.
Proposition 4 (FCA recovers optimal rules). If covers then , with equality when share no predicate outside .
This is a large improvement, and also the source of a hard limit. is reachable only if some enumerated group of size intersects down to it, and enumerating all of them costs — triples at , so the enumeration must be subsampled. Both the arity limit and the sampling budget bite hardest on the rules with fewest witnesses: a rule governing three requests yields three pairs and one triple, and if those few requests share extraneous predicates, every available closure over-specifies.
Witness starvation is therefore generic for the tail rather than an artifact, since real access logs are heavy-tailed—a small core of rules governs most traffic while a long tail of exceptions (contractor accounts, temporary grants, legacy overrides) is individually rare [Cotrini et al., 2018]. Both syntactic generators are bounded by how often the log happens to exhibit a rule. A language model is not: it can propose Contractor Sandbox from what those words mean, whether the log witnesses it three times or three hundred.
3 Making an unreliable proposer safe
A stochastic proposer inside an authorization pipeline invites the obvious objection, and the pipeline's structure answers it. Write where
Table 1: Five seeds per domain, mean ± sd, ; the rarest rule has 6–12 witnesses on D1, 19–23 on D2. Held-out false grants are the fraction of unseen denials authorized by ; on observed denials every pool admits zero by construction (Proposition 5).
| Recall0.9 | || | held-out recall | held-out false grants | ||
|---|---|---|---|---|---|
| D1 | FCA | 0.800 ± 0.050 | 14.6 ± 2.8 | 0.988 ± 0.006 | 0.048 ± 0.016 |
| LLM | 0.911 ± 0.122 | 8.4 ± 0.9 | 0.994 ± 0.008 | 0.003 ± 0.005 | |
| LLM ∪ FCA | 0.956 ± 0.061 | 9.6 ± 1.3 | 0.998 ± 0.003 | 0.013 ± 0.007 | |
| D2 | FCA | 0.933 ± 0.061 | 11.2 ± 2.0 | 0.995 ± 0.006 | 0.013 ± 0.013 |
| LLM | 0.822 ± 0.168 | 8.8 ± 0.8 | 0.975 ± 0.023 | 0.003 ± 0.005 | |
| LLM ∪ FCA | 0.978 ± 0.050 | 9.2 ± 0.4 | 1.000 ± 0.000 | 0.002 ± 0.004 |
is the admitted pool obtained by validity-filtering the multiset proposed by an arbitrary mechanism .
Proposition 5 (Generator-independent soundness). For every proposal mechanism —adversarial, stochastic, or hallucinating—.
Proof. and is monotone under union, so .
Corollary 6 (One-dimensional risk surface). For any : (i) the false-grant rate on is zero unconditionally; (ii) if then ; (iii) if recall fails, only size and coverage degrade. The generative component's influence is confined to , which is measurable.
The proposition is elementary, and that is the point: a hallucinated rule wastes a candidate rather than granting access. Nor is the selector ceremonial—in a typical run it discards a third of the proposals as unsound and covers with roughly half of what survives (Appendix G).
Refinement. Round one asks for rules cold, and most proposals are rejected without the model learning why. We close the loop: each rejected rule is returned with its permitted-versus-denied counts, examples of the denials it matched, and a sample of still-uncovered permitted requests. One such round is what turns semantic proposal from competitive into decisive (Section 4).
Remark 7 (What the guarantee does not cover). Proposition 5 is soundness with respect to the observed denials. An overly general rule that avoids every denial in may still authorize unseen requests; controlling distributional false grants is the uniform-convergence half of Theorem 2, not the filter. We therefore report held-out false-grant rate throughout and treat it, not the filter, as the evidence on generalization.
4 Experiments
Setup. Two synthetic enterprise domains with certified ground truth: D1 (general IT, 10 attribute dimensions, ) and D2 (financial services, ), each governed by nine hand-written rules. Ground truth is required, since and the excess are not computable on a real log and no public ABAC dataset ships a certified optimal policy [Xu and Stoller, 2015, Cotrini et al., 2018]—and the usual benchmark publishes anonymized integer identifiers, leaving a semantic proposer nothing to read. Each log has 2,000 permitted and 600 denied requests, 20% held out. Rule usage is heavy-tailed () and free attributes are drawn from correlated personas, without which FCA is trivially optimal (Appendix A). Four generators—seed-and-generalize (SG), FCA closures over pairs and triples, LLM, and LLM ∪ FCA—share the same validity filter and selector, so differences are attributable to generation. The proposer is Claude Opus 5 (max effort) via its web interface, two rounds, five seeds per domain. See results in Table 1.
Semantic proposal dominates as a complement, and sometimes alone. Adding the LLM pool to FCA's matches or exceeds FCA on all ten runs and strictly exceeds it on seven, and is better on every other axis in both regimes—smaller policies, higher held-out coverage, false grants 4 to 7 times lower. Replacing FCA rather than augmenting it wins only where witnesses are scarce: the LLM alone beats FCA on five of five D1 seeds and loses on four of five D2 seeds, a split the mechanism paragraphs below explain.
Refinement is what does it. LLM-alone recall is 0.645 → 0.911 across the two rounds on D1 and 0.578 → 0.822 on D2, while the unsafe-proposal rate falls from 53% to 27%: told which denies it hit, the model repairs over-generality. On D1 that is the difference between trailing FCA and beating it.
Every rejection was semantic rather than malformed—no schema violations in 175 proposals (Appendix G)—which is exactly what Proposition 5 absorbs. Seed-and-generalize, the literature baseline, is omitted from Table 1 for space; it recovers 0.53–0.58 of the optimal rules and inflates the policy four- to fivefold (Appendix B).
Operational cost. Exhaustive FCA would enumerate groups— at —so it must subsample, whereas the proposer makes two calls on a prompt flat in (20.2k characters throughout), giving generation cost in log size where FCA's is not (Appendix E). Latency and per-token cost we could not measure under the manual protocol, and we flag that as a gap rather than estimate it.
The mechanism is semantic. Replacing attribute names with A1–A10 and values with opaque v001–v041—identical instance, prompt and two rounds—costs the LLM two thirds of its rule recovery on D1 seed 0: falls , held-out recall . SG and FCA are bit-identical across conditions on every metric, and structurally must be: they use only subset relations over predicate bitmasks, renaming is a bijection on bit positions, and the substitution is applied at the prompt boundary and inverted before scoring. The baselines are mathematically pinned, so the LLM is the only component that can move.
Semantics is moreover needed to use the feedback and not only to propose: refinement lifts recall by 0.333 with names and 0.111 without. And the effect vanishes on D2 (0.78 either way), where every rule is well witnessed. Semantics, on this evidence, substitutes for witnesses—the same axis that separates the LLM from FCA—which is why anonymization inverts the D1 ranking, the anonymized proposer (0.333) falling below FCA (0.778) (Appendix F). On a log of opaque identifiers, use the syntactic miner.
Capability threshold. The same prompt, loop and filter give with Claude Sonnet 5 at medium effort against 1.00 with Opus 5 at max effort, while Gemini Flash and Pro are indistinguishable (Appendix C). Semantic proposal is a property of sufficiently capable models rather than of language models in general, and improves with the proposer at no change to the guarantee. Sweeping the tail exponent locates the other boundary: FCA is exactly optimal for , degrading to 0.72 at (Appendix D).
5 Discussion
The decomposition generalizes beyond access control. Wherever a combinatorial selector operates over a candidate set someone had to generate, its guarantee is conditional on the generator, and a generative model is a strong generator precisely where enumeration is expensive or semantically blind. The pairing is safe because the selector enforces a feasibility constraint the proposer cannot weaken: the generator proposes, the optimizer certifies.
Limitations. Five seeds on two synthetic domains is a narrow base, and both replications use a single proposer; LLM-alone superiority holds only in the witness-scarce regime. Provenance is weaker than an API run: queries went through web interfaces in August 2026, where consumer tiers do not pin a model version, so exact re-execution is impossible and we instead release the harness, generators, prompts and verbatim replies, from which every number is recomputable (Appendix G). Remark 7 applies throughout—the unconditional guarantee is soundness on observed denials, not distributional. Finally, the anonymization result should be read as a measured utility cost of attribute-name anonymization, on a fixed instance with provably unmoved baselines; whether that cost outweighs the privacy benefit it purchases is not something this experiment settles.
References
Nakul Aggarwal and Shamik Sural. RanSAM: Randomized search for ABAC policy mining. Proceedings of the ACM Conference on Data and Application Security and Privacy (CODASPY), 2023.
V. Chvátal. A greedy heuristic for the set-covering problem. Mathematics of Operations Research, 4 (3):233–235, 1979.
Carlos Cotrini, Thilo Weghorn, and David Basin. Mining ABAC rules from sparse logs. In IEEE European Symposium on Security and Privacy (EuroS&P), pages 31–46, 2018.
Bernhard Ganter and Rudolf Wille. Formal Concept Analysis: Mathematical Foundations. Springer, 1999.
Richard M. Karp. Reducibility among combinatorial problems. In Complexity of Computer Computations, pages 85–103. Plenum Press, 1972.
Zhongyuan Xu and Scott D. Stoller. Mining attribute-based access control policies. IEEE Transactions on Dependable and Secure Computing, 12(5):533–545, 2015.
A Benchmark design
Free attributes are drawn from correlated personas rather than independently, and this is essential rather than decorative. Under independent sampling, any two positives covered by the same optimal rule share only that rule’s predicates, so Proposition 4 holds with equality almost surely and FCA recovers every rule from almost any pair—scoring a degenerate Recall on which no generator can be distinguished from another. Our first generator had exactly this defect. Correlation is what makes a pairwise closure over-specify: the two requests share extraneous predicates beyond the rule that authorized them, which is also what real organizations look like, engineers skewing to one region, to managed devices, to source repositories.
Rule usage follows with , leaving D1’s rarest rule 6–12 witnesses and D2’s 19–23. The two domains were written before any model was run, and D2 was not selected for being easier; the witness gap between them is a consequence of the schema sizes, and is what makes the pair useful.
B Per-seed results, both domains
Table 1 reports means; per-seed values are below, including seed-and-generalize (SG), which the main table omits for space. throughout.
The residual errors are benign. On D1 seed 0 the LLM recovers eight of the nine ground-truth rules bit-exactly, and misses the ninth only because the log cannot distinguish it from a strictly more general rule covering the same 54 positives—which leaks the single held-out denial that is that seed’s entire false-grant rate. The failure mode is an unidentifiable rule rather than a wrong one.
Table 2: D1, general IT (rarest rule 6–12 witnesses). Per seed: Recall / / held-out false-grant rate.
| seed 0 | seed 1 | seed 2 | seed 3 | seed 4 | |
|---|---|---|---|---|---|
| SG | 0.22 / 55 / 0.150 | 0.67 / 18 / 0.050 | 0.56 / 61 / 0.108 | 0.56 / 36 / 0.100 | 0.67 / 37 / 0.058 |
| FCA | 0.78 / 14 / 0.050 | 0.78 / 12 / 0.042 | 0.89 / 12 / 0.042 | 0.78 / 17 / 0.033 | 0.78 / 18 / 0.075 |
| LLM | 1.00 / 9 / 0.008 | 0.78 / 8 / 0.008 | 1.00 / 9 / 0.000 | 0.78 / 7 / 0.000 | 1.00 / 9 / 0.000 |
| LLM ∪ FCA | 1.00 / 9 / 0.008 | 0.89 / 9 / 0.017 | 1.00 / 9 / 0.008 | 0.89 / 12 / 0.025 | 1.00 / 9 / 0.008 |
Table 3: D2, financial services (rarest rule 19–23 witnesses). Per seed: Recall / / held-out false-grant rate.
| seed 0 | seed 1 | seed 2 | seed 3 | seed 4 | |
|---|---|---|---|---|---|
| SG | 0.44 / 73 / 0.175 | 0.89 / 21 / 0.050 | 0.44 / 46 / 0.092 | 0.44 / 46 / 0.125 | 0.67 / 37 / 0.108 |
| FCA | 1.00 / 9 / 0.000 | 0.89 / 13 / 0.008 | 0.89 / 12 / 0.033 | 1.00 / 9 / 0.008 | 0.89 / 13 / 0.017 |
| LLM | 0.78 / 8 / 0.000 | 1.00 / 9 / 0.000 | 0.89 / 8 / 0.000 | 0.89 / 9 / 0.008 | 0.56 / 10 / 0.008 |
| LLM ∪ FCA | 1.00 / 9 / 0.000 | 1.00 / 9 / 0.000 | 1.00 / 9 / 0.000 | 1.00 / 9 / 0.008 | 0.89 / 10 / 0.000 |
Table 4: Recall of the LLM-only pool, seed 0, round 1. FCA scores 0.78 (D1) and 1.00 (D2) on the same instances.
| proposer | D1 | D2 |
|---|---|---|
| ChatGPT (GPT-5.6, free tier) | 0.22 | 0.33 |
| Claude Sonnet 5, medium effort | 0.11 | 0.56 |
| Claude Opus 5, max effort | 0.67 | 0.56 |
| Gemini Flash, regular thinking | 0.44 | 0.78 |
| Gemini Pro, extended thinking | 0.44 | 0.67 |
C Proposer capability
All five configurations received the identical prompt, refinement loop and validity filter; only the proposer differs. Round-1 figures isolate raw proposal quality.
Tier dominates model family. Sonnet 5 medium to Opus 5 max is 0.11 → 0.67 on D1 and, after two rounds, 0.33 → 1.00; Gemini Flash to Pro is 0.44 → 0.44 on D1 and 0.78 → 0.67 on D2—no gain, then a loss. An early pilot in which a small model appeared to beat a large one was therefore a tier artifact rather than a model-family finding.
D Where the syntactic baseline breaks: tail exponent
Rule usage follows ; larger starves the rarest rules of witnesses. Three seeds, both domains, FCA only, since the boundary is a property of the baseline.
Table 5: FCA degrades monotonically once the tail is heavy enough. ‘min witnesses’ is the rarest ground-truth rule’s support.
| 0 | 1 | 1.5 | 2 | 2.5 | 3 | 3.5 | |
|---|---|---|---|---|---|---|---|
| min witnesses | 66 | 76 | 49 | 30 | 15 | 10 | 5 |
| FCA Recall | 1.00 | 1.00 | 1.00 | 0.96 | 0.87 | 0.82 | 0.72 |
| FCA | 9.0 | 9.0 | 9.0 | 11.2 | 12.0 | 13.2 | 14.5 |
The main experiments use . FCA is exactly optimal for : on mildly-tailed policies a syntactic generator needs no help, and a semantic proposer earns its cost only past the point where the tail leaves rules with single-digit support.
E Generation cost against log size
Latency and per-token cost are not reported: the manual protocol of Appendix G makes them unmeasurable, and we prefer a stated gap to an estimate.
F Anonymization ablation in detail
Attribute names become A1–A10 and values opaque, shuffled v001–v041. The substitution is applied only when rendering the prompt and inverted before scoring, so SG and FCA run over the untouched instance through identical code. Their invariance is structural rather than observed—both use only
Table 6: Two seeds, . Exhaustive FCA is infeasible, so the enumeration is capped at sampled groups; the price of the cap is coverage of the closure space, not wall time. The prompt is flat in by construction, the proposer seeing a fixed sample of the log.
| 200 | 400 | 800 | 1600 | 3200 | |
|---|---|---|---|---|---|
| exhaustive () | |||||
| FCA time (s, capped) | 0.56 | 0.70 | 1.07 | 1.07 | 1.55 |
| SG time (s) | 0.02 | 0.04 | 0.07 | 0.14 | 0.36 |
| LLM prompt (chars) | 20,261 | 20,247 | 20,250 | 20,212 | 20,154 |
subset relations over predicate bitmasks, and renaming is a bijection on bit positions—and we verified it numerically, all six metrics identical in both conditions.
Table 7: Claude Opus 5 max effort, seed 0, two rounds in each condition.
| D1 (witnesses scarce) | D2 (plentiful) | |||
|---|---|---|---|---|
| named | anonymized | named | anonymized | |
| LLM Recall0.9 | 1.000 | 0.333 | 0.778 | 0.778 |
| LLM held-out recall | 1.000 | 0.750 | 0.968 | 0.968 |
| unsafe proposals, round 2 | — | 28/30 | — | — |
| refinement lift, recall | +0.333 | +0.111 | — | — |
| SG, FCA (all metrics) | identical across conditions | |||
Two readings follow. Semantics is needed to use the refinement feedback and not only to propose: with names one round adds 0.333 recall, without them 0.111, and 28 of 30 round-two proposals covered an observed denial. And anonymization costs nothing on D2, where every rule is well witnessed—semantic knowledge and log evidence substitute for one another. Note also that the anonymized proposer scores 0.333 against FCA's 0.778 on D1: anonymization does not merely degrade the proposer, it reverses which method a practitioner should choose. We read this as a measured utility cost of attribute-name anonymization, not as an argument against it.
G Reproducibility and provenance
Model queries were issued through consumer web interfaces on 2026-08-13 (ChatGPT GPT-5.6 free tier; Claude Sonnet 5 medium effort; Claude Opus 5 max effort; Gemini Flash regular thinking; Gemini Pro extended thinking), API access being unavailable to us. Prompts are produced by the same function an API path would call, so the two are comparable, and every reply is stored verbatim. Replies are parsed leniently—chat interfaces add code fences and commentary—but validated strictly: any predicate outside the schema, or two values for one attribute, is discarded and counted. Consumer tiers do not pin a model version, so exact re-execution is impossible; every reported number is instead recomputable from the recorded replies. We release the harness, the domain generators, the prompt templates, and the replies at https://github.com/koods1/semantic-abac-mining, archived at https://doi.org/10.5281/zenodo.22167397.
To make concrete how much work the selector does, take D1 seed 0: the proposer offered 22 rules across the two rounds, the validity filter discarded the 7 that granted an observed denial, and greedy covered with 9 of the surviving 15. Emitting the raw model output as the policy would have shipped 22 rules, 7 of them unsound. Aggregated over all 175 proposals from the five configurations, 53% were unsound at round 1 and 27% at round 2, and none was malformed.
H Acknowledgments
We acknowledge the use of Claude to edit this document.