{
  "id": "2022/099",
  "url": "https://opencryptology.org/2022/099",
  "original_url": "https://eprint.iacr.org/2022/099",
  "title": "Performance of Hierarchical Transforms in Homomorphic Encryption: A case study on Logistic Regression inference",
  "authors": [
    "Pedro Geraldo M. R. Alves",
    "Jheyne N. Ortiz",
    "Diego F. Aranha"
  ],
  "affiliations": null,
  "abstract": "Recent works challenged the Number-Theoretic Transform (NTT) as the most efficient method for\npolynomial multiplication in GPU implementations of Fully Homomorphic Encryption schemes such\nas CKKS and BFV. In particular, these works argue that the Discrete Galois Transform (DGT) is a\nbetter candidate for this particular case. However, these claims were never rigorously validated, and\nonly intuition was used to argue in favor of each transform. This work brings some light on the dis-\ncussion by developing similar CUDA implementations of the CKKS cryptosystem, differing only in\nthe underlying transform and related data structure. We ran several experiments and collected perfor-\nmance metrics in different contexts, ranging from the basic direct comparison between the transforms\nto measuring the impact of each one on the inference phase of the logistic regression algorithm. Our\nobservations suggest that, despite some specific polynomial ring configurations, the DGT in a stan-\ndalone implementation does not offer the same performance as the NTT. However, when we consider\nthe entire cryptosystem, we noticed that the effects of the higher arithmetic density of the DGT on\nother parts of the implementation is substantial, implying a considerable performance improvement\nof up to 15% on the homomorphic multiplication. Furthermore, this speedup is consistent when we\nconsider a more complex application, indicating that the DGT suits better the target architecture.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Performance of Hierarchical Transforms in Homomorphic Encryption: A case study on Logistic Regression inference” by Pedro Geraldo M. R. Alves, Jheyne N. Ortiz, Diego F. Aranha, Cryptology ePrint Archive, Paper 2022/099, https://eprint.iacr.org/2022/099. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2022-01-31T07:45:27Z",
    "updated": "2022-01-31T07:45:27Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/099.pdf",
    "sha256": "99459f2ba91f36401832205762e554411d422431d359250eac5af963e4ebe3d4",
    "size": 504955,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:34Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2022/099/versions/20240114T061334Z.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/99.pdf",
      "size": 504955,
      "sha256": "99459f2ba91f36401832205762e554411d422431d359250eac5af963e4ebe3d4",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251231064954id_/https://eprint.iacr.org/2022/099.pdf",
      "captured_at": "2025-12-31T06:49:54Z",
      "size": 505326
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/99.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 504955
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/099,\n      author = {Pedro Geraldo M. R. Alves and Jheyne N. Ortiz and Diego F. Aranha},\n      title = {Performance of Hierarchical Transforms in Homomorphic Encryption: A case study on Logistic Regression inference},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/099},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/099}\n}"
}
