PrivacyRestore: Privacy-Preserving Inference in Large Language Models via Privacy Removal and Restoration

Ziqian Zeng†, Jianwei Wang, Junyao Yang*, Zhengdong Lu, Haoran Li, Huiping Zhuang, Cen Chen

  • Equal contribution · † Corresponding author

PrivacyRestore client-server workflow for privacy removal and activation-based restoration

A plug-and-play privacy-preserving inference framework removes sensitive spans before sending inputs to an LLM service. Protected restoration vectors recover useful information through activation steering without retraining the model.

Paper arXiv Code