Opal: Private Memory for Personal AI
summary
The gist
Opal is a private memory system designed for personal AI that ensures data-dependent reasoning occurs entirely within trusted enclaves, while exposing only fixed…
In short
Opal is a private memory system for personal AI that keeps complex data-dependent reasoning inside a trusted enclave while exposing only fixed, secure access patterns to untrusted storage. It achieves this by splitting storage and using knowledge graphs for smarter searching, ensuring user data remains confidential and the system is efficient.
Key concepts
- Knowledge-Graph-Filtered Search
- This technique uses a small knowledge graph stored in the secure enclave to filter search results before querying the main vector database. It helps answer complex questions about relationships or time (like
- Oblivious Dreaming
- This mechanism allows routine maintenance tasks, such as data compaction and conflict resolution, to run without leaking information about user data access patterns. It uses cryptographic protocols where incidental data brought into the enclave during ORAM access is used for these operations, ensuring security during heavy maintenance.
- Synthetic Personal-Data Pipeline
- This is a four-stage process that generates realistic, long-term personal data. It models communication bursts across six different types of media (like email and documents) using complex mathematical processes and scenario planning based on social connections to create a comprehensive, multi-modal training corpus for the AI.
Terminology used across episodes
This episode discusses
- Opal: Private Memory for Personal AI · Paper Radio
- Rethinking Chunk Size For Long-Document Retrieval: A Multi-Dataset Analysis
- RealMem: Benchmarking LLMs in Real-World Memory-Driven Interaction
- Trusted AI Agents in the Cloud
- HaluMem: Evaluating Hallucinations in Memory Systems of Agents
- Towards Multimodal Lifelong Understanding: A Multi-Scale Benchmark · Paper Radio
- ES-MemEval: Benchmarking Conversational Agents on Personalized Long-Term Emotional Support
- LifeBench: A Benchmark for Long-Horizon Multi-Source Memory
- Privacy Preserving Personal Assistant with On-Device Diarization and Spoken Dialogue System for Home and Beyond
- From Local to Global: A Graph RAG Approach to Query-Focused Summarization
- Scaling Synthetic Data Creation with 1,000,000,000 Personas
- ConVerse: Benchmarking Contextual Safety in Agent-to-Agent Conversations
- CAPS: A Practical Partition Index for Filtered Similarity Search
- Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactions
- MAGMA: A Multi-Graph based Agentic Memory Architecture for AI Agents
- AMemGym: Interactive Memory Benchmarking for Assistants in Long-Horizon Conversations
- Privasis: Synthesizing the Largest "Public" Private Dataset from Scratch
- OmniQuery: Contextually Augmenting Captured Multimodal Memory to Enable Personal Question Answering
- MemOS: An Operating System for Memory-Augmented Generation (MAG) in Large Language Models
- Survey of Filtered Approximate Nearest Neighbor Search over the Vector-Scalar Hybrid Data
- Think-in-Memory: Recalling and Post-thinking Enable LLMs with Long-Term Memory
The paper
Opal: Private Memory for Personal AI · Read on arXiv
UC Berkeley · Google DeepMind
Personal AI systems increasingly retain long-term memory of user activity, including documents, emails, messages, meetings, and ambient recordings. Trusted hardware can keep this data private, but struggles to scale with a growing datastore. This pushes the data to external storage, which exposes retrieval access patterns that leak private information to the application provider. Oblivious RAM (ORAM) is a cryptographic primitive that can hide these patterns, but it requires a fixed access budget, precluding the query-dependent traversals that agentic memory systems rely on for accuracy. We present Opal, a private memory system for personal AI. Our key insight is to decouple all data-dependent reasoning from the bulk of personal data, confining it to the trusted enclave. The untrusted disk then sees only fixed, oblivious memory accesses. This enclave-resident component uses a lightweight knowledge graph to capture personal context that semantic search alone misses and handles continuous ingestion by piggybacking capacity management on every ORAM access. Evaluated on a comprehensive synthetic personal-data pipeline driven by stochastic communication models, Opal improves retrieval accuracy by 13 percentage points over semantic search and achieves 33x higher throughput with 19x lower infrastructure cost than a secure baseline. Opal is under consideration for deployment to millions of users at a major AI provider.
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: "Opal: Private Memory for Personal AI".
Title and authors: Nadia: So we're looking at this paper called Opal: Private Memory for Personal AI, and it basically tackles the problem of personal AI systems growing too big and needing to store all that user data somewhere untrusted.
Elias: Right, it looks like they’re trying to keep the complex reasoning about what that data means inside a secure area—the enclave—while letting the rest of the storage layer just see fixed access patterns.
Priya: But Priya here, if we're talking about personal AI systems retaining things like emails and meeting notes, how does this decoupling actually help us trust that the external disk isn't leaking anything?
Nadia: Well, Opal splits the storage into a trusted enclave memory and an untrusted ORAM backed disk where two databases hold embedding vectors and raw data chunks.
Elias: That sounds like they are using ORAM, which is this cryptographic primitive that hides data access patterns at a cost logarithmic in the size of the database.
Priya: So, if the disk only sees fixed accesses, what about those complex questions we ask about time or relationships? Like "what did Alice say in last Monday’s meeting?"
Nadia: That's where their first contribution comes in: Knowledge-Graph-Filtered Search. They put a compact metadata knowledge graph inside the enclave that captures personal context that simple semantic search misses.
Elias: And then inside the enclave, they extract structured predicates from your query and traverse that graph to form a set of admissible candidates before scoring them against ANN candidates within this restricted set.
Priya: So you're saying the reasoning for finding those specific pieces of information happens securely inside the enclave, not on the untrusted storage?
Nadia: Exactly. It ensures all query-dependent reasoning stays private inside that trusted boundary, and they show this KG-filtered search improves accuracy by thirteen percentage points over plain ANN, matching Graphiti <ref:2604.02522#pg1>.
Elias: That's a concrete number showing that augmenting vector search with knowledge graphs actually helps narrow down the results effectively.
Priya: And how does it handle things that are routine maintenance, like cleaning up or resolving conflicts in the memory when it gets heavy? Because running heavy maintenance tasks usually means doing a lot of disk access.
Nadia: They introduced something called Oblivious Dreaming for that. It leverages the cryptographic protocol where every ORAM access brings incidental data into the enclave through dummy blocks and unrelated chunks.
Elias: So, during maintenance like compaction or index repair, they perform those tasks without issuing extra accesses or compromising security guarantees by using this mechanism.
Priya: That sounds clever for avoiding leaks during heavy operations, but what does that look like in terms of performance? Is the speed still good when things are busy?
Nadia: They show that Opal answers queries in two point three two seconds and ingests a new memory item in zero point nine four seconds, which is two point nine two times and nine point zero five times faster than the secure baseline for those operations.
Elias: That speed gain comes from decoupling everything data-dependent from the bulk of personal data, confining it to the trusted enclave while exposing only fixed size oblivious ORAM accesses to the untrusted disk.
Priya: So, what does this mean for a regular person who just uses an AI assistant? Does this translate into better privacy or just faster response times?
Nadia: It means they're aiming for confidentiality and integrity, ensuring that user data and queries remain hidden from the provider beyond declared leakage.
Elias: And they have freshness and rollback mechanisms too, verifying a Merkle authenticated rollback record after every request to detect tampering or rollback on storage.
Priya: That’s important for trust; it means if someone tries to tamper with the persisted state, the system can revert to a latest authenticated checkpoint at a specific point kappa i.
Nadia: So, to wrap up this Opal: Private Memory for Personal AI paper, they’ve shown how to make personal memory scalable while keeping the core reasoning private by moving it into trusted enclaves.
Elias: The main things are the knowledge-graph-filtered search for accuracy and oblivious dreaming for maintenance without leaking access patterns.
Priya: I just want to say that seeing this level of decoupling between reasoning and storage is a really solid direction for building systems where personal data is involved.
Nadia: It certainly seems like a significant step toward scalable private long-term memory for personal AI applications.
The paper's summary: Nadia: So, to recap, Opal is about keeping all the complex reasoning about your personal AI data inside trusted memory enclaves while just letting the untrusted storage layer see fixed access patterns.
Elias: Right, it’s this architecture where you split your storage into a trusted area and an untrusted disk that only sees fixed memory accesses for embeddings and raw data chunks.
Priya: And they solve the problem of making this work for real personal data, like keeping track of long-term interactions and memories across months or years.
Nadia: Exactly, they tackle that by using a four stage pipeline involving things like life state schedules and modeling communication patterns with a Hawkes process across six different types of modalities.
Elias: They build on that by using scenario planners based on your social graph to plan events, which helps generate the actual content for each modality using different LLM generators.
Priya: That’s the multi modal aspect, right? So instead of just storing a list of documents, it’s modeling how you communicate and what those communications mean contextually.
Nadia: It is about creating a synthetic personal data pipeline that gives the AI more realistic long-term context than just dumping raw files into a database.
Elias: The core idea is that all the reasoning—the complex connections and contextual understanding—happens inside those enclaves, which keeps your sensitive information private.
Priya: But how do you ensure that this security doesn't just slow things down when you need to actually search for something? That’s my main concern with these kinds of private systems.
Nadia: They use a specific technique called Knowledge-Graph-Filtered Search, which means before searching the embeddings, the system pulls in a compact knowledge graph that stores structured predicates inside the enclave.
Elias: So it filters your search space down to only things that are logically relevant based on time or relationships before it even touches those vector embeddings for comparison.
Priya: That sounds like it could drastically improve accuracy over just using plain nearest neighbor search, right? Are those thirteen percentage points they mentioned real gains?
Nadia: They are real gains, they improve accuracy by thirteen percentage points when compared to a plain ANN search method because the system is looking in a much smaller set of candidates.
Elias: The numbers show that this approach matches results from other work on knowledge-graph augmented retrieval, like Graphiti.
Priya: So what does this mean for someone just using an AI assistant every day? Does it mean their memory is more reliable or just faster to retrieve things they asked about yesterday?
Nadia: It means the AI has a much better picture of your past interactions and context because it’s not just looking at raw data chunks, but at structured relationships inside that secure area.
Elias: And for the world, this moves us toward systems where personal memory isn't just a big dump of information, but a structured knowledge base that the AI can actually reason over privately.
Priya: I’m still looking at how they handle those heavy maintenance tasks they mentioned earlier, like cleaning up old data or fixing conflicts when the memory gets huge.
Nadia: They use this "oblivious dreaming" protocol where routine maintenance is done without issuing extra accesses or leaking access patterns by bringing in dummy blocks during every ORAM operation.
Elias: It’s a way to do the necessary work on resident data while maintaining those strict security guarantees around how the untrusted disk sees things.
Priya: So, it seems they’ve tried to solve both the accuracy problem for complex queries and the maintenance problem for heavy data loads all at once within this enclave structure.
Nadia: That’s right, they are trying to provide a scalable private memory system that is accurate enough for real-world use while keeping your personal context locked down.
Elias: It shows how you can decouple the bulk of your data storage from the complex reasoning process, which is a big step in building trustworthy AI agents.
The paper's improvements: Tom: So, to wrap up the core idea, Opal is about keeping all the complex reasoning about your personal AI data inside trusted memory enclaves while just letting the untrusted storage layer see fixed access patterns.
Nadia: Yeah, it’s this architecture where you split your storage into a trusted area and an untrusted disk that only sees fixed memory accesses for embeddings and raw data chunks.
Elias: Right, it’s this way where you have a trusted enclave memory and an untrusted ORAM backed disk holding embedding vectors and raw data chunks.
Priya: But they also mention how they are periodically retrieving recent chunks via KG traversal and summarizing them with an LLM to re-ingest, without needing a dedicated ORAM fetch.
Nadia: That’s their memory compression improvement, where the system consolidates old details into denser records that still capture what matters for retrieval.
Elias: So it keeps high level structure durable by summarizing old data and putting that summary back through the normal ingestion path.
Priya: It sounds like they’re making sure you don't lose those important long-term details while keeping the system running efficiently on limited storage space.
Nadia: That’s exactly it, preserving durability without needing extra disk reads for every single memory item.
Elias: So, the paper shows a path toward private AI memory that is not only secure but also efficient enough to handle years of personal data.
Conclusion: Nadia: So we’re wrapping up on Opal: Private Memory for Personal AI by summarizing how they keep your personal memory reasoning private by confining it to trusted enclaves.
Elias: Right, it boils down to using a trusted enclave and an untrusted disk that only sees fixed access patterns for embeddings and raw data chunks.
Priya: And they manage to make this work for real long term data, covering months or years of interactions through their four stage pipeline.
Nadia: They show that you can model communication across six different types of modalities and use scenario planners based on your social graph to generate more realistic context for the AI.
Elias: The core idea is that all the complex reasoning—the connections and contextual understanding—happens inside those enclaves, which keeps your sensitive information private.
Priya: But they also introduced ways to improve things, like using knowledge-graph-filtered search to boost accuracy over plain search methods.
Nadia: They use a compact metadata knowledge graph inside the enclave to filter your search space down to only things that are logically relevant before it even touches those vector embeddings for comparison.
Elias: And they show that this approach can improve accuracy by thirteen percentage points when compared to a plain ANN search method, matching results from other work on knowledge-graph augmented retrieval.
Priya: So it seems they’ve tried to solve both the accuracy problem for complex queries and the maintenance problem for heavy data loads all at once within this enclave structure.
Priya: I just think it’s important to keep an eye on how they handle those heavy maintenance tasks, like cleaning up old data or fixing conflicts when the memory gets huge.
Priya: Overall though, this Opal: Private Memory for Personal AI paper suggests that scalable private long term memory for personal AI applications is becoming much more feasible.
Nadia: Yeah, it’s a solid direction for building systems where personal data is involved because it focuses on putting the reasoning in the enclave.
Elias: We should watch how they implement this obligation dreaming protocol in real world scenarios, because that seems like a really key piece of work.
More episodes
- The day in conversation for 2026-12-05
- Daily Summary for 2026-12-05
- 2607.15118-Automated Template-free Synthesis of Instruction-Centric Leakage Contracts for Black-Box CPUs
- 2610.37722-FVH-Bench: Evaluating Image Generator Safety Beyond Overtly Harmful Imagery
- 2512.23849-Security Without Detection: Economic Denial as a Primitive for Edge and IoT Defense
- 2605.05807-LCC-LLM: Leveraging Code-Centric Large Language Models for Malware Attribution
- 2607.02932-PromptPET: Prompt Obfuscation Against Profiling by AI Agents
- 2309.05646-A Novel Supervised Deep Learning Solution to Detect Distributed Denial of Service (DDoS) attacks on Edge Systems using Convolutional Neural Networks (CNN)
- The day in conversation for 2026-12-04
- Daily Summary for 2026-12-04