Lune

ACL2026Top-tier venue

Hyperion: Private Token Sampling with Homomorphic Encryption

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

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • MOAI: Module-Optimizing Architecture for Non-Interactive Secure Transformer Inference cites Powerformer: Efficient and High-Accuracy Privacy-Preserving Language Model with Homomorphic Encryption
  • MOAI: Module-Optimizing Architecture for Non-Interactive Secure Transformer Inference cites Efficient Bootstrapping for Approximate Homomorphic Encryption with Non-sparse Keys
  • MOAI: Module-Optimizing Architecture for Non-Interactive Secure Transformer Inference cites Tricycle: Private Transformer Inference with Tricyclic Encodings
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on10

  1. Efficient Bootstrapping for Approximate Homomorphic Encryption with Non-sparse KeysJean-Philippe Bossuat, Christian Mouchet, Juan Ramón Troncoso-Pastoriza, Jean-Pierre HubauxEUROCRYPT 2021 · 179 citations
  2. MOAI: Module-Optimizing Architecture for Non-Interactive Secure Transformer InferenceLinru Zhang, Xiangning Wang, Sim Jun Jie, Zhicong Huang et al.ICLR 2026 · 24 citations
  3. Mitigating Forgetting in LLM Fine-Tuning via Low-Perplexity Token LearningChao-Chung Wu, Zhi Rui Tam, Chieh-Yen Lin, Yun-Nung Vivian Chen et al.NeurIPS 2025 · 19 citations
  4. Powerformer: Efficient and High-Accuracy Privacy-Preserving Language Model with Homomorphic EncryptionDongjin Park, Eunsang Lee, Joon-Woo LeeACL 2025 · 13 citations
  5. Tricycle: Private Transformer Inference with Tricyclic EncodingsLawrence Lim, Vikas Kalagi, Julia Novick, Jiaming Liu et al.CCS 2026 · 10 citations

Related papers

  1. EncryptedLLM: Privacy-Preserving Large Language Model Inference via GPU-Accelerated Fully Homomorphic EncryptionLeo de Castro, Daniel Escudero, Adya Agrawal, Antigoni Polychroniadou et al.ICML 2025
  2. Encryption-Friendly LLM ArchitectureDonghwan Rho, Taeseong Kim, Minje Park, Jung Woo Kim et al.ICLR 2025
  3. Fast and Accurate Homomorphic Softmax EvaluationWonhee Cho, Guillaume Hanrot, Taeseong Kim, Minje Park et al.CCS 2024 · 6 citations
  4. Falcon: Fast Spectral Inference on Encrypted DataQian Lou, Wen-jie Lu, Cheng Hong, Lei JiangNeurIPS 2020 · 50 citations
  5. THE-X: Privacy-Preserving Transformer Inference with Homomorphic EncryptionTianyu Chen, Hangbo Bao, Shaohan Huang, Li Dong et al.ACL Findings 2022 · 86 citations
Dusk over the sea between two cliffs drawn in fine vertical lines