PromptPET: Prompt Obfuscation Against Profiling by AI Agents

arXiv:2607.02932 · cs.CR, cs.AI, cs.HC, cs.LG · Submitted 2026-07-03 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Security Radio. Generated commentary on the latest security and cryptography papers.

Nadia: We're looking at the paper: "PromptPET: Prompt Obfuscation Against Profiling by AI Agents".

Paper summary: Nadia: So to recap this paper about PromptPET, they are trying to protect user privacy when interacting with AI agents because users share sensitive data that can be used for profiling.

Elias: The main claim is proposing a user-side mechanism that transforms sensitive information in the prompt while still allowing the chatbot to give a useful response.

Priya: They call this approach principled and unifying, meaning they try to control that trade-off between privacy and utility by optimizing which sensitive pieces of information get changed and how they get changed.

Nadia: They compared four methods: redaction, abstraction, replacement, and their novel noising or denoising scheme. The key insight is using a data type taxonomy to both find the sensitive info and decide how to hide it.

Elias: They also focused on profiling into fine-grained attribute taxonomies, like the IAB taxonomy used for advertising, which was less addressed in prior work that mainly focused on just protecting specific identifiers or topics.

Priya: They recognized that unlike a web browser where the user has some control, with an AI agent, disclosure of information is often required for utility because the more you reveal, the better the agent performs.

Nadia: This paper argues that users have to trust the provider because they don't see how their data is being used beyond what they typed into that specific query.

Elias: The authors are defending a defense that protects the user before their data ever reaches the provider, addressing concerns about data usage for model training or sharing with third parties.

Priya: One limitation they mention is that once a query reaches the provider, handling it is largely beyond the user’s control, and privacy disclosures might be incomplete or hard to interpret.

Conclusion: Nadia: So, PromptPET is about making sure that when we use AI agents, we can stop the AI from building a detailed profile of us based on our private inputs without completely ruining the service for us.

Elias: The authors, Figueira, Iqbal, Markopoulou—they built this framework to handle that privacy-utility balance in a principled way by using an LLM to optimize which part of your prompt needs protection and how to protect it.

Priya: What this means for the world is that it moves the defense strategy from trying to catch bad data after it's sent, like filtering logs, to proactively changing the input itself.

Nadia: It shifts the responsibility back to the user at a point where they have more control over what goes into the interaction before any profiling happens.

Elias: It shows that for AI agents, simply hiding things isn't enough; you have to strategically choose *what* to hide and *how* to hide it based on the specific context of the conversation.

Ke Yang, Olivia Figueira, Umar Iqbal, Athina Markopoulou

University of California, Irvine · Washington University in St. Louis

cs.CR, cs.AI, cs.HC, cs.LG

Submitted: 2026-07-03

Updated: 2026-12-03

Code: https://github.com/InteractiveAdvertisingBureau/Taxonomies

License: http://creativecommons.org/licenses/by-nc-sa/4.0/

The gist: Privacy is an important challenge when users interact with AI chatbots, since users may share sensitive information, explicitly or implicitly…

Key concepts

Privacy-Utility Tradeoff
This is the inherent conflict in protecting user privacy and ensuring a useful response from an AI. More aggressive privacy measures, like heavy obfuscation, might hide too much information, making the AI unable to give a detailed or personalized answer. The goal is to find the best balance between keeping data secret and still getting a good result.
Obfuscation Actions
These are different techniques used to hide sensitive parts of a user's prompt. The paper evaluates four: redact (removing the info), abstract (generalizing it), replace (swapping it with similar info), and a novel decoy scheme that keeps the true data hidden among plausible alternatives while still allowing the AI to answer related questions.
PromptPET
PromptPET is an intelligent system built using a Large Language Model (LLM) to manage prompt privacy. It uses an optimizer inspired by reinforcement learning to decide which specific obfuscation action (redact, abstract, etc.) is best for every sensitive piece of information in a user's query, optimizing for the best balance between privacy and utility.
Data Type Taxonomy
This is a classification system used to identify what kind of sensitive information exists in a prompt. By categorizing data types (e.g., personal identifiers, specific details), the system can more accurately determine which obfuscation action is appropriate for each piece of information, leading to smarter privacy decisions.

Terminology

Summary

Privacy is an important challenge when users interact with AI chatbots, since users may share sensitive information, explicitly or implicitly, and AI chatbots can use this information for user profiling. p. 0

Where the paper says it

edu Athina Markopoulou University of California, Irvine Irvine, CA, USA athina@uci. edu Abstract Privacy is an important challenge when users interact with AI chatbots, since users may share sensitive information, explicitly or implicitly, and AI chatbots can use this information for user profiling.

<ref:2607.02932#pg1,since users may share sensitive information, explicitly or implicitly, and AI chatbots can use this information for user profiling>. p. 0
Where the paper says it

