← Lab /Security & privacy

Hybrid CKKS/TFHE decoding speeds up private LLM inference up to 4.8×

ROSETTA provides up to 4.8× Softmax and 1.5-2.1× end-to-end speedup for private LLM decoding

Security & privacy arXiv 15 Sep 2026 Method Prototype evidence

Published as “ROSETTA: Efficient and Accurate Privacy-Preserving LLM Decoding via Hybrid CKKS/TFHE Evaluation”

Why it matters

The speed and accuracy gains bring practical, privacy-preserving LLM inference closer to deployment in real-world settings.

Summary

ROSETTA achieves up to 4.8× softmax speedup and 1.5-2.1× end-to-end speedup over the SOTA CacheMir framework, and 3-4× end-to-end speedup over PEGASUS while limiting perplexity degradation to +1.4%. It does this with an adaptive segmented LUT protocol that provides high-precision nonlinear evaluation and a scheme-aware operator selector that jointly optimizes CKKS/TFHE assignment via a shortest-path formulation. The paper reports latency and precision results on GPT-2 Base, TinyLlama-1.1B and LLaMA-3-8B compared against CacheMir and PEGASUS. Evaluation is limited to these three models on a single CPU/GPU platform; broader scalability and security analysis are not explored.

What they found 2

  1. Up to 4.8× softmax speedup and 1.5-2.1× end-to-end speedup over CacheMir

    “We demonstrate that ROSETTA achieves up to 4.8× Softmax speedup and 1.5-2.1× end-to-end speedup over the SOTA framework CacheMir.”

  2. 3-4× end-to-end speedup over PEGASUS with perplexity degradation reduced from +116% to +1.4%

    “Compared to PEGASUS, ROSETTA achieves 3-4× end-to-end speedup while reducing average PPL degradation from +116% to only +1.4%.”

What’s new here 3

  • Hybrid CKKS/TFHE evaluation that assigns each nonlinear operator to the most suitable scheme per workload characteristics
  • Adaptive segmented lookup-table protocol that attains 12-19-bit precision over wide input ranges, surpassing single-PBS limits
  • Joint optimization of scheme assignment and CKKS level allocation formulated as a shortest-path problem