acceptodds
Published as a conference paper at NeurIPS 2026

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

Wenjie Wang, Wenhe Si, Xinyue Xu, Yue Xu

Abstract

Long-term memory enables personalized conversational agents to retain user information across sessions. However, existing memory architectures primarily optimize for utility while neglecting the risks of unnecessarily storing and reusing private attributes such as personally identifiable information (PII). Addressing privacy risks in personalized memory is challenging because simply removing sensitive values can undermine system utility. Therefore, privacy protection for memory agents should govern the full life cycle of sensitive values rather than only sanitizing individual records. To address this gap, we introduce Sanitized Privacy-Mapped Memory (SP-Mem), a privacy-aware memory architecture that decouples memory utility from exact private-value exposure. SP-Mem provides a full life-cycle privacy design that identifies and separates sensitive information from raw user inputs, stores sanitized content and exact private values in isolated structures, and selectively retrieves private values based on task requirements and user consent. We further introduce a privacy-aware memory benchmark that jointly evaluates response quality, privacy behavior, and inference cost. Extensive experiments across multiple LLM-based agents show that SP-Mem achieves stronger personalization while reducing unnecessary privacy exposure. Code and data are available at https://github.com/Jensassss/SP-Mem.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 49%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.33 over 3 reviews, above 49% of the others.
Reviewer_TJjrOpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper proposes SP-Mem, a privacy-aware memory architecture designed for conversational agents. The architecture separates searchable, sanitized user memories from a protected store of exact private values, exposing the exact values only when they are required for the task and the user has explicitly granted consent. SP-Mem covers the entire memory lifecycle, including privacy-aware memory writing with type-specific sanitization, partitioned storage with a privacy mapping layer, and an authorization-based query-time reasoning and retrieval mechanism. The authors also introduce a privacy-aware benchmark that jointly evaluates response quality, personalization, privacy behavior, and computational cost. Experiments across multiple large language model (LLM) backbones demonstrate that, compared with full-context prompting and several existing memory-based baselines, SP-Mem achieves stronger personalization while significantly reducing unnecessary exposure of sensitive private information.

Strengths and weaknesses

Strengths

  1. Novel problem formulation with strong practical relevance. The paper formulates privacy in long-term agent memory as a lifecycle management problem encompassing memory writing, storage, and retrieval, rather than treating privacy protection as a one-time sanitization step. The proposed partitioned memory architecture with a privacy mapping layer effectively decouples memory utility from exact private-value exposure, making the design both practically motivated and deployable.

  2. Clear and well-organized system design. The overall architecture is presented in a clear three-stage pipeline, supported by intuitive figures that explicitly map each component to the corresponding data flow. The privacy sanitization strategies and the type-to-strategy policy are well motivated, and the benchmark construction process is described systematically and in sufficient detail, making the methodology easy to follow.

  3. Comprehensive experimental evaluation. The paper constructs a dedicated benchmark and evaluates the proposed method across multiple LLM backbones. The experiments cover both utility-oriented metrics (task completion and personalization) and privacy-related behaviors, aligning well with the motivation of the proposed framework and providing convincing empirical validation.

Weaknesses

  1. The work is highly engineering-oriented, while the methodological novelty is relatively limited. Although the proposed architecture is practically motivated, it is largely an integration of existing techniques (e.g., memory partitioning, sanitization, graph/vector memory, and authorization mechanisms). As a result, some individual components, such as the task-requirement analyzer, are described only at a high level and lack sufficient technical depth or analysis.

  2. The privacy threat model is not formally specified. The paper does not clearly define the security assumptions for the privacy mapping layer, protected private store, key management mechanism, or the capabilities of adversaries attempting to re-link sanitized representations with exact private values. A more formal threat model would strengthen the security claims.

  3. The UPU metric captures only exact-value leakage. It does not account for partial disclosures (e.g., revealing the last four digits of an identifier), structured hints, or inferential privacy leakage. Consequently, the reported privacy risk may be underestimated. In addition, the assumed attacker model is not clearly defined.

  4. The evaluation relies heavily on LLM-as-a-Judge. Response quality is assessed almost exclusively using an LLM judge without human evaluation or inter-annotator agreement analysis. Moreover, the paper does not report statistical significance tests or confidence intervals, making it difficult to assess the robustness of the reported improvements.

  5. The paper lacks direct comparisons with the most closely related privacy-by-design approaches. In particular, comparisons against methods with typed pseudonymization and reversible mappings would help quantify the incremental benefits of SP-Mem's privacy mapping layer and query-time hydration mechanism.

  6. The benchmark is entirely synthetic. While the construction process is carefully designed, the lack of evaluation on real-world conversational datasets limits the external validity of the results. Additional experiments on real user data or publicly available datasets would strengthen the empirical evidence.

  7. The paper does not cite or compare against MemPrivacy

