Perseus runs encrypted LLM inference within 3% of plaintext accuracy
Perseus provides latency and near-plaintext accuracy for fully homomorphic encrypted model inference
AI/ML arXiv 3 Nov 2026 Method Prototype evidence
Published as “Perseus: A Full-Stack System for Homomorphic Model Inference”
Why it matters
The library makes encrypted inference of modern LLMs and vision models substantially faster, opening the door to practical privacy-preserving AI services.
Summary
Perseus achieves up to 3.96× lower latency for Llama-3-8B decoding and 41× faster GPT-2 inference compared to the best prior open implementations, while preserving model quality (perplexity 7.77 vs 7.76, normalized accuracy 100%). The evidence is strong: the paper reports end-to-end latency on four real models (LLM, GPT-2, ViT, BERT) on a single RTX PRO 6000 GPU and directly compares against published baselines. However, even the fastest Llama-3-8B prefill still takes 54.8 s, and ViT accuracy drops to 96.9%, indicating practical limits remain.
What they found 3
- Perseus reduces Llama-3-8B decode latency by 3.96× versus the fastest known implementation.
“Perseus reduces latency by 3.96× with respect to the fastest known implementation (i.e. Sylph [4], running on roughly the same hardware, but on the closed-source HEaaN [9]).”
- Perseus achieves 100% normalized accuracy on GPT-2-small prefill over 64 held-out prompts.
“In prefill, normalized accuracy is 100% over 64 held-out prompts.”
- Encrypted perplexity for Llama-3-8B is 7.77, essentially matching plaintext perplexity of 7.76.
“The encrypted perplexity settles on 7.77 against a plaintext value of 7.76 (at 512 context).”
Caveats 1
- ViT accuracy drops to 96.9% on Tiny-ImageNet validation images, indicating some quality loss despite latency gains.
What’s new here 3
- In-kernel regeneration of key-switching keys using ChaCha12, halving key storage.
- Complex-Cachemir packing that utilizes both real and imaginary CKKS slots, roughly halving memory and doubling throughput.
- Magnitude-aware bootstrap placement via an iterated minimum-cut that reduces bootstraps by ≈30%.