edu Athina Markopoulou University of California, Irvine Irvine, CA, USA athina@uci. edu Abstract Privacy is an important challenge when users interact with AI chatbots, since users may share sensitive information, explicitly or implicitly, and AI chatbots can use this information for user profiling.

In this paper, we aim to protect users’ privacy via a userside mechanism that transforms sensitive information in a user’s prompt, while preserving enough information to elicit a useful response from the chatbot. p. 0
Where the paper says it

edu Abstract Privacy is an important challenge when users interact with AI chatbots, since users may share sensitive information, explicitly or implicitly, and AI chatbots can use this information for user profiling. In this paper, we aim to protect users’ privacy via a userside mechanism that transforms sensitive information in a user’s prompt, while preserving enough information to elicit a useful response from the chatbot.

<ref:2607.02932#pg1,we aim to protect users’ privacy via a userside mechanism that transforms sensitive information in a user’s prompt, while preserving enough information to elicit a useful response from the chatbot>. p. 0
Where the paper says it

edu Abstract Privacy is an important challenge when users interact with AI chatbots, since users may share sensitive information, explicitly or implicitly, and AI chatbots can use this information for user profiling. In this paper, we aim to protect users’ privacy via a userside mechanism that transforms sensitive information in a user’s prompt, while preserving enough information to elicit a useful response from the chatbot.

This approach faces an inherent tradeoff between protecting privacy (i. p. 0
Where the paper says it

In this paper, we aim to protect users’ privacy via a userside mechanism that transforms sensitive information in a user’s prompt, while preserving enough information to elicit a useful response from the chatbot. This approach faces an inherent tradeoff between protecting privacy (i.

e., avoiding profiling) and preserving utility (i. p. 0
Where the paper says it

This approach faces an inherent tradeoff between protecting privacy (i. , avoiding profiling) and preserving utility (i.

p. 0
Where the paper says it

This approach faces an inherent tradeoff between protecting privacy (i. , avoiding profiling) and preserving utility (i.

e., getting personalized and task-specific responses). p. 0
Where the paper says it

, avoiding profiling) and preserving utility (i. , getting personalized and task-specific responses).

<ref:2607.02932#pg1,this approach faces an inherent tradeoff between protecting privacy (i. p. 0
Where the paper says it

In this paper, we aim to protect users’ privacy via a userside mechanism that transforms sensitive information in a user’s prompt, while preserving enough information to elicit a useful response from the chatbot. This approach faces an inherent tradeoff between protecting privacy (i.

e., avoiding profiling) and preserving utility (i.e., getting personalized and task-specific responses>. p. 0
Where the paper says it

, avoiding profiling) and preserving utility (i. , getting personalized and task-specific responses).

To that end, we consider, evaluate, and compare four different obfuscation actions, namely redaction, abstraction, replacement, and a novel noising/denoising scheme that we introduce. p. 0
Where the paper says it

, getting personalized and task-specific responses). To that end, we consider, evaluate, and compare four different obfuscation actions, namely redaction, abstraction, replacement, and a novel noising/denoising scheme that we introduce.

<ref:2607.02932#pg1,we consider, evaluate and compare four different obfuscation actions namely redaction abstraction replacement and a novel noising/denoising scheme that we introduce>. p. 0
Where the paper says it

, getting personalized and task-specific responses). To that end, we consider, evaluate, and compare four different obfuscation actions, namely redaction, abstraction, replacement, and a novel noising/denoising scheme that we introduce.

Additional novel insights include: utilizing a data type taxonomy to both identify and obfuscate sensitive information and explicitly taking into account the utility of chat responses in making the obfuscation decision. p. 0
Where the paper says it

To that end, we consider, evaluate, and compare four different obfuscation actions, namely redaction, abstraction, replacement, and a novel noising/denoising scheme that we introduce. Additional novel insights include: utilizing a data type taxonomy to both identify and obfuscate sensitive information and explicitly taking into account the utility of chat responses in making the obfuscation decision.

<ref:2607.02932#pg1,additional novel insights include utilizing a data type taxonomy to both identify and obfuscate sensitive information and explicitly taking into account the utility of chat responses in making the obfuscation decision>. p. 0
Where the paper says it

To that end, we consider, evaluate, and compare four different obfuscation actions, namely redaction, abstraction, replacement, and a novel noising/denoising scheme that we introduce. Additional novel insights include: utilizing a data type taxonomy to both identify and obfuscate sensitive information and explicitly taking into account the utility of chat responses in making the obfuscation decision.

First, we systematically optimize and evaluate each obfuscation action independently in terms of the privacy-utility tradeoff it achieves. p. 0
Where the paper says it

Additional novel insights include: utilizing a data type taxonomy to both identify and obfuscate sensitive information and explicitly taking into account the utility of chat responses in making the obfuscation decision. First, we systematically optimize and evaluate each obfuscation action independently in terms of the privacy-utility tradeoff it achieves.

<ref:2607.02932#pg1,first we systematically optimize and evaluate each obfuscation action independently in terms of the privacy-utility tradeoff it achieves>. p. 0
Where the paper says it

