Metraipolis › archive › dc_20659974442a
ROSETTA: Efficient and Accurate Privacy-Preserving LLM Decoding via Hybrid CKKS/TFHE Evaluation — arXiv:2609.16915
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.16915
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-15T19:33:09.850Z
- SHA-256 of the archived text
d73e0b3610481993adea5b4c83f028670767c7c70efd9f00aa8dfd40fa50b727- Stable URL of this page
https://metraipolis.com/documento/dc_20659974442a
How to cite
ROSETTA: Efficient and Accurate Privacy-Preserving LLM Decoding via Hybrid CKKS/TFHE Evaluation — arXiv:2609.16915 — arXiv (en), https://arxiv.org/abs/2609.16915 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_20659974442a (Metraipolis archive dc_20659974442a, sha256 d73e0b3610481993adea5b4c83f028670767c7c70efd9f00aa8dfd40fa50b727)
BibTeX
@misc{dc20659974442a,
title = {ROSETTA: Efficient and Accurate Privacy-Preserving LLM Decoding via Hybrid CKKS/TFHE Evaluation — arXiv:2609.16915},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.16915},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_20659974442a; sha256 d73e0b3610481993adea5b4c83f028670767c7c70efd9f00aa8dfd40fa50b727},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.16915. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Generative large language models (LLMs) have achieved state-of-the-art performance on many real-world tasks such as code generation and question answering. These models predominantly rely on an autoregressive decoding strategy that generates output tokens sequentially. However, their pervasive deployment raises serious privacy concerns, motivating private inference frameworks based on fully homomorphic encryption (FHE). A major limitation of existing FHE frameworks is their inefficiency in evaluating nonlinear operations, which incur substantial overhead and dominate the decode stage. In this paper, we propose ROSETTA, a hybrid CKKS/TFHE framework that overcomes this limitation. We first observe that nonlinear operations in the decode stage exhibit heterogeneous workload patterns, which can be handled effectively via a hybrid approach. We then realize this with two key contributions: 1) an adaptive segmented lookup-table protocol based on TFHE that enables efficient and accurate evaluation of nonlinear operations; and 2) a scheme-aware operator-selection framework that automatically assigns each nonlinear operator to CKKS or TFHE to minimize end-to-end decoding latency. We demonstrate that ROSETTA achieves up to $4.8\times$ Softmax speedup and $1.5$--$2.1\times$ end-to-end speedup over the SOTA framework CacheMir. Tema degli esploratori: fiducia digitale e crittografia (retro-catalogo arXiv: annunci del 2026-09-16 in cs.CR). Categorie arXiv: Cryptography and Security (cs.CR). Pagina del lavoro: https://arxiv.org/abs/2609.16915 — 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-15T18:42:42.631Z dalla pagina https://arxiv.org/catchup/cs.CR/2026-09-16?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).