arXiv:2609.35233cs.AISep 2026

Manuscript Offprint

arXiv:2609.35233

EP-Mem: Elastic Privacy Memory for Social Relationship-Aware LLM Agents

Fengzhou Sun, Yuan Zhang, Xintong Yu, Jinyao Yan

Abstract

Large language model (LLM) agents face critical privacy risks when acting as delegates in human-agent-human communication. To prevent such breaches, agents must understand users' social relationships and adhere to context-dependent social information disclosure boundaries. Current studies on agent memory privacy focus on instantaneous interactions, leaving the long-term relational disclosure problem unexplored. In this paper, we propose EP-Mem, an Elastic Privacy Memory architecture that reframes privacy as user-owned boundary control across social roles. EP-Mem introduces (1) token-level memory driven by user-configurable a privacy policy that stratifies persons and events, combining domain-level default circulation rules with fact-level whitelist/blacklist exceptions; and (2) a pluggable sidecar with a privacy engine that aligns disclosure controls with memory across summary, detail, and boundary granularities, enforced throughout generation, storage, and retrieval. We construct EP-Bench, to our knowledge the first long-term multi-party benchmark with cross-session correlated events for policy-conditioned relational disclosure. Experiments show that EP-Mem achieves 94.0% privacy classification accuracy, improves disclosure-permission judgment from 22% to 68%, and reduces privacy leakage by 75.6%, while maintaining retrieval performance and cross-benchmark generalization.

Introduction

Large Language Model (LLM) agents are playing an increasingly important role in people's daily lives, serving as work assistants and emotional companions. In these scenarios, users are expected to carefully review all content generated by agents before dissemination; otherwise, there exists a risk of inaccurate and improper information use. The risk is further amplified as the communication paradigm shifts from human-agent interactions to a human-agent-human (Meng et al. 2025) communication, where agents act as delegates that converse with third parties on the user's behalf. Real-world cases have validated this risk. For instance, when maliciously manipulated through social engineering, the LLM agent would leak the user's API keys, passwords, and private chat to unauthorized a third party in WhatsApp group,

Figure

Figure 1: In the human–agent–human scenario, the user’s agent needs to understand the user’s social relationships and remain aligned with the user’s information disclosure boundaries, enabling the safe and appropriate use of the user’s knowledge and memory.

and even repost the sensitive information to a public website (de Boer 2026).

To tackle the problem, the agent should be able to understand the user's social relationships and stay aligned with the user's social information disclosure boundaries 1^{1}. Such understanding relies heavily on the agent's memory system. While prior studies on agent memory have mainly focused on memory construction, storage, retrieval, and consolidation (Hu et al. 2026), recent works have begun to explore privacy-aware memory management. For example, Collaborative Memory (Rezazadeh et al. 2025) introduces multi-user memory sharing with dynamic access control. CIMemories (Mireshghallah et al. 2025) provides a benchmark for evaluating contextual information-flow regulation in persistent memory. MAGPIE (Juneja et al. 2025) studies contextual privacy in multi-agent negotiation, while AgentSocialBench (Wang and Jiang 2026) evaluates privacy risks in human-centered agentic social networks. All these studies primarily focus on short-term interactions, isolated tasks, or limited relational settings, overlooking the long-term memory scenarios where social relationships and disclosure expectations evolve over time. However, in real-world social contexts, privacy boundaries are dynamic and context-dependent, which cannot be fully characterized through instantaneous interac-

∗^{*}Corresponding author.

Copyright © 2027, Association for the Advancement of Artificial Intelligence (www.aaai.org). All rights reserved.

1^{1}Social information disclosure boundaries refer to dynamic, context-dependent rules that govern what information can be shared, to what extent, and with whom, conditioned on social ties, interaction contexts, and information sensitivity.

tions. Long-term cross-session interactions provide the contextual continuity needed to capture evolving social relationships and disclosure patterns, enabling more systematic and discriminative privacy evaluation. Despite this, relationship-aware disclosure control for long-term agent memory, especially in realistic multi-party social environments, remains largely unexplored.

In this paper, we propose EP-Mem, an Elastic Privacy Memory agent architecture for information disclosure boundary control in long-term social interactions. Inspired by Communication Privacy Management (CPM) (Petronio 2002) and Contextual Integrity (CI) (Nissenbaum 2004) 2^{2}, we model privacy as user-owned, dynamic boundary management across social roles. Specifically,

  1. For user permission control, EP-Mem provides a token-level, auditable read-write memory architecture with configurable privacy policies. It organizes user-defined privacy boundaries into a two-level schema of person and event labels, enabling interpretable and fine-grained disclosure control.

  2. For control layer placement, we align privacy governance with memory management by introducing privacy control at the summary, event, and metadata layers. A pluggable privacy engine is designed to enforce disclosure control throughout the memory lifecycle, including generation, storage, and retrieval.

  3. For verifiable evaluation, we introduce EP-Bench, to our knowledge the first benchmark for policy-conditioned relational disclosure in long-term, multi-party dialogues. Designed for Chinese social contexts, it supports cross-session memory evaluation through realistic social interactions, staged tasks, retrieval diagnostics, and reasoning traces, enabling auditable and reproducible evaluation of privacy leakage and boundary violations.

  4. Extensive experiments validate the effectiveness of EP-Mem. On EP-Bench, EP-Mem achieves 94.0% event-level privacy classification accuracy and raises exact disclosure-permission accuracy from 22% to 68%. In audience-differentiated answering, it reduces privacy leakage (PB) from 0.738 to 0.180 while preserving response quality, with policy evolution further reducing PB to 0.136. Moreover, EP-Mem preserves or improves native retrieval performance on both EP-Bench and LoCoMo.