Adanonymizer: Interactively Navigating and Balancing the Duality of Privacy and Output Performance in Human-LLM Interaction

Shuning Zhang, Xin Yi, Haobin Xing, Lyumanshan Ye, Yongquan Hu, Hewu Li

TL;DR

Adanonymizer is an interactive, human-in-the-loop anonymization plug-in that allows users to dynamically balance privacy protection and LLM output performance using an intuitive 2D control panel. By mapping out user-perceived privacy risks and automating pseudonymization via a locally hosted, quantized LLM, it drastically reduces manual text-editing time while maintaining high-quality model responses.

What Problem Does This Paper Address?

When interacting with Large Language Models (LLMs) for personal or professional consultations, users frequently share sensitive Personal Information (PI). This introduces severe privacy risks, such as data leakage to third parties or exposure through model retraining.

While traditional privacy-preserving techniques exist, they fail to address the unique dynamics of human-LLM interaction:

  • Differential Privacy (DP) often introduces noise that destroys the semantic utility of text and remains highly opaque to end-users.
  • Encryption-based methods suffer from massive computational overhead and accuracy trade-offs.
  • Standard anonymization pipelines completely ignore how removing specific words impacts the LLM's ability to generate a helpful response.

Consequently, users fall into a "Privacy Paradox"—disclosing highly sensitive data for the sake of convenience despite being fully aware of the privacy risks. The authors tackle this challenge by designing a system that lets users proactively navigate the trade-off curve between privacy and utility.

Methods

The researchers developed Adanonymizer, a local floating plug-in designed to give users real-time, proactive control over their data.

The core architecture consists of three main components:

  1. The 2D Palette Interface: Instead of clunky text configurations, Adanonymizer visualizes the privacy-utility trade-off as a curve on a two-dimensional plane. The horizontal axis represents perceived privacy control, and the vertical axis reflects model performance. Users simply drag a point along this Pareto-like frontier to adjust settings.
  2. Mapping Strategy: The system uses a normalized linear mapping derived from an initial user study to determine which types of information should be anonymized at any given coordinate on the panel.
  3. Local Anonymization Engine: To prevent the privacy tool itself from leaking data, the backend runs locally using an int8-quantized qwen-2.5-7b-instruct model. It utilizes a one-shot prompting template to perform Named Entity Recognition (NER) and automatically substitutes sensitive terms with realistic pseudonyms or category labels.
Fig. 1. The illustration of Adanonymizer. (A) Users drag the point [1] inside the blue region of the 2D panel to proactively control the privacy protection and model output performance. The output would be real-time re-freshed on the right interface. Users could click the “See Anonymize Label” to see the category of the information. (B) Users can view the changed input, their respective information categories and [2] edit them if un-satisfied with the results. (C) Users can click the button to replace the original input.

Datasets

The paper utilizes two primary data sources:

  • Privacy Perception Survey Data: A custom dataset generated from a questionnaire study ($N=221$) that evaluated user-perceived privacy risks, usage frequency, and utility degradation across 14 major PI categories and 74 specific data types.
  • ShareGPT90K Chinese: A subset of templates and discussion topics were extracted from this open dataset to simulate realistic personal consultation tasks across work, academic, and daily life scenarios for the final evaluation ($N=36$).

Key Insights and Ideas

  • Risk and Utility are Decoupled: One of the most surprising findings from the authors' formative study is that an information type's privacy risk does not strictly correlate with its impact on LLM performance. For instance, Personal Identity Information carries a high privacy risk but has a low impact on model performance. Conversely, Personal Education and Work Information heavily influences model output quality but poses a moderate privacy risk.
  • Selective Anonymization Wins: Because risk and utility diverge, a smart system can selectively sanitize high-risk, low-utility terms first, protecting user privacy without tanking the model's performance.
  • The Palette Metaphor Enhances Agency: Providing a continuous 2D panel gives users immediate visual feedback. Users naturally gravitate toward the "corners" or optimal balance points of the polyline curve, treating privacy configuration much like tuning a color palette.
The trade-off between user-perceived privacy risk and its actual influence on model performance across different categories.

Key Results

The authors evaluated Adanonymizer against three baselines: a fully automatic approach, a "Privacy Only" slider, and a state-of-the-art Differential Privacy (DP) text sanitization technique.

  • Massive Time Savings: Adanonymizer significantly reduced the manual modification time required by users to fix unsatisfied text. The mean modification time plummeted to 11.5 seconds, compared to 101.8 seconds for the DP baseline, 35.3 seconds for Privacy Only, and 31.7 seconds for the fully Automatic approach.
  • Superior User Experience: In subjective 7-point Likert scale ratings, Adanonymizer consistently outperformed the DP baseline and ablation models across dimensions of perceived control, transparency, and overall satisfaction.
  • Comparable Privacy Protection: Despite being much faster and more user-friendly, Adanonymizer achieved privacy protection effectiveness statistically comparable to the more rigid, automated baselines.

Limitations and Future Work

While promising, the study notes a few limitations:

  • Homogeneous Evaluation Group: The usability study was conducted with 36 university students who had relatively high educational backgrounds and familiarity with LLMs, meaning they might grasp privacy concepts more easily than the general public.
  • Narrow Risk Scope: The framework currently focuses primarily on privacy risks associated with model re-training, leaving other data misuse vectors unaddressed.
  • Granularity Tweaks: Some participants noted that the fine-grained continuous control could occasionally feel overwhelming and suggested adding an option for coarser-grained, simpler toggle steps.

Summary updated

BibTeX
@misc{zhang2024adanonymizer,
  author = {Shuning Zhang and Xin Yi and Haobin Xing and Lyumanshan Ye and Yongquan Hu and Hewu Li},
  title = {{Adanonymizer: Interactively Navigating and Balancing the Duality of Privacy and Output Performance in Human-LLM Interaction}},
  year = {2024},
  eprint = {2410.15044},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.15044},
}
Figure