Reproduce “SurrogateShield: Beyond Redaction for High-Utility, Privacy-Preserving LLM Interactions” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Sherwin Vishesh Jathanna
This research introduces SurrogateShield, a client-side proxy that replaces personally identifiable information (PII) with type-consistent surrogate values in user queries to large language models (LLMs). The system ensures no real PII is transmitted to third-party APIs while preserving semantic utility by 13.26 BERTScore F1 percentage points over placeholder redaction and achieving 0% PII leakage to the LLM API.
Key insights
- Achieving strong privacy guarantees (no PII transmission) does not require a substantial sacrifice in semantic utility; type-consistent surrogate substitution outperforms generic placeholder redaction.
- A multi-stage PII detection pipeline combining pattern matching, named entity recognition, and contextual models is highly effective, yielding an F1 score of 98.87% and ensuring 0% PII leakage.
- Surrogate-substituted messages are more robust against LLM-based adversarial recovery attempts than placeholder-redacted messages, with a 0% recovery rate observed for surrogates versus 1.53% for placeholders.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.