Additional novel insights include: utilizing a data type taxonomy to both identify and obfuscate sensitive information and explicitly taking into account the utility of chat responses in making the obfuscation decision. First, we systematically optimize and evaluate each obfuscation action independently in terms of the privacy-utility tradeoff it achieves.

Second, we propose PromptPET, an LLM-based agent that selects the best obfuscation action for each sensitive part of the prompt, using a reinforcement-learning inspired rule optimizer, applied for the first time in this context. p. 0
Where the paper says it

First, we systematically optimize and evaluate each obfuscation action independently in terms of the privacy-utility tradeoff it achieves. Second, we propose PromptPET, an LLM-based agent that selects the best obfuscation action for each sensitive part of the prompt, using a reinforcement-learning inspired rule optimizer, applied for the first time in this context.

<ref:2607.02932#pg1,second we propose PromptPET an LLM-based agent that selects the best obfuscation action for each sensitive part of the prompt using a reinforcement learning inspired rule optimizer applied for the first time in this context>. p. 0
Where the paper says it

First, we systematically optimize and evaluate each obfuscation action independently in terms of the privacy-utility tradeoff it achieves. Second, we propose PromptPET, an LLM-based agent that selects the best obfuscation action for each sensitive part of the prompt, using a reinforcement-learning inspired rule optimizer, applied for the first time in this context.

Using a real-world chat dataset, we show that PromptPET matches the best privacy-utility tradeoff attainable by any single obfuscation action and significantly outperforms prior state-of-the-art approaches. p. 0
Where the paper says it

Second, we propose PromptPET, an LLM-based agent that selects the best obfuscation action for each sensitive part of the prompt, using a reinforcement-learning inspired rule optimizer, applied for the first time in this context. Using a real-world chat dataset, we show that PromptPET matches the best privacy-utility tradeoff attainable by any single obfuscation action and significantly outperforms prior state-of-the-art approaches.

<ref:2607.02932#pg1,using a real world chat dataset we show that PromptPET matches the best privacy utility tradeoff attainable by any single obfuscation action and significantly outperforms prior state of the art approaches>. p. 0
Where the paper says it

Second, we propose PromptPET, an LLM-based agent that selects the best obfuscation action for each sensitive part of the prompt, using a reinforcement-learning inspired rule optimizer, applied for the first time in this context. Using a real-world chat dataset, we show that PromptPET matches the best privacy-utility tradeoff attainable by any single obfuscation action and significantly outperforms prior state-of-the-art approaches.

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. PromptPET can select the best obfuscation action for each sensitive part of the prompt, using a reinforcement-learning inspired rule optimizer. This allows it to achieve the frontier privacy-utility tradeoff among all single-action obfuscation strategies, matching the best attainable balance by coordinating actions rather than relying on fixed rules.

  2. The system can distinguish between high- and low-contribution units by assigning each sensitive unit an importance score, which guides the subsequent obfuscation steps to ensure that high-importance units require more utility-preserving treatment.

  3. The AI system can utilize a novel noising/denoising scheme where it injects plausible information under a different data type and then filters the response to perfectly preserve its utility, as demonstrated by the 97.6% recovery rate on the original query in tests.

  4. The PromptPET framework can implement a sophisticated decision rule set, such as Rule R20, which assigns Noise to the main named topic, tool, product, place, person needed to answer the query on-topic while ensuring that most detected units are integral to their query.

  5. The system can employ a method where it evaluates utility using two complementary perspectives: cosine similarity between the sentence embeddings and a claim-based evaluation strategy following [59] using Natural Language Inference (NLI) to assess knowledge preservation.

Abstract

Privacy is an important challenge when users interact with AI agents, since users share sensitive information, explicitly or implicitly, and AI agents provider can use this information for user profiling. In this paper, we aim to protect user privacy via a user-side approach that obfuscates sensitive information in a user prompt before it is sent, while preserving enough information to elicit a useful response from the chatbot. This approach faces an inherent tradeoff: what an AI agent needs to produce a personalized and detailed response is largely what it uses to profile the user. To that end, we consider, evaluate, and compare four different obfuscation actions, namely redact, abstract, replace, and a novel decoy that we introduce, which keeps the true information, hides it among plausible alternatives that the online AI agent answers separately, and retains only the answer to the true one. First, we systematically evaluate each obfuscation action independently in terms of the privacy-utility tradeoff it achieves. Second, we propose PromptPET, which follows a decision rule set to select an obfuscation action for each sensitive unit based on the unit context. The rule set is searched by an LLM-based optimizer that iteratively proposes and refines rules based on their measured privacy and utility. On real user queries, PromptPET delivers 3.3x more privacy per unit of utility cost than the strongest prior approach and reaches 1.4x higher privacy. Its advantage holds at the user level, where the provider accumulates a profile across all of a user queries.

Sources

Related papers