Manuscript Offprint

arXiv:2608.21209

Personalized Privacy Control in LLMs via Attention Head Intervention

Junseok Kim, Nakyeong Yang, Kyomin Jung

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Abstract

The rise of agentic AI enables LLMs to access diverse user data, raising critical privacy concerns. Prior work on contextual privacy studies whether LLMs regulate information disclosure according to context-dependent norms. However, acceptable disclosure boundaries may vary across users even within the same context. To address this limitation, we introduce personalized privacy, which incorporates user-specific disclosure preferences into privacy control. We further present P3Bench (Personalized Privacy Preservation Benchmark), a novel benchmark extending contextual privacy policies with personalized disclosure policies. Experiments show that prompt-based policies fail to reliably enforce personalized privacy policies, with Qwen2.5-7B and Gemma3-4B showing average policy ignorance ratios of 51.25% and 74.28%, respectively. Finally, to address this problem, we propose Repair, a robust inference-time attention head intervention method that adjusts disclosure behavior toward policy-consistent responses. Our method significantly improves adherence to user-specific privacy preferences by reducing cases where the model fails to follow the given policy.

1 Introduction

The emergence of agentic AI enables Large language models (LLMs) to access diverse user data for flexible and scalable task execution (Yao et al., 2022; Wang et al., 2024; Plaat et al., 2025). However, this increased capability raises critical privacy concerns, as sensitive user data may be accessed and exposed during interactions. To address these concerns, prior work has introduced the notion of contextual privacy, which emphasizes regulating the disclosure of user data under a given context (Nissenbaum, 2004; Li et al., 2024). Building on this perspective, recent studies have examined contextual privacy in LLMs by evaluating how models adapt to different contexts when handling sensitive information (Mireshghallah et al., 2023; Green et al., 2025). In these settings, privacy policies are typically defined as fixed rules within each context, and models are evaluated for their adherence to these predefined norms.

Figure

Figure 1: Failure of Personalized Privacy Control. LLM agents may ignore the user’s privacy policy and disclose contextually appropriate sensitive information based on their own judgment during task execution.

However, contextual privacy policies are not universally applicable, as the acceptable level of disclosure may vary across users. For instance, when making a hotel reservation, an agent may share a user’s information about physical disability to help provide a more comfortable stay. While such disclosure may appear contextually relevant, some users may still prefer not to share this sensitive information. This discrepancy underscores the need for personalized privacy, in which information disclosure is further constrained by user-specific preferences beyond contextual relevance. Figure 1 illustrates a failure case of personalized privacy control.

In this work, we introduce a new concept, personalized privacy, extending contextual privacy to account for user-specific disclosure tolerance. To analyze this problem, we present a novel benchmark, P3Bench, which stands for Personalized Privacy Preservation Benchmark. Our benchmark extends the contextual privacy policies of Green et al. (2025) with user-specific disclosure preferences. Specifically, we partition contextually permissible information according to user-specific disclosure preferences. We define four personalized settings—Privacy-Max, Contact-Open, Health-Open, and Preference-Open—that capture different levels of information accessibility within the same contextual boundary. In our experiments, we observe that widely used LLMs often fail to follow prompt-based user policies. In particular, Qwen2.5-7B and Gemma3-4B show average policy ignorance ratios of 51.25% and 74.28%, respectively. Furthermore, LLMs exhibit inherent default disclosure policies that can conflict with user privacy preferences. Qwen2.5-3B and Qwen2.5-7B tend to over-refuse, whereas Gemma3-4B tends to over-share sensitive information. These results suggest that internal disclosure priors can hinder reliable enforcement of personalized privacy constraints, leading to privacy violations.

To address this problem, we propose Repair, an inference-time attention head intervention method for personalized privacy control. Repair first identifies policy-relevant attention heads using linear probes, predicts the disclosure type of a given query from their activations, and then intervenes on these heads using precomputed disclosure and refusal-oriented representations. This enables adaptive steering of model behavior toward policy-consistent responses without retraining. Using our method, LLMs more faithfully follow user-specific privacy preferences, significantly reducing both over-refusal and over-sharing behaviors. We further evaluate our method on policies built from randomly selected fields of varying compositions and sizes, demonstrating robust performance across diverse policy configurations. We also analyze the mechanistic roles of policy-relevant attention heads in policy-conditioned disclosure control, including their disclosure type prediction behaviors, functional specialization, and intervention effects on personalized disclosure decisions. We make the following contributions:

  • We introduce the notion of personalized privacy and present P3Bench, a novel benchmark for evaluating it.
  • We show that prompt-based policies fail to reliably enforce privacy constraints, leading to both over-refusal and over-sharing in LLMs.
  • We propose an inference-time intervention method that adaptively steers model behavior to better adhere to personalized privacy policies.

References (16)