Tailor: Accelerating Heterogeneous Multi-Scalar Multiplications in Zero-Knowledge Proof Systems
Abstract
Zero-knowledge proof generation is computationally expensive, with multi-scalar multiplication (MSM) often dominating prover runtime. Existing MSM accelerators primarily target long vectors of full-width scalars using Pippenger's algorithm. However, our characterization of six ZKP protocols reveals significantly heterogeneous MSMs: matrix MSMs that reuse points across rows, small-valued scalars, and sequences of short MSMs. Pippenger's bucket and window reductions are well amortized for long vector MSMs, but become disproportionately expensive for short MSMs and when repeated across matrix rows. Alternative MSM algorithms can reduce or eliminate these reductions, with precomputation-based methods further benefiting from point reuse. These observations expose a mismatch between the diversity of MSMs and architectures built around a fixed algorithm and configuration. We present Tailor, a programmable MSM architecture that adapts its algorithm, window size, and effective scalar width to each MSM at runtime. Tailor unifies multiple MSM algorithms on a shared accumulation datapath through configurable scalar decoding and accumulator partitioning. Its matrix dataflow reuses points across rows and interleaves independent reductions to improve utilization. Under a common area budget, Tailor achieves geometric-mean speedups of on dense matrix MSMs, on 16-bit matrix MSMs, and on dense vector MSMs over a matrix-adapted state-of-the-art accelerator. Integrated into a full-prover accelerator, Tailor achieves up to end-to-end speedup over a baseline system, with only the MSM unit replaced.
Create a lesson
Metadata
- Categories
- cs.AR, cs.CR
- Comments
- 13 pages, 19 figures, 10 tables
Related papers
svlang-sdk: A Zero-Dependency Multi-Domain Compiler SDK for Modular VLSI Frontend Verification and EDA
Shared title terminologycs.ARMayur Kubavat, Milan Kubavat, Yash Kubavat
Tetris: Accelerating Composable Test-Time Scaling on GPU-PIM Systems via Adaptive Mapping, Control, and Memory Management
Shared title terminologycs.ARShengxuan Qiu, Haochen Huang, Tenghao Zhao et al.
WADJET: Whole-Job Authorization and Dispatch for Job Execution Trust on FPGA System-on-Chip Accelerators
Shared title terminologycs.ARMohamed El-Hadedy
HETEROVLM: Edge Multi-Request Vision-Language Model Serving on a Heterogeneous Versal SoC with AI Engines and Programmable Logic
Shared title terminologycs.ARZhiheng Chen, Yu-An Chou, Yifan Zhang et al.
Chimera: A Configurable LLM Decode Accelerator Architecture with Compute-Memory-Floorplan Co-Design for HBM-Equipped Multi-Die FPGAs
Shared title terminologycs.ARZhiheng Chen, Yifan Zhang, Yu-An Chou et al.
Optimizing LLM Inference on Heterogeneous Edge SoCs with Operator-Level Controls
Shared title terminologycs.ARHanzhang Ma, Qianjun Zheng, Bohua Zou et al.