When a phone runs the first layers of a large language model and sends the intermediate result to a cloud server for the rest, two problems collide. The message reveals the user's prompt, and the radio link is expensive. Recent work handles both with one randomized rounding step: each number is rounded up or down at random, so the randomness that keeps rounding unbiased also serves as the privacy noise. We add a third resource that these systems ignore. The server already holds a model that can roughly predict what the phone is about to send. Information theory has a precise way to exploit a receiver's prediction that the sender cannot compute itself, called Wyner–Ziv coding (compression when only the decoder has correlated "side information"). The sender transmits only which "bin" its value falls in. A bin is a residue class: values spaced a fixed period apart share one index. The receiver picks the bin member closest to its own prediction.
Our proposal is a private quantizer for split inference. The phone stochastically rounds its projected embedding with a discretized Laplace-style randomizer, so the output is unbiased and differentially private. It then sends only the rounded integer modulo $2^b$. The server unwraps that remainder using its own language model's expectation of the next embedding. Folding is a function of an already-private output, so it costs no privacy. The bit count then scales with how surprising the user's text is to the server's model, not with the raw range of the embedding. The claim is narrow and testable: at a matched privacy level and matched attack success, this cuts bits per coordinate relative to point-to-point private quantization. The gain should grow with the server's predictive accuracy and vanish once privacy noise dominates. We also predict where the crossover sits.
Core Claim
The phone plays the role of a compress-and-forward relay. Compress-and-forward is the cooperative-communication scheme in which an intermediate node quantizes its noisy observation and passes the description along without decoding it. The server is the destination, and its "direct link" is its own model's prediction. Concretely, the phone computes a clipped, projected embedding $z_t$ for token $t$. A randomized quantizer with step $\Delta$ outputs an integer $k_t$ with $\mathbb{E}[\Delta k_t]=z_t$, and the distribution of $k_t$ given $z_t$ satisfies metric differential privacy with noise standard deviation $\sigma$. The phone transmits $m_t = k_t \bmod 2^b$.
The server forms $y_t = A\,\mathbb{E}_{p_{\text{LM}}(\cdot\mid \text{context})}[e]$, the projected embedding averaged under its next-token distribution, where $A$ is the shared projection and $e$ a token embedding. It decodes the integer $\hat k_t \equiv m_t \pmod{2^b}$ nearest to $y_t/\Delta$. Decoding is correct whenever $|\Delta k_t - y_t| < 2^{b-1}\Delta$. On success the server holds exactly the private value $\Delta k_t$. It learns nothing beyond what the uncompressed private message would have revealed.
Because the rounded value is the signal plus independent privacy noise, its spread around zero is $\sqrt{s_z^2+\sigma^2}$, where $s_z$ is the spread of the clean embedding. Its spread around the prediction is $\sqrt{s_{z-y}^2+\sigma^2}$, where $s_{z-y}$ is the server's prediction error. Holding the wrap-error probability fixed, the bits saved per coordinate are therefore approximately
$$\Delta b \approx \log_2 \frac{\sqrt{s_z^2+\sigma^2}}{\sqrt{s_{z-y}^2+\sigma^2}}.$$
This formula carries the proposal's honest prediction. The gain is large only when the server predicts well ($s_{z-y}\ll s_z$) and privacy noise is not much larger than the signal spread. Under very strict privacy, $\sigma$ dominates both terms and the advantage disappears. Mapping this boundary is part of the contribution, not an embarrassment to hide.
Where This Sits in Prior Work
The mechanism is assembled from three lines of work. Each solves one piece and leaves the combination open.
Wyner–Ziv coding with learned or lattice quantizers supplies the folding-and-unwrapping idea. Neural Compress-and-Forward for the Relay Channel trains a relay encoder and destination decoder end to end against symbol error rate. It shows the network rediscovers non-contiguous binning, but it has no privacy and uses deterministic argmax at test time. Learned Wyner-Ziv Compressors Recover Binning shows the same emergence under squared error on a scalar Gaussian source and measures a 1.53 dB gap from the infinite-dimensional bound. That gap is the scalar space-filling loss we should expect to inherit. Wyner-Ziv Estimators is the closest method source. Clients stochastically quantize onto a lattice, send a modulo remainder, and a server unwraps with correlated side information. Randomized Walsh–Hadamard rotations flatten spiky coordinates first. It targets mean-squared error with no privacy. We reuse its modulo-unwrap structure and rotation, but our side information is a model prediction rather than a stored vector, and our rounding randomness doubles as the privacy noise.
Privacy through randomized quantization supplies the guarantee. Communication-Efficient Laplace Mechanism via Random Quantization shows that naive rounding of a continuous Laplace mechanism breaks its privacy, and that dithered dyadic quantization yields exact Laplace statistics over finite bits. It is scalar and point-to-point. DEL is the closest system. It privately stochastically quantizes a 32×-reduced embedding down to 1–2 bits for split LLM inference and recovers utility with server-side soft prompts, which are trainable vectors prepended to the server model's input. DEL never uses anything the server already knows. That omission is exactly the slack we exploit. Split-and-Denoise adds Laplace noise to embeddings and denoises on the client, sending uncompressed vectors.
Two results constrain the design. DPQuant shows that adding privacy noise and then deterministically quantizing at 4 bits costs 20–40% accuracy, because noise calibrated in Euclidean norm produces coordinate peaks that saturate a per-coordinate grid. This is why we never stack independent noise and rounding, and why we rotate before quantizing. The task-aware quantization literature, including GuidedQuant and On the Rate-Distortion Theory for Task-Specific Semantic Communication, shows that spending bits where the downstream loss is sensitive beats squared-error allocation. The second paper also shows that side information matters most at very low rates. Here task-awareness is the secondary ingredient. It sets per-coordinate step, period and privacy budget, and an ablation will say whether it earns its place.
The research file also states that a side-information-equipped receiver "undoes" differential privacy. That is not correct as stated. Differential privacy bounds the change in the output distribution between neighboring inputs regardless of what the adversary already knows, so the formal guarantee survives any side information. What side information changes is the absolute posterior. A server with a strong language model already guesses much of the prompt before receiving anything. We therefore evaluate leakage empirically with an inversion attacker who is given the same language-model prior and prediction $y_t$. This is the realistic threat, and DEL's attack success rate metric captures it.
Research Program
The first stage is a controlled check on the synthetic quadratic-Gaussian source ($X = Y + N$) used by the learned Wyner–Ziv paper. We add a private randomized quantizer, vary the noise $\sigma$ and the side-information error variance, and measure the bits needed for a target wrap-error probability. We compare against the formula above and against a point-to-point private quantizer. We also confirm empirically that $\mathbb{E}[\Delta \hat k]$ equals the input when decoding succeeds. This stage validates the rate prediction and quantifies how far a scalar scheme sits from the bound before any language model is involved.
The second stage builds the split-inference system on DEL's setup: Llama3-8B with a client-side projection to a low-dimensional latent. We add a fixed random rotation, the private stochastic quantizer, modulo folding, and server-side unwrapping driven by the language model's next-token expectation. Soft prompts are retained on the server and trained on unwrapped private inputs. Two design questions are studied directly. The first is what to do on wrap errors. The server can detect implausibly large residuals, and we compare discarding, a one-bit resend request, and letting the soft prompt absorb them. The second is how task-awareness enters. We estimate per-coordinate sensitivity of the downstream loss through the soft-prompted model on proxy data, as DPQuant does with layers. We then split a fixed total privacy budget and bit budget across latent coordinates, giving sensitive coordinates less noise and wider periods.
The third stage maps the regime. Using WikiText-2 and PTB, we bin tokens by server-model surprisal and measure realized bit savings and wrap rates per bin. This tests whether gains track predictability as the formula says. It also tells practitioners which inputs, such as boilerplate versus rare names, benefit.
Baselines
The naive reference is privacy noise added to the projected embedding followed by deterministic uniform quantization at matched bits. DPQuant reports this collapses accuracy by 20–40% at 4 bits in training, and the Laplace-quantization paper shows it also voids the formal guarantee. It is included to anchor the low end, under the same model, projection and soft-prompt training.
The strongest existing method is DEL itself. It is private stochastic quantization with server soft prompts and no side information. It reports a coherence (COH) of 0.661 at attack success rate 0.20 on PTB with Llama3-8B, against 0.526 for RANTEXT (DEL). The file does not give the bit width at that operating point, so we will reproduce DEL ourselves. We sweep its bits from 1 to 4 under identical projection dimension, privacy accounting, soft-prompt size, proxy data and tuning budget. We then trace COH against both attack success and bits. Beating it means one of two things. Either our method reaches DEL's COH and attack success with at least one fewer bit per coordinate, or at equal bits it reaches higher COH at equal attack success. The required evidence is non-overlapping confidence intervals across seeds.
Split-and-Denoise is a second competitor on utility. It sends continuous vectors, so we compare it at its native cost and report bits as 32 per coordinate. The file reports only a relative gain of over 10% for it, so we have no absolute number from it to match.
Three ablations isolate the key ingredient. Running our quantizer with modulo folding but a constant prediction ($y_t=0$) should behave like plain wrapping and fail. That shows the gain comes from the prediction, not the folding. Running it with oracle side information, meaning the true clean embedding as $y_t$, gives an upper bound. Disabling task-aware allocation, with uniform step, period and budget across coordinates, measures what sensitivity weighting adds.
Why not just…?
Why not just give DEL more bits or a wider clipping range? More bits at a point-to-point quantizer pay for the whole embedding range. Our scheme pays only for the prediction residual plus noise. The DEL bit sweep in our baselines directly measures whether added bits close the gap. If DEL with one extra bit matches us everywhere, the side information buys nothing in practice and we will report that.
Why not just run a small language model on the phone and send the difference from its prediction? This is the real threat. Predictive coding with predictions at both ends needs no binning. Wyner–Ziv theory says that, for Gaussian sources, decoder-only side information loses nothing relative to side information at both ends. The difference is therefore predictor quality versus phone compute, and Split-and-Denoise's emphasis on client cost makes that trade concrete. We will run client-side predictive coding with a small draft model at equal bits and privacy. We will report the client compute required to match the server-predicted version. If a cheap draft model matches, our contribution shrinks to "use the better predictor wherever it lives."
Why not just entropy-code DEL's quantized indices using the server's prediction as a probability model? Conditional entropy coding requires the encoder to know the coding distribution, and the phone does not have the server's prediction. Slepian–Wolf style coding is the lossless equivalent of our binning and needs long blocks. Modulo folding is its simplest single-letter instance. We will report the empirical conditional entropy of DEL's indices given $y_t$ as a lower bound on what any such scheme could achieve. That shows how much of the remaining gap a more elaborate code could recover.
Proposed Experiments and Decisive Checks
On the synthetic Gaussian source, the measured bit savings across a grid of $\sigma$ and side-information quality should follow the log-ratio formula. The gain should shrink toward zero as $\sigma$ grows, and residual inefficiency should sit near the 1.53 dB scalar gap. If savings at moderate $\sigma$ are absent here, the idea fails before language models enter.
On PTB with Llama3-8B, the primary result is a curve of COH against attack success at fixed bits, plus bits needed to hit DEL's 0.661 COH at attack success 0.20. The attacker is given the server's language-model prior and prediction. On WikiText-2, we report per-surprisal-bin bit savings and wrap rates. On GLUE MRPC and RTE, we report task accuracy at 1, 2 and 3 bits under matched privacy.
The decisive checks are three. First, savings should rise monotonically with server predictability across surprisal bins. Second, the zero-prediction ablation should erase the gain. Third, under the side-information-aware attacker, attack success should match DEL's at equal privacy noise. A higher rate would mean folding leaks through wrap-error side channels and the scheme is unsafe as built.
References
- Neural Compress-and-Forward for the Relay Channel
- Learned Wyner-Ziv Compressors Recover Binning
- Wyner-Ziv Estimators: Efficient Distributed Mean Estimation with Side-Information
- Communication-Efficient Laplace Mechanism for Differential Privacy via Random Quantization
- Differentially Private and Communication Efficient Large Language Model Split Inference via Stochastic Quantization and Soft Prompt
- Split-and-Denoise: Protect large language model inference with local differential privacy
- DPQuant: Efficient and Private Model Training via Dynamic Quantization Scheduling
- GuidedQuant: Large Language Model Quantization via Exploiting End Loss Guidance
- On the Rate-Distortion Theory for Task-Specific Semantic Communication