Power-Softmax: Towards Secure LLM Inference over Encrypted Data
Not on the map. Why?
Abstract (arXiv)
Modern cryptographic methods for implementing privacy-preserving LLMs such as glsHE require the LLMs to have a polynomial form. Forming such a representation is challenging because transformers include non-polynomial components, such as Softmax and layer normalization. Previous approaches have either directly approximated pre-trained models with large-degree polynomials, which are less efficient over HE, or replaced non-polynomial components with easier-to-approximate primitives before training, e.g., Softmax with pointwise attention. The latter approach might introduce scalability challenges. We present a new HE-friendly variant of self-attention that offers a stable form for training and is easy to approximate with polynomials for secure inference. Our work introduces the first polynomial LLMs over a billion parameters, exceeding the size of previous models by more than tenfold. The resulting models demonstrate reasoning and in-context learning (ICL) capabilities comparable to standard transformers of the same size, representing a breakthrough in the field. Finally, we provide a detailed latency breakdown for each computation over encrypted data, paving the way for further optimization, and explore the differences in inductive bias between models relying on our HE-friendly variant and standard transformers.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 23 of its 48 references that are in the map. First posted on arXiv 12 Oct 2024.
Builds on
23 of 48 references.
References · 23
- 2017Attention Is All You Needcited by 59,932
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
- 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 380
- 2019Analyzing the Structure of Attention in a Transformer Language Modelcited by 241
- 2024On Protecting the Data Privacy of Large Language Models (LLMs): A Surveycited by 91
- 2022THE-X: Privacy-Preserving Transformer Inference with Homomorphic Encryptioncited by 55
- 2023PUMA: Secure Inference of LLaMA-7B in Five Minutescited by 44
- 2020Pi-nets: Deep Polynomial Neural Networkscited by 39
11 more
- 2021Precise Approximation of Convolutional Neural Networks for Homomorphically Encrypted Datacited by 26
- 2020HeLayers: A Tile Tensors Framework for Large Neural Networks on Encrypted Datacited by 22
- 2023LLMs Can Understand Encrypted Prompt: Towards Privacy-Computing Friendly Transformerscited by 20
- 2023Primer: Fast Private Transformer Inference on Encrypted Datacited by 19
- 2023Converting Transformers to Polynomial Form for Secure Inference Over Homomorphic Encryptioncited by 19
- 2023AutoFHE: Automated Adaption of CNNs for Efficient Evaluation over FHEcited by 15
- 2021A methodology for training homomorphicencryption friendly neural networkscited by 10
- 2023East: Efficient and Accurate Secure Transformer Framework for Inferencecited by 9
- 2023MERGE: Fast Private Text Generationcited by 8
- 2023Efficient Skip Connections Realization for Secure Inference on Encrypted Datacited by 1
- 2024Neural Networks with (Low-Precision) Polynomial Approximations: New Insights and Techniques for Accuracy Improvementcited by 1
Built on by
Citing papers per year: 2025: 2; 2026: 4.
6 papers.
- 2025Private Transformer Inference in MLaaS: A Surveycited by 1
- 2025Key-Conditioned Orthonormal Transform Gating (K-OTG): Multi-Key Access Control with Hidden-State Scrambling for LoRA-Tuned Modelscited by 1
- 2026CGF-Softmax: A Cumulant-Based Softmax Reformulation for Efficient Inference under Homomorphic Encryptioncited by 1
- 2026Towards Privacy-Preserving Machine Translation at the Inference Stage: A New Task and Benchmarkcited by 1
- 2026HEAT: Faster Fully Homomorphic Inference via Approximations-Weights Co-Adaptationcited by 0
- 2026DegreeSpar: Structured Degree Sparsity for Efficient Secure Transformer Inferencecited by 0
- 2026DegreeSpar: Structured Degree Sparsity for Efficient Secure Transformer Inference26 Sep 2026
- 2026HEAT: Faster Fully Homomorphic Inference via Approximations-Weights Co-Adaptation1 Sep 2026
- 2026Towards Privacy-Preserving Machine Translation at the Inference Stage: A New Task and Benchmark16 Mar 2026
- 2026CGF-Softmax: A Cumulant-Based Softmax Reformulation for Efficient Inference under Homomorphic Encryption2 Feb 2026
- 2025Key-Conditioned Orthonormal Transform Gating (K-OTG): Multi-Key Access Control with Hidden-State Scrambling for LoRA-Tuned Models19 Dec 2025
- 2025Private Transformer Inference in MLaaS: A Survey15 May 2025