An Attack to Break Permutation-Based Private Third-Party Inference Schemes for LLMs
Rahul Thomas, Louai Zahran, Erica Choi, Akilesh Potti, Micah Goldblum, Arka Pal

TL;DR
This paper presents a novel attack that can accurately reconstruct original prompts from permuted hidden states in LLMs, exposing vulnerabilities in recent privacy-preserving inference schemes and emphasizing the need for rigorous security analysis.
Contribution
Introduces a new reconstruction attack that breaks permutation-based privacy schemes in LLM inference, revealing their insecurity and critiquing prior theoretical security proofs.
Findings
Reconstruction of prompts with nearly perfect accuracy across multiple LLMs
Demonstration that existing permutation-based schemes are insecure against this attack
Identification of flaws in previous security proofs of permutation schemes
Abstract
Recent advances in Large Language Models (LLMs) have led to the widespread adoption of third-party inference services, raising critical privacy concerns. Existing methods of performing private third-party inference, such as Secure Multiparty Computation (SMPC), often rely on cryptographic methods. However, these methods are thousands of times slower than standard unencrypted inference, and fail to scale to large modern LLMs. Therefore, recent lines of work have explored the replacement of expensive encrypted nonlinear computations in SMPC with statistical obfuscation methods - in particular, revealing permuted hidden states to the third parties, with accompanying strong claims of the difficulty of reversal into the unpermuted states. In this work, we begin by introducing a novel reconstruction technique that can recover original prompts from hidden states with nearly perfect accuracy…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCryptography and Data Security · Blockchain Technology Applications and Security · Cloud Data Security Solutions