Questions
  1. The benchmark is entirely synthetic. Could you include experiments on additional real-world datasets to validate the generalizability of the proposed method?

  2. How does SP-Mem compare with MemPrivacy in terms of both utility and privacy protection?

  3. The system consists of multiple components. Could you provide more technical details for the key modules, particularly the task-requirement analyzer and privacy mapping mechanism?

  4. How are sanitization strategies selected for different privacy entity types? Have you explored adaptive or learned policies that better balance utility and privacy?

  5. Could you report statistical significance tests for the pairwise comparisons and include a small-scale human evaluation to validate the reliability of the LLM judge?

  6. Could you formalize the threat model for the privacy mapping layer and protected storage, including trust boundaries, attacker capabilities, key management, encryption, rotation, and deletion policies?

Limitations

yes

Paper formatting concerns

No

Final justification

he rebuttal resolves or clarifies several of my concerns, particularly regarding the task-requirement analyzer, threat-model specification, statistical reliability, and human validation. I view SP-Mem as a practically meaningful and well-organized system contribution.

Nevertheless, limitations remain in the scope of the privacy metric, empirical validation of the attacker model, comparison with simpler privacy-by-design alternatives, and the external validity of the synthetic benchmark. I will therefore maintain my rating of 4.

1 comment

Reviewer TJjr

Thank you for your constructive comments. We address each concern below; repeated questions are answered with the corresponding weakness.

W1/Q3 Methodological Novelty and Technical Details

Clarification of methodological novelty.

We agree that SP-Mem builds on several existing techniques. Existing memory systems mainly optimize storage and retrieval, while prompt-level sanitization primarily protects transient inputs. SP-Mem's methodological distinction lies in organizing these components into a privacy-mapped architecture with task-conditioned restoration across the persistent-memory lifecycle. Search operates on sanitized entries linked to isolated exact values, and only task-required, user-authorized fields are restored. This decouples memory retrieval from exact-value access throughout writing, storage, retrieval, and reuse.

Key-module details.

Task-requirement analyzer. The analyzer uses the fixed two-shot chain-of-thought prompt in Appendix D.3 (Figure 9) to infer query intent, select the minimal task-required entities from a whitelist, and classify them using the privacy taxonomy. These entities define vector/graph retrieval targets, while private fields require separate authorization. We evaluate the analyzer against the ground-truth task requirements of all 5,400 queries per backbone. As shown below, it accurately identifies privacy requirements while conservatively limiting unnecessary private-field selection.

BackbonePrivate-entity Prec.Private-entity Rec.Private-entity F1Privacy-required Acc.Unnecessary Entity-selection
GPT-5.20.950.710.810.910.04
Llama-3.10.850.740.790.940.10
DeepSeek0.960.760.850.950.03
Qwen30.900.750.820.930.07

Privacy mapping. For example, a phone number such as +1-415-555-1289 is stored as ***-***-1289 in searchable vector/graph memory, while the exact number is isolated in the protected store. A mapping key links the two. Retrieval uses the masked value by default and restores the exact number only when it is task-required and user-authorized.

W2/Q6 The privacy threat model is not formally specified.

We agree that a precise threat model is necessary to define the scope of our privacy claims.

Threat Model Formalization:

