Manuscript Offprint

arXiv:2610.29925

Privacy in Context Is Being Overlooked in the Age of General-Purpose LLMs

Prakhar Ganesh, Yash More, Marco Romanelli, Ferdinando Fioretto, Golnoosh Farnadi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

As Large Language Models (LLMs) continue to grow in scope and capability, privacy concerns are on the rise. Since users increasingly interact with a single general-purpose system across many distinct contexts, there is a natural tendency to pursue a one-size-fits-all solution to privacy. Unfortunately, this overlooks a crucial insight from decades of privacy research: privacy is inherently contextual. In this paper, we argue that existing work in prompt privacy is drifting towards attempts to design a unified framework, which is highly misleading and can foster a false sense of security. Furthermore, we argue that even future work in this direction needs to wrestle with fundamental tensions across various desirable properties of prompt privacy. Thus, such continued attempts towards a unified framework need to be reconsidered. We recommend three critical paths forward: application-specific deployment of LLMs, context-specific evaluation of privacy frameworks, and better privacy literacy.

1. Introduction

Large Language Models (LLMs) have become embedded in daily workflows, ranging from coding assistants to legal advisors and medical support tools [12, 56, 111]. With their growing capabilities, LLMs have fundamentally changed how users interact with third-party systems [57, 91]. This shift has led to a significant increase in the amount of sensitive information users share, whether due to the personalized and open-ended nature of conversations, better interactivity, or simply a lack of privacy literacy [10, 57, 108].

Unsurprisingly, concerns around privacy in LLMs are on the rise [23]. Several solutions have been proposed, including anonymization-like techniques, differential privacy, cryptography, and various attempts of operationalizing the principles of contextual integrity [16, 24, 41, 58, 67, 79, 107]. The

Figure

Figure 1. Five desirable properties of a prompt privacy framework ( §\S 2), coverage of various existing frameworks in the literature ( §\S 6), and several non-trivial underlying tensions ( §\S 7).

goal, it seems, is a user-facing, plug-and-play framework that can be seamlessly integrated into any chatbot.

This evolution in prompt privacy literature reflects a broader trend toward unified solutions. Promises like “Secure your AI. Everywhere it matters” [1], “Privacy firewall for ChatGPT prompts” [3], “comprehensive tool designed to fortify the security of LLMs” [75], etc., position these solutions as universal safeguards against all privacy risks. Clearly, as LLMs become general-purpose, research in prompt privacy attempts to follow suit. However, a one-size-fits-all approach to prompt privacy is deeply flawed.

Building on existing privacy literature [21, 22, 43, 63, 74], we identify five key properties for prompt privacy (see Figure 1): three quantifiable (protection guarantees [89, 96], performance [16, 86], and efficiency [29, 34]) and two qualitative (domain adaptability [8, 58] and user accessibility [1, 3, 107]). We uncover several fundamental tensions, both between quantifiable properties (balancing protection, performance, and efficiency) and between qualitative properties (inherent accessibility concerns for adaptable frameworks capable of handling various privacy requirements). Hence, a unified solution to prompt privacy is not a purely technical problem that can be solved in the future.

We argue that privacy in context is being overlooked in existing research on prompt privacy (with spillover effects in the industry), drifting instead towards a unified framework.

∗^{*}Equal contribution 1^{1}McGill University 2^{2}Mila - Quebec AI Institute 3^{3}Hofstra University 4^{4}University of Virginia. Correspondence to: Prakhar Ganesh prakhar.ganesh@mila.quebec.

Figure

UserThe individual or entity interacting with the LLMs.
Original QueryThe original input the user intends to send to the LLMs. This includes both the language prompt and any auxiliary content such as documents, images, code, etc.
Privacy Tool/TransformThe privacy tool responsible for protecting the original query and removing sensitive information, producing a protected query. In some cases, it also post-processes the LLMs' response to reconstruct or recontextualize it before returning it to the user.
Protected QueryThe sanitized query generated by the privacy tool/transform.
LLMThe target LLMs to process the query.
Protected OutputThe response generated by the LLMs when given the protected query as input.
Reconstructed OutputThe final response presented to the user, which may be the protected output or a refined version of it, depending on the privacy tool/transform.
Hypothetical Original OutputThe response generated by the LLMs if given the original query as input.
Trusted Local EnvironmentThe environment that the user trusts. This need not be just the user's device; for example, if a trusted party, say the bank, intermediates access to an LLMs, the trusted environment includes both the user's device and any infrastructure under the control of the bank.
Untrusted Communication Channel and LLMsThe communication channel through which the query and the output are transmitted and the LLMs itself, both assumed not to be trusted and can contain malicious adversaries.

Figure 2. Prompt Privacy Pipeline and a Glossary of terms used throughout the paper. The user interacts with a privacy tool/transform before their query is sent to the LLMs. All privacy interventions occur within a local trusted environment, ensuring that only the protected query is transmitted. We assume both the LLMs and the communication channel can have malicious actors. The final reconstructed output is compared against the hypothetical output of the original query to make sure the LLM utility is preserved.

However, no single framework for prompts can simultaneously achieve all desirable properties of privacy, due to non-trivial underlying tensions. Instead, presenting such a unified framework will mislead and jeopardize end users.

We structure our argument as follows. We begin by systematically reviewing the prompt privacy literature, highlighting the drift towards a unified framework and the tendency to overlook privacy in context ( §\S 3). We then identify five desirable properties for prompt privacy frameworks: protection guarantees, performance, efficiency, domain adaptability, and user accessibility ( §\S 4), and use them to closely examine four common approaches to prompt privacy: sanitization, differential privacy based techniques, cryptographic methods, and attempts to operationalize contextual integrity, highlighting their limitations ( §\S 6). Building on these limitations, we finally identify several underlying tensions between these desired properties, which pose significant nontrivial challenges even for future developments ( §\S 7). We conclude with three key recommendations: (1) prioritizing application-specific deployment of LLMs, (2) context-specific evaluations of prompt privacy tools, and (3) better privacy literacy and awareness for the end users ( §\S 10).

References (86)