Operationalizing Data Minimization for Privacy-Preserving LLM Prompting

Jijie Zhou, Niloofar Mireshghallah, Tianshi Li

The Privacy vs. Utility Trade-off

Large Language Models (LLMs) are surprisingly capable of solving complex tasks even when the vast majority of personal information in a prompt is deleted. However, when interacting with LLMs, users frequently overshare. Whether submitting a travel itinerary with specific dates and locations or a medical query detailing personal history, users often provide far more sensitive data than the model actually requires to generate a helpful response.

This oversharing creates significant privacy risks, including potential data memorization by the model, unauthorized context-based personalization, and exposure during security breaches. While previous work has focused on blanket redaction of Personally Identifiable Information (PII) or using "LLM-as-a-Judge" to flag sensitive content, these methods fail to account for the specific informational needs of the target model.

This paper introduces a formal framework to define and operationalize data minimization. It asks a fundamental question: What is the absolute minimum information required to maintain utility? By quantifying this "true minimum," the researchers establish an "oracle" benchmark against which we can measure our privacy efforts.

The Freeze-Then-Search Framework

To find the optimal balance between privacy and utility, the authors propose a two-stage framework called Freeze-Then-Search.

  1. Action Space: For every sensitive span of text in a prompt, the system can apply one of three actions, ordered by privacy strength: REDACT (delete or replace with a placeholder) > ABSTRACT (e.g., replacing "New York" with "a city in the U.S.") > RETAIN (keep the original text).
  2. Stage 1: Freeze Inflexible Entities: The algorithm first evaluates each entity in isolation. If redacting or abstracting a specific entity causes the target model to fail the task, that entity is "frozen" as RETAIN.
  3. Stage 2: Priority-Queue Tree Search: The system then performs a specialized search starting from the most private possible state (where everything is redacted). Guided by a fine-tuned Privacy Comparator model (Qwen2.5-7B), it iteratively "relaxes" the most sensitive nodes, moving down the tree until it finds a prompt version that passes a Utility Check.
The Freeze-Then-Search process iteratively relaxes privacy constraints until utility is achieved.

This search process acts as an "Oracle," identifying the most privacy-preserving prompt that still yields a correct or high-quality answer from the target LLM.

Experimental Setup

The framework was evaluated on 533 prompts across four diverse datasets:

  • Open-ended Conversations: ShareGPT and WildChat (representing real-world user interactions).
  • Knowledge-Intensive Tasks: CaseHOLD (legal multiple-choice) and MedQA (medical exams).

The researchers tested these datasets against nine different target models, ranging from small edge models (like Qwen2.5-0.5B) to frontier reasoning models (like GPT-5).

Key Findings: The Capability Gap and Frontier Dominance

The study reveals several critical insights into how LLMs handle minimized data:

  • The "Capability Gap": Perhaps the most striking finding is that LLMs are remarkably poor at predicting their own data needs. When asked to minimize a prompt in a single pass, models consistently overshare. They exhibit a strong bias toward ABSTRACT actions even when a full REDACT would suffice. This indicates a lack of "self-awareness" regarding what internal knowledge they can rely on versus what must be explicitly provided in the prompt.
  • Scaling Privacy with Model Size: Privacy tolerance scales directly with model capability. Larger, more advanced models can handle significantly higher levels of redaction because they can infer context or rely on vast internal knowledge bases to fill in the blanks. For instance, GPT-5 achieved a staggering 85.7% redaction rate on open-ended tasks while maintaining full utility, whereas the smallest model (Qwen2.5-0.5B) could only tolerate 19.3% redaction.
  • Closed-Task Efficiency: On deterministic, knowledge-intensive tasks like MedQA, models were even more efficient, with some reaching up to 98% redaction. This demonstrates that for many technical queries, the specific PII included in the prompt is almost entirely unnecessary noise.
  • Redaction Outperforms Abstraction: The search results showed that effective minimization is heavily reliant on redaction. If the original text cannot be kept, it is usually better to delete it entirely than to abstract it. Abstraction (e.g., "a city in Europe") often leaves behind enough contextual clues for an attacker to reconstruct the original data. Adversarial audits using attacker LLMs (Llama-3.1-70B and Gemini Flash) confirmed that the minimization framework's redaction-heavy approach effectively strips away recoverable signals, keeping recovery rates typically below 10%.

Limitations and Future Directions

The primary limitation of the Freeze-Then-Search framework is its computational cost. The tree search requires numerous calls to both the target LLM and the utility judge, making it too slow for real-time, on-device sanitization.

However, the authors suggest that this "Oracle" framework is perfectly suited for generating high-quality supervision data. This data can subsequently be used to train or distill smaller, faster "predictor" models capable of performing optimal data minimization in a single pass on consumer devices. Furthermore, the identified "capability gap" highlights a need for future research into why models struggle to understand their own information requirements, potentially paving the way for novel, privacy-aware training objectives.

Summary updated

BibTeX
@inproceedings{zhou2026operationalizing,
  author = {Jijie Zhou and Niloofar Mireshghallah and Tianshi Li},
  title = {{Operationalizing Data Minimization for Privacy-Preserving LLM Prompting}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=rpcnvW33EG},
}
Figure