{
  "id": "2025/1684",
  "url": "https://opencryptology.org/2025/1684",
  "original_url": "https://eprint.iacr.org/2025/1684",
  "title": "FHEMaLe: Framework for Homomorphic Encrypted Machine Learning",
  "authors": [
    "B PRADEEP KUMAR REDDY",
    "SAMEEKSHA GOYAL",
    "RUCHIKA MEEL",
    "Ayantika Chatterjee"
  ],
  "affiliations": null,
  "abstract": "Machine learning (ML) has revolutionized various industries by leveraging predictive models and data-driven insights, often relying on cloud\ncomputing for large-scale data processing. However, this dependence introduces challenges such as bandwidth constraints and network latency. Edge\ncomputing mitigates these issues by enabling localized processing, reducing reliance on continuous cloud connectivity, and optimizing resource\nallocation for dynamic workloads. Given the limited computational capacity of sensory nodes in ML systems, edge devices provide an effective\nsolution by offloading processing tasks. However, a critical challenge in this paradigm is to ensure user privacy while handling sensitive data\nboth in the cloud and in edge processing. To address this, we propose a Fully Homomorphic Encryption (FHE) enabled framework that enables\nML computations directly on encrypted data, eliminating need for decryption. The main challenge to design such framework is that ML complex\nimplementation steps need to be revisited with suitable optimizations to match FHE processing requirements. There are different standard libraries to\nsupport basic computation blocks on which encrypted ML processing is to be developed. These libraries vary in supported computation operators,\ncomputational complexity and memory demands. Those in-turn introduces latency and throughput challenges, especially on resource-constrained\nedge nodes. For example, in general HE library CKKS(Cheon-Kim-Kim-Song) with packing and approximate homomorphic operation support is\nknown to be the best choice for privacy preserving AI algorithm implementation. However, analysis shows leveled CKKS is limited in implementing\ncomplex operators and hence not suitable for few specific ML algorithms like KNN, Logistic Regression or general activations in NN etc without any\napproximation. To avoid accuracy drops associated with approximations, Torus based FHE library (TFHE) can be a better choice to make certain\nML implementations feasible. Moreover, our study shows compared to TFHE, CKKS with huge memory requirement is not suitable for resource\nconstrained edge. Thus, underlying library choice to design such framework is crucial considering the trade-off between latency and accuracy. In\nthis work, we propose an integrated framework FHEMaLe for encrypted ML processing which takes model architecture, desired accuracy, and\nplatform preference as inputs and based on that appropriate execution environment is selected: a cloud platform leveraging the CKKS homomorphic\nencryption library or an edge platform using the TFHE library. Further, analysis shows the limitation of performing FHE ML on a single edge device\nand hence our framework partitions encrypted data, transmits it via a fabric API, and performs distributed encrypted ML computations across the\nedge cluster. We implement distributed ML inference for algorithms such as 𝐾-Nearest Neighbors (KNN) (Cloud CKKS=248 sec, Edge TFHE=37\nmin), Support Vector Machine (SVM) (Cloud CKKS=18 sec, Edge TFHE=4.15 min), and Logistic Regression (LR) ( Cloud CKKS=17 sec, Edge\nTFHE=7.82 min) on a cluster of 11 edge nodes. This work explains why KNN suffers from a major performance bottleneck in encrypted domain and\nmay not be a great choice for encrypted ML processing without application specific optimizations. Furthermore, our encrypted operators are capable of supporting encrypted NN processing\n(Cloud CKKS= 57 sec), but we explain why CKKS is a preferred choice in this case. The distributed nature of our implementation shows a promise\nof further improvement and scalability with the support of larger cluster.",
  "category": "Applications",
  "license": {
    "code": "CC0",
    "url": "https://creativecommons.org/publicdomain/zero/1.0/",
    "label": "CC0 1.0",
    "attribution": "“FHEMaLe: Framework for Homomorphic Encrypted Machine Learning” by B PRADEEP KUMAR REDDY, SAMEEKSHA GOYAL, RUCHIKA MEEL, Ayantika Chatterjee, Cryptology ePrint Archive, Paper 2025/1684, https://eprint.iacr.org/2025/1684. Licensed under CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2025-09-16T17:56:14Z",
    "updated": "2025-09-16T17:56:14Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/1684.pdf",
    "sha256": "249b986651ccbd916780b8e70f10f6a8c5b2789b3b242bd646ca1893835f1dc0",
    "size": 1586825,
    "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/2025/1684/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/2025/1684.pdf",
      "size": 1586825,
      "sha256": "249b986651ccbd916780b8e70f10f6a8c5b2789b3b242bd646ca1893835f1dc0",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/1684.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 1586825
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260107045141id_/https://eprint.iacr.org/2025/1684.pdf",
      "captured_at": "2026-01-07T04:51:41Z",
      "size": 1486097
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/1684,\n      author = {B PRADEEP KUMAR REDDY and SAMEEKSHA GOYAL and RUCHIKA MEEL and Ayantika Chatterjee},\n      title = {FHEMaLe: Framework for Homomorphic Encrypted Machine Learning},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1684},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/1684}\n}"
}
