mlsanityData to 7 Oct 2026

CGF-Softmax: A Cumulant-Based Softmax Reformulation for Efficient Inference under Homomorphic Encryption

arXiv 2602.01621 ↗First posted 2 Feb 2026cs.CR cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Homomorphic encryption (HE) is a prominent framework for privacy-preserving machine learning, enabling inference directly on encrypted data. However, evaluating softmax, a core component of transformer architectures, remains particularly challenging in HE due to its multivariate structure, the large dynamic range induced by exponential functions, and the costly division operation. In this paper, we propose CGF-softmax, which reformulates the softmax denominator through the cumulant generating function (CGF). By eliminating both homomorphic division and explicit maximum subtraction, this reformulation substantially reduces multiplicative depth while preserving key properties of softmax. Extensive experiments on Vision Transformers and large language models show that CGF-softmax provides an efficient and accurate approximation of softmax in encrypted inference. In particular, it achieves inference accuracy close to that of high-depth exact methods, while requiring substantially lower computational cost through reduced multiplicative depth.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 19 of its 42 references that are in the map. First posted on arXiv 2 Feb 2026.

Builds on

19 of 42 references.

References · 19

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2024The Llama 3 Herd of Modelscited by 14,192
  6. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  7. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  8. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  9. 2020Efficient Intent Detection with Dual Sentence Encoderscited by 419
  10. 2019An Evaluation Dataset for Intent Classification and Out-of-Scope Predictioncited by 378
  11. 2018Privacy Preserving Machine Learning: Threats and Solutionscited by 78
  12. 2022MPCFormer: fast, performant and private Transformer inference with MPCcited by 67
7 more
  1. 2022THE-X: Privacy-Preserving Transformer Inference with Homomorphic Encryptioncited by 55
  2. 2021HEMET: A Homomorphic-Encryption-Friendly Privacy-Preserving Mobile Neural Network Architecturecited by 24
  3. 2024Encryption-Friendly LLM Architecturecited by 15
  4. 2024HETAL: Efficient Privacy-preserving Transfer Learning with Homomorphic Encryptioncited by 12
  5. 2024SecFormer: Fast and Accurate Privacy-Preserving Inference for Transformer Models via SMPCcited by 7
  6. 2024Power-Softmax: Towards Secure LLM Inference over Encrypted Datacited by 6
  7. 2024Fast and Accurate Homomorphic Softmax Evaluationcited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.