Abstract
The proliferation of LLM-based conversational agents has resulted in excessive disclosure of identifiable or sensitive information. However, existing technologies fail to offer perceptible control or account for users' personal preferences about privacy-utility tradeoffs due to the lack of user involvement. To bridge this gap, we designed, built, and evaluated Rescriber, a browser extension that supports user-led data minimization in LLM-based conversational agents by helping users detect and sanitize personal information in their prompts. Our studies (N=12) showed that Rescriber helped users reduce unnecessary disclosure and addressed their privacy concerns. Users' subjective perceptions of the system powered by Llama3-8B were on par with that by GPT-4o. The comprehensiveness and consistency of the detection and sanitization emerge as essential factors that affect users' trust and perceived protection. Our findings confirm the viability of smaller-LLM-powered, user-facing, on-device privacy controls, presenting a promising approach to address the privacy and trust challenges of AI.
Introduction
As Large Language Model (LLM) chatbots like ChatGPT become ubiquitous, users are inadvertently disclosing massive amounts of Personally Identifiable Information (PII) and sensitive context. This ranges from home addresses in travel requests to medical details in email drafts. Current privacy solutions often operate as "black boxes" on the server side, offering users no visibility or control over what is being scrubbed. This lack of agency leads to a "privacy paradox" where users worry about data leaks but continue to over-disclose because manual sanitization is too tedious.
The Rescriber System
Rescriber is a Chrome extension designed around the principle of user-led data minimization. It addresses the privacy gap by moving the protection layer to the user's device.
On-Device Processing and Sanitization
To ensure the privacy tool itself does not become a data risk, Rescriber runs locally using smaller LLMs like Llama 3-8B via the Ollama framework. This keeps sensitive "raw" text on the user's machine. The system offers two primary modes of sanitization:
- Replacement (Redaction): Swapping PII for placeholders (e.g., "John Doe" becomes
[NAME1]). - Abstraction: Generalizing information to maintain context while removing specific identifiers (e.g., a specific address becomes "near a park").
Local "Write-back"
A key UX feature of Rescriber is the local "write-back." The extension detects placeholders in the AI's response and swaps the original PII back in locally. This allows the user to read a natural, personalized response while the cloud provider only ever sees the sanitized, anonymized version of the prompt.
User Interface and Interaction
Rescriber integrates directly into the chatbot interface, providing real-time feedback. As a user types, the tool uses streaming detection to highlight sensitive entities. A dedicated sidebar, "PrivacyGuard," allows users to review detected items and choose the appropriate sanitization method for each.
Evaluation and Results
The researchers evaluated Rescriber using the Ai4Privacy PII Masking 200K dataset and a user study with 12 participants across various scenarios, such as professional email drafting and data analysis.
- Detection Performance: Both LLM-powered versions of Rescriber significantly outperformed traditional NLP-based detectors like Microsoft Presidio. GPT-4o achieved a recall of 0.88, while the local Llama 3-8B hit 0.63.
- Utility Preservation: In 84% of user attempts, sanitized prompts resulted in satisfactory AI responses. Content similarity scores remained high, indicating that the privacy layer did not degrade the AI's helpfulness.
- Latency: On an M1 Max MacBook, the average latency for the local model was 1.09s, which was actually faster than the cloud-based GPT-4o (1.41s) due to the elimination of network overhead.
Discussion: The Value of Perceptible Control
A significant finding was that users' subjective trust and satisfaction were nearly identical for the local Llama 3-8B version and the GPT-4o version, despite the latter's higher objective accuracy. This suggests that for user-facing privacy tools, perceptible control—the ability to see and manage the sanitization process locally—is as important as perfect detection.
Furthermore, the tool acted as a "privacy mirror," educating users on what information might be sensitive and training them to be more mindful of their disclosure habits. While abstraction was preferred for maintaining conversational flow, its non-deterministic nature sometimes led to inconsistent results, highlighting an area for future improvement.
Conclusion
Rescriber demonstrates that smaller, on-device LLMs can provide robust and trustworthy privacy controls for conversational AI. By putting users in the driver's seat, Rescriber addresses the privacy-utility tradeoff and builds the necessary trust for the safe use of AI technologies.
Summary updated