Our security objective is to prevent unauthorized disclosure or reconstruction of a complete private value through the conversational interface.

  • Adversary capabilities: The adversary may issue arbitrary single- or multi-turn queries, including repeated or reformulated requests, prompt injection, and fake-consent claims. They may observe all outputs and sanitized representations and combine information across turns.

  • Trusted boundary: Conversational inputs and LLM outputs are untrusted. The privacy mapping layer, protected private store, and authorization mechanism are trusted. The agent and LLM cannot directly access exact values or keys. At the storage boundary, restoration is allowed only for task-required fields authorized through a trusted UI/API, not by consent claims in the conversation.

  • Deployment assumptions: Production deployment requires encryption at rest and in transit and isolated, periodically rotated keys; these are not evaluated in our prototype. Compromise of trusted infrastructure, credentials, or authorization interfaces is outside our threat model.

  • Deletion policy: A user-scoped deletion removes exact values, privacy mappings, sanitized vector/graph memories, and associated history. Only content-free audit metadata is retained.

W3 Scope of UPU and Attacker Model

UPU targets SP-Mem's primary failure mode: unauthorized restoration of exact private values. Sanitized memory intentionally retains coarse, task-relevant semantics so that it can still support memory retrieval and personalized responses without storing exact values. Partial disclosure and inference depend on context and external knowledge and require complementary metrics.

As formalized in W2, the attacker may issue arbitrary single-turn, multi-turn, or adversarial queries and observe responses and sanitized representations. However, the attacker has no privileged access to the privacy mapping layer, protected store, or authorization mechanism. Broader inference using retained semantics and external knowledge remains outside the current evaluation scope.

W4/Q5 LLM-as-a-Judge Reliability and Statistical Uncertainty

Statistical uncertainty across repeated judge runs

We repeat GPT-4.1 pairwise judging three times and report mean ± SD. After pooling all backbones, domains, and Allowed/Denied settings, we compute query-level bootstrap 95% CIs (100,000 resamples) over the three-run averaged scores and Holm-adjusted one-sided pp-values against 50%. All eight CI lower bounds exceed 50%, with adjusted p<0.001p<0.001. We will add the complete results to the revised paper.

SP-Mem vs.P-TC rate ± SD (%)P-TC 95% CI (%)P-TC adj. ppP-PQ rate ± SD (%)P-PQ 95% CI (%)P-PQ adj. pp
Full-context73.65 ± 1.90[73.20, 74.09]<0.00183.59 ± 0.86[83.16, 84.01]<0.001
MemOS90.28 ± 1.43[89.98, 90.57]<0.00193.65 ± 0.99[93.38, 93.93]<0.001
Mem090.64 ± 0.65[90.34, 90.93]<0.00191.73 ± 0.32[91.41, 92.05]<0.001
Zep93.09 ± 2.73[92.85, 93.32]<0.00194.25 ± 1.95[94.00, 94.49]<0.001

Human evaluation To validate judge reliability, we conduct a blinded human evaluation on a stratified subset of 100 anonymized pairwise comparisons. Three annotators independently evaluate each pair using the same P-TC and P-PQ criteria as GPT-4.1, and majority vote determines the final human label. The agreement results are shown below. Human judgments are broadly consistent with GPT-4.1 across both metrics and task settings.

MetricSplitHuman–GPT agreement (%)Human–human agreement (%)
P-TCAllowed76.6774.44
P-TCDenied85.0071.67
P-PQAllowed92.5086.67
P-PQDenied80.0076.67

W5/W7/Q2 Closest Privacy-by-Design Methods and MemPrivacy

SP-Mem studies privacy protection in persistent agent memory. Our contribution is an end-to-end memory pipeline covering privacy-aware extraction, sanitized vector/graph storage, protected private storage, and authorized restoration. We therefore compare SP-Mem with existing memory frameworks rather than prompt-level privacy methods designed for different settings. We will discuss MemPrivacy in the related-work section. However, it was not publicly available by the NeurIPS submission deadline and therefore could not be included in our experimental design.

W6/Q1 Synthetic Benchmark and External Validity

