mlsanityData to 7 Oct 2026

Power-Softmax: Towards Secure LLM Inference over Encrypted Data

arXiv 2410.09457 ↗First posted 12 Oct 2024cs.LG cs.CRcited by 6

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  3. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  4. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  5. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
  6. 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
  7. 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 380
  8. 2019Analyzing the Structure of Attention in a Transformer Language Modelcited by 241
  9. 2024On Protecting the Data Privacy of Large Language Models (LLMs): A Surveycited by 91
  10. 2022THE-X: Privacy-Preserving Transformer Inference with Homomorphic Encryptioncited by 55
  11. 2023PUMA: Secure Inference of LLaMA-7B in Five Minutescited by 44
  12. 2020Pi-nets: Deep Polynomial Neural Networkscited by 39
11 more
  1. 2021Precise Approximation of Convolutional Neural Networks for Homomorphically Encrypted Datacited by 26
  2. 2020HeLayers: A Tile Tensors Framework for Large Neural Networks on Encrypted Datacited by 22
  3. 2023LLMs Can Understand Encrypted Prompt: Towards Privacy-Computing Friendly Transformerscited by 20
  4. 2023Primer: Fast Private Transformer Inference on Encrypted Datacited by 19
  5. 2023Converting Transformers to Polynomial Form for Secure Inference Over Homomorphic Encryptioncited by 19
  6. 2023AutoFHE: Automated Adaption of CNNs for Efficient Evaluation over FHEcited by 15
  7. 2021A methodology for training homomorphicencryption friendly neural networkscited by 10
  8. 2023East: Efficient and Accurate Secure Transformer Framework for Inferencecited by 9
  9. 2023MERGE: Fast Private Text Generationcited by 8
  10. 2023Efficient Skip Connections Realization for Secure Inference on Encrypted Datacited by 1
  11. 2024Neural Networks with (Low-Precision) Polynomial Approximations: New Insights and Techniques for Accuracy Improvementcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 4.

6 papers.