{
  "id": "2023/503",
  "url": "https://opencryptology.org/2023/503",
  "original_url": "https://eprint.iacr.org/2023/503",
  "title": "Neural Network Quantisation for Faster Homomorphic Encryption",
  "authors": [
    "Wouter Legiest",
    "Furkan Turan",
    "Michiel Van Beirendonck",
    "Jan-Pieter D'Anvers",
    "Ingrid Verbauwhede"
  ],
  "affiliations": null,
  "abstract": "Homomorphic encryption (HE) enables calculating\non encrypted data, which makes it possible to perform privacy-\npreserving neural network inference. One disadvantage of this\ntechnique is that it is several orders of magnitudes slower than\ncalculation on unencrypted data. Neural networks are commonly\ntrained using floating-point, while most homomorphic encryption\nlibraries calculate on integers, thus requiring a quantisation of the\nneural network. A straightforward approach would be to quantise\nto large integer sizes (e.g., 32 bit) to avoid large quantisation errors.\nIn this work, we reduce the integer sizes of the networks, using\nquantisation-aware training, to allow more efficient computations.\nFor the targeted MNIST architecture proposed by Badawi et al., we reduce the integer sizes by 33% without significant loss\nof accuracy, while for the CIFAR architecture, we can reduce the\ninteger sizes by 43%. Implementing the resulting networks under\nthe BFV homomorphic encryption scheme using SEAL, we could\nreduce the execution time of an MNIST neural network by 80%\nand by 40% for a CIFAR neural network.",
  "category": "Applications",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Neural Network Quantisation for Faster Homomorphic Encryption” by Wouter Legiest, Furkan Turan, Michiel Van Beirendonck, Jan-Pieter D'Anvers, Ingrid Verbauwhede, Cryptology ePrint Archive, Paper 2023/503, https://eprint.iacr.org/2023/503. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2023-04-07T08:54:55Z",
    "updated": "2023-08-29T09:49:34Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/503.pdf",
    "sha256": "8900fc8d92077dedf27aa75a07b89a415fb184b847115f20cda6ab73b928c674",
    "size": 264459,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:41Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/503/versions/20240114T061341Z.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/503.pdf",
      "size": 264459,
      "sha256": "8900fc8d92077dedf27aa75a07b89a415fb184b847115f20cda6ab73b928c674",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2023/503/versions/20230407T145959Z.pdf",
      "captured_at": "2023-04-07T14:59:59Z",
      "label": "copy captured 2023-04-07",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20230407145959id_/https://eprint.iacr.org/2023/503.pdf",
      "size": 282883,
      "sha256": "0c99b7a3084564b414f4bb2238c6924ead5b633a9f52accf19f6d197f6dbecd9",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260106070823id_/https://eprint.iacr.org/2023/503.pdf",
      "captured_at": "2026-01-06T07:08:23Z",
      "size": 265333
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/503.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "size": 264459
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/503,\n      author = {Wouter Legiest and Furkan Turan and Michiel Van Beirendonck and Jan-Pieter D'Anvers and Ingrid Verbauwhede},\n      title = {Neural Network Quantisation for Faster Homomorphic Encryption},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/503},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/503}\n}"
}
