{
  "id": "2024/460",
  "url": "https://opencryptology.org/2024/460",
  "original_url": "https://eprint.iacr.org/2024/460",
  "title": "Encrypted Image Classification with Low Memory Footprint using Fully Homomorphic Encryption",
  "authors": [
    "Lorenzo Rovida",
    "Alberto Leporati"
  ],
  "affiliations": null,
  "abstract": "Classifying images has become a straightforward and accessible task, thanks to the advent of Deep Neural Networks. Nevertheless, not much attention is given to the privacy concerns associated with sensitive data contained in images. In this study, we propose a solution to this issue by exploring an intersection between Machine Learning and cryptography. \nIn particular, Fully Homomorphic Encryption (FHE) emerges as a promising solution, as it enables computations to be performed on encrypted data. We, therefore, propose a Residual Network implementation based on FHE which allows the classification of encrypted images, ensuring that only the user can see the result.\nWe suggest a circuit which reduces the memory requirements by more than 85% compared to the most recent works, while maintaining a high level of accuracy and a short computational time. We implement the circuit using the well-known CKKS scheme, which enables approximate encrypted computations. \nWe evaluate the results from three perspectives: memory requirements, computational time and calculations precision. We demonstrate that it is possible to evaluate an encrypted ResNet20 in less than five minutes on a laptop using approximately 15GB of memory, achieving an accuracy of 91.67% on the CIFAR-10 dataset, which is almost equivalent to the accuracy of the plain model (92.60%).",
  "category": "Applications",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Encrypted Image Classification with Low Memory Footprint using Fully Homomorphic Encryption” by Lorenzo Rovida, Alberto Leporati, Cryptology ePrint Archive, Paper 2024/460, https://eprint.iacr.org/2024/460. 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-03-18T14:21:25Z",
    "updated": "2024-03-18T14:21:25Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/460.pdf",
    "sha256": "84775e216c6c634e0f436541fc53e124fab66246e56b1d65bc232b1660bf38d5",
    "size": 467586,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2024/460/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/460.pdf",
      "size": 467586,
      "sha256": "84775e216c6c634e0f436541fc53e124fab66246e56b1d65bc232b1660bf38d5",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/460.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 467586
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260217184354id_/https://eprint.iacr.org/2024/460.pdf",
      "captured_at": "2026-02-17T18:43:54Z",
      "size": 468886
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/460,\n      author = {Lorenzo Rovida and Alberto Leporati},\n      title = {Encrypted Image Classification with Low Memory Footprint using Fully Homomorphic Encryption},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/460},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/460}\n}"
}
