Selection Integrity for LLM Graph Memory: An Accumulability Criterion for Information-Flow-Blind Retrieval
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: Security Radio. Generated commentary on the latest security and cryptography papers.
Nadia: I'm Nadia.
Elias: And I'm Elias, here with Priya.
Nadia: We're looking at the paper: "Selection Integrity for LLM Graph Memory".
Paper summary: Elias: So we're looking at this paper now. The title is "Selection Integrity for LLM Graph Memory: An Accumulability Criterion for Information-Flow-Blind Retrieval", and it sets out that provenance defenses are blind by construction in this new graph memory setup >
Nadia: The paper shows that a long term graph memory runs a global selection step over the writable structure, and this structure is what untrusted principals can change, which changes the authenticated facts selected while the cited evidence stays fully authenticated >
Priya: And then it points out that faithful information-flow control just makes no difference because if you check what the reader uses, all of it is authenticated so they just make a byte identical decision to no defense at all >
Elias: Exactly. The whole point is that the selection integrity is what closes the channel, and it does this by defining a criterion about accumulability >
Nadia: This criterion says that among selectors that score an item by an increasing function of content and a structural term, the channel opens exactly when the structural term can reallocate enough of the top k membership to flip the selected set >
Priya: So it separates selectors based on whether they rely on something or based on how much they can reallocate membership, like comparing Personalized PageRank against things like Graphiti node distance >
Conclusion: Nadia: So looking at the title again, "Selection Integrity for LLM Graph Memory: An Accumulability Criterion for Information-Flow-Blind Retrieval", it really boils down to this idea that if you only filter or re-rank items already retrieved, you can't close the channel on D >
Elias: That's right. The paper proves that selection integrity is the only operation that can close the channel on D, which means any defense that only filters or reranks already retrieved items cannot close it >
Priya: So what does this mean for the real world when we think about agent memory and information flow control >
Nadia: It means we need selection integrity because it’s the only operation that can close the channel on D, and AUTHSELECT is positioned as the matching mechanism that restores correct selection when unauthenticated structure causes divergence >
Elias: And they show that this criterion separates selectors based on reallocatability rather than reliance, which is key to understanding what opens the channel >
University of Technology Sydney · National University of Singapore · University of Sheffield · University of New South Wales
cs.CR
Submitted: 2026-06-10
Updated: 2026-11-24
Code: https://github.com/getzep/graphiti
License: http://creativecommons.org/licenses/by/4.0/
Importance score: 93/100
The gist: Agent memory is moving to graphs, and the provenance defenses now being built for it all check one thing: the provenance of the records an agent retrieves.
Key concepts
- Faithful Information-Flow Control (IFC)
- This defense checks the provenance of every piece of information a reader uses to make a decision. The paper shows that IFC is blind because if an untrusted agent writes to the graph structure, IFC still validates the retrieved records, allowing the agent to act on incorrect data.
- Selection Integrity
- This is a necessary defense for graph memory. It ensures that structural changes in the graph don't arbitrarily change which facts are selected by agents. It works by checking if a selector can reallocate enough membership share to bypass trusted facts, preventing misdirection.
- Adversarial Accumulability
- This is the criterion for opening the channel—the condition under which a provenance defense fails. It requires an agent's structural term to have both membership reallocatability and a margin large enough to exceed the anchoring margin of a selected, trusted fact.
- AUTHSELECT
- This is presented as the first principled defense for selection integrity. It assigns integrity based on source channel, removes unauthenticated structural writes to create a trusted subgraph, and then re-runs the original selector to ensure correct results at low latency.
Terminology
Summary
Agent memory is moving to graphs, and the provenance defenses now being built for it all check one thing: the provenance of the records an agent retrieves. p. 0 wang1@unsw. au
Abstract—Agent memory is moving to graphs, and the provenance defenses now being built for it all check one thing: the
provenance of the records an agent retrieves. au
Abstract—Agent memory is moving to graphs, and the provenance defenses now being built for it all check one thing: the
provenance of the records an agent retrieves. We show that
this entire class of defense is blind by construction. A longterm graph memory runs a global selection step over writable
graph structure, so structure that an untrusted principal writes
changes which authenticated facts are selected while the cited
evidence stays fully authenticated; faithful information-flow
control (IFC), checking the provenance of what the reader uses
(all of it authenticated), makes the byte-identical decision to no
defense at all, across document-QA substrates and real multisession agent memory. In the most consequential instance, a
no-source structural write silently misdirects 28 irreversible
ledger transfers over 499 live actions: faithful IFC permits
every one, and AUTHSELECT prevents every one. In a graph memory shared
by several agents, a compromised peer commits a nosource structural write as an ordinary store operation; a
victim agent’s selection reranks, and it acts on a wrongbut-authenticated record (we measure 17 such misdirected
transfers across a multi-agent memory). At scale, a single
no-source structural write drives an agent to commit 28
real, irreversible misdirected ledger transfers over 499 live
actions: faithful IFC permits every one, and AUTHSELECT
(our defense) prevents every one (Section 6. We then
characterize exactly which memories are exposed: a selector
admits the channel when its structural term can reallocate an
Ω(1) share of top-k membership past a selected fact’s margin. Personalized PageRank can, since a sourceless write reroutes
conserved random-walk mass; a content-fixed reranker cannot, and Graphiti’s node-distance, which leans on structure
more than PageRank does, stays immune. We prove the immune case in
general and the open case under a chokepoint condition we
verify. Closing the channel forces any provenance defense to
recompute selection on the authenticated subgraph, which is
what AUTHSELECT does, at zero over-block and 2–3% latency.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
**The core finding is that faithful provenance over retrieved records is blind to the channel, only selection integrity closes it This means any provenance defense that does close it has already become selection integrity A defense that only filters or reranks already-retrieved items cannot close the channel on D **
**The criterion for opening the channel is defined by adversarial accumulability, which requires both membership reallocatability and margin to exceed a selected target’s anchoring margin The immune side holds unconditionally when the structural term is per-item or its adversarial swing is bounded by a query-independent B below gold margins **
**The defense mechanism AUTHSELECT is the first principled defense for graph-memory selection integrity, assigning integrity by source channel and driving harm to zero on every dataset at zero overblock and 2–3% latency It works by removing unauthenticated structural writes to form an authenticated subgraph, replaying the native selector, and comparing the induced result **
**The necessity of selection integrity is empirically measured through comparison with existing defenses, showing that only pre-selection re-derivation on the authenticated subgraph closes the channel All other mechanisms are blind to this structural perturbation when they rely only on retrieved items, confirming the irreducibility corollary **
**The criterion separates selectors based on membership reallocatability rather than reliance, as demonstrated by comparing Personalized PageRank and Graphiti node-distance Personalised PageRank satisfies the condition always and is susceptible to divergence under specific graph conditions (Lemma 1) **
**Real-world harm is measured across QA-answer harm, tool-call decisions, and sandboxed external side effects, showing that AUTHSELECT drives harm to zero on every opening campaign The channel opens on accumulable selectors like Personalized PageRank and Leiden community summaries **
**The inject-only boundary confirms the realism of the threat by showing that an injection strong enough to move graph retrieval tends to become retrievable, thus scoping the claim correctly **
**The paper concludes that selection integrity is a necessary defense for graph memory because it is the only operation that can close the channel on D AUTHSELECT is positioned as the matching mechanism that restores correct selection when unauthenticated structure causes divergence **
References
Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.
Improvements for AI systems
-
Re-implement selection integrity using AUTHSELECT to prevent unauthenticated structural writes from silently misdirecting actions. This system will ensure that
every one [misdirected transfer] is prevented
by recomputing selection on the authenticated subgraph when a structural write occurs, as AUTHSELECTremoves unauthenticated structural writes, replays the native selector, and compares the result.
-
Develop a capability taxonomy to scope threats to distinguish between content injection and structural writes. This will allow for targeted defenses; specifically, it separates
inject-only
capabilities fromstructural-write
capabilities, ensuring that defenses are deployed only where necessary, as AUTHSELECT is designed for theno-passage structural regime.
-
Implement a criterion for identifying vulnerable selectors based on accumulability rather than reliance. The system will check if a selector admits the channel when
its structural term can reallocate enough of what fixes the selected set to flip it,
specifically focusing on membership reallocatability instead of structure reliance.
Abstract
Agent memory is moving to graphs, and the provenance defenses now being built for it all check one thing: the provenance of the records an agent retrieves. We show that this entire class of defense is blind by construction. A long-term graph memory runs a global selection step over writable graph structure, so structure that an untrusted principal writes changes which authenticated facts are selected while the cited evidence stays fully authenticated; faithful information-flow control (IFC), checking the provenance of what the reader uses (all of it authenticated), makes the byte-identical decision to no defense at all, across document-QA substrates and real multi-session agent memory. In the most consequential instance, a no-source structural write silently misdirects 28 irreversible ledger transfers over 499 live actions: faithful IFC permits every one, and prevents every one. We then characterize exactly which memories are exposed: a selector admits the channel when its structural term can reallocate an Ω(1) share of top- k membership past a selected fact's margin. Personalized PageRank can, since a sourceless write reroutes conserved random-walk mass; a content-fixed reranker cannot, and Graphiti's node-distance, which leans on structure more than PageRank does, stays immune. Reallocatability, not reliance, is the predictor. We prove the immune case in general and the open case under a chokepoint condition we verify. Closing the channel forces any provenance defense to recompute selection on the authenticated subgraph, which is what does, at zero over-block and 2 -- 3% latency.
Sources
- MemoryGraft: Persistent Compromise of LLM Agents via Poisoned Experience Retrieval
- A-MemGuard: A Proactive Defense Framework for LLM-Based Agent Memory
- SuperLocalMemory: Privacy-Preserving Multi-Agent Memory with Bayesian Trust Defense Against Memory Poisoning
- A Survey on Long-Term Memory Security in LLM Agents: Attacks, Defenses, and Governance Across the Memory Lifecycle
- HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Models
- From RAG to Memory: Non-Parametric Continual Learning for Large Language Models
- Zep: A Temporal Knowledge Graph Architecture for Agent Memory
- From Louvain to Leiden: guaranteeing well-connected communities
- Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection
- PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Models
- Poisoning Retrieval Corpora by Injecting Adversarial Passages
- AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Bases
- GraphRAG under Fire
- A Few Words Can Distort Graphs: Knowledge Poisoning Attacks on Graph-based Retrieval-Augmented Generation of Large Language Models
- Oracle Poisoning: Corrupting Knowledge Graphs to Weaponise AI Agent Reasoning
- Unsupervised Dense Information Retrieval with Contrastive Learning
- DeBERTa: Decoding-enhanced BERT with Disentangled Attention
- Evaluating Very Long-Term Conversational Memory of LLM Agents
- HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answering
- Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Steps
Related papers
- RustMizan: A Compilable, Contamination-Aware Benchmarking Framework for Rust Vulnerabilities
- Introducing the Generative Application Firewall (GAF)
- Opal: Private Memory for Personal AI
- Fuel as Identity: Authenticating Inter-Satellite Laser Links after Total Key Compromise
- Merkle Trees Minimize Verifier Complexity in the ROM
- VulCPE: Context-Aware Cybersecurity Vulnerability Retrieval and Management