English

Preempting Text Sanitization Utility in Resource-Constrained Privacy-Preserving LLM Interactions

Cryptography and Security 2025-06-16 v3 Machine Learning

Abstract

Interactions with online Large Language Models raise privacy issues where providers can gather sensitive information about users and their companies from the prompts. While textual prompts can be sanitized using Differential Privacy, we show that it is difficult to anticipate the performance of an LLM on such sanitized prompt. Poor performance has clear monetary consequences for LLM services charging on a pay-per-use model as well as great amount of computing resources wasted. To this end, we propose a middleware architecture leveraging a Small Language Model to predict the utility of a given sanitized prompt before it is sent to the LLM. We experimented on a summarization task and a translation task to show that our architecture helps prevent such resource waste for up to 20% of the prompts. During our study, we also reproduced experiments from one of the most cited paper on text sanitization using DP and show that a potential performance-driven implementation choice dramatically changes the output while not being explicitly acknowledged in the paper.

Keywords

Cite

@article{arxiv.2411.11521,
  title  = {Preempting Text Sanitization Utility in Resource-Constrained Privacy-Preserving LLM Interactions},
  author = {Robin Carpentier and Benjamin Zi Hao Zhao and Hassan Jameel Asghar and Dali Kaafar},
  journal= {arXiv preprint arXiv:2411.11521},
  year   = {2025}
}
R2 v1 2026-06-28T20:03:28.116Z