Lune

ACL2026Top-tier venue

Hyperion: Private Token Sampling with Homomorphic Encryption

Lawrence Lim, Jiaming Liu, Vikas Kalagi, Divyakant Agrawal, Amr El Abbadi

2026Year
1Citations

Abstract

A promising direction for enabling private queries to large language models (LLMs) is with homomorphic encryption (HE). An open problem is performing token sampling under HE. In this paper, we introduce Hyperion, an efficient HE algorithm for inverse transform sampling, enabling private token sampling with 1 comparison depth, O (1) amortized comparisons, and O (log n ) rotations. We implement our approach and demonstrate that it samples tokens in 0.14 seconds for 32k tokens ( ≈ 4 . 4 µ s per token) on GPU, achieving a 100 × latency improvement over prior work.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext b1083a7e-4be3-4955-8307-fe5c66d47232

Builds on10

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines