# Answer-Only Disclosure: Private-Context LLM Assistance over Web APIs with a Leakage Ledger

DevFeed: [Answer-Only Disclosure: Private-Context LLM Assistance over Web APIs with a Leakage Ledger](<https://devfeed.tech/articles/answer-only-disclosure-private-context-llm-assistance-over-web-apis-with-a-leakage-ledger-108027.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.38126>)

Author: Liang Yuan, Xiaohu Du, Ruikun Luo, Jinze Wang, Mashud Rana, Kaibin Wang, Jiangwen Zhou, Bo Li, Xiaoyu Xia

Published: 2026-10-30T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>)

Tags: [about](<https://devfeed.tech/tags/about.md>), [abstract](<https://devfeed.tech/tags/abstract.md>), [also](<https://devfeed.tech/tags/also.md>), [api](<https://devfeed.tech/tags/api.md>), [apis](<https://devfeed.tech/tags/apis.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [audit](<https://devfeed.tech/tags/audit.md>), [budget](<https://devfeed.tech/tags/budget.md>), [but](<https://devfeed.tech/tags/but.md>), [can](<https://devfeed.tech/tags/can.md>), [client](<https://devfeed.tech/tags/client.md>), [context](<https://devfeed.tech/tags/context.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [disclosure](<https://devfeed.tech/tags/disclosure.md>), [ledger](<https://devfeed.tech/tags/ledger.md>), [llm](<https://devfeed.tech/tags/llm.md>), [over](<https://devfeed.tech/tags/over.md>), [private](<https://devfeed.tech/tags/private.md>), [web](<https://devfeed.tech/tags/web.md>), [web-apis](<https://devfeed.tech/tags/web-apis.md>), [with](<https://devfeed.tech/tags/with.md>)

## AI overview

Collaborative decoding can leak private content through cloud-bound messages even when that content appears in neither the approved public input nor the final answer: the abstract reports that speculative decoding sent a planted secret in rejected drafts. ADLER constrains every cloud message to depend only on the public view and the answer shown to the user; a client-side leakage ledger bounds disclosure through that answer against a public reference process. In the audit, no ADLER configuration exposed the secret beyond the answer. On GSM8K with numbers masked from the cloud, unlimited-budget ADLER raised exact-match accuracy from 0.41 to 0.83 for a 0.5B client and 0.67 to 0.85 for a 1.5B client, approaching 0.92 from uploading the full problem and exceeding the 0.69 zero-leakage program baseline. Budgets of 16 nats or less left accuracy near the cloud-only baseline. The reported accuracy uses lenient answer parsing.

## Source excerpt

arXiv:2610.38126v1 Announce Type: cross 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.