AMU: Column-Level Access Control for Enterprise AI Agents via Derived Lineage GatingLineage-Aware Memory Governance: A Derivation-Gated Framework for Privacy-Preserving Column-Level Access Control in Enterprise AI Agents
The authors use AMU to gate shared memory by derivation graph: in Table 6, naive leakage is 18.8% and 25.5%, while lineage gating is 0% for both.
Department agents are modeled as honest-but-potentially-over-privileged: they can request business-necessary metrics from a shared analytical memory and write to the cache, but the derivation path may not be within column permissions. The mechanism targets T1 (contacting unauthorized sensitive columns via cached results) and T2 (same-name KPI definition drift). The paper does not use white-box or black-box terminology.
- Enterprise agents with shared memory may hand legitimate computation results containing sensitive columns to unauthorized departments, and same-named KPIs may also silently propagate under conflicting logic. The authors state that existing systems grant access based on content, ownership, or role, not by derivation gating.
- AMU attaches a derivation graph, sensitive column labels, and definition hashes to each cache entry. Retrieval reuses only if sensitive columns all fall within departmental permissions; otherwise it falls back to recomputation within permissions and writes back; if definition hashes differ across departments, it reports a conflict without blocking the write.
- Across 30 seeds, the naive leakage rates for synthetic and TPC-H are 18.8% and 25.5%, and 0% after gating, with reuse rates of 82.6% and 81.5%. Measured leakage is 0% when synthetic ρ≥0.75 and TPC-H ρ≥0.90. Nine round trips have zero leakage.
- The authors state the naive leakage rate is a property of the workload mix used, the mechanism does not cover undeclared derived features, the 43-pair fuzzy set is still small, and runtime constants are measured on only one software/hardware configuration. Automatic extraction has gaps for views, stored procedures, and deep aliases. The authors plan adversarial lineage testing, non-SQL lineage, and production deployment studies.
- Benchmarks
- synthetic 5-table schemaTPC-HNorthwind43 hand-labelled lineage pairsdiscrete-event simulator
- Metrics
- leak ratereuse rateconflict recallprecisionrecallF1latency
The paper proposes the Analytical Memory Unit (AMU), which attaches a complete derived lineage graph to each cached result, and the retrieval policy returns a hit only if the requester has permission for all involved columns, thereby preventing indirect leakage of sensitive data through legitimate computed results. The authors prove by construction that this policy can block retrieval of results derived from unauthorized sensitive columns, with worst-case complexity O(n), and state that this is a conditional design guarantee rather than an empirical finding. Across six experiments, lineage-gated retrieval eliminates the 18.8-25.5% cross-department leakage present in naive content-gated memory while preserving 81.5-82.6% memory reuse, with worst-case overhead of 13.8 microseconds; eliminating measurable leakage requires 75-90% lineage record completeness, and the authors set 90% as a conservative deployment target. A real-agent proof of concept using LLM-generated SQL achieves zero leakage over 9 round trips and automatically captures two conflicts, which the authors describe as a feasibility demonstration rather than evidence of production readiness.
Paper analysis
What problem does this paper attempt to solve?
When shared memory is gated by content, an unauthorized department may retrieve legitimate computed results containing sensitive columns.
If shared memory is gated only by content, an unauthorized department may retrieve sensitive-column results it could not derive itself, and same-named KPIs may silently propagate conflicting logic.
- Scenario: After a finance agent caches a join result containing income as a segment without raw PII, a marketing department may still retrieve it by metric name; the authors state the violation is only in the computation. The authors cite an 80% enterprise application embedding rate in Q1 2026 and 68.8% inter-agent message leakage in AgentLeak.
- Existing gaps: The authors state surveyed systems gate by content, ownership, or role, without recording tables, columns, and filters. Source-level controls block direct queries to restricted columns but not legitimate caches redistributed to lower-privilege requesters.
- Assumption: Same-named KPIs can propagate different business logic through shared memory (the authors call this semantic drift). The authors believe a memory layer that mechanically checks column permission boundaries can turn an audit problem into a decidable property, and state this relates to EU AI Act explainability obligations.
- Approach: Propose Analytical Memory Unit (AMU): each cache entry carries a derivation graph, and hits only if the requester is authorized for every column touched. The authors state that with complete lineage, a guarantee can be constructed to intercept sensitive columns outside permissions; derived features that do not name source columns are excluded.
- Threat model:
- Subjects: Departmental agents are modeled as honest-but-potentially-over-privileged, requesting metrics with business need, but derivation paths may not be within column permissions.
- Goals: T1 is retrieving caches derived from unauthorized sensitive columns; T2 is writing conflicting definitions of same-named KPIs. The victim system is the shared analytical memory store.
- Capabilities: The paper does not use white-box or black-box terms. Agents can retrieve and write to the store; self-reported lineage may under-report (T5, partially addressed), prompt injection is listed as T8 (partially addressed).
- Not covered: T4 undeclared derived features, T6 cross-retrieval aggregation inference, T7 storage insiders, and cross-metric correlation and out-of-band collusion between departments.
What related research exists?
The authors state existing systems do not gate retrieval by every source column touched by the result.
Related systems gate by content, role, or snippet; the authors state none gates retrieval by every source column touched by the result.
- Agent memory: Du (2026) writes memory as a write-manage-read loop. MemGPT pages between context and external storage without representing how values are produced. Zep's provenance is when a fact is true and when recorded, not source columns. A-MEM retrieves by semantic similarity of notes. The authors state that gating in all three is above individual source columns.
- Governance and multi-agent memory: Governed Memory, SSGM, Oracle AI Agent Memory, and AgentGuardian manage entire memories by owner, role, or tool-call legitimacy; the authors state they therefore cannot see whether an allowed entry embeds forbidden columns. Collaborative Memory has snippet-level provenance but still releases atomic snippets by identity and permission graph. GateMem is the baseline; the authors state that none of the evaluated methods achieve robust access control without sacrificing utility, and leakage annotation is at the shared-fact level, not testing column-level lineage gating.
- Column-level security and channel privacy: Ranger, Unity Catalog, and BigQuery do column gating at the query layer; DePLOI audits policies with NL2SQL. W3C PROV, Herschel et al. (2017), and LINEAGEX target ETL or SQL lineage. The authors state they do not trigger when legitimate results are cached and handed to lower-privilege parties. AuthGraph compares execution provenance with authorization graphs; the authors state the scope is single-agent tool calls. The authors state AgentLeak, OMNI-LEAK, and Alizadeh et al. target communication channels and single-agent manipulation, whereas this paper targets shared analytical memory as a complementary vector.
- Metric governance and baselines: Open Semantic Interchange (2025) centralizes human-defined metrics; the authors state there is no mechanism to detect drift when agents compute KPIs with self-generated queries. Experimental baselines are No Memory, Naive Shared Memory, and Lineage-Aware; data are a 5-table synthetic schema, TPC-H, Northwind, and 43 manually annotated lineage pairs. The authors position AMU as applying column-level derivation to memory entries. In Table 1, source-layer ACL's Column lineage is partial support and retrieval gating is not supported; the authors state the comparison is of documented designs, many sources being preprints or vendor blogs, not independently verified performance.
How does the paper address this problem?
AMU attaches a derivation graph to caches and reuses only if sensitive columns are all within departmental permissions.
The overall idea is to attach checkable derivations to the shared cache, then use the Analytical Memory Unit (AMU) to decide whether reuse is allowed.
Memory Unit
- Fields: AMU is ⟨metric, v, d, τ, L⟩: metric name, result value, producing department, epoch for TTL, and step sequence L. Each step is (table, C, φ), i.e., table, touched columns, and filter string.
- Sensitivity label: At creation, cache
S(a)=\bigcup_{i=1}^{k}(C_i\cap S), i.e., the union of intersections of each step's columns with the sensitivity registry S. Retrieval gating only looks at this set, not the filter string. - Definition hash: H(a) uses SHA256, with input being sorted tables, sorted columns, and the first 12 characters of the filter string. Table 2 also caches sensitivity_tags and definition_hash.
- Diagram: In Figure 1, Finance's churn_rate is 0.114 (epoch 17), S(a)={income}. The caption states that the value itself does not reveal the computation method, but once it touches income, departments without permission for that column should not be served.
Two Algorithms
- Retrieval: Algorithm 1 fetches all AMUs for that metric, resolves P(d) outside the loop, and scans by newest-first. If S(a) is not a subset of P(d), it is skipped; rejected entries are not returned, not partially returned, and not logged with values. When all are unsafe, it writes a fresh value computed within permissions before the call and returns it.
- Complexity: The authors state that the only exits are these two returns. Worst case is O(n·|S|), but since |S| is treated as a small constant, Table 3 records it as O(n); it is O(1) when the first candidate in the scan is safe. The authors retain the linear scan to return the newest safe value, rather than switching to an index by (metric, S(a)) for worst-case O(1).
- Write: Algorithm 2 compares H for same-name entries across departments; if different, it flags a conflict and stops scanning, but always writes; conflicts are only reported (T2).
- Integration: The Figure 2 caption states that lineage is extracted at the cursor, the read path checks whether S(a) is contained in P(d), and if unsafe, it falls back to a fresh computation within permissions and writes it back. If extraction fails, S(a) is set to the entire S; if the permission set is unavailable, it refuses.
Formal Guarantees and Determination
- Assumption 1: lineage records all tables, columns, and filter predicates that produced the value. The authors state that Theorem 1 depends on this assumption.
- Theorem 1: The authors use the two return paths for case analysis: a hit requires S(a) ⊆ P(d); the fallback requires fresh to be fully within P(d) before the call. The statement is: no result derived from c ∈ S with c ∉ P(d) is returned to department d. The authors state this is conditional design correctness, not an empirical finding, and does not include derived features not written into the lineage.
- Corollaries: Corollary 2 states that unauthorized entries are skipped. Corollary 3 states that after policy updates, old cache labels may miss new sensitive columns, but after lazy recomputation, subsequent retrievals recover (T3).
- How leakage is counted: The simulator knows true lineage and permissions. Completeness experiments use a shadow store against truncated lineage to compute true leakage rates.
Threat Coverage
- Table 4: T1, T2 are Addressed; T3, T5, T8 are Partial; T4, T6, T7 are No. The authors place cross-metric correlation and out-of-band collusion between departments outside T1–T8.
- Overhead trade-off: The authors state that compared to the O(1) dictionary lookup of existing systems, the safety guarantee costs a linear scan; and that in the observed workload, each metric has at most one entry per (department, lineage variant), recommending TTL to avoid unbounded n.
What experiments did the paper conduct?
On the two schemas, naive leakage is 18.8% and 25.5%, lineage gating is 0% in both, and reuse rates are 81.5%–82.6%.
Experimental setup
- Simulator: A pure-Python discrete-event simulator that separates retrieval and conflict detection from LLM inference, networking, and optimizers. Baselines are No Memory (by design no leakage, zero reuse), Naive Shared Memory (content gating, representing existing systems), and Lineage-Aware.
- Two schemas: Experiment 1 is a 5-table synthetic with 3 departments, S={ssn, email, income} (Table 5). Experiment 2 is 8-table TPC-H, |S|=9. Sensitive variants are 2 of 5 metrics in both.
- Statistics: Experiments 1–2 use mean±population standard deviation over 30 seeds, bootstrap 95% CI, Mann-Whitney U. Per-seed tables are in Supplementary Material; the main text does not give request counts per seed.
- Other settings: ρ is the proportion of columns correctly reported per step. The conflict set is 43 manually annotated lineage pairs. Runtime uses time.perf_counter(), n takes 1, 5, 10, 20, 50, each with 2000 runs.
- Real integration: Northwind; departments Finance, Sales, Operations, HR; sensitive registry {unitprice, freight, homephone, birthdate}. LangChain+Ollama issues real SQL and demo-mode canned SQL, sqlglot (version 23+ in the paper) extracts lineage from AST. The paper does not state the Ollama model name. The abstract also mentions LLM-generated SQL.
- Metrics: Leakage rate, reuse rate, conflict recall; precision, recall, F1 for fuzzy detection; latency. Table 5 states gating only enforces columns in S.
Main results
Per Table 6 (30 seeds). The table note for 0.0% leakage states this is a formal guarantee from Theorem 1, not an independent empirical finding.
Swipe horizontally to read the table
Setting Leakage rate Reuse rate Conflict recall Synthetic 5-table, Naive 18.8 ± 3.7% 95.8 ± 0.0% 0.0 ± 0.0% Synthetic 5-table, Lineage-Aware 0.0 ± 0.0% 82.6 ± 2.3% 100.0 ± 0.0% TPC-H 8-table, Naive 25.5 ± 4.5% 95.8 ± 0.0% 0.0 ± 0.0% TPC-H 8-table, Lineage-Aware 0.0 ± 0.0% 81.5 ± 4.8% 100.0 ± 0.0% - Authors' interpretation: The authors state the empirical content is that the naive baseline is structurally nonzero, reporting effect size d≈7.2–8.0. The paper reports bootstrap 95% CIs for all Naive vs. Lineage-Aware differences excluding 0, and Mann-Whitney U p<0.001.
- Cost: The authors state reuse rate drops 13–14 percentage points, about 13 more queries per 100 requests; gating predicate is 0.09 µs. Point estimates in Figure 3 match Table 6.
- Schema: The authors juxtapose differences in |S| and join density with differences in naive leakage rates, stating this is consistent with a monotonic relationship but not proof. No Memory is not listed in Table 6.
Lineage completeness degradation
- What was measured: Real leakage when Assumption 1 is violated, using truncated lineage and a shadow store (§VI-B, Figure 4).
- Results: At ρ=0.50, synthetic schema is 16.3±3.3%, TPC-H is 10.3±4.7%. Synthetic reaches 0% measured leakage at ρ≥0.75, TPC-H at ρ≥0.90. The abstract states eliminating measured leakage requires 75–90% completeness, with 90% as a conservative deployment target.
- Authors' interpretation: The authors state that at ρ=0.50 there is almost no protection; TPC-H requires higher completeness because sensitive columns are spread over more join steps. Figure 4's x-axis is labeled 0.50, 0.75, 0.90, 0.95, 1.00; the caption states both curves converge to 0% between 0.75 and 0.90, and at ρ=0.50 the synthetic schema is close to the naive baseline. Readings for other x-axis points are not given in the text.
Fuzzy conflict detection
- What was measured: 43 pairs, including 15 True Conflicts, 15 Threshold Variants, 8 Logic-Operator, 5 Column-Subset. Detectors are D1 exact hash, D2 Jaccard (τ=0.70), D3 column graph (Table 7, Figure 5).
- Results: D1 precision/recall/F1 are 0.651/1.000/0.789, LO correct 8/8; D2 are 0.676/0.821/0.742, LO 3/8; D3 are 1.000/0.714/0.833, LO 0/8.
- Authors' interpretation: The authors state D3 had F1=1.00 on the original 10 pairs, but on the expanded set misses all 8 LO pairs because it ignores filter strings, calling this a previously unreported blind spot. The authors state neither alone is yet a production detector; D4 is proposed but not evaluated. The caption states D3's specificity on TV is perfect, dropping to zero detection on LO; per-bar values are not listed separately in the text.
Runtime and real agent
- Runtime: Table 3 gives only n=1 and n=50. Worst-case retrieval goes from 0.66 µs to 13.82 µs; the authors state this is 21×, and thus consistent with O(n). The abstract and conclusion write 13.8 µs. Environment is a 4-core Apple Silicon VM, 3.8 GB RAM, Ubuntu 22.04, CPython 3.10.12, Docker, no GPU. Values for n=5, 10, 20 are in Supplementary Material, not listed in the main text. The authors state they have not re-measured on a second hardware.
- Smaller n: The authors state that in Experiments 1–2 and 6, n≤5, where worst-case retrieval is at most 1.74 µs (§IV-A).
- Experiment 6: Sensitive column leakage is 0 across 9 cross-department round trips; 5 new SQLs are executed and written (2 after interception), 4 fully from cache; 2 interceptions coincide with 2 automatically detected definition conflicts. Cache hit is 0.009 ms. The authors state hit latency is three to four orders of magnitude lower than the replaced SQL, but the paper does not give that SQL's latency. The authors state this is a feasibility demonstration, not production feasibility evidence.
Other ablations and analyses
- Write-path conflict detection: 0.28 µs at n=1, 1.63 µs at n=50 (Table 3).
- Expected-case retrieval: 0.66 µs at n=1, 0.64 µs at n=50 (Table 3).
- Gating predicate: 0.09 µs (Table 3).
- Storage: The authors state about 4–8× the raw value, typically 200–600 bytes (§IV-A).
- |S|: synthetic 3, TPC-H 9; sensitive variants are 2/5 metrics in both (§VI-A).
- The authors suggest a deployment target of ρ≥0.9, preferring automatic extraction over agent self-reporting (§VI-B).
What are some points that can be further explored?
The authors state that the guarantee depends on complete lineage and does not block derived features not named in the lineage.
Limitations and future directions noted by the authors
- Base rate: The 18.8–25.5% naive leakage rate is a property of the workload mix used, not a universal base rate; the authors state the structural argument does not depend on that percentage (§VII-B).
- T4: The mechanism cannot catch inferences that encode sensitive information into derived features without naming source columns in lineage; the authors state this is the most important gap for production use (§VII-B).
- Dataset size: The 43-pair fuzzy dataset is still small (§VII-B).
- Hardware: Runtime constants are measured on only one hardware and OS configuration; the authors state O(n) and O(1) scaling does not depend on that machine, but constants may vary on other platforms (§VII-B).
- Extraction gaps: Views, stored procedures, and deep aliases cause SQLGlot's static AST to miss sensitive columns; the authors state this creates a completeness gap in Experiment 6's zero leakage, and fail-closed would over-block rather than leak. Catalog-level expansion is noted as future work (§VII-B).
- Future plans: Adversarial lineage testing; non-SQL lineage for vector stores, REST/GraphQL, and in-process derivation; deployment studies on real 20–50 table warehouses over weeks and on more than one hardware platform; implement and evaluate D4, and open-source the reference implementation (§VII-B). The conclusion states this is not yet a demonstration of production-scale feasibility (§VII-C).
Experimental coverage
- Six experiments include two schemas (synthetic 5-table, TPC-H 8-table, each with 30 seeds), completeness degradation, 43 conflict pairs, five storage sizes each with 2000 runs, and 9 round trips on Northwind (§VI).
- Baselines are No Memory, Naive Shared Memory, Lineage-Aware; Experiments 1–2 report bootstrap 95% CI and Mann-Whitney U (Table 6).
- Synthetic departments are Finance, Marketing, Support; Northwind has Finance, Sales, Operations, HR. SQL is issued by LangChain+Ollama, lineage extracted from AST by sqlglot (§VI-E).
- The paper does not report the specific Ollama model name, nor the number of requests per seed in the main text; latencies for n=5, 10, 20 point to Supplementary Material (§VI, §VI-D).
- Table 5 states gating only enforces columns in S. The runtime environment is a 4-core Apple Silicon VM, 3.8 GB RAM, Ubuntu 22.04, CPython 3.10.12, no GPU (§VI-D).
Summarize the main content of the paper
Under full lineage, AMU releases cache entries according to column permissions and flags same-name KPI conflicts.
AMU uses column-level derivation gating for shared memory, intercepts unauthorized sensitive columns that leak through cached results, and flags definition conflicts for same-named KPIs.
- Problem: Content gating cannot see unauthorized columns embedded in legitimate results, and departments may write conflicting same-named metrics. Subjects are modeled as honest-but-potentially-over-privileged departmental agents; the mechanism directly addresses T1 and T2.
- Method: Each cache entry carries a derivation graph, sensitive column labels, and definition hashes. Retrieval prioritizes the newest, reuses only if sensitive columns are within departmental permissions, otherwise falls back to recomputation within permissions; writes are not blocked by conflicts. Guarantees assume complete lineage and exclude derived features that do not name source columns.
- Results: On Table 6, synthetic 5-table naive leakage rate 18.8±3.7%, lineage gating 0.0±0.0%, reuse rate 82.6±2.3%; TPC-H naive leakage rate 25.5±4.5%, gated 0.0±0.0%, reuse rate 81.5±4.8%. The authors mark 0.0% as a corollary of Theorem 1. Conflict recall is 0.0% on Naive and 100.0% on Lineage-Aware.
- Boundaries: At ρ=0.50, synthetic leakage rate 16.3±3.3%, TPC-H 10.3±4.7%; at synthetic ρ≥0.75 and TPC-H ρ≥0.90, measured leakage is 0%. On 43 pairs, D3's Logic-Operator correct count is 0/8. Worst-case retrieval at n=50 is 13.82 µs. Northwind's 9 round trips leak 0 and capture 2 conflicts.
- Authors' conclusions: The authors state this is a supplement to source-level access control; Experiment 6 is only a feasibility demonstration, not yet evidence of production-scale feasibility. Undeclared derived features (T4) are not covered by this memory layer. In §VII-A, the authors claim that eliminating 18.8–25.5% of structural leakage channels would materially change the risk profile, citing an average breach cost of $4.44 million.