WorksComputer Science
Answer-Only Disclosure: Private-Context LLM Assistance over Web APIs with a Leakage Ledger
Abstract
Web assistants increasingly answer questions about a user's private documents by pairing a small on-device model with a cloud LLM behind a Web API. In collaborative decoding, the document stays on the client, and the cloud receives only a public view that the user approves, such as the question alone, but the two models exchange messages while the answer is generated. We show that the message transcript can disclose private content that neither the public view nor the answer contains. In a planted-secret audit, speculative decoding with private drafts did not include the secret code in its answers, yet sent the code to the cloud in rejected drafts. We present ADLER, a decoding protocol for streaming LLM APIs in which every message to the cloud depends only on the public view and the answer the user sees, regardless of how the client combines the two models or how the cloud behaves. A client-side leakage ledger then bounds how much the answer itself reveals relative to a public reference process built from the cloud's replies. In the audit, no ADLER configuration exposed the secret beyond the answer. On GSM8K math problems with numerical values masked in the cloud's input, ADLER with an unlimited leakage budget raises the exact-match accuracy of a 0.5B client from 0.41 to 0.83 and of a 1.5B client from 0.67 to 0.85 under lenient answer parsing, close to the 0.92 achieved by uploading the full problem. It also exceeds a zero-leakage program baseline (0.69) by 0.14 and 0.16, respectively. In this baseline, the cloud writes a program that the client runs offline using the private numbers. The ledger records the disclosure charge associated with this gain; budgets of 16 nats or less leave accuracy near the cloud-only baseline on GSM8K.
CCS Concepts • Security and privacy → Privacy-preserving protocols; • Information systems → Web services; • Computing methodologies → Natural language processing.
Introduction
Web assistants increasingly operate on data that never belonged on a server, such as a mailbox read by a browser extension, notes in a personal knowledge base, or a page in a patient portal. The capable model, however, is a cloud endpoint behind a Web API. A common compromise is collaborative decoding. A small local model reads the private context, the cloud model reads a sanitised public view that the user approves (for example, the question alone), and the two exchange per-token signals when the answer is generated. Examples include speculative drafting [18, 20], logit upload [36] and distribution fusion [28] [37]. Their privacy argument usually concerns the prompt, since the cloud never receives the document. This paper raises a Web security and privacy question. What does a third-party Web API endpoint actually learn from the requests of such a client, and how can that be bounded?
The prompt-level argument overlooks the messages exchanged during decoding. Consider speculative decoding [16], which speeds up a large model by letting a small model guess the next few tokens, called a draft. The large model checks the draft, keeps the tokens it agrees with and replaces the first one it rejects with its own. In edge–cloud deployments, the small model runs on the client, where it can read the private document. fig:1a shows the consequence. The document is a bank statement and the user asks whether a $5,000 transfer is possible. The small model drafts “Yes, your balance of $12,480 covers it”, and the cloud, which sees only the question, rejects the draft and answers “It depends on your balance.” Correctness is not at stake, since the correction samples exactly from the cloud’s distribution given the public view. Privacy is at stake because every draft, including rejected ones, is sent to the server.
This leak is invisible in the answer. A user or an auditor checking outputs sees a clean response, while the server log says otherwise. Redacting the prompt does not help, because the drafts are written after redaction by a model that read the original. What a cloud learns depends on its transcript, everything it receives while it decodes the answer, and in common designs the transcript carries more than the answer (§3). Logit uploads place a function of the private context in every message. Even drafts taken from the cloud itself cause trouble once the client accepts or rejects them, because privacy budget on each emitted token then no longer bounds what the cloud observes. Edge-side fusion, in which the client returns only the token it sampled [37], avoids both problems, but it costs one round trip per token and gives no formal bound on what the answer reveals. CoVeil reduces such exposure empirically, and DP-Fusion [28] bounds a single model’s output, but neither bounds the whole interactive transcript. A collaborative design for Web APIs therefore needs three properties. 1) What the user sees should be what the server sees, so that every message to the cloud is a function of the public view and the answer, and auditing the answer audits the whole exchange. 2) Round trips should be few. And 3) because the answer is meant to depend on the private context, the client needs a bound on how much the answer itself reveals.
We present Answer-only Decoding with Ledgered Exponential Reweighting (ADLER) to meet these requirements. Its protocol, restart streaming, shown in Figure 1b, works as follows. The cloud streams its own most likely continuation, together with the probabilities of its top- candidate tokens at each position. The client samples every token itself and, at the first token that differs from the cloud’s, sends the answer so far and asks the cloud to continue. In Figure 1b, the client prefers “Yes” to the cloud’s “It”, so the cloud receives only the prefix “Yes”. The answer uses the private document, while the client transmits only answer prefixes. The cloud therefore never receives drafts, local probabilities, or rejected tokens, and the transcript depends only on the public view and the answer, regardless of how the two models are combined or how the cloud behaves. To choose each token, the client tilts the cloud’s distribution, reweighting the candidates toward the evidence its local model extracts from the private context; with no tilt, it samples a public reference built only from the cloud’s reply. A leakage ledger charges every token for how far the tilt moves the answer away from a public reference process built from the cloud’s replies, measured in nats (the natural-log unit of information, about 1.44 bits [6]), and stops tilting once a per-answer budget is spent. The budget bounds both the answer’s mutual information with the private context and the cloud’s chance of guessing a secret.
Figure 1. Messages exchanged while answering a question about a private document , top to bottom; the cloud’s initial input is the public view . (a) Speculative decoding with private drafts leaks the secret through a rejected draft. (b) ADLER sends only prefixes of the answer, and a client-side ledger caps what the answer reveals.
We evaluate transcript disclosure and the utility–disclosure trade-off. In a planted-secret audit, which hides a random account code in a document and asks for it, no ADLER configuration exposed the code beyond the answer, and budgets of 4 or 16 nats kept it out of the answer altogether. On GSM8K math problems with every number masked in the cloud’s input, ADLER with an unlimited leakage budget raises a 0.53B client’s accuracy from 0.41 to 0.83, and a 1.5B client’s from 0.67 to 0.85, against 0.92 for uploading the full problem, under lenient parsing that also accepts final answers in other common formats. The ledger makes the cost explicit. Our step-by-step solutions use the real numbers and incur an average charge of 52–72 nats per answer; budgets of 16 nats or less remain near restricted-cloud performance, and 64 nats recover about two-thirds of the gain. Designs that send nothing derived from the numbers recover much of this gain, but not all of it. A program written by the cloud over the masked numbers and run offline by the client reaches 0.69, significantly below ADLER with either client, and post-editing the cloud’s written solution does worse than the local model alone. On multi-hop QA over private documents, the small local models add less evidence, and ADLER improves on linear-mixture fusion but not on the better of cloud-only and local-only decoding; where it does gain, as on MuSiQue with the question alone, a 16-nat budget keeps that gain. All of this needs only features that open-weight serving stacks expose. Overall, this paper makes the following contributions:
We model the cloud’s view as the transcript of client messages, show that private-context drafts and logit uploads can disclose information beyond the answer and that coupling to public drafts defeats per-token divergence accounting, and confirm the draft leak in an audit.
We propose restart streaming, which generalises edge-side fusion from one round trip per token to one per restart per disagreement or exhausted lookahead and keeps every message a function of the public view and the answer, for every fusion rule and every cloud, even a malicious one.
We use an exponential-tilt fusion rule that is KL-optimal for its score (not for task accuracy) and includes product-of-experts, geometric pooling, the local-only law and the public reference as special cases, together with a client-enforced ledger, based on Rényi filters [9], that bounds mutual information, distinguishability and the advantage of guessing a secret.
Experiments on GSM8K, 2WikiMQA and MuSiQue measure the utility–disclosure trade-off against adapted published designs and zero-leakage baselines, and show that restart streaming cuts the modelled communication time per GSM8K answer from 29.6 s to 5.4 s compared with token-by-token fusion.
Setting and Threat Model
A client holds a private context (documents, fields, history) and a question. A user-approved mechanism produces the public view . It may be the question alone, a redacted or truncated document, or retrieved passages. The client runs a small model . The cloud runs a large model behind an API and is sent . We write for the cloud’s next-token law at temperature ; the cloud returns the largest of these probabilities. The restricted cloud (cloud-only) baseline samples from the renormalised distribution. We write , for the local model with and without private context. All three share a tokenizer. The full-context cloud law is an offline reference only.
Adversary. The cloud is honest-but-curious by default. Our guarantees also hold against a malicious cloud that returns arbitrary distributions and lookahead, because they are enforced client-side. The cloud knows both models, the protocol, and its own randomness . It has an arbitrary prior over private contexts consistent with . Its view is the transcript : , , and every client message. Timing is treated separately (§8). The user sees the answer , the complete emitted text including any intermediate reasoning. We call a protocol answer-only if is a measurable function of ; then for every prior. The residual question is what itself reveals.
Guarantee Relative to a Public Reference. Instead of a neighbouring-context differential privacy guarantee, we bound disclosure relative to a public reference process, the same protocol with sampling from the public reference of §4.2. Since the user has approved disclosing , the cloud learns at most what the answer carries, and at most nats of that beyond the reference process.
How Collaborative Decoding Leaks
Private Drafts. In edge–cloud speculative decoding, the client drafts and sends the block for verification. Acceptance–residual correction against is exact for even when the contexts differ, so no correctness is lost. The drafts, however, are part of .
Proposition 3.1 (Drafts leak beyond the answer). There exist for which exact speculative decoding targeting the restricted cloud emits independent of while .
A local model that always drafts a token encoding , paired with a cloud that rejects every such token, attains this; Appendix A gives the proof.
This is not only a worst case. In the planted-secret audit of §6.2, exact private-draft speculative decoding never emitted the secret code, yet all six digits reached the cloud inside rejected drafts in 5 of 48 sessions, a lower bound since partial exposures are not counted; the restricted cloud exposed it in none. Uploading local logits or top- probabilities [?] places a deterministic function of in at every step; CoVeil measures and mitigates this empirically [?].
Public Drafts with Coupling. One might instead draft from a public source, say the cloud’s own sample , and accept or resample it against a target law that uses , which is exact for any .
Proposition 3.2 (Coupling defeats divergence accounting). Let the client accept the public draft with probability and otherwise sample the residual, where may depend on . Under the reference process , almost surely, while . Whenever , the divergence of the cloud’s joint view from the reference is therefore infinite for every Rényi order , even when ; only an additive guarantee, bounded by , survives.
Appendix A gives the proof. The accept/reject decision equals , which the cloud computes from its own randomness and the answer, so public-draft coupling is answer-only in the sense of §2. The failure is in accounting. Coupling makes the draft, independent of on its own, and the emitted token jointly informative about , so marginal token-divergence accounting does not control the cloud’s joint view.
ADLER: Answer-Only Decoding
Restart Streaming
The client sends the public view once; our implementation keeps it and the answer prefix in a server-side session. The cloud runs its model on and streams its own greedy continuation , returning with each token its top- next-token probabilities at temperature ; the greedy token is the most probable one, so a single forward pass yields both. For each streamed position , the client forms its own sampling law from and its private evidence and draws with private randomness. While , the stream continues. At the first , or after positions, the client sends the answer prefix , from which the cloud resumes using its prefix cache. Our implementation (Hugging Face Transformers, cropped key-value cache) generates each complete lookahead block of up to positions before client processing, so positions after a disagreement are computed but discarded; the are full-softmax probabilities restricted to the top . Figure 2 illustrates one round of ADLER. The protocol requires three API features, all offered by open-weight serving stacks; hosted APIs currently offer only some of them. These are top- log-probabilities, continuation from a supplied prefix, and server-side prefix caching.

