Metraipolis › archive › dc_e91e46420a12

Static Bootstrap Placement for Encrypted Language Model Decoding — arXiv:2610.04912

Source
arXiv
Original
https://arxiv.org/abs/2610.04912
License (as archived)
CC0-1.0
Archived
2026-10-06T05:29:07.100Z
SHA-256 of the archived text
32c425fce70882b7c70aed9534191a7f91dbe9bab5e6b402d14a6f1462d74f41
Stable URL of this page
https://metraipolis.com/documento/dc_e91e46420a12

How to cite

Static Bootstrap Placement for Encrypted Language Model Decoding — arXiv:2610.04912 — arXiv, https://arxiv.org/abs/2610.04912 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_e91e46420a12 (Metraipolis archive dc_e91e46420a12, sha256 32c425fce70882b7c70aed9534191a7f91dbe9bab5e6b402d14a6f1462d74f41)
BibTeX
@misc{dce91e46420a12,
  title = {Static Bootstrap Placement for Encrypted Language Model Decoding — arXiv:2610.04912},
  howpublished = {arXiv},
  url = {https://arxiv.org/abs/2610.04912},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_e91e46420a12; sha256 32c425fce70882b7c70aed9534191a7f91dbe9bab5e6b402d14a6f1462d74f41},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv, https://arxiv.org/abs/2610.04912. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Language models increasingly serve prompts that carry private data, and secure inference under homomorphic encryption lets a client outsource the computation without revealing the prompt. Existing secure inference systems run a forward pass without consuming a token under encryption, and generating text with them requires a client round trip at every generated token. Keeping the loop on the server instead requires selecting and consuming a token under encryption, and placing bootstraps for a loop body that grows with the context. We build AR-HE, which runs the whole loop on the server, selects each token under encryption, retrieves its embedding, and writes it back into the encrypted state. The client sends one prompt and remains offline until the output. One rule places every bootstrap in the run, without search, so the bootstrap cost of a token is a formula in the context length that is known before the run starts. The schedule skips work whose result cannot reach the output, packs bootstraps that share an operand, and keeps the keys and values of past positions in an encrypted cache. With every optimization applied, generating a GPT-2 small token costs 544 seconds on one NVIDIA H100, down from 4715 seconds without optimization. The prompt step before it costs 4630 seconds. The cache alone takes a generated step from 11751 bootstraps to 1072. The formula predicts every step we measured, including steps of a model it was not derived from.

Tema degli esploratori: calcolo e infrastrutture (elenco arXiv cs.DC, nuovi lavori del giorno).
Categorie arXiv: Cryptography and Security (cs.CR) ; Distributed, Parallel, and Cluster Computing (cs.DC); Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2610.04912 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-06T05:24:35.333Z dalla pagina https://arxiv.org/list/cs.DC/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).