{
  "id": "2024/1429",
  "url": "https://opencryptology.org/2024/1429",
  "original_url": "https://eprint.iacr.org/2024/1429",
  "title": "Powerformer: Efficient and High-Accuracy Privacy-Preserving Language Model with Homomorphic Encryption",
  "authors": [
    "Dongjin Park",
    "Eunsang Lee",
    "Joon-Woo Lee"
  ],
  "affiliations": null,
  "abstract": "We propose Powerformer, an efficient homomorphic encryption (HE)-based privacy-preserving language model (PPLM) designed to reduce computation overhead while maintaining model performance. Powerformer incorporates three key techniques to optimize encrypted computations:\n\n1. A novel distillation technique that replaces softmax and layer normalization (LN) with computationally efficient power and linear functions, ensuring no performance degradation while enabling seamless encrypted computation.\n2. A pseudo-sign composite approximation method that accurately approximates GELU and tanh functions with minimal computational overhead.\n3. A homomorphic matrix multiplication algorithm specifically optimized for Transformer models, enhancing efficiency in encrypted environments.\n\nBy integrating these techniques, Powerformer based on the BERT-base model achieves a 45% reduction in computation time compared to the state-of-the-art HE-based PPLM without any loss in accuracy.",
  "category": "Applications",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Powerformer: Efficient and High-Accuracy Privacy-Preserving Language Model with Homomorphic Encryption” by Dongjin Park, Eunsang Lee, Joon-Woo Lee, Cryptology ePrint Archive, Paper 2024/1429, https://eprint.iacr.org/2024/1429. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2024-09-12T06:04:04Z",
    "updated": "2025-05-29T09:46:58Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/1429.pdf",
    "sha256": "75352e4aba43f2eea6a9f7cc124a35452087e8cc85fe95017c3ab20bc8ebb425",
    "size": 892639,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2024/1429/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/1429.pdf",
      "size": 892639,
      "sha256": "75352e4aba43f2eea6a9f7cc124a35452087e8cc85fe95017c3ab20bc8ebb425",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2024/1429/versions/20240930T221818Z.pdf",
      "captured_at": "2024-09-30T22:18:18Z",
      "label": "copy captured 2024-09-30",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240930221818id_/https://eprint.iacr.org/2024/1429.pdf",
      "size": 374454,
      "sha256": "3f56ada2f44b6c5492748faf123193e929377c91a11ff7434b3e422500320bc8",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260607083234id_/https://eprint.iacr.org/2024/1429.pdf",
      "captured_at": "2026-06-07T08:32:34Z",
      "size": 839616
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/1429.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 892639
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/1429,\n      author = {Dongjin Park and Eunsang Lee and Joon-Woo Lee},\n      title = {Powerformer: Efficient and High-Accuracy Privacy-Preserving Language Model with Homomorphic Encryption},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/1429},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/1429}\n}"
}