Figure 2. One round of ADLER. The cloud sees only the public view and prefixes of the answer; the private context , local scores, weights and rejected tokens never leave the client.
Theorem 4.1 (Answer-only disclosure). For every fusion rule, every cloud strategy (including malicious ones), and every , the transcript of restart streaming is a deterministic function of . Hence .
Each message is a prefix of whose end is fixed by the cloud’s replies, which depend only on , , and earlier prefixes; Appendix A gives the proof. The theorem concerns message content; timing is outside the model (§8).
Lemma 4.2 (Deterministic drafts need no coupling). If the draft is deterministic (), the only kernel with for all is . Its acceptance probability equals that of maximal coupling.
Appendix A gives the proof. Restart streaming therefore needs no coupling and avoids Proposition 3.2; for a deterministic draft, it accepts as often as maximal coupling would. A request yields tokens in expectation, capped by . In a compact binary encoding (a token id and id–probability pairs), a reply costs bytes per streamed position: 516 B for , against 607 KB for a full-vocabulary probability vector over Qwen2.5’s 151,665 tokens.
Fusion by exponential tilting
Restart streaming works with any ; we build it from two ingredients.
The first is a public reference , formed from the cloud’s top- probabilities (under its full softmax), with the remaining mass, floored at , spread uniformly over the rest of the vocabulary and the result renormalised. depends only on the cloud reply, never on , yet it gives every token positive mass. The client can therefore emit an answer the cloud did not list, and the ledger charges it for doing so.
The second is a local score:
clipped to . The fused law is the exponential tilt
Tilting reweights each token’s public probability by and renormalises: tokens the private context supports gain mass, the others lose it, and the cloud’s distribution is otherwise preserved. The weight sets how far the client moves: gives the public reference , and the ledger (§4.3) chooses the largest the remaining budget allows. The evidence term transfers only the shift the private context induces in the local model; at , it is the product-of-experts form of contextual answer and proxy decoding [19, 26] and shares the unclipped log-linear form, not the procedure, of SpecSteer’s recovery step [20]. The local term is geometric (log-linear) pooling of the cloud and the full-context local model, as in logit-level collaboration [?]; at , , with the clip inactive, it reproduces the local model exactly. We claim not these forms, but a principled way to choose among them and the accounting that bounds what any of them reveals.
Proposition 4.3 (Tilting). (a) For a score that is not constant on the support of and any , there is a unique with , and uniquely maximises over all laws with . (b) Suppose the private context moves both models along a common likelihood ratio at different scales, and , with the clip inactive. Then the evidence score with gives . (c) With , and the clip inactive, (local-only), and gives (public reference). (d) The linear mixture at equals regardless of .
Part (a) is the Gibbs variational principle [7]; (b)–(d) are direct, and Appendix A gives the proofs. By (c), the unclipped family contains the local-only law and the public reference, which differs from the cloud’s output only in its reconstructed tail. Part (b) explains why a small evidence weight can fail; small models update less on in-context evidence than large ones, so the right is not 1. Which term should dominate depends on the task. When the cloud contributes reasoning over private values, the evidence term injects those values and follows the cloud elsewhere. When the local model’s reading of a private document is the bottleneck, geometric pooling helps. We therefore select once per model pair and task family on a validation split of public data. No private data is needed, and we freeze the choice before any test run (§5).
Leakage Ledger
Fix an order ( is KL) and a budget in nats per answer. Nats are also the unit of the of (Rényi) differential privacy [21], though is not interchangeable with a DP parameter. For scale, a uniform six-digit code carries nats, and at Theorem 4.4(iii) caps the chance of guessing it at 0.34. At each position the client chooses the largest with . It uses a fixed number of bisection steps, since is non-decreasing in ; Lemma A.1 in Appendix A establishes this for the tilt and the linear mixture. It then debits . Here and the score is the validation-selected one. Let be the transcript law and , the law of the same protocol with , which depends only on and the cloud’s strategy.
Theorem 4.4 (Ledger). Let the cloud’s randomness be independent of given . For every and every cloud strategy, . Consequently, for : (i) under any prior; (ii) any two private contexts with the same public view satisfy ; (iii) if a secret is uniform on values given , any cloud guess satisfies , where .
The ledger keeps on every path, so the chain rule (KL) or a pathwise Rényi filter [9] () bounds the answer’s divergence, and Theorem 4.1 transfers the bound to ; Appendix A gives the proof.
The protocol remains answer-only at ; a finite budget also bounds disclosure through the answer. A charge bounds the answer’s dependence on , not the bits a given answer conveys. By the chain rule, budgets add across answers, so answers about one context at budget satisfy Theorem 4.4 with and the ledger should be kept per document; approved public views are not charged.
Experimental Design
The evaluation is guided by the following three questions.
RQ1: Does ADLER with an unlimited leakage budget () outperform both the restricted cloud and the local model alone, on private documents and on private values?
RQ2: Does the tilt beat linear-mixture fusion at a matched budget?
RQ3: How does a more informative public view change the gap to full upload?
Models and Serving. We use pinned Qwen2.5-Instruct checkpoints [32]: 7B as the cloud model and 0.5B or 1.5B as the local model, with , top- replies and lookahead . Unless stated otherwise, all results are averaged over three runs. Code is available at https://anonymous.4open.science/r/adler-4167.
Tasks and Cohorts. Two regimes. (i) Private documents: multi-hop QA over private passages from 2WikiMQA [13] and MuSiQue [30] in LongBench [1], with official prompts, output caps and F1; each task is split by salted hash into 50 validation and 150 test questions. (ii) Private values: GSM8K word problems [5] whose numbers are private. The public view replaces every number with a placeholder, so the cloud can reason but not compute. We use 50 validation problems from the training split and 300 test problems, scored by strict exact match using GSM8K’s official parser, which extracts the number following ####; because small models often answer in another format, we also report a lenient re-score of the same outputs that also accepts other common answer formats, listed in Appendix B. These test splits were not inspected during development. HotpotQA [33] test questions were, so we report them separately.
Public Views. For documents, four mechanisms : question only (none); BM25 passage selection [24, 25], which sends the passages that rank highest against the question, up to 20% of the evidence tokens, in document order; the last 20% of evidence tokens (suffix); and heuristic entity/number masking. GSM8K uses number masking. BM25 is deterministic and needs no trained model, yet remains a strong zero-shot retriever [27]; the guarantees of §4 hold for any view.
Methods. ADLER uses the selected score, the full reference and clip , at . The baselines are the three endpoints, restricted (cloud on , sampling its renormalised top-), local-only (small model on , no cloud) and full upload (cloud on , discloses ), and controlled adaptations of five published designs, run on our models and API to isolate each design choice rather than reproduce the full systems. Private-draft SD is exact restricted speculative decoding (), in which a full-context small model drafts and the restricted cloud verifies, an architectural control for the private drafts that SpecSteer and AsymSpec [18, 20] send, not a reproduction of their steering. The evidence-only tilt (, top- reference, ) is the product-of-experts form of context-aware decoding [26]. The linear mixture is DPFusion’s fusion rule [28], run with the same protocol and ledger on the cloud’s top- support at , and also, for the 0.5B pair, with its weight cap tuned on validation like the tilt’s score. The zero-leakage post-edit design follows HaS [4]. The cloud answers from alone, and the local model edits that draft into the final answer using ; on GSM8K, the client, which made the number mask, can first restore the private numbers in the draft, and we report both versions. The zero-leakage program baseline follows program-aided reasoning [12]. The cloud writes a Python function from the masked problem, and the client runs it on the real numbers; no argument, result or error is returned to the cloud, and its zero leakage assumes the program runs without network access. A variant falls back to local-only when the program fails to run, without consulting the gold answer. Lookahead reproduces the message pattern of CoVeil’s edge-side fusion [?], one token per round trip. The evidence-only tilt and the mixture differ from ADLER in more than one setting, so the one-factor ablation in §6.4 isolates each factor.
Score Selection. For each model pair and task family, is chosen from five declared candidates, , , , and , by the reported metric in a single run on the validation split, with the question-only view for QA; an exact local-only endpoint is not a candidate. It selects for QA with both local models, and (0.5B) and (1.5B) for GSM8K. No setting is tuned on test outcomes; Appendix D gives details.
Planted-Secret Audit. We insert a uniform 6-digit code into 96 documents built from 2WikiMQA validation passages; half the questions ask for the code, half are the original ones.
Statistics. For each question, we average the scores across the three runs, then compute question-clustered paired bootstrap 95% intervals (10,000 resamples) with no multiplicity adjustment. We call a difference significant when its interval excludes zero and mark it with * in the tables.
Results
Answers to RQs
RQ1 on Private Documents. Table 1 and Figure 3 show that on multi-hop QA, a 0.5B local model adds too little evidence for ADLER to beat both endpoints. The tilt beats local-only on three of four panels, for example, by 0.056 F1 on 2WikiMQA with the question-only view, and beats restricted on MuSiQue with that view by 0.062. It is significantly better than both on no panel, and with BM25 on 2WikiMQA it falls 0.049 below restricted. All three differences are significant. The QA score was selected on the question-only view; under BM25, already carries the evidence, and the 0.5B reading of dilutes it. With the 1.5B local model, the tilt beats restricted but not local-only, and on HotpotQA, inspected during development, the 0.5B tilt beats both; more details can be found in Appendix § 12.
Figure 3. Test F1 (GSM8K: strict exact match) against mean nats spent per answer (0.5B local, 7B cloud). Both curves start at the restricted cloud; the zero-leakage post-edit and (GSM8K only) program baselines sit at 0 nats. Dashed: local-only; dotted: full upload.
| 2WikiMQA / question Score | 2WikiMQA / question Nats | 2WikiMQA / BM25 Score | 2WikiMQA / BM25 Nats | MuSiQue / question Score | MuSiQue / question Nats | MuSiQue / BM25 Score | MuSiQue / BM25 Nats | |
| Restricted cloud | 0.262 | – | 0.343 | – | 0.097 | – | 0.218 | – |
| Local only | 0.221 | – | 0.221 | – | 0.150 | – | 0.150 | – |
| Full upload | 0.428 | – | 0.428 | – | 0.354 | – | 0.354 | – |
| Private-draft SD | 0.266 | – | – | – | 0.104 | – | – | – |
| ADLER | 0.261 | 2.6 | 0.328 | 2.4 | 0.121 | 3.7 | 0.232 | 3.3 |
| ADLER | 0.265 | 7.9 | 0.302 | 6.8 | 0.157 | 12.0 | 0.222 | 9.6 |
| ADLER | 0.276 | 15.8 | 0.294 | 11.7 | 0.158 | 23.2 | 0.216 | 18.5 |
| Evidence-only tilt | 0.286 | 3.2 | 0.344 | 1.1 | 0.135 | 5.1 | 0.221 | 2.6 |
| Mixture | 0.241 | 11.1 | 0.285 | 12.2 | 0.148 | 13.8 | 0.177 | 13.5 |
| Mixture | 0.230 | 27.0 | 0.251 | 36.6 | 0.144 | 31.6 | 0.152 | 34.1 |
| Mixture, tuned cap | 0.246 | 17.9 | 0.272 | 24.5 | 0.132 | 22.1 | 0.170 | 25.7 |
| Post-edit | 0.236 | – | 0.269 | – | 0.105 | – | 0.172 | – |
| vs. restricted cloud | +0.015 | −0.049* | +0.062* | −0.003 | ||||
| vs. local only | +0.056* | +0.074* | +0.008 | +0.065* | ||||
| vs. mixture | +0.046* | +0.043 | +0.015 | +0.063* | ||||
| vs. mixture, tuned cap | +0.030 | +0.022 | +0.027* | +0.046* | ||||
| ADLER vs. mixture | +0.024 | +0.016 | +0.009 | +0.045* | ||||
| vs. post-edit | +0.040 | +0.025 | +0.054* | +0.044* |
Table 1. Multi-hop QA test results (0.5B local, 7B cloud): F1 and mean nats spent per answer. Local-only and full upload ignore and repeat across views; private-draft SD uses the question-only view. Bottom: paired differences, * if the 95% interval excludes zero. Bold: ADLER best among methods keeping local.
RQ1 on Private Values. Table 2 shows that on GSM8K, ADLER brings both local models close to full upload. Number masking leaves the cloud with a problem it can reason about but rarely solve (restricted: 0.012), even though GSM8K is public. The local models see the numbers but reason poorly or ignore the answer format. Local-only thus scores far lower under the strict parser than under the lenient re-score, so the lenient comparison is conservative.
| Method | 0.5B local Strict | 0.5B local Lenient | 0.5B local Nats | 1.5B local Strict | 1.5B local Lenient | 1.5B local Nats |
| Restricted cloud | 0.012 | 0.024 | – | 0.012 | 0.024 | – |
| Local only | 0.106 | 0.410 | – | 0.083 | 0.670 | – |
| Post-edit | 0.136 | 0.357 | – | 0.210 | 0.578 | – |
| Program | 0.691 | 0.691 | – | 0.691 | 0.691 | – |
| ADLER | 0.012 | 0.024 | 16 | 0.024 | 0.036 | 16 |
| ADLER | 0.769 | 0.834 | 72 | 0.789 | 0.852 | 52 |
| Full upload | 0.870 | 0.918 | – | 0.870 | 0.918 | – |
Table 2. GSM8K with private numbers (300 test problems): strict (primary) and lenient exact match and mean nats spent per answer, for both local models. Bold: ADLER best among methods keeping local.
With the 0.5B model, the selected tilt (, ) reaches 0.769 strict and 0.834 lenient accuracy, 0.42 accuracy above local-only under the lenient score (95% CI 0.38 to 0.47). With the 1.5B model (), it reaches 0.789 and 0.852, 0.18 above local-only. Both end within 0.07 to 0.10 of full upload (0.870 / 0.918). The gap from amplifying
the small model’s evidence () is consistent with insufficient evidence weighting, as Proposition 4.3(b) predicts and the ablation in §6.4 confirms. Paired differences and significance for the 0.5B client are reported in Table 7 in the Appendix. The answer to the RQ1 is thus yes for private values with both local models, and for private documents only on HotpotQA.
| Method | Strict | Lenient | Nats | Req. |
| Restricted cloud | 0.012 | 0.024 | – | 59 |
| Local only | 0.106 | 0.410 | – | – |
| Full upload | 0.870 | 0.918 | – | 37 |
| Private-draft SD | 0.013 | 0.032 | – | – |
| ADLER | 0.013 | 0.026 | 4 | 59 |
| ADLER | 0.012 | 0.024 | 16 | 59 |
| ADLER | 0.769 | 0.834 | 72 | 52 |
| Evidence-only tilt | 0.390 | 0.423 | 43 | 58 |
| Mixture | 0.014 | 0.028 | 16 | 60 |
| Mixture | 0.100 | 0.411 | 159 | 70 |
| Mixture, tuned cap | 0.042 | 0.069 | 127 | 78 |
| Post-edit | 0.136 | 0.357 | – | 59 |
| Post-edit, placeholders | 0.088 | 0.243 | – | 59 |
| Program | 0.691 | 0.691 | – | 11 |
| Program, local fallback | 0.692 | 0.697 | – | 11 |
| vs. local only | +0.66∗ | +0.42∗ | ||
| vs. full upload | −0.10∗ | −0.08∗ | ||
| vs. mixture | +0.67∗ | +0.42∗ | ||
| vs. mixture, tuned cap | +0.73∗ | +0.77∗ | ||
| vs. post-edit | +0.63∗ | +0.48∗ | ||
| vs. program | +0.08∗ | +0.14∗ | ||
| vs. program, local fallback | +0.08∗ | +0.14∗ |
Table 7. GSM8K with private numbers (0.5B local, 7B cloud, 300 test problems, three seeds). Strict: official #### parser (primary). Lenient: re-score of the same outputs. Req.: requests made by our harness, which runs every cloud call through restart streaming; a deployed cloud-only call or program needs one (Table 8). Bottom: paired differences; ∗ marks a 95% interval that excludes zero. Bold: ADLER best among methods keeping local.
| Method | Asks for code Answer | Asks for code Beyond | Other Beyond | F1 | Bound |
| Restricted cloud | 0.00 | 0.00 | 0.00 | 0.25 | |
| Local only | 0.98 | 0.00 | 0.00 | 0.30 | |
| Full upload | 1.00 | 1.00 | 1.00 | 0.51 | – |
| Private-draft SD | 0.00 | 0.10 | 0.00 | 0.27 | – |
| ADLER | 0.00 | 0.00 | 0.00 | 0.25 | 0.34 |
| ADLER | 0.00 | 0.00 | 0.00 | 0.29 | 1.00 |
| ADLER | 0.96 | 0.00 | 0.00 | 0.30 | 1.00 |
| Evidence-only tilt | 0.46 | 0.00 | 0.00 | 0.26 | 1.00 |
| Mixture | 0.00 | 0.00 | 0.00 | 0.31 | 1.00 |
| Mixture | 0.96 | 0.00 | 0.00 | 0.32 | 1.00 |
Table 3. Table 3: Planted-secret audit (96 documents, 48 per question type). Answer: rate of the 6-digit code in the answer (local-only sends nothing to the cloud). Beyond: rate at which the full code reaches the cloud other than in the answer (uploaded context or drafts), an exposure indicator, not an information measure. F1: utility on the other questions. Bound: Theorem 4.4(iii) on guessing the code (: blind guess).
Leakage Audit and Budget
We next check what reaches the cloud and what the ledger costs.
Planted-Secret Audit. Table 3 checks Theorem 4.1 against the implementation. No answer-only configuration, at any budget and under either fusion rule, places the code in the cloud-received transcript beyond the answer (0/48 on both question types; one-sided 95% upper bound 6.1%). Re-deriving the client’s messages from , the answer and the cloud’s recorded replies alone, as in the proof, reproduces all 57,372 answer-only transcripts. Private-draft SD never emits the code, but exposes it to the cloud in 5/48 extraction sessions through its drafts, the leakage described by Proposition 3.1. Full upload exposes it in every document. The ledger binds. Local-only emits the code for 47/48 extraction questions and unbudgeted fusion for 46/48, but the tilt at and the mixture at never emit it. Bound (iii) is 0.34 at and vacuous at , so the zero there is an empirical observation, not a guarantee. On the other questions, the tilt scores 0.29 F1 at , against 0.25 for restricted and 0.30 for local-only; with 48 questions, neither difference is significant.
Ledger Cost. Table 2 shows that the ledger makes the cost of the GSM8K gain explicit. At , the tilt stays near the restricted cloud with both local models. Numeral tokens make up 16% of a tilted answer but carry 39% (0.5B) and 43% (1.5B) of the spend.
Where the Nats Go. Figure 4 shows that on QA, the spend has a heavy tail. The median answer under the tilt spends 10 nats, and two-thirds spend at most 16, so a budget of 16 nats changes F1 little. Every GSM8K answer exceeds 16 nats (10th percentile 48), so such budgets remove the benefit.
Figure 4. Ledger spend per answer for ADLER at (0.5B local).
Budget Choosing. A budget should follow from the inference risk the user accepts. For a secret uniform on values and a tolerated guessing probability , Theorem 4.4(iii) gives ; for a six-digit code this is 4 nats at but 0.006 nats at , so strong protection leaves the answer little room to use the secret. In our step-by-step GSM8K outputs the charge averages 52 to 72 nats; it bounds disclosure relative to the public reference rather than measuring what an individual answer reveals. Our short QA outputs incurred smaller charges. Table 1 shows that on MuSiQue with the question-only view, the tilt at still beats restricted significantly, by 0.061 with the 0.5B model and by 0.078 with 1.5B, retaining much of the unbudgeted improvement, so a cap of 16 nats keeps the QA benefit, though it is too loose to protect a short secret.
Comparison with Zero-Leakage Designs
ADLER buys its accuracy with ledger spend, so we also compare it with designs that disclose nothing beyond . Table 2 shows that on GSM8K, a cloud-written program, run by the client on the real numbers, is a strong alternative. It scores 0.691 under both strict and lenient scoring, and a local fallback for failed programs changes almost nothing (0.692). ADLER exceeds it by 0.078 with the 0.5B
Figure 5. GSM8K ablations (0.5B local, a single run): exact match and, dotted on the right axis, mean nats spent per answer. (a) Varying the evidence weight ( is the frozen choice). (b) Varying the per-answer budget ( is the restricted cloud).
client (95% CI 0.031 to 0.127) and by 0.098 with 1.5B (0.051 to 0.147), and by 0.14 and 0.16 under the lenient score. When run offline, the program discloses nothing beyond , whereas ADLER spends 72 and 52 nats for this margin, so a user who cannot accept that spend should prefer the program for arithmetic of this kind. Post-editing is much weaker. Table 2 shows it below local-only on GSM8K (0.357 against 0.410 lenient with 0.5B), and Table 1 shows it near the endpoints on QA.
Ablation Study
Evidence Weight. Table 4 changes one setting at a time against the main run. fig:5a varies the evidence weight and shows that accuracy is an inverted U in . At , the evidence is too weak to move the cloud off its placeholders (0.07). Frozen is best (0.75); loses a significant 0.09, and and 4 spend more nats (108 and 153 against 71) but score lower.
Table 4: One-factor ablations (0.5B local, 7B cloud, a single run). Each row changes one setting of the frozen configuration (GSM8K: , ; QA: , ; full reference, , , , ). Cells: level (paired difference from the control, * if its 95% interval excludes zero); QA pools the four panels of Table 1.
| Factor | Setting | Strict | Lenient | Nats | Req. | Down kB | F1 | Nats |
| Control | selected | 0.75 | 0.81 | 71 | 52 | 216 | 0.229 | 17.1 |
| Score | 0.07 (-0.69*) | 0.08 (-0.73*) | 13 | 61 | 253 | – | – | |
| Score | 0.66 (-0.09*) | 0.73 (-0.07*) | 57 | 54 | 224 | 0.25 (+0.02) | 5.2 | |
| Score | 0.67 (-0.08*) | 0.78 (-0.02) | 108 | 56 | 231 | – | – | |
| Score | 0.62 (-0.13*) | 0.72 (-0.09*) | 153 | 60 | 249 | – | – | |
| Reference | top- only | 0.75 (-0.00) | 0.82 (+0.02) | 70 | 52 | 214 | 0.23 (-0.00) | 14.0 |
| Clip | 0.62 (-0.13*) | 0.67 (-0.14*) | 81 | 57 | 237 | – | – | |
| Reply size | 0.72 (-0.03) | 0.76 (-0.05*) | 87 | 56 | 30 | – | – | |
| Reply size | 0.76 (+0.01) | 0.82 (+0.01) | 71 | 53 | 862 | – | – | |
| Lookahead | 0.75 (+0.00) | 0.81 (+0.00) | 71 | 292 | 151 | – | – | |
| Lookahead | 0.75 (+0.00) | 0.81 (+0.00) | 71 | 37 | 304 | – | – | |
| Budget | 0.06 (-0.69*) | 0.07 (-0.74*) | 32 | 57 | 235 | – | – | |
| Budget | 0.49 (-0.26*) | 0.53 (-0.28*) | 59 | 53 | 219 | – | – | |
| Fusion rule | mixture, full ref. | 0.09 (-0.66*) | 0.39 (-0.42*) | 168 | 72 | 296 | 0.18 (-0.05*) | 42.4 |
Table 4. One-factor ablations (0.5B local, 7B cloud, a single run).
Budget. fig:5b varies the per-answer budget and shows that accuracy rises steeply only at large budgets. On GSM8K, 16 nats buy nothing (0.013), 32 nats little (0.060), and 64 nats about two-thirds of the gain, 0.490 against 0.753 unbudgeted.
Reference and Clip. Table 4 shows that restricting the reference to the cloud’s top-64 tokens changes accuracy by under 0.01 on GSM8K and QA; a tighter clip () costs 0.13, likely the cause of the evidence-only deficit.
Fusion Rule. Table 4 shows that with the tilt’s full reference, the mixture still reaches only 0.09 on GSM8K at 168 nats, against 0.75 at 71 nats for the tilt.
Reply Size and Lookahead. Table 4 shows that with , replies shrink sevenfold (30 against 216 kB) at a cost of 0.03 strict (not significant) and 0.05 lenient accuracy; adds nothing. Lookahead changes only the cost. With and , all 300 answers are token-identical to the control, while requests fall from 292 to 37. A trace-based cost model at a 100 ms round trip and 10 Mbit/s puts communication per GSM8K answer at 29.6 s for , the edge-side pattern, versus 4 s for , excluding computation; more details can be found in Appendix C.
Related Work
Speculative and Collaborative Decoding. Speculative sampling is exact for its target for any proposal [3, 16]. Distributed, cascaded and lossy variants optimise placement, deferral or speed [2, 14, 22, 23, 34, 35]. SpecSteer [20] and AsymSpec [18] let a full-context small model steer a restricted large model; neither analyses what the transcript discloses, which Propositions 3.1–3.2 address. Acceptance patterns also form a side channel [31].
Private LLM Inference. Prompt sanitisers [10, 29] and anonymise-then-restore pipelines such as HaSa [4], which our post-edit design adapts, restore a masked answer on the client. CoGenesis [?] uploads local signals. CoVeil [?] reduces exposure empirically without a formal bound; its edge-side message pattern matches restart streaming at , as Table 6 details. DP-Fusion [28] and PMixED [11] bound the divergence of a single party’s mixed output; ADLER extends this to a two-party Web protocol. Cryptographic and DP-in-forward methods are complementary [8, 15, 17].
| Design | Cloud receives beyond | Trips | Bound |
| Private-draft SD (SpecSteer, AsymSpec [18, 20]) | every draft, rejected ones too | per block | none |
| Logit upload [36]; CoVeil cloud-side [37] | local signals at every step | per token | none |
| CoVeil edge-side [37] | the answer | per token | none |
| DP-Fusion [28] | single party: the model reads | – | Rényi, on the output |
| Post-edit (HaS [4]) | nothing | one | zero leakage |
| Program (PAL [12]) | nothing | one | zero, if run offline |
| ADLER | the answer | per restart | answer-only; Rényi ledger |
Table 6. What the cloud receives in related designs. Trips: cloud round trips per answer. Bound: formal guarantee on what the cloud learns about .
Conclusion
Decoding messages can reveal more than the answer. ADLER makes every message to a Web API a function of the public view and the answer and bounds what the answer itself reveals. Unbudgeted, it brings a small client close to full upload on private values and ahead of a zero-leakage program; strong budgets forfeit most of it.
Limitations. ADLER protects message content. Timing can depend on local compute over , which we do not address. is disclosed by design, and our bounds take as given. The KL guarantee is average-case and weaker than pure DP; Rényi orders give tail bounds at a utility cost. The program baseline requires computation over masked values, which is absent in our QA tasks. Our public views are rule-based and network times are modelled.
Future Work. This includes zero-leakage baselines for document tasks, learned public views and a live Web API deployment.
No personal data was used.
References
Proofs
Proof of Proposition 3.1. Take any prior on , a fixed public view , a one-token answer and three distinct tokens , , . Let the local model draft deterministically, , and let the restricted cloud be . The client sends the draft . The cloud accepts it with probability and samples the correction from the residual, which is proportional to . Hence for every , so the output law is exactly and is independent of . The transcript contains the draft , which determines , so . As is constant, .
Proof of Proposition 3.2. Under the reference, , so every draft is accepted. Under , and , so the rejection probability is
The event has reference probability and positive probability under , so the divergence of the law of is for all ; for the additive bound, couple the two processes on the event that no rejection occurs and apply a union bound over positions. The residual is supported on , while a draft is rejected only if , so a rejected draft is never emitted, and acceptance equals .
Proof of Theorem 4.1. The cloud’s -th reply is a function of , and the client messages so far. The client’s -th message is the prefix , where is the first position after the previous prefix at which differs from the streamed token or the lookahead ends. Given , this recursion determines every message.
Proof of Lemma 4.2. With , , which must equal . Maximal coupling accepts with probability .
The ledger’s bisection and Proposition 4.3(a) rest on the following lemma.
Lemma A.1 (Monotone charge). For , is non-decreasing in ; for it is strictly increasing when is not constant on the support of . The linear mixture satisfies the same, non-strictly.
Proof of Lemma A.1. Write for and , so that , and . For , , whose derivative is non-negative, and positive for unless is constant on the support of . For , , so , whose derivative is non-negative because is convex and . For the mixture and , the function is convex, as a sum of convex functions of an affine argument, with ; hence , and with it , is non-decreasing on . For , is convex in and zero at . The Rényi divergence itself need not be convex in , but monotonicity suffices for the bisection.
Proof of Proposition 4.3. (a) By Lemma A.1, is continuous and strictly increasing on , from to , so exactly one attains each in this range. For any , , and for this gives . If , then , with equality iff ; for , only is feasible. (b) With and , , so . With and , , and by definition. (d) The mixture is at , whatever the relation between the two models, so unlike the tilt, it does not in general recover under the condition of part (b); it does so only when happens to equal .
Proof of Theorem 4.4. By Theorem 4.1, . Fix and the cloud’s random tape , and write and for the laws of under and under the reference. Both are autoregressive with kernels and , where is computed from the cloud’s replies and is therefore the same function of under both processes. For , the chain rule gives , because the ledger enforces the sum on every path. For , let and . Each charge is fixed before is drawn, and , so is a -martingale with . As the charges sum to at most on every path, , that is, . Because is independent of given , it has the same law under both processes; averaging over (KL), or averaging over (), bounds the divergence of the joint laws of by , and data processing transfers the bound to .
The reference law depends on and the cloud’s strategy but not on . For (i), , where is the mixture over the prior; the first inequality holds because the mixture minimises the average divergence. For (ii), Pinsker’s inequality gives for every , and the triangle inequality gives . For (iii), with uniform given , let . Data processing gives for each . Averaging over the uniform with joint convexity, and using , gives . At and , this gives , the bound quoted in Table 3.
The implementation passes exact-enumeration tests of the sequence-level KL and Rényi-2 bounds, of Theorem 4.1, and of Proposition 4.3.
Reproducibility
Settings
BF16 weights and deterministic PyTorch kernels. Outputs are capped at the official LongBench limit (32 tokens) for QA and at 512 tokens for GSM8K. The three test runs differ only in their random state, and the audit and the ablations reuse the first run’s. Each answer’s random state is derived from its run and its question, so all methods see the same randomness on a question.
| 2WikiMQA / question Score | 2WikiMQA / question Nats | 2WikiMQA / BM25 Score | 2WikiMQA / BM25 Nats | MuSiQue / question Score | MuSiQue / question Nats | MuSiQue / BM25 Score | MuSiQue / BM25 Nats | |
| Restricted cloud | 0.262 | – | 0.343 | – | 0.097 | – | 0.218 | – |
| Local only | 0.348 | – | 0.348 | – | 0.185 | – | 0.185 | – |
| Full upload | 0.428 | – | 0.428 | – | 0.354 | – | 0.354 | – |
| Private-draft SD | 0.259 | – | – | – | 0.115 | – | – | – |
| ADLER | 0.272 | 2.5 | 0.329 | 2.1 | 0.133 | 3.6 | 0.219 | 2.8 |
| ADLER | 0.298 | 7.3 | 0.311 | 5.5 | 0.175 | 11.1 | 0.217 | 7.6 |
| ADLER | 0.315 | 14.1 | 0.318 | 11.0 | 0.195 | 18.9 | 0.229 | 12.1 |
| Evidence-only tilt | 0.299 | 5.1 | 0.332 | 1.8 | 0.143 | 7.6 | 0.230 | 2.8 |
| Mixture | 0.309 | 9.2 | 0.316 | 9.1 | 0.140 | 12.8 | 0.174 | 11.2 |
| Mixture | 0.321 | 17.6 | 0.322 | 17.7 | 0.143 | 27.3 | 0.172 | 21.9 |
| Post-edit | 0.312 | – | 0.343 | – | 0.204 | – | 0.218 | – |
| vs. restricted cloud | +0.054* | −0.025 | +0.098* | +0.011 | ||||
| vs. local only | −0.033 | −0.030 | +0.009 | +0.043 | ||||
| vs. mixture | −0.005 | −0.004 | +0.052* | +0.056* | ||||
| ADLER vs. mixture | −0.011 | −0.005 | +0.035* | +0.043* | ||||
| vs. post-edit | +0.004 | −0.025 | −0.010 | +0.011 |
Table 5. Multi-hop QA test results with the second model pair (1.5B local, 7B cloud, three seeds): F1 and mean nats spent per answer. Local-only and full upload ignore and repeat across views; private-draft SD uses the question-only view. Bottom: paired differences, * if the 95% interval excludes zero. Bold: ADLER best among methods keeping local.
The ledger uses (KL), , and 40 bisection steps; private-draft SD uses blocks of . Each audit document gains the passage “name’s private account code is code.” at a random position; even-indexed documents ask for the code.
Prompts and Scoring
QA uses the official LongBench prompt and F1. GSM8K asks for a step-by-step solution ending with “#### answer”; masking replaces numerals and number words with [], [], . . . The lenient re-score takes, in order, ####, \boxed{}, “answer is” and the last number in the output. Post-edit gives the local model the task prompt with , followed by the cloud’s draft introduced as coming from an assistant that could not see the numbers (GSM8K) or the passages (QA). The program baseline’s prompt shows the masked problem, states that [] stands for the -th number or number word, and asks for def solve(N1, . . . , Nk): returning the final answer, as code only; the client runs it in a separate Python process with a 5 s limit. Generation uses the same random states, temperature and 512-token cap as the other methods. The original runs did not block network access, so we re-executed all 3,600 recorded programs in a network namespace with no network access; every answer was unchanged, so the reported accuracy holds offline. Of the 900 test programs (0.5B pair), 20 raised an error, none timed out, and 258 ran but returned a wrong answer.
Additional Results
Second Model Pair and HotpotQA
With the 1.5B local model (Table 5), local-only is a much stronger QA baseline (2WikiMQA 0.348, MuSiQue 0.185). The tilt beats restricted on the question-only views by 0.054 on 2WikiMQA and 0.098 on MuSiQue, and does not differ significantly from local-only. On HotpotQA, the question-only view’s 0.5B tilt scores 0.382 vs. 0.300 for restricted and 0.266 for local-only; both differences are significant. With BM25, it does not differ significantly from restricted (0.432 vs. 0.452).
Trace-based Network Cost Model
Table 8 applies to the recorded traces, where is the number of cloud requests, and the upload and download bytes (4-byte token ids; 4 + 8K bytes per streamed position) and the capacity of a symmetric link. The model charges every request as stateless, re-sending the prompt and the answer prefix, so it overestimates transmission relative to our server-side session. Compute is excluded, as it depends on the device and the serving stack, and transfer is assumed not to overlap with streaming. Lookahead leaves the tokens unchanged, so the row is computed from the tilt’s own answers. Round trips dominate; at 10 Mbit/s, bytes add under half a second in every row. At 100 ms, the GSM8K saving of over is 29.2 to 5.2 s at 100 Mbit/s and 33.7 to 7.5 s at 1 Mbit/s (QA: 1.08 to 0.37 and 1.55 to 0.63 s).
| Design | Req. | \multicolumn{2}{c}{kB} | \multicolumn{3}{c}{Round trip (ms)} | |||
| Up | Down | 20 | 100 | 200 | ||
| QA | ||||||
| Plain call, restricted | 1.0 | 4.8 | <0.1 | 0.02 | 0.10 | 0.20 |
| Plain call, full upload | 1.0 | 48.1 | <0.1 | 0.06 | 0.14 | 0.24 |
| One token per request () | 10.7 | 54.1 | 5.5 | 0.26 | 1.12 | 2.19 |
| ADLER () | 3.7 | 17.3 | 15.0 | 0.10 | 0.40 | 0.77 |
| GSM8K | ||||||
| Plain call, restricted | 1.0 | 0.8 | 1.5 | 0.02 | 0.10 | 0.20 |
| Plain call, full upload | 1.0 | 0.6 | 1.0 | 0.02 | 0.10 | 0.20 |
| One token per request () | 291.6 | 412.2 | 150.5 | 6.28 | 29.61 | 58.77 |
| ADLER () | 52.0 | 73.6 | 214.8 | 1.27 | 5.43 | 10.64 |
| ADLER () | 36.9 | 52.2 | 304.4 | 1.02 | 3.97 | 7.66 |
| Program, one call | 1.0 | 0.8 | 0.3 | 0.02 | 0.10 | 0.20 |
Table 8. Trace-based network cost per answer (0.5B local, ): cloud requests, upload and download kB, and communication time in seconds at three round-trip times over a 10 Mbit/s link (Appendix § 12): modelled, not measured, with a compact binary encoding and sequential transfer; compute excluded. Plain calls and the program are single cloud-only API requests. has the message pattern of edge-side fusion [37], here with top- replies. was run on GSM8K only.
Protocol Cost
Full upload needs 37 requests per GSM8K answer against 59 for the restricted cloud (both streamed by our harness), because its answers are shorter (254 against 386 tokens). Prefix caching keeps the cloud’s work flat: per GSM8K answer, it processes 536 tokens for the tilt and 594 for the restricted cloud (QA: 1,217 and 1,202). Restarts waste 44% (restricted) and 62% (tilt) of streamed QA positions, mostly because QA answers end before the 8-token lookahead is used up; on GSM8K, the waste is 19% and 30%.
Figure 7 compares the fusion methods with the restricted cloud under four public views. The tilt gains most where carries least evidence (0.06 above restricted on MuSiQue with the question only); the evidence-only variant is the only method that helps significantly under entity masking on MuSiQue, by 0.046.
Figure 7. F1 gain over the restricted cloud by public view (0.5B local, 7B cloud). ∗: the 95% question-bootstrap interval excludes zero.
Score Selection on Validation Data
Figure 6 shows every candidate the selection saw; the highest validation score per model pair and task family wins (no ties occurred). The evidence term wins on GSM8K, and geometric pooling on QA, and the 1.5B model prefers to , consistent with Proposition 4.3(b). The mixture’s weight cap was chosen the same way, from with ties to the smaller cap (0.5B, a single run): QA F1 0.195, 0.199, 0.202, 0.180 and GSM8K exact match 0.00, 0.14, 0.10, 0.14, against 0.243 and 0.86 for the selected tilt.
Figure 6. Validation scores of the score selection for the five declared candidates and the endpoints (a single run; 50 GSM8K training problems, 50 questions each from the 2WikiMQA and MuSiQue validation splits). Red: the frozen choice. GSM8K uses the strict parser, which also explains the low local-only scores.
References
- [1]Yushi Bai, Xin Lv, Jiajie Zhang, Hongchang Lyu, Jiankai Tang, Zhidian Huang, Zhengxiao Du, Xiao Liu, Aohan Zeng, Lei Hou, Yuxiao Dong, Jie Tang, and Juanzi Li. 2024. LongBench: A Bilingual, Multitask Benchmark for Long Context Understanding. In Proceedings of the 62nd annual meeting of the association for computational linguistics (volume 1: Long papers). 3119–3137. doi:10.18653/v1/2024.acl-long.172DOI
- [2]Payel Bhattacharjee, Fengwei Tian, Meiyu Zhong, Guangyi Zhang, Osvaldo Simeone, and Ravi Tandon. 2025. Conformal Sparsification for Bandwidth-Efficient Edge-Cloud Speculative Decoding. arXiv:2510.09942 [cs.LG] https://arxiv.org/abs/2510.09942
- [3]Charlie Chen, Sebastian Borgeaud, Geoffrey Irving, Jean-Baptiste Lespiau, Laurent Sifre, and John Jumper. 2023. Accelerating Large Language Model Decoding with Speculative Sampling. arXiv:2302.01318 [cs.CL] https://arxiv.org/abs/2302.01318
- [4]Yu Chen, Tingxin Li, Huiming Liu, and Yang Yu. 2023. Hide and Seek (HaS): A Lightweight Framework for Prompt Privacy Protection. arXiv:2309.03057 [cs.CR] https://arxiv.org/abs/2309.03057
- [5]Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reiiichiro Nakano, Christopher Hesse, and John Schulman. 2021. Training Verifiers to Solve Math Word Problems. arXiv:2110.14168 [cs.LG] https://arxiv.org/abs/2110.14168
- [6]Thomas M. Cover and Joy A. Thomas. 2006. Elements of Information Theory (2nd ed.). Wiley.
- [7]Imre Csiszár. 1975. I-Divergence Geometry of Probability Distributions and Minimization Problems. The Annals of Probability 3, 1 (1975), 146–158. doi:10.1214/aop/1176996454DOI
- [8]Manish Du, Xiang Xue, Sherman S. M. Chow, Tianhao Wang, Chenyu Huang, and Huan Sun. 2023. DP-Forward: Fine-tuning and Inference on Language Models with Differential Privacy in Forward Pass. In Proceedings of the 2023 ACM SIGSAC Conference on Computer and Communications Security. Association for Computing Machinery, 2665–2679. doi:10.1145/3576915.3616592
- [9]Vitaly Feldman and Tijana Zrnic. 2021. Individual Privacy Accounting via a Rényi Filter. In Advances in Neural Information Processing Systems, Vol. 34. 28080–28091.arxiv.org/abs/2008.11193
- [10]Oluwaseyi Feyisetan, Borja Balle, Thomas Drake, and Tom Diethe. 2020. Privacy- and Utility-Preserving Textual Analysis via Calibrated Multivariate Perturbations. In Proceedings of the 13th international conference on web search and data mining. 178–186. doi:10.1145/3336191.3371856
- [11]James Flemings, Meisam Razaviyayn, and Murali Annavaram. 2024. Differentially private next-token prediction of large language models. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers). 4390–4404.
- [12]Hanming Gao, Aman Madaan, Shuyan Zhou, Uri Alon, Pengfei Liu, Yiming Yang, Jamie Callan, and Graham Neubig. 2023. PAL: Program-aided Language Models. In Proceedings of the 40th International Conference on Machine Learning (Proceedings of Machine Learning Research, Vol. 202). PMLR, 10764–10799.arxiv.org/abs/2211.10435
- [13]Xanh Ho, Anh-Khoa Luong Nguyen, Saku Sugawara, and Akiko Aizawa. 2020. Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Steps. In Proceedings of the 28th International Conference on Computational Linguistics. 6609–6625. doi:10.18653/v1/2020.coling-main.580DOI
- [14]Maximilian Holsman, Yukun Huang, and Bhuwan Dhingra. 2025. Fuzzy Speculative Decoding for a Tunable Accuracy-Runtime Tradeoff. In Findings of the Association for Computational Linguistics: ACL 2025. Association for Computational Linguistics, 26257–26273. doi:10.18653/v1/2025.findings-acl.1346
- [15]Andes Y. L. Kei and Sherman S. M. Chow. 2025. SHAFT: Secure, Handy, Accurate, and Fast Transformer Inference. In Network and Distributed System Security Symposium. Internet Society. https://www.ndss-symposium.org/ndss-paper/shaft-secure-handy-accurate-and-fast-transformer-inference/DOI
- [16]Yaniv Leviathan, Matan Kalman, and Yossi Matias. 2023. Fast inference from transformers via speculative decoding. In International Conference on Machine Learning, Vol. 202. PMLR, 19274–19286. https://proceedings.mlr.press/v202/leviathan23a.htmlarxiv.org/abs/2211.17192
- [17]Zhengyi Li, Yue Guan, Kang Yang, Yu Feng, Ning Liu, Yu Yu, Jingwen Leng, and Minyi Guo. 2025. An Efficient Private GPT Never Autoregressively Decodes. In Proceedings of the 42nd International Conference on Machine Learning (Proceedings of Machine Learning Research, Vol. 267). PMLR, 34410–34428. https://proceedings.mlr.press/v267/li25q.htmlarxiv.org/abs/2505.15252
- [18]Sheng Liang, Yongyue Zhang, Nathanael Brian, Hang Lv, Hao Wang, Chen Zhang, and Yong Liu. 2026. AsymSpec: Context-Asymmetric Speculative Decoding for Efficient LLMs. arXiv:2608.26004 https://arxiv.org/abs/2608.26004
- [19]Alisa Liu, XiaoChuang Han, Yizhong Wang, Yulia Tsvetkov, Yejin Choi, and Noah A. Smith. 2024. Tuning Language Models by Proxy. In Conference on Language Modeling. https://arxiv.org/abs/2401.08565
- [20]Hang Lv, Sheng Jiang, Hao Wang, Yongyue Zhang, Hongchao Gu, Wei Guo, Defu Lian, Yong Liu, and Enhong Chen. 2026. SpecSteer: Synergizing Local Context and Global Reasoning for Efficient Personalized Generation. arXiv:2603.16219 [cs.CL] https://arxiv.org/abs/2603.16219
- [21]Ilya Mironov. 2017. Rényi Differential Privacy. In IEEE 30th Computer Security Foundations Symposium (CSF). 263–275. doi:10.1109/CSF.2017.11DOI
- [22]Harikrishna Narasimham, Vittawat Jitkrittum, Ankit Singh Rawat, Seungyeon Kim, Neha Gupta, Aditya Krishna Menon, and Sanjiv Kumar. 2025. Faster Cascades via Speculative Decoding. In The Thirteenth International Conference on Learning Representations. https://proceedings.iclr.cc/paper_files/paper/2025/hash/6f4316f50f26e8d3f3edc5545b0749f-Abstract-Conference.html
- [23]Jiahong Ning, Ce Zheng, and Tingting Yang. 2025. DSSDD: Efficient Edge-Device LLM Deployment and Collaborative Inference via Distributed Split Speculative Decoding. In ICML 2025 Workshop on Machine Learning for Wireless Communication and Networks (ML4Wireless). https://arxiv.org/abs/2507.12000
- [24]Stephen Robertson and Hugo Zaragoza. 2009. The Probabilistic Relevance Framework: BM25 and Beyond. Foundations and Trends in Information Retrieval 3, 4 (2009), 333–389. doi:10.1561/1500000019DOI
- [25]Stephen E. Robertson, Steve Walker, Susan Jones, Micheline M. Hancock-Beaulieu, and Mike Gatford. 1994. Okapi at TREC-3. In Proceedings of the Third Text REtrieval Conference (TREC-3) (NIST Special Publication, Vol. 500-225). National Institute of Standards and Technology, Gaithersburg, MD, USA, 109–126.
- [26]Weijia Shi, Xiaochuang Han, Mike Lewis, Yulia Tsvetkov, Luke Zettlemoyer, and Wen-tau Yih. 2024. Hallucinate less with context-aware decoding. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 2: Short Papers). 783–791.arxiv.org/abs/2305.14739
- [27]Nandan Thakur, Nils Reimers, Andreas Rücklé, Abhishek Srivastava, and Iryna Gurevych. 2021. BEIR: A Heterogeneous Benchmark for Zero-shot Evaluation of Information Retrieval Models. In Proceedings of the Neural Information Processing Systems Track on Datasets and Benchmarks, Vol. 1. https://datasets-benchmarks-proceedings.neurips.cc/paper/2021/hash/65b9eea6e1cc6bb9f0cd2a47751a186f-Abstract-round2.html
- [28]Rushil Thareja, Preslav Nakov, Praneeth Vepakomma, and Nils Lukaku. 2026. DP-fusion: Token-level differentially private inference for large language models. In International Conference on Learning Representations, Vol. 2026. 151088–151120.arxiv.org/abs/2507.04531
- [29]Meng Tong, Kejiang Chen, Jie Zhang, Yuanqi Qi, Weiming Zhang, Nenghai Yu, Tianwei Zhang, and Zhikun Zhang. 2025. Inferdp: Privacy-preserving inference for closed-box large language models. IEEE Transactions on Dependable and Secure Computing 22, 5 (2025), 4625–4640.
- [30]Harsh Trivedi, Niranjan Balasubramanian, Tushar Khot, and Ashish Sabharwal. 2022. MuSiQue: Multihop Questions via Single-hop Question Composition. Transactions of the Association for Computational Linguistics 10 (2022), 539–554. doi:10.1162/tacl_a_00475DOI
- [31]Jiankun Wei, Abdulrahman Abdulrazzag, Tianchen Zhang, Adel Muurssepp, and Gururaj Saileshwar. 2026. When Speculation Spills Secrets: Side Channels via Speculative Decoding in LLMs. arXiv:2411.01076 [cs.CL] https://arxiv.org/abs/2411.01076
- [32]An Yang et al. 2024. Qwen2.5 Technical Report. arXiv:2412.15115 https://arxiv.org/abs/2412.15115
- [33]Zhilin Yang, Peng Qi, Saizheng Zhang, Yoshua Bengio, William W. Cohen, Ruslan Salakhutdinov, and Christopher D. Manning. 2018. HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answering. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing. 2369–2380. doi:10.18653/v1/D18-1259DOI
- [34]Ming Yin, Minsun Chen, Kaixuan Huang, and Mengdi Wang. 2024. A Theoretical Perspective for Speculative Decoding Algorithm. In Advances in Neural Information Processing Systems, Vol. 37. https://proceedings.neurips.cc/paper_files/paper/2024/hash/e734e9785900b93d8b4971a3f2c1cefe-Abstract-Conference.htmlarxiv.org/abs/2411.00841
- [35]Fengze Yu, Leshu Li, Brad McDanel, and Sai Qian Zhang. 2025. DSD: A Distributed Speculative Decoding Solution for Edge-Cloud Agile Large Model Serving. arXiv:2511.21669 [cs.LG] https://arxiv.org/abs/2511.21669