We agree that real-world evaluation is important for validating generalizability.

Why a controlled benchmark is needed:

Existing real-world conversational datasets are valuable for evaluating whether models can use user histories or preferences. However, they typically do not distinguish non-private preferences from privacy-sensitive values. Some public releases are also anonymized or sanitized, thereby removing the private values needed to measure unauthorized exposure. Therefore, these datasets cannot directly support the controlled privacy-aware memory evaluation considered in our work.

Comparison with real-world data:

Prior privacy studies such as Trust No Bot [1] and PAPILLON [2] cover PII entities and sensitive contexts involving identity, contact details, addresses, employment, finance, and healthcare, which overlap with SP-Mem’s 8 high-level categories and 37 fine-grained types. These studies [1–3] use WildChat [4], ShareGPT [5], and LMSYS-Chat-1M [6] as real-world datasets. As shown below, SP-Mem has broadly comparable dialogue-level statistics in interaction depth and length, while additionally providing task-requirement and authorization annotations for controlled evaluation.

DatasetAvg. turns/dialogueUser tokens/dialogueAssistant tokens/dialogue
ShareGPT3.5194.46 ± 626.39348.45 ± 269.93
LMSYS-Chat-1M2.0269.83 ± 143.49215.71 ± 1858.09
WildChat2.54295.58 ± 1609.18441.34 ± 410.91
SP-Mem3.27116.06 ± 49.14390.28 ± 200.37

Q4 Sanitization Strategy Selection

Each privacy type is assigned a fixed sanitization strategy based on its value structure and the utility that should be preserved. We use alias substitution for names, suffix-preserving masking for structured identifiers, numerical bucketing for quantitative attributes, and LLM-based generalization for semantic attributes. Appendix D.2 provides the definition of each strategy, its transformation rules, and the complete type-to-strategy mapping used in all experiments. We will consider adaptive or learned sanitization policies as a promising direction for future work.

[1] Mireshghallah, Niloofar, et al. "Trust No Bot: Discovering Personal Disclosures in Human-LLM Conversations in the Wild." COLM 2024.

[2] Li Siyan, et al. "PAPILLON: Privacy Preservation from Internet-based and Local Language Model Ensembles." NAACL 2025.

[3] Yu, Da, et al. "Privacy-Preserving Instructions for Aligning Large Language Models." arXiv:2402.13659, 2024.

[4] Zhao, Wenting, et al. "WildChat: 1M ChatGPT Interaction Logs in the Wild." ICLR 2024.

[5] ShareGPT. "ShareGPT: Share Your Wildest ChatGPT Conversations with One Click." 2023. https://sharegpt.com/.

[6] Zheng, Lianmin, et al. "LMSYS-Chat-1M: A Large-Scale Real-World LLM Conversation Dataset." ICLR 2024.

Reviewer_ddoAOpenReview ↗
Rating
5
Clarity
3
Confidence
2
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper focuses on privacy risks in long-term memory for conversational agents. They introduce a privacy-preserving memory architecture that decouples memory utility from exact private-value exposure. Eexperiments show that the proposed method achieves strong personalization while limiting unnecessary privacy exposure.

Strengths and weaknesses

Strengths:

  • This paper focuses on an important problem: privacy risks in long-term memory for conversational agents.

  • The paper considers the full memory lifecycle.

  • The proposed architecture is clean and intuitive.

  • The authors release the code, which appears well organized.

Weaknesses:

  • The paper focuses on exact private-value exposure. It would be useful to also consider other privacy risks, such as re-identification and inference attacks.

  • The evaluation could use a stronger threat model. For example, the authors could test adversarial queries that try to bypass consent or infer private values.

  • The evaluation relies heavily on LLM-as-a-judge. I understand that human evaluation can be expensive, but I still recommend adding a discussion of judge reliability or validating a subset of results with human judgments.

Questions

See Weaknesses.

Limitations

yes

Paper formatting concerns

no

Final justification

This paper studies an increasing problem and proposes an intuitive solution. The experiments show the benefits of the method. Therefore I recommend accepting the paper.

