TL;DR
Researchers have introduced DEL, a framework that enables private and communication-efficient LLM inference by splitting the workload between a user and a cloud server. By combining dimensionality reduction, a novel "stochastic quantization" privacy mechanism, and server-side soft prompting, DEL achieves state-of-the-art performance without requiring the user to run a heavy local model for denoising.
What Problem Does This Paper Address?
Large Language Models (LLMs) like Llama 3 are too massive to run on most consumer devices. The standard solution is "cloud inference," where you send your query to a provider. However, this raises massive privacy red flags: your queries often contain sensitive personal or corporate data.
Existing privacy-preserving solutions usually fall into two traps:
- The Communication Trap: Sending high-dimensional "obfuscated" embeddings to the cloud requires massive bandwidth (e.g., 16MB for just 1024 tokens).
- The Computation Trap: To make sense of the noisy data returned by the cloud, current methods (like InferDPT) require the user to run a "lightweight" local LLM to denoise the output. On a mobile device, even a "lightweight" 7B model is a resource hog.
The authors tackle the "triple threat": protecting privacy, reducing communication costs, and keeping the user-side computation minimal.
Methods
The DEL (Differentially private and communication Efficient LLM split inference) framework uses a three-step approach:
- Dimensionality Reduction: Instead of sending raw embeddings, the user-side uses a small pretrained encoder to project embeddings into a much lower-dimensional latent space (reducing size by a factor of 32).
- DP Stochastic Quantization: This is the core innovation. The authors developed a quantization mechanism that maps coordinates to discrete levels. Crucially, the randomness used in this quantization provides Differential Privacy (DP) guarantees. It essentially hides the original input in the "rounding noise," allowing for $n$-bit communication (as low as 1-bit per coordinate) while mathematically proving that an attacker cannot reconstruct the original query.
- Server-side Soft Prompting: To fix the "utility loss" caused by adding privacy noise, the server uses soft prompts. These are trainable vectors prepended to the input that "teach" the cloud LLM how to interpret the noisy, privatized embeddings. This moves the "denoising" burden from the user's device to the server's powerful infrastructure.
Datasets
The authors evaluated DEL across a wide range of tasks:
- Text Generation: C4 web corpus, WikiText-2, Penn Treebank (PTB), and CNN/Daily Mail.
- Natural Language Understanding (NLU): Quora Question Pairs (QQP) and MSR Paraphrase Corpus (MRPC).
- Models Tested: Llama3-8B, Qwen2.5 (7B and 72B), DeepSeek-MoE, Pangu-Embedded, and BERT.
Key Insights and Ideas
- Privacy "For Free": The authors prove that stochastic quantization can achieve the same privacy guarantees as the standard Gaussian mechanism but with significantly less communication overhead.
- Server-Side Recovery: Traditionally, researchers thought the user had to denoise data locally to keep it private. DEL proves that a server-side soft prompt can effectively compensate for privacy-induced errors, allowing the user to remain "thin-client."
- Cross-Dataset Transferability: One of the most surprising findings is that a soft prompt trained on a general dataset (like C4) can be transferred to other tasks (like WikiText) with only marginal performance drops. This means the server doesn't need to retrain for every specific user task.
Key Results
- Superior Utility: On the PTB dataset with Llama3-8B, DEL achieved a Coherence (COH) score of 0.661 at a specific privacy level (ASR=0.20), significantly outperforming the previous state-of-the-art, RANTEXT (0.526).
- Massive Compression: DEL reduces communication overhead by 32x compared to standard split-inference methods by compressing 3584-dimensional embeddings into a lower-dimensional latent space.
- Efficiency: By using 1-bit or 2-bit quantization, DEL maintains high accuracy on NLU tasks (like MRPC) while using a fraction of the bandwidth required by traditional Laplacian/Gaussian noise methods.
- Qualitative Success: Qualitative examples show that while older methods (InferDPT) often produce garbled text that requires local denoising, DEL's cloud output is coherent and contextually accurate right out of the box.
Limitations and Future Work
- Honest-but-Curious Assumption: The framework assumes the server follows the protocol but might try to learn from the data. It does not protect against a malicious server that might deviate from the DEL architecture.
- Training Overhead: While inference is efficient, the initial training of the encoder-decoder pair and the soft prompts requires access to representative data on the server side.
- Future Directions: The authors suggest exploring more complex "hard" prompts and investigating how DEL performs in multi-turn dialogue scenarios, which were not the primary focus of this paper.
Summary updated