{
  "id": "2023/632",
  "url": "https://opencryptology.org/2023/632",
  "original_url": "https://eprint.iacr.org/2023/632",
  "title": "Batch Inference on Deep Convolutional Neural Networks With Fully Homomorphic Encryption Using Channel-By-Channel Convolutions",
  "authors": [
    "Jung Hee Cheon",
    "Minsik Kang",
    "Taeseong Kim",
    "Junyoung Jung",
    "Yongdong Yeo"
  ],
  "affiliations": null,
  "abstract": "Secure Machine Learning as a Service (MLaaS) is a viable solution where clients seek secure ML computation delegation while protecting sensitive data. We propose an efficient method to securely evaluate deep standard convolutional neural networks based on residue number system variant of  Cheon-Kim-Kim-Song (RNS-CKKS) scheme in the manner of batch inference. In particular, we introduce a packing method called Channel-By-Channel Packing that maximizes the slot compactness and Single-Instruction-Multiple-Data (SIMD) capabilities in ciphertexts. We also propose a new method for homomorphic convolution evaluation called Channel-By-Channel Convolution, which minimizes the additional heavy operations during convolution layers.\n     \nSimulation results show that our work has improvements in amortized runtime for inference, with a factor of $5.04$ and $5.20$ for ResNet-20 and ResNet-110, respectively, compared to the previous results. We note that our results almost simulate the original backbone models, with classification accuracy differing from the backbone within $0.02$%p. Furthermore, we show that the client's rotation key size generated and transmitted can be reduced from $105.6$GB to $6.91$GB for ResNet models during an MLaaS scenario. Finally, we show that our method can be combined with previous methods, providing flexibility for selecting batch sizes for inference.",
  "category": "Applications",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Batch Inference on Deep Convolutional Neural Networks With Fully Homomorphic Encryption Using Channel-By-Channel Convolutions” by Jung Hee Cheon, Minsik Kang, Taeseong Kim, Junyoung Jung, Yongdong Yeo, Cryptology ePrint Archive, Paper 2023/632, https://eprint.iacr.org/2023/632. 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-05-03T08:31:13Z",
    "updated": "2025-10-07T19:58:46Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/632.pdf",
    "sha256": "aa1a1c62be190d5b98e8c36e447b9d8dd28d93b3a404235af743f107291b7edf",
    "size": 1642124,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/632/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/2023/632.pdf",
      "size": 1642124,
      "sha256": "aa1a1c62be190d5b98e8c36e447b9d8dd28d93b3a404235af743f107291b7edf",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2023/632/versions/20230506T021755Z.pdf",
      "captured_at": "2023-05-06T02:17:55Z",
      "label": "copy captured 2023-05-06",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20230506021755id_/https://eprint.iacr.org/2023/632.pdf",
      "size": 1433397,
      "sha256": "00ebebc83c801cff1eeaefd6c6ee2bfa74f4bb149217d73bb539f8598d185bd1",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/632.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 1642124
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260109101938id_/https://eprint.iacr.org/2023/632.pdf",
      "captured_at": "2026-01-09T10:19:38Z",
      "size": 1037688
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/632,\n      author = {Jung Hee Cheon and Minsik Kang and Taeseong Kim and Junyoung Jung and Yongdong Yeo},\n      title = {Batch Inference on Deep Convolutional Neural Networks With Fully Homomorphic Encryption Using Channel-By-Channel Convolutions},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/632},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/632}\n}"
}
