← Lab /AI/ML

SurrogateShield replaces PII with type-consistent surrogates, preserving response quality

Substituting detected PII with locally generated surrogates prevents any real PII from leaving the device while improving semantic utility over redaction

AI/ML arXiv 28 Jun 2026 Method Prototype evidence

Published as “SurrogateShield: Beyond Redaction for High-Utility, Privacy-Preserving LLM Interactions”

Why it matters

Deploying SurrogateShield can protect user PII from third-party LLM APIs while maintaining the usefulness of the assistant’s responses.

Summary

SurrogateShield replaces detected PII with locally generated, type-consistent surrogates and restores the originals after the LLM response, achieving 0.00% real-PII leakage. It detects PII with 98.87% overall F1 and preserves semantic utility far better than placeholder redaction (94.85% vs 81.59% BERTScore, a 13.26-point gain). In a simulated attacker test, a LLM adversary recovered no original values from 100 surrogate-substituted queries (0.00% recovery) compared to 1.53% under redaction. The evidence comes from a synthetic 1,124-query benchmark, so real-world performance may differ.

What they found 4

  1. Overall PII detection F1 is 98.87%

    “achieving a 98.87% overall F1 score.”

  2. Semantic utility (BERTScore F1) is 94.85% with surrogates versus 81.59% with redaction

    “SurrogateShield preserves 94.85% of semantic utility (BERTScore F1) versus 81.59% for Presidio, a gap of 13.26 percentage points (paired t-test: t= 89.51, p< 0.001, N= 1,123; SS mean 0.9485 ± 0.034, Presidio mean 0.8159 ± 0.054).”

  3. Adversarial recovery rate is 0.00% for surrogates, 1.53% for redaction

    “Within this 100-query trial, the informed adversary, who knew the proxy was used and knew the PII types replaced, recovered no original values across the same set of 196 targeted PII instances used for both the SurrogateShield and Presidio conditions.”

  4. Placeholder redaction recovery rate was 1.53% (3 of 196 values)

    “Under placeholder redaction, the per-value recovery rate was 1.53% (3 of 196 values).”

Caveats 7

  • The evaluation dataset is synthetic, which may not reflect real-world query variability and could overstate detection recall.
  • Surrogate quality depends on Faker’s distributions, leading to stylistic inconsistencies for under-represented name or address formats.
  • ResolvePass may fail when the LLM paraphrases a surrogate without lexical overlap, potentially leaving surrogates unreplaced in the displayed response.
  • Detection coverage is finite. SurrogateShield detects 22 PII types, but no enumeration is complete.
  • Evaluation dataset uses synthetic PII in human-authored query structures.
  • Surrogate quality depends on Faker’s distributions. Faker’s generators weight toward common Western names, US address formats, and English-language conventions.
  • ResolvePass has an inherent scope restriction. ... when the LLM reformulates rather than reproduces a surrogate verbatim-paraphrasing ... the surrogate may persist in the displayed output.

What’s new here 4

  • Client-side surrogate substitution with encrypted per-conversation mapping (ShadowMap).
  • Preserves query semantics, yielding substantially higher BERTScore utility than placeholder redaction.
  • Prevents PII accumulation across multi-turn conversations by storing only surrogates in API history.
  • Demonstrates adversarial resistance via a simulated LLM attacker recovering zero original values.