potentialpaper

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

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 20:20 UTC · b59b6e66ca86 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "2r9ZRCBu9Q"
- }
- ],
- "title": "CGF-Softmax: A Cumulant-Based Softmax Reformulation for Efficient Inference under Homomorphic Encryption",
- "authors": [],
- "abstract": "Homomorphic encryption (HE) is a prominent framework for privacy-preserving machine learning, enabling inference directly on encrypted data. However, softmax, widely used in deep neural networks including transformers, remains challenging to evaluate under HE due to its multivariate structure, the large dynamic range induced by exponentiation, and costly division. 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. Integrated into a state-of-the-art multi-GPU FHE inference framework, replacing only the softmax operation reduces end-to-end encrypted BERT-Base inference latency by 36.3% (one GPU) and 39.6% (two GPUs), by eliminating all bootstrapping inside the softmax.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "de85de84-2a84-4f73-b482-93319e6f024d"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "CGF-Softmax: A Cumulant-Based Softmax Reformulation for Efficient Inference under Homomorphic Encryption",
+ "authors": [],
+ "abstract": "Homomorphic encryption (HE) is a prominent framework for privacy-preserving machine learning, enabling inference directly on encrypted data. However, softmax, widely used in deep neural networks including transformers, remains challenging to evaluate under HE due to its multivariate structure, the large dynamic range induced by exponentiation, and costly division. 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. Integrated into a state-of-the-art multi-GPU FHE inference framework, replacing only the softmax operation reduces end-to-end encrypted BERT-Base inference latency by 36.3% (one GPU) and 39.6% (two GPUs), by eliminating all bootstrapping inside the softmax.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}