← Lab /Security & privacy

Character-level DP sanitization makes sensitive PII unrecoverable while preserving non-sensitive words

Perturbing each character with differential privacy prevents reconstruction of sensitive PII near random rates and retains high reconstruction of non-sensitive words

Security & privacy arXiv 27 Mar 2026 Method Prototype evidence

Published as “Protecting User Prompts Via Character-Level Differential Privacy”

Why it matters

The technique enables practical, tunable protection of user prompts sent to third-party LLM services without requiring entity detection, making it immediately useful for privacy-sensitive applications such as healthcare note summarization.

Summary

The paper shows that applying character-level local differential privacy via k-ary randomized response to user prompts makes sensitive PII reconstruction rates close to random guessing while preserving semantic similarity of summaries around 80% at ε≈5.5. Evidence comes from two real datasets (i2b2 clinical notes and Enron emails) evaluated with GPT-4o mini and Llama-3.1 8B, reporting <20% sensitive word reconstruction and ~70% non-sensitive reconstruction at ε=5.5. The claim is well supported by quantitative results, though privacy degrades sharply at higher ε values.

What they found 2

  1. Sensitive words are rarely reconstructed for low privacy budgets.

    “At lower values of ε < 4, none of the sensitive words are reconstructed.”

  2. At ε = 5.5, utility remains high while sensitive reconstruction stays low.

    “At ε = 5.5, the reconstruction rate of sensitive words is less than 20%, and that of non-sensitive words is about 70%, yet the similarity score is 80%.”

Caveats 3

  • At ε = 10, sensitive word reconstruction rises to over 90% (Table 1 shows "10.0 ... 91.13" for sensitive words).
  • Some sensitive terms are still reconstructed even at moderate ε values, as the authors note "However, some sensitive terms are still reconstructed."
  • Iterative restoration adds a small amount of new sensitive reconstruction ("out of the newly reconstructed total terms 98.72% are non-sensitive words while only 1.28% are sensitive words.")

What’s new here 4

  • Applies local differential privacy at the character level using k-ary randomized response before sending prompts to a remote LLM.
  • Leverages LLMs' ability to restore common words while leaving rare, high-entropy sensitive words unrecoverable.
  • Provides a tunable privacy-utility trade-off without needing NER or rule-based detection.
  • Establishes a theoretical baseline for random word reconstruction to benchmark sensitive term recovery.