{
  "id": "2025/1732",
  "url": "https://opencryptology.org/2025/1732",
  "original_url": "https://eprint.iacr.org/2025/1732",
  "title": "Zero-Knowledge AI Inference with High Precision",
  "authors": [
    "Arman Riasi",
    "Haodi Wang",
    "Rouzbeh Behnia",
    "Viet Vo",
    "Thang Hoang"
  ],
  "affiliations": null,
  "abstract": "Artificial Intelligence as a Service (AIaaS) enables users to query a model hosted by a service provider and receive inference results from a pre-trained model. Although AIaaS makes artificial intelligence more accessible, particularly for resource-limited users, it also raises verifiability and privacy concerns for the client and server, respectively. While zero-knowledge proof techniques can address these concerns simultaneously, they incur high proving costs due to the non-linear operations involved in AI inference and suffer from precision loss because they rely on fixed-point representations to model real numbers.\n\nIn this work, we present ZIP, an efficient and precise commit and prove zero-knowledge SNARK for AIaaS inference (both linear and non-linear layers) that natively supports IEEE-754 double-precision floating-point semantics while addressing reliability and privacy challenges inherent in AIaaS. At its core, ZIP introduces a novel relative-error-driven technique that efficiently proves the correctness of complex non-linear layers in AI inference computations without any loss of precision, and hardens existing lookup-table and range proofs with novel arithmetic constraints to defend against malicious provers. We implement ZIP and evaluate it on standard datasets (e.g., MNIST, UTKFace, and SST-2). Our experimental results show, for non-linear activation functions, ZIP reduces circuit size by up to three orders of magnitude while maintaining the full precision required by modern AI workloads.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Zero-Knowledge AI Inference with High Precision” by Arman Riasi, Haodi Wang, Rouzbeh Behnia, Viet Vo, Thang Hoang, Cryptology ePrint Archive, Paper 2025/1732, https://eprint.iacr.org/2025/1732. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2025-09-22T22:23:59Z",
    "updated": "2025-09-22T22:23:59Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/1732.pdf",
    "sha256": "f6ffa85c8fbcf5212e2ba43d3e0112680c9d9ed7195edf53777eedd63feecf40",
    "size": 754475,
    "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/1732/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/1732.pdf",
      "size": 754475,
      "sha256": "f6ffa85c8fbcf5212e2ba43d3e0112680c9d9ed7195edf53777eedd63feecf40",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/1732.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 754475
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260219043526id_/https://eprint.iacr.org/2025/1732.pdf",
      "captured_at": "2026-02-19T04:35:26Z",
      "size": 733871
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/1732,\n      author = {Arman Riasi and Haodi Wang and Rouzbeh Behnia and Viet Vo and Thang Hoang},\n      title = {Zero-Knowledge AI Inference with High Precision},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1732},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/1732}\n}"
}