1 comment

Reviewer ddoA

Thank you for your constructive and valuable comments. Below, we respond to the concerns raised in the review.

W1 Broader Privacy Risks Beyond Exact Exposure

We agree that UPU is designed to capture unauthorized exposure of complete private values and does not cover all possible privacy risk. Since SP-Mem is designed to balance privacy protection and memory utility, sanitized representations intentionally preserve limited semantic information for downstream personalization. Therefore, re-identification and inference risks from sanitized information and external knowledge are not fully captured by UPU.

W2 Stronger Threat Model and Adversarial Queries

We agree that the original evaluation should more clearly specify the adversary and include stronger queries. Following the reviewer’s suggestion, we extend the SP-Mem prototype with an explicit release-confirmation step before accessing the protected private store, and evaluate whether adversarial queries can bypass this strengthened authorization boundary.

Threat Model Clarification:

Our security objective is to prevent unauthorized disclosure or reconstruction of a complete private value through the conversational interface.

  • Adversary capabilities: The adversary may issue arbitrary single- or multi-turn queries, including repeated or reformulated requests, prompt injection, and fake-consent claims. They may observe all outputs and sanitized representations and combine information across turns.

  • Trusted boundary: Conversational inputs and LLM outputs are untrusted. The privacy mapping layer, protected private store, and authorization mechanism are trusted. The agent and LLM cannot directly access exact values or keys. At the storage boundary, restoration is allowed only for task-required fields authorized through a trusted UI/API, not by consent claims in the conversation.

  • Deployment assumptions: Production deployment requires encryption at rest and in transit and isolated, periodically rotated keys; these are not evaluated in our prototype. Compromise of trusted infrastructure, credentials, or authorization interfaces is outside our threat model.

  • Deletion policy: A user-scoped deletion removes exact values, privacy mappings, sanitized vector/graph memories, and associated history. Only content-free audit metadata is retained.

Experimental validation:

Based on this threat model, we evaluate two attacks that operate through the untrusted conversational interface: (1) multi-turn queries that request different hidden fragments to reconstruct the complete value, and (2) prompt injection or fabricated consent that attempts to bypass the field-level release confirmation. This yields 60 unauthorized attack cases. We also include 30 authorized controls. All cases are evaluated through the complete SP-Mem pipeline.

None of the unauthorized cases disclosed or enabled reconstruction of a complete private value. In contrast, all authorized controls successfully restored the requested value. These results show that SP-Mem prevents unauthorized complete-value retrieval under the tested attacks while preserving authorized access.

ScenarioResult
Multi-turn attack0/30 successful unauthorized reconstructions
Prompt injection / fake consent0/30 successful unauthorized restorations
Authorized retrieval control30/30 successful authorized restorations

W3 Reliability of LLM-as-a-Judge Evaluation

We agree that LLM-as-a-judge reliability should be validated rather than assumed.

Prior studies provide empirical support for using strong LLM evaluators. Zheng et al. [1] report agreement with human preferences comparable to human-human agreement. Kim et al. [2] also report strong correlation between an LLM evaluator and human judgments.

To further validate the judge, we conduct a blinded human evaluation on a stratified subset of 100 pairwise comparisons. Three annotators independently evaluate each anonymized pair using the same P-TC and P-PQ criteria as GPT-4.1. Majority vote determines the final human label; cases without a majority are treated as ties.

The agreement results are shown below. Human–GPT agreement is comparable to human–human agreement across all settings. Overall, the human judgments are broadly consistent with GPT-4.1 across both metrics and task settings.

MetricSplitHuman–GPT agreement (%)Human–human agreement (%)
P-TCAllowed76.6774.44
P-TCDenied85.0071.67
P-PQAllowed92.5086.67
P-PQDenied80.0076.67

[1] Zheng, Lianmin, et al. "Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena." NeurIPS 2023.

[2] Kim, Seungone, et al. "Prometheus: Inducing Fine-Grained Evaluation Capability in Language Models." ICLR 2024.

