PromptPET: Prompt Obfuscation Against Profiling by AI Agents

summary

The gist

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

In short

To protect user privacy when interacting with AI agents that profile users, this work explores methods to obfuscate sensitive information in user prompts before they are sent. The researchers tested four obfuscation actions and then developed PromptPET, an LLM-based agent that automatically selects the best action for each sensitive part of a prompt based on context. This approach significantly improves privacy while maintaining useful responses.

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 used across episodes

This episode discusses

The paper

PromptPET: Prompt Obfuscation Against Profiling by AI Agents · Read on arXiv

Ke Yang, Olivia Figueira, Umar Iqbal, Athina Markopoulou

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

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.

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.

More episodes

← Home