Static Bootstrap Placement for Encrypted Language Model Decoding
New in Synthetic data and self-improvement for LLMs; no direction yet. Synthetic data and self-improvement for LLMs
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 19 of its 63 references that are in the map. First posted on arXiv 4 Oct 2026.
Builds on
19 of 63 references.
References · 19
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023Mistral 7Bcited by 3,164
- 2023PUMA: Secure Inference of LLaMA-7B in Five Minutescited by 48
- 2024Encryption-Friendly LLM Architecturecited by 17
- 2023Orion: A Fully Homomorphic Encryption Framework for Deep Learningcited by 15
- 2022ARK: Fully Homomorphic Encryption Accelerator with Runtime Data Generation and Inter-Operation Key Reusecited by 12
- 2022Private and Reliable Neural Network Inferencecited by 7
- 2024Cheddar: A Swift Fully Homomorphic Encryption Library Designed for GPU Architecturescited by 5
- 2025HEIR: A Universal Compiler for Homomorphic Encryptioncited by 5
- 2025Efficient Decoding Methods for Language Models on Encrypted Datacited by 5
- 2026Cachemir: Fully Homomorphic Encrypted Inference of Generative Large Language Model with KV Cachecited by 5
- 2025FIDESlib: A Fully-Fledged Open-Source FHE Library for Efficient CKKS on GPUscited by 4
7 more
- 2025A Scalable Multi-GPU Framework for Encrypted Large-Model Inferencecited by 3
- 2025An Efficient Private GPT Never Autoregressively Decodescited by 2
- 2025HE-LRM: Encrypted Deep Learning Recommendation Models using Fully Homomorphic Encryptioncited by 2
- 2026Scaling up FHE-based Privacy-Preserving ML: Higher Throughput, Longer Inputs for LLama-3-8Bcited by 2
- 2020Encrypted control for networked systems -- An illustrative introduction and current challengescited by 1
- 2025Traveling Salesman-Based Token Ordering Improves Stability in Homomorphically Encrypted Language Modelscited by 1
- 2026ROSETTA: Efficient and Accurate Privacy-Preserving LLM Decoding via Hybrid CKKS/TFHE Evaluationcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026HEAT: Faster Fully Homomorphic Inference via Approximations-Weights Co-Adaptation
- 2026HE-Guardrail: A Homomorphic Guardrail Against Jailbreak Attacks for Encrypted Large Language Model Inference
- 2024Bootstrap Your Own Context Length
- 2026Secure Speculative Decoding for Large Language Models
- 2025TokenSwift: Lossless Acceleration of Ultra Long Sequence Generation
- 2023SkipDecode: Autoregressive Skip Decoding with Batching and Caching for Efficient LLM Inference
- 2025Set Block Decoding is a Language Model Inference Accelerator
- 2026HARISSA: Inference-Time Self-Checks for Efficient and Safe Local Language Model Deployment