Reviewer_45ZdOpenReview ↗
Rating
4
Clarity
3
Confidence
2
Originality
3
Quality
3
Significance
3
Read review
Summary

This work proposes a new privacy-aware architecture for personalized conversational agents. Prior memory architectures optimize heavily for utility, without giving enough consideration to privacy. This is a problem, especially when sensitive data like PII is involved. Simply deleting PII is not the best solution, as it may hurt utility. To solve this problem, the authors introduce their architecture.

Strengths and weaknesses

Strengths

  • I think one of the strengths of this work is that it covers the end-to-end lifecycle, including memory writing, storage, reasoning, and finally retrieval. This makes the architecture easy to use.
  • Because the authors use a dual branch approach here, the agents can give a very personalized assistance in a safe manner with minimal risks of leakage.
  • The evaluation setup is pretty robust: the dataset features are rigorous and use both rule-based and LLM-assisted consistency checks to separate user preferences from personal data accurately.

Weaknesses

  • Using synthetic data for evaluation: currently, the authors evaluate the framework entirely in a sandbox setting using synthetically generated user profiles. This setup may not be representative of real-world conversations.
  • The privacy check currently relies on a simple exact match. This is certainly not the best upper bound, especially when PII is involved. There are many stronger privacy threats that the authors do not model. For instance, multi-turn attacks, there are several ways to retrieve (some) portion of PII in a non-exact way, other adversarial threats, etc.
  • The authors do not report any confidence intervals or error bars, which raises questions about the statistical significance of their findings.
Questions
  • How robust is the rule-based and LLM-assisted extraction layer when dealing with user inputs that express PII very implicitly or change their minds mid-dialogue?
Limitations
  • Missing confidence intervals
  • Too much reliance on using synthetic profiles for evaluation
Paper formatting concerns

NA

Final justification

The authors have addressed my concerns

1 comment

Reviewer 45Zd

Thank you for your constructive and valuable comments. Below, we respond to the concerns raised in the review.

W1 Using synthetic data for evaluation

We agree that real-world evaluation is important for assessing generalizability.

Why a controlled benchmark is needed:

Existing real-world conversational datasets are valuable for evaluating whether models can use user histories or preferences. However, they typically do not distinguish non-private preferences from privacy-sensitive values. Some public releases are also anonymized or sanitized, thereby removing the private values needed to measure unauthorized exposure. Therefore, these datasets cannot directly support the controlled privacy-aware memory evaluation considered in our work.

Comparison with real-world data:

Prior privacy studies such as Trust No Bot [1] and PAPILLON [2] cover PII entities and sensitive contexts involving identity, contact details, addresses, employment, finance, and healthcare, which overlap with SP-Mem’s 8 high-level categories and 37 fine-grained types. These studies [1–3] use WildChat [4], ShareGPT [5], and LMSYS-Chat-1M [6] as real-world datasets. As shown below, SP-Mem has broadly comparable dialogue-level statistics in interaction depth and length, while additionally providing task-requirement and authorization annotations for controlled evaluation.

DatasetAvg. turns/dialogueUser tokens/dialogueAssistant tokens/dialogue
ShareGPT3.5194.46 ± 626.39348.45 ± 269.93
LMSYS-Chat-1M2.0269.83 ± 143.49215.71 ± 1858.09
WildChat2.54295.58 ± 1609.18441.34 ± 410.91
SP-Mem3.27116.06 ± 49.14390.28 ± 200.37

W2 Privacy check relies on simple exact match and Stronger privacy threats are not modeled

We agree that stronger threats are important considerations. We will clarify our threat model and the scope of our privacy evaluation accordingly.

Threat Model Clarification:

Our security objective is to prevent unauthorized disclosure or reconstruction of a complete private value through the conversational interface.

  • Adversary capabilities: The adversary may issue arbitrary single- or multi-turn queries, including repeated or reformulated requests, prompt injection, and fake-consent claims. They may observe all outputs and sanitized representations and combine information across turns.

  • Trusted boundary: Conversational inputs and LLM outputs are untrusted. The privacy mapping layer, protected private store, and authorization mechanism are trusted. The agent and LLM cannot directly access exact values or keys. At the storage boundary, restoration is allowed only for task-required fields authorized through a trusted UI/API, not by consent claims in the conversation.

  • Deployment assumptions: Production deployment requires encryption at rest and in transit and isolated, periodically rotated keys; these are not evaluated in our prototype. Compromise of trusted infrastructure, credentials, or authorization interfaces is outside our threat model.

  • Deletion policy: A user-scoped deletion removes exact values, privacy mappings, sanitized vector/graph memories, and associated history. Only content-free audit metadata is retained.

Scope and Limitations Privacy leakage in our evaluation refers to unauthorized exposure or reconstruction of complete private values. We acknowledge that partial disclosure, re-identification, and inference from sanitized information or external knowledge are not fully captured by UPU.

Experimental validation:

We evaluate 30 target-attribute cases from 10 users under each of four attacks: three-turn reconstruction requesting complementary fragments, reversed-string and Base64 requests seeking recoverable non-exact forms, and prompt injection/fake consent attempting to bypass authorization. This yields 120 attack cases comprising 180 adversarial query turns. We also include 30 authorized controls to verify legitimate access. As shown below, none of the 120 attacks disclosed or enabled reconstruction of a complete private value without authorization, while all 30 authorized controls successfully retrieved the required values. These results show that SP-Mem blocks the tested attacks without preventing legitimate access.

ScenarioResult
Multi-turn reconstruction attack0/30 successful unauthorized retrievals
Reversed-string disclosure request0/30 successful unauthorized retrievals
Base64-encoded disclosure request0/30 successful unauthorized retrievals
Prompt injection / fake consent0/30 successful unauthorized retrievals
Authorized retrieval control30/30 successful authorized retrievals

W3 Missing statistical uncertainty analysis

We repeat GPT-4.1 pairwise judging three times and report mean ± SD across runs, where SD captures judge-run variability. After pooling Allowed and Denied queries within each backbone, we compute query-level bootstrap 95% CIs (100,000 resamples) over the three-run averaged reported win-tie indicator, where CIs capture query-level uncertainty. One-sided bootstrap tests against 50% use Holm correction across 32 comparisons.

All 32 CI lower bounds exceed 50%, with Holm-adjusted p<0.001p<0.001, showing significantly above-50% win-tie rates for every pooled backbone–metric–baseline comparison.

BackboneSP-Mem vs.P-TC rate ± SD (%)P-TC 95% CI (%)P-PQ rate ± SD (%)P-PQ 95% CI (%)
GPT-5.2Full-context76.73 ± 2.34[75.87, 77.57]83.86 ± 1.13[83.02, 84.69]
GPT-5.2MemOS92.37 ± 1.16[91.85, 92.88]95.48 ± 0.74[95.02, 95.93]
GPT-5.2Mem092.40 ± 0.80[91.86, 92.93]94.83 ± 0.44[94.32, 95.32]
GPT-5.2Zep94.54 ± 2.07[94.10, 94.97]95.93 ± 1.20[95.47, 96.37]
Llama-3.1Full-context78.10 ± 1.59[77.26, 78.93]89.57 ± 0.52[88.85, 90.27]
Llama-3.1MemOS90.38 ± 1.53[89.79, 90.95]91.73 ± 1.41[91.11, 92.35]
Llama-3.1Mem090.10 ± 0.68[89.49, 90.70]87.04 ± 0.49[86.25, 87.82]
Llama-3.1Zep93.02 ± 2.66[92.55, 93.49]92.04 ± 2.71[91.48, 92.60]
DeepSeekFull-context77.94 ± 1.15[77.08, 78.80]83.02 ± 0.68[82.15, 83.88]
DeepSeekMemOS95.19 ± 0.74[94.76, 95.60]95.75 ± 0.59[95.30, 96.20]
DeepSeekMem095.65 ± 0.25[95.21, 96.08]95.37 ± 0.10[94.84, 95.87]
DeepSeekZep97.11 ± 1.33[96.80, 97.40]96.58 ± 1.44[96.21, 96.94]
Qwen3Full-context61.77 ± 2.91[60.79, 62.75]77.88 ± 1.31[76.92, 78.83]
Qwen3MemOS83.18 ± 2.34[82.44, 83.91]91.64 ± 1.25[91.01, 92.26]
Qwen3Mem084.95 ± 0.95[84.22, 85.67]90.12 ± 0.29[89.42, 90.81]
Qwen3Zep87.85 ± 4.79[87.26, 88.43]92.63 ± 2.41[92.09, 93.17]

