# What to Remember, What to Reveal: Privacy-Aware Memory for Conversational Agents

*Wenjie Wang, Wenhe Si, Xinyue Xu, Yue Xu*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/149905) · [OpenReview](https://openreview.net/forum?id=mLdUy1WYEJ) · [alphaXiv](https://www.alphaxiv.org/abs/2608.16551) · [Open on the map](../papers.html#p149905)

Category: [LLM Reasoning, Memory & RAG](../pcat/19.md) › [Temporal Reasoning in Language Models](../pgroup/387.md) · Type: new method · Keywords: privacy-aware memory, personalized conversational agents, PII protection, memory architecture, benchmark evaluation

Areas: [Memory](../areas/memory.md) › Agent Memory Systems › Personalized Memory; [Privacy & Federated Learning](../areas/privacy-federated.md) › Privacy Defenses and Attacks › Agent Privacy

## Summary
SP-Mem is a privacy-aware memory architecture that separates sensitive private values from sanitized content to improve personalization while reducing unnecessary privacy exposure.

## Explained to a 5-year-old
A robot friend remembers things you tell it. It keeps your private secrets safe by putting them in a special box. The rest of the information is stored in a friendly place so the robot can still help you. When you ask for something, the robot decides if it can share the private stuff or just the friendly info. This makes the robot more helpful while keeping your secrets hidden.

## Explained to a 5-year-old, longer
Imagine you have a magical notebook that remembers everything you say to a robot friend. Sometimes you share fun facts, and sometimes you share secret passwords. The robot wants to be helpful, but it also needs to keep your passwords safe. The new system creates two parts of the notebook: one part is a secret box that only holds the passwords, and the other part is a regular page that holds the fun facts. When you ask the robot a question, it looks at the regular page first and only opens the secret box if it really needs to and you say it’s okay. This way the robot can still answer your questions well, but your secrets stay hidden. The researchers also made a test that checks how well the robot answers, how safe it is, and how fast it works. They tried it on many robot friends and saw that it works better and keeps secrets safer.

## For a technical reader
The system introduces a memory architecture that distinguishes between private data and sanitized content, storing them separately. It allows retrieval based on task requirements and user consent, preserving utility while protecting privacy. A new benchmark evaluates response quality, privacy behavior, and inference cost together. Experiments on multiple LLM agents show improved personalization and reduced privacy leakage. The released code and data enable developers to integrate privacy-aware memory into their conversational products.

## Problem
Existing personalized conversational agents store user information for utility but often expose private attributes unnecessarily, creating privacy risks. Removing sensitive data can degrade utility, making it hard to balance privacy and personalization.

## Method
The approach identifies and separates sensitive information from raw inputs, stores sanitized content and exact private values in isolated structures, and retrieves values selectively based on task needs and user consent. It decouples utility from exact private-value exposure, enabling privacy-aware memory management. A benchmark is introduced to evaluate response quality, privacy behavior, and inference cost jointly.

## Results
The approach demonstrates stronger personalization and reduced privacy exposure across multiple LLM-based agents.

## Contributions
It introduces a full life-cycle privacy design for memory agents that isolates sensitive values, provides selective retrieval, and includes a joint benchmark for evaluating utility, privacy, and cost. The work highlights the trade-offs and offers a framework for privacy-aware memory systems.

## Practical relevance
It enables safer, privacy-preserving personalization for conversational agents, allowing developers to deploy memory systems without compromising user privacy.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/149905)
