Metraipolis › archive › dc_c43070b8ab20
Perseus: A Full-Stack System for Homomorphic Model Inference — arXiv:2611.04488
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2611.04488
- License (as archived)
- CC0-1.0
- Archived
- 2026-11-04T18:36:41.772Z
- SHA-256 of the archived text
163453dad394a53c04a057f664cbcd69c5ff66492077decbea7967013987a438- Stable URL of this page
https://metraipolis.com/documento/dc_c43070b8ab20
How to cite
Perseus: A Full-Stack System for Homomorphic Model Inference — arXiv:2611.04488 — arXiv (en), https://arxiv.org/abs/2611.04488 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_c43070b8ab20 (Metraipolis archive dc_c43070b8ab20, sha256 163453dad394a53c04a057f664cbcd69c5ff66492077decbea7967013987a438)
BibTeX
@misc{dcc43070b8ab20,
title = {Perseus: A Full-Stack System for Homomorphic Model Inference — arXiv:2611.04488},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2611.04488},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_c43070b8ab20; sha256 163453dad394a53c04a057f664cbcd69c5ff66492077decbea7967013987a438},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.04488. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Large Language Models (LLMs) have made it exceptionally convenient for users to send their private data to model providers, which process them in plaintext. Fully Homomorphic Encryption (FHE) promises to secure remote inference by computing directly on encrypted data, yet it has remained prohibitively slow. The effort to make it practical remains fragmented, with most existing frameworks being closed-source, which keeps progress from compounding. We present Perseus, a free and open Python software library that supports the full stack of encrypted model inference, from the cryptographic backend and data packing, to encrypted nonlinearities and end-to-end model execution. Perseus ships with built-in novel optimizations, one at each level of the stack: in-kernel regeneration of key-switching keys at the (i) backend level, a complex variant of Cachemir packing at the (ii) data level, and a state-of-the-art bootstrap placer that is both packing- and magnitude-aware at the (iii) model level. Perseus achieves state-of-the-art latency across multiple models and modalities, within $3\%$ of the plaintext models' accuracy and perplexity. Remarkably, it is $3.96\times$ faster at single-token decoding than any other implementation on Llama-3-8B. We initiate, for the first time, a public speedrun on encrypted GPT-2, so that progress can compound. Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno). Categorie arXiv: Cryptography and Security (cs.CR) ; Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2611.04488 — 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-11-04T18:32:37.446Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).