arXiv:2610.27530cs.AROct 2026

Manuscript Offprint

arXiv:2610.27530

ZKPU: Zero-Knowledge Processing Unit for Heterogeneous Workloads

Jonathan Ku, Changchun Zhou, Jiawen Wu, Sangouk Jeon, Cong Guo, Yuzhe Fu, Bowen Duan, Dongsuk Jeon, JV Rajendran, Yiran Chen, Hai Li

Abstract

Zero-knowledge proofs (ZKPs) have become a fundamental building block for privacy-preserving computation, blockchain systems, and verifiable machine learning. Modern ZKP protocols span two distinct families: curve-based protocols, which rely on large finite-field arithmetic, and hash-based protocols, which operate over native 64-bit fields. Existing hardware accelerators are specialized for one protocol family because they are built on operand-scanning Montgomery multiplication, resulting in fixed-width datapaths, poor utilization across heterogeneous operand widths, and limited scalability.

This paper presents ZKPU, a Zero-Knowledge Processing Unit for heterogeneous ZKP workloads. ZKPU introduces a new compute paradigm by co-designing finely integrated product scanning (FIPS) Montgomery multiplication with a reconfigurable Twin Systolic Fabric (TSF), enabling modular multiplication at arbitrary widths in 64-bit increments. Combined with a fine-grained Deque buffer, on-chip twiddle-factor generator, and memory-efficient MSM preprocessing strategy, ZKPU provides a unified architecture for both curve-based and hash-based protocols. Evaluation using Groth16 and Plonky2 shows that ZKPU achieves up to 144× speedup for NTT, 13.6× for MSM, and approximately 7.2× end-to-end application speedup over state-of-the-art accelerators, while being the first architecture to efficiently support both protocol families on a single reconfigurable hardware platform.

Keywords: Curve-based ZKPs, Hash-based ZKPs, Modular Multiplier, FIPS, Systolic Array

1. Introduction

Zero-knowledge proofs (ZKPs) [12] enable a prover to convince a verifier that a statement is true without revealing any information beyond its validity, and have become a fundamental building block for blockchain systems [2, 24, 15], verifiable computation [28], and machine-learning verification[40, 20, 7], etc [6]. Practical ZKP protocols broadly fall into two families. Curve-based protocols, such as Groth16 [14] and PLONK [10], rely on elliptic-curve cryptography (ECC) to generate succinct proofs with fast verification. Their prover execution is dominated by arithmetic-intensive kernels, primarily number-theoretic transforms (NTTs) and multi-scalar multiplication (MSM), over 256 ~ 768-bit prime fields. In contrast, hash-based protocols, including Plonky2 [33] and Starky [39], rely on ZKP-friendly hash functions such as Poseidon [13], eliminating the need for trusted setup while providing post-quantum security. Their prover execution is dominated by NTTs and

*Correspondence E-mail: jonathan.ku@duke.edu

Merkle-tree construction, where each hash computation operates over the 64-bit Goldilocks field, resulting in computational characteristics that differ fundamentally from curve-based provers. This is illustrated in Figure 1.

Despite their algorithmic diversity, the core kernels of ZKP provers reduce to modular arithmetic. NTT, MSM, and Poseidon hash are all dominated by modular addition and multiplication, with modular multiplication accounting for most of the computation. However, operand bitwidths vary by nearly 12×12\times, ranging from 64-bit Goldilocks fields to 256/384-bit prime fields (BN254 and BLS12-381) and up to 768-bit fields (MNT4-753).

Figure

Hash-based

Prover Time

Hash 75%

NTT 15%Poly 10%

Curve-based

MSM 55-75%

NTT ~20% other

Modmul 80%-90%

Fig. 1: Curve-based and hash-based ZKP protocols rely on distinct computational kernels and arithmetic primitives, resulting in heterogeneous workloads that motivate the design of ZKPU, a unified processing unit for both protocol families.

Table 1: Architectural comparison of representative ZKP acceleration works.

WorkMethodOperand GranularitySupported ProtocolsCryptographic BackendReconfigurability
PipeZKCIOS256 or 384 or 768-bitGroth16 (BN128,BLS12-381,MNT4-753)Curve-basedx
LegoZKCIOS256/384/768-bitGroth16 (BN128,BLS12-381,MNT4-753)Curve-basedv
UniZKClassical64-bitPlonky2, StarkyHash-basedx
ZKPUFIPS64*n-bit (n = 1...12)Groth16 (BN128,BLS12-381,MNT4-753), Plonky2Curve+Hash-basedv

Prior works as shown in Table 1 scale downward: operand-scanning datapaths designed for the maximum supported operand width can only be partitioned into narrower multipliers, reducing utilization for smaller operands while leaving wider operands unsupported. Runtime width flexibility is therefore limited to downward partitioning. For example, LegoZK [38] employs a reconfigurable PE with a fixed 768-bit interface that can be split into 256- or 384-bit lanes, whereas all other designs fix the operand bitwidth at design or synthesis time. To overcome this limitation, we propose ZKPU, a Zero-Knowledge Processing Unit for Heterogeneous Workloads, which scales upward by composing 64-bit processing units into arbitrary widths in 64-bit increments.

As a result, a single architecture efficiently supports 64-bit hash-based protocols, 256 ~ 768-bit curve-based protocols, and future protocols with even wider operands.

We trace this limitation to a common root cause: existing accelerators are built on operand-scanning Montgomery multiplication (CIOS/FIOS [16]), whose datapath is inherently tied to the operand bitwidth. This coupling fixes the supported width at design time, increases on-chip operand storage, and limits data reuse. To break this dependency, we instead adopt finely integrated product scanning (FIPS) [16], which operates on 64-bit chunks and naturally composes into modular multipliers of arbitrary widths in 64-bit increments. Although FIPS has long been considered difficult to accelerate because of its irregular operand ordering, we show that these access patterns map efficiently onto a two-dimensional systolic-like architecture, enabling scalable modular arithmetic across heterogeneous ZKP workloads.

We realize this insight with the Twin Systolic Fabric (TSF), a reconfigurable two-dimensional array of 64-bit processing elements that implements FIPS-based modular multiplication. By composing the same 64-bit building blocks, TSF scales seamlessly from native 64-bit hashing to 256 ~ 768-bit EC operations without changing the underlying hardware. Sixteen TSF-based ZK Engines, integrated with our proposed fine-grained operand Deque buffer and on-chip twiddle-factor generator, together form ZKPU.

References (35)