TL;DR
AIM (Agentic Interoperable Memory) is a novel, system-agnostic framework that enables LLM agents to manage both private and shared memories across multiple users and platforms. By enforcing deterministic privacy controls directly at the vector index level, AIM allows agents to safely leverage collective knowledge without risking the exposure of sensitive user data. Alongside the framework, the authors introduce MUMBench, the first public benchmark designed to evaluate multi-user memory lifecycles and privacy boundaries.
What Problem Does This Paper Address?
As Large Language Model (LLM) agents transition from isolated chatbot sessions to persistent personal assistants and enterprise workflows, they face a critical memory dilemma. Traditional LLMs are session-scoped and stateless; they forget user preferences as soon as a conversation ends.
While single-user memory solutions exist, they operate in silos. In collaborative environments—like a corporate dev team or a customer support platform—agents need to share collective domain knowledge (e.g., "the team has standardized on library version X") while strictly protecting individual private data (e.g., a user's API keys or medical history). Existing architectures lack robust multi-tenant isolation, leaving them highly vulnerable to adversarial queries that can trick an LLM into leaking another user's private data.
Methods
AIM addresses this by decoupling memory management into a portable service featuring two distinct inference paths: a Write Path and a Read Path.
Key components of the architecture include:
- Multi-Label Intent Detection: Real-world interactions often require multiple memory actions at once. AIM uses an LLM to classify user messages into multiple simultaneous intents (e.g., simultaneously reading an old memory and creating a new one).
- Privacy-Aware Visibility Classification: Extracted memories are automatically categorized as
PUBLICorPRIVATEbased on explicit rules. To prevent data leakage, semantic deduplication is strictly restricted to the memory's visibility scope. - Cascaded Memory Retrieval: To keep compute costs low, retrieval uses a three-stage filter:
- Visibility-Constrained Dense Retrieval: Privacy constraints are pushed directly to the vector index (HNSW) as server-side filters. Unauthorized private memories are structurally blocked from the start.
- Tag-Level Semantic Rescoring: Candidates are filtered using keyword-guided tag embeddings.
- LLM Reranking with Temporal Fusion: A pointwise LLM scorer refines the final candidates by blending semantic relevance with a normalized recency score.
Datasets
The authors introduce MUMBench (Multi-User Memory Benchmark), a dataset containing 672 manually validated, chronologically ordered interactions across 93 users. It spans four distinct domains: Coding, Customer Support, Education, and Travel Planning.
Unlike prior single-user benchmarks (such as LOCOMO), MUMBench evaluates the full memory lifecycle (Create, Read, Update, Delete, No-Op) under multi-user conditions, explicitly embedding adversarial queries designed to test privacy boundaries.
Key Insights and Ideas
- Deterministic Access Control: Instead of relying on the LLM to behave and "ignore" private data during generation (which is highly vulnerable to jailbreaking), AIM enforces privacy deterministically at the database index level. If you don't own the memory, the retrieval system never even sees it.
- Simultaneous Operations Matter: Conversations are fluid. A user might provide a new preference while asking a question. AIM's multi-label formulation recognizes that a single turn can trigger both a memory write and a memory read.
- Smaller Models Punch Above Their Weight: Surprisingly, smaller models like
GPT-5.4-minioutperformed larger models on strict memory operation accuracy. High-performing memory systems do not necessarily require massive, expensive models to manage state effectively.
Key Results
The framework was evaluated across five major model families on the MUMBench dataset:
- Privacy Enforcement: Privacy classification was AIM's strongest suit. The system achieved up to 96.0% visibility classification accuracy using
GPT-5.4, and achieved a perfect 100% accuracy on the Travel domain across multiple models. - Operation Accuracy: Using
GPT-5.4-mini, AIM achieved 58.8% strict operation accuracy and 70.5% state-aware accuracy (a metric that accounts for cascading errors from earlier conversational turns). - Content Quality: The extracted facts were highly accurate, with a judge LLM rating the content quality at an average of 91.6%.
Limitations and Future Work
Despite strong privacy performance, the authors note a few key limitations:
- Tag Extraction & Retrieval Bottlenecks: Tag overlap was relatively low (35.5%), and retrieval relevance peaked at 45.0%. The fixed pre-filter retrieval count often surfaced low-similarity memories, indicating a need for hybrid keyword-semantic search methods.
- The Misinformation Risk: Currently, any user can write to or alter
PUBLICmemories. If a malicious or mistaken user inputs factually incorrect data, it can corrupt the shared knowledge base for all other users. - Next Steps: Future work will focus on introducing factual verification checks at memory-creation time and exploring ways to scope "public" memories to specific sub-groups of users rather than making them globally accessible.
Summary updated