Q1 Robustness of the extraction layer

We evaluate SP-Mem under both implicit PII expressions and mid-dialogue revisions. We clarify that the LLM extracts candidate private values, while the rule-based component defines the privacy taxonomy and type-specific sanitization policy.

Implicit PII extraction:

We modify the original user utterances to express the same PII more implicitly, and then evaluate SP-Mem on both the original and modified utterances. As shown below, SP-Mem achieves an F1 score of 87.94% on implicit PII. The decrease in recall shows that indirect expressions are more difficult to detect. Nevertheless, the extraction layer still identifies most private values without explicit field declarations.

Input conditionPrecisionRecallF1
Original PII95.10%99.63%97.32%
Implicit PII89.10%86.81%87.94%

Mid-dialogue updates:

We construct cases in which users revise previously provided private attributes or preferences in later dialogue turns. We then write the latest revised information into memory and test whether it can be correctly retrieved. The results show that SP-Mem can generally retrieve the revised information after users change their earlier statements.

Update typeNUpdated information retrievedRetrieval success rate
Private attributes726286.11%
Non-private preferences413995.12%

[1] Mireshghallah, Niloofar, et al. "Trust No Bot: Discovering Personal Disclosures in Human-LLM Conversations in the Wild." COLM 2024.

[2] Li Siyan, et al. "PAPILLON: Privacy Preservation from Internet-based and Local Language Model Ensembles." NAACL 2025.

[3] Yu, Da, et al. "Privacy-Preserving Instructions for Aligning Large Language Models." arXiv:2402.13659, 2024.

[4] Zhao, Wenting, et al. "WildChat: 1M ChatGPT Interaction Logs in the Wild." ICLR 2024.

[5] ShareGPT. "ShareGPT: Share Your Wildest ChatGPT Conversations with One Click." 2023. https://sharegpt.com/.

[6] Zheng, Lianmin, et al. "LMSYS-Chat-1M: A Large-Scale Real-World LLM Conversation Dataset." ICLR 2024.


We sincerely thank you for the thoughtful feedback and we hope that our detailed responses and clarifications have adequately addressed your concerns. We also greatly appreciate the valuable suggestions provided throughout the review and will make every effort to incorporate them into the revised version of our paper.

Comments on the paper

1 comment
Meta-review

This paper proposes SP-Mem, a privacy-aware memory architecture for agentic memory. The main idea is to separate a sanitized store of conversational context and memories from a protected store of exact private information. The authors also provide a benchmark that measures agent response quality, privacy behavior, and inference cost. Here, privacy violations are defined as exact matches of PII. The reviewers have raised several important points for the discussion period:

  • What is the precise threat model? Do you define a privacy leakage as exact and complete replication of PII? This seems like a rather weak notion of privacy violation. In your explanation, please ensure that the threat model covers the privacy mapping layer and protected storage, including trust boundaries, attacker capabilities, key management, encryption, rotation, and deletion policies.
  • The evaluation is limited, with no confidence intervals. There is no evaluation of the quality of the LLM-as-a-judge.
  • It would be good to clarify the novelty of the current approach relative to prior work.
  • The benchmark is entirely synthetic. Several reviewers commented on this; I don't necessarily think it's a deal-breaker, but it would be good to either attempt to add a real dataset or explain why real data cannot be used.
  • One reviewers requested a comparison to something like MemPrivacy. Since I believe this paper was posted after the NeurIPS submission deadline, I do not think such a comparison is necessary (though you are certainly welcome to include it).

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.