{
  "id": "2024/387",
  "url": "https://opencryptology.org/2024/387",
  "original_url": "https://eprint.iacr.org/2024/387",
  "title": "Ceno: Non-uniform, Segment and Parallel Zero-knowledge Virtual Machine",
  "authors": [
    "Tianyi Liu",
    "Zhenfei Zhang",
    "Yuncong Zhang",
    "Wenqing Hu",
    "Ye Zhang"
  ],
  "affiliations": null,
  "abstract": "In this paper, we explore a novel Zero-knowledge Virtual Machine (zkVM) framework leveraging succinct, non-interactive zero-knowledge proofs for verifiable computation over any code. Our approach divides the proof of program execution into two stages. In the first stage, the process breaks down program execution into segments, identifying and grouping identical sections. These segments are then proved through data-parallel circuits that allow for varying amounts of duplication. In the subsequent stage, the verifier examines these segment proofs, reconstructing the program's control and data flow based on the segments' duplication number and the original program. The second stage can be further attested by a uniform recursive proof.\n\nWe propose two specific designs of this concept, where segmentation and parallelization occur at two levels: opcode and basic block. Both designs try to minimize the control flow that affects the circuit size and support dynamic copy numbers, ensuring that computational costs directly correlate with the actual code executed (i.e., you only pay as much as you use). In our second design, in particular, by proposing an innovative data-flow reconstruction technique in the second stage, we can drastically cut down on the stack operations even compared to the original program execution. Note that the two designs are complementary rather than mutually exclusive. Integrating both approaches in the same zkVM could unlock more significant potential to accommodate various program patterns.\n\nWe present an asymmetric GKR scheme to implement our designs, pairing a non-uniform prover and a uniform verifier to generate proofs for dynamic-length data-parallel circuits. The use of a GKR prover also significantly reduces the size of the commitment. GKR allows us to commit only the circuit's input and output, whereas in Plonkish-based solutions, the prover needs to commit to all the witnesses.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Ceno: Non-uniform, Segment and Parallel Zero-knowledge Virtual Machine” by Tianyi Liu, Zhenfei Zhang, Yuncong Zhang, Wenqing Hu, Ye Zhang, Cryptology ePrint Archive, Paper 2024/387, https://eprint.iacr.org/2024/387. 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-02T18:00:10Z",
    "updated": "2024-11-30T07:44:39Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/387.pdf",
    "sha256": "816537b39c48be9178018618d5671984cb4e3eac17dd1f1287632758e861fe44",
    "size": 4247963,
    "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/387/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/387.pdf",
      "size": 4247963,
      "sha256": "816537b39c48be9178018618d5671984cb4e3eac17dd1f1287632758e861fe44",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2024/387/versions/20241127T011943Z.pdf",
      "captured_at": "2024-11-27T01:19:43Z",
      "label": "copy captured 2024-11-27",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20241127011943id_/https://eprint.iacr.org/2024/387.pdf",
      "size": 4247951,
      "sha256": "49b000e7a642d73f70695ec100a04ff3b1633556beecb0269bc50cc3f367b278",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2024/387/versions/20240609T044100Z.pdf",
      "captured_at": "2024-06-09T04:41:00Z",
      "label": "copy captured 2024-06-09",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240609044100id_/https://eprint.iacr.org/2024/387.pdf",
      "size": 4219089,
      "sha256": "4b8b93441ef9f5be5afccca7082fc9730fc381dcbe459a93137c7eb175b9fe62",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2024/387/versions/20240306T094128Z.pdf",
      "captured_at": "2024-03-06T09:41:28Z",
      "label": "copy captured 2024-03-06",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240306094128id_/https://eprint.iacr.org/2024/387.pdf",
      "size": 12454526,
      "sha256": "b8becb66009cb29209362df89ecbb6e3ee6161ec9041e43bfc29a4d8c331f92a",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260601092242id_/https://eprint.iacr.org/2024/387.pdf",
      "captured_at": "2026-06-01T09:22:42Z",
      "size": 2461519
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/387.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 4247963
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/387,\n      author = {Tianyi Liu and Zhenfei Zhang and Yuncong Zhang and Wenqing Hu and Ye Zhang},\n      title = {Ceno: Non-uniform, Segment and Parallel Zero-knowledge Virtual Machine},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/387},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/387}\n}"
}
