Sum-check protocol for approximate computations

Dor Bitan, Zachary DeStefano, Shafi Goldwasser, Yuval Ishai, Yael Tauman Kalai, Justin Thaler

Introduction

The sum-check protocol is a fundamental building block in the field of verifiable computing (VC), serving as the backbone for many modern succinct non-interactive arguments of knowledge (SNARKs). Traditionally, these protocols rely on "arithmetization," a process that translates computational tasks into exact algebraic statements over finite fields. While mathematically elegant, this approach creates a significant friction point for real-world applications: most scientific computing and machine learning (ML) workloads are executed using approximate arithmetic, such as floating-point or fixed-point representations.

This paper introduces a generalization of the sum-check protocol that operates natively on approximate arithmetic. By shifting the underlying mathematical framework from algebra to analysis, the authors provide a way to verify numerical computations with formal soundness guarantees that degrade gracefully as the prover's error increases.

The Challenge: The Arithmetic Mismatch

Modern VC protocols require exactness. However, floating-point arithmetic is intrinsically approximate and non-associative; for instance, $(a + b) + c$ does not always equal $a + (b + c)$ in a floating-point environment. To verify such tasks today, researchers typically force approximate real-number math into exact finite field structures using quantization. This approach introduces massive overhead, as the prover must simulate a computation that differs from their native execution, often leading to a significant expansion in precision requirements and computational cost.

The core question addressed here is whether a proof system can treat approximation as a first-class citizen, allowing a verifier to confirm that a result is "close enough" without the burden of exact field simulation.

Methodology: From Algebra to Analysis

The authors develop an approximate sum-check protocol by replacing the rigid structures of finite field algebra with tools from mathematical analysis and approximation theory. In a classical sum-check, a prover convinces a verifier that the sum of a polynomial $P$ over a boolean hypercube equals a specific value $H$ by performing exact equality checks in each round.

Relaxed Checks and Sublevel Sets

In this new iteration, the verifier replaces exact equality checks with comparisons within a tunable error margin $\delta$. To maintain soundness, the protocol moves away from the "Factor Theorem"—which states that a degree-$d$ polynomial has at most $d$ roots—and instead utilizes Remez-type inequalities. These inequalities bound the "sublevel sets" of polynomials, proving that a low-degree polynomial cannot remain very small over a large area if it is significantly large elsewhere. This allows the protocol to operate over complex numbers ($\mathbb{C}$) and reals ($\mathbb{R}$) using the metric structure of the domain.

The Black-Box Compiler

The protocol is designed to be "representation-oblivious." It functions as a black-box compiler that does not require knowledge of whether the prover uses floating-point, fixed-point, or interval arithmetic, provided the underlying operations satisfy basic error bounds.

Security and Soundness

A critical contribution of the paper is the analysis of the non-interactive version of the protocol via the Fiat-Shamir heuristic. The authors identify an "intermediate security" phenomenon: unlike classical protocols where a prover either succeeds or fails, the approximate setting allows a malicious prover to potentially "grind" down their error across multiple rounds.

To counter this, the authors introduce the $\kappa$ function, a distance amplification function that controls how polynomial distance contracts under evaluation. This function acts as a security "knob," determining the protocol's robustness over different domains. The resulting soundness error is tied to the ratio between the prover's initial error $\Delta$ and the verifier's tolerance $\delta$. If a prover attempts to lie by a significant margin, the probability of being caught remains high.

Key Results and Feasibility

The research provides the first "black-box" feasibility result for approximate arithmetic proof systems. Key findings include:

  • Concrete Soundness Bounds: The authors derive a formula for soundness error: approximately $\frac{vd}{|S|} + 2^v c_d \sqrt[v]{\frac{v\delta}{\Delta}}$, where $v$ is the number of variables and $d$ is the degree.
  • Efficiency in Scale: For a hypothetical workload involving a vector of size $N=2^{30}$, the protocol can achieve $1/2$ soundness even if the prover's error is $2^{111}$ times larger than the verifier's tolerance. Maintaining this security requires only a small amount of extra precision (roughly 111 bits).
  • Implementation Independence: Because the protocol is independent of the underlying arithmetic implementation, it offers a versatile path forward for verifying diverse numerical tasks.

Limitations and Future Work

While the protocol marks a significant theoretical leap, several challenges remain:

  1. Multivariate Complexity: While univariate analysis is robust, multivariate polynomials can behave erratically on large-measure sets, making an "approximate multivariate Schwartz-Zippel lemma" difficult to establish.
  2. Polynomial Commitments: To evolve this sum-check into a full SNARK, a compatible polynomial commitment scheme that maintains soundness under approximation is required.
  3. Adaptive Provers: The current analysis focuses on specific prover strategies; extending this to fully adaptive provers in complex environments is an open research problem.
  4. Empirical Benchmarking: Future work is needed to benchmark this protocol against existing finite-field-based zero-knowledge machine learning (zkML) systems in production environments to measure real-world performance gains.

Conclusion

By bridging the gap between algebraic proof systems and numerical analysis, this work provides a theoretical foundation for more efficient verification of scientific and machine learning computations. It moves the field closer to a reality where we can verify the "close enough" results of the modern world without the overhead of exact simulation.

Summary updated

BibTeX
@article{bitan2025sum,
  author = {Dor Bitan and Zachary DeStefano and Shafi Goldwasser and Yuval Ishai and Yael Tauman Kalai and Justin Thaler},
  title = {{Sum-check protocol for approximate computations}},
  journal = {IACR Cryptol. ePrint Arch.},
  year = {2025},
}
Figure