arXiv:2610.38126cs.CROct 2026

Manuscript Offprint

arXiv:2610.38126

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

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

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Liang Yuan ®^{\textregistered}

liang.yuan@acu.edu.au

Australian Catholic University

North Sydney, NSW, Australia

Xiaohu Du

Ant Group

China

Ruikun Luo

University of Macau

Macau, China

Jinze Wang

Swinburne University of Technology

Melbourne, VIC, Australia

Mashud Rana

Australian Catholic University

North Sydney, NSW, Australia

Jingwen Zhou

University of Western Sydney

Sydney, Australia

Bo Li

Victoria University

Melbourne, Australia

Kaibin Wang

Anhui Polytechnic University

Anhui, China

Xiaoyu Xia

RMIT University

Melbourne, Australia

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.

References (20)