← Lab /Security & privacy

zkComposer speeds up zkML proof generation up to 6.8×

Modular decomposition of zkML proofs reduces prover and response time by up to 6.84×

Security & privacy arXiv 9 Jul 2026 Method Prototype evidence

Published as “zkComposer: Decomposing Proof Construction to Scale zkML”

Why it matters

The technique makes zkML inference fast enough for real-time or interactive services and allows deployment on GPUs or other accelerators with limited memory.

Summary

zkComposer cuts zkML proof-generation latency by up to 6.84× for GPT-2 and up to 3.25× for CNNs, and can lower peak prover memory by up to 8.1× in sequential mode, by partitioning the model computation into independent sub-proofs that run in parallel; the evidence comes from measurements on three CNN models and GPT-2 on a 192-core CPU compared against zkCNN and zkGPT baselines, though proof size and verifier time grow with more partitions.

What they found 4

  1. Proof-generation time is dramatically reduced

    “zkComposer reduces prover time by up to 3.25× for CNNs and up to 6.84× for GPT-2 when computing the proofs in parallel.”

  2. Sequential execution cuts peak memory

    “Sequential zkComposer substantially reduces peak prover memory across all sequence lengths. For example, at sequence length 64, peak memory decreases from 240.5 GB to 31.9 GB with K=12, a 7.5× reduction.”

  3. Proof size grows with more partitions

    “Proof size increases with the number of partitions, from 109.2KB in the baseline to 268.6KB for 12 partitions (a 2.5× increase).”

  4. Verifier time stays low but increases with two-dimensional partitioning

    “Verifier time remains ∼0.3s, although each sub-proof only proves a subset of the computations.”

Caveats 4

  • Proof size increases up to 2.5× when using 12 partitions (see proof size quote).
  • Verifier time can rise to 2.888 s with two-dimensional partitioning (see verifier time increase quote).
  • Peak memory for parallel execution can increase, e.g., from 4.14 GB to 11.32 GB with 5 partitions (see peak memory growth quote).
  • zkComposer’s parallelism scales with the number of partitions K. In our implementation, K is determined by the model architecture and the input size. Along the layer dimension, K is set by the model’s natural boundary points (e.g., 5 for AlexNet). Models such as LLMs expose an additional dimension along the input sequence. zkComposer therefore provides the greatest benefit for models and inputs that admit many partitions. We leave the design of additional partitioning schemes that further increase K to future work.

What’s new here 4

  • Introduces proof-level parallelism by generating multiple independent sub-proofs instead of a single monolithic proof.
  • Reduces per-partition memory footprint, enabling proof generation on memory-constrained accelerators and GPUs.
  • Works with existing zkML frameworks without modifying underlying polynomial commitment schemes.
  • Supports both layer-wise and sequence-wise partitioning to expose additional parallelism.