Efficient polynomial commitment schemes for multiple points and polynomials

Dan Boneh, Justin Drake, Ben Fisch, Ariel GabizonIACR ePrint 2020

Authors: Dan Boneh, Justin Drake, Ben Fisch, Ariel Gabizon
Date: May 27, 2021

Abstract

Polynomial Commitment Schemes (PCS) are the mathematical engines powering modern zero-knowledge proofs like SNARKs. This paper introduces significant optimizations for PCS by presenting two new ways to "batch" polynomial openings. These schemes allow a prover to convince a verifier of many different evaluations across multiple polynomials using just one or two group elements, significantly reducing proof size and prover computation time.

Introduction

In succinct argument systems (SNARKs), a prover often needs to commit to several polynomials and then prove that these polynomials, when evaluated at specific points, equal certain values. Traditionally, if a prover has $k$ polynomials to open at various points, the proof size and the work required by both the prover and verifier grow linearly with the number of openings. For complex circuits, such as those used in blockchain scaling, this linear growth becomes a significant bottleneck. While previous work could batch multiple polynomials at the same point, or one polynomial at multiple points, this paper addresses the "holy grail": batching multiple polynomials each evaluated at different arbitrary subsets of points.

Proposed Methods

Building upon the foundational Kate-Zaverucha-Goldberg (KZG) commitment scheme, the authors introduce two distinct versions:

Scheme 1: The "Small Proof" Version

This version utilizes a mathematical technique to "uniformize" checks. By multiplying polynomials by specific "vanishing polynomials" ($Z_{T \setminus S}$), the prover collapses many different evaluation checks into a single divisibility check. This innovation allows the entire multi-polynomial, multi-point opening to be compressed into a single $\mathbb{G}_1$ group element.

Scheme 2: The "Fast Verifier" Version

This version introduces a second random challenge from the verifier, moving heavy computations from the $\mathbb{G}_2$ group (which is computationally expensive) into the $\mathbb{G}_1$ group. While the proof consists of two $\mathbb{G}_1$ elements, it reduces the verifier's work to just two pairing operations, regardless of how many polynomials or points are being opened.

Key Results and Efficiency Comparison

The proposed schemes offer a clear efficiency advantage over standard batched KZG methods. As shown in the comparison below, proof length is reduced from $t$ elements to just 1 or 2 elements, and verifier work is significantly streamlined in Scheme 2.

Efficiency comparison of the proposed schemes against standard KZG (GWC19).

The core innovation is the "Uniformizing Claim": $Z_S(X)$ divides $g(X)$ if and only if $Z_T(X)$ divides $Z_{T \setminus S}(X) \cdot g(X)$. This allows the verifier to use a single global set of points ($T$) to check evaluations on any subset ($S$).

Integration with PLONK

These schemes are designed as "drop-in" upgrades for existing proving systems. When integrated into the PLONK system, these methods immediately reduce proof size and prover exponentiations.

Comparison of PLONK performance using standard GWC19 versus the new schemes.

In the PLONK "fast" configuration, prover group exponentiations drop from $9n$ to $8n$, while the "small" version reduces proof size from 7 elements to 6.

Limitations and Future Work

Despite the gains, there are trade-offs to consider:

  • SRS Requirements: These schemes require a Structured Reference String (SRS) with more $\mathbb{G}_2$ elements than standard KZG, complicating the trusted setup.
  • Verifier Complexity in Scheme 1: If the number of distinct evaluation points ($t$) is very large, the verifier's work in Scheme 1 grows quadratically ($t^2$) in $\mathbb{G}_2$.
  • Application Specificity: While Scheme 2 offers constant pairings, its advantage in PLONK is limited because PLONK typically uses only two evaluation points. It is most beneficial for systems requiring constraints across many evaluation points.

Summary updated

BibTeX
@article{boneh2020efficient,
  author = {Dan Boneh and Justin Drake and Ben Fisch and Ariel Gabizon},
  title = {{Efficient polynomial commitment schemes for multiple points and polynomials}},
  journal = {IACR Cryptol. ePrint Arch.},
  year = {2020},
}
Figure