Paper 2025/2326
Efficiently Provable Approximations for Non-Polynomial Functions
Abstract
Zero-Knowledge Proofs (ZKPs) are now widely used to verify the correctness of various types of computations. However, despite phenomenal advancements, current ZKPs are inefficient for applications that need accurate evaluation of non-polynomial functions over floating-point numbers, such as machine learning, decentralized finance, scientific computing, and geolocation. Current state-of-the-art approaches typically emulate floating-point numbers using fixed-point representations (via quantization), and handle \textit{non-polynomial} functions using lookup tables, piece-wise or low-degree polynomial approximations, which lead to sub-optimal performance and/or loss in accuracy or generality, limiting their potential for adoption in practice. In this work, we present a general framework for approximating a large class of non-polynomial functions using Gauss-Legendre quadrature, which supports efficient ZKPs of correct computation. We show that our approach can scale to decrease the error up to the inherent limits imposed by quantization, without increasing the multiplicative circuit depth beyond a small constant ($\leq 4$). This is a strong deviation from prior approximation techniques, where decreasing the error leads to increased multiplicative depth -- the main factor determining the error growth of an approximation. We implement and evaluate our approach in Noir/Barretenberg, and we obtain absolute errors $2-256\times$ lower than comparable baselines for most non-polynomial functions with low prover overhead. We also demonstrate an efficient prover and low errors for high-accuracy applications in DeFi and astronomy that require non-polynomial functions, again obtaining errors $4-64\times$ lower than the baseline approximations.
Metadata
- Available format(s)
-
PDF
- Category
- Applications
- Publication info
- Published elsewhere. USENIX Security 2026
- Keywords
- zero knowledge proofsnon-linear functions
- Contact author(s)
-
srirams @ berkeley edu
ShravanSrinivasan1 @ gmail com
dipapado @ cse ust hk
charalampos papamanthou @ yale edu - History
- 2026-08-30: last of 2 revisions
- 2025-12-26: received
- See all versions
- Short URL
- https://ia.cr/2025/2326
- License
-
CC BY
BibTeX
@misc{cryptoeprint:2025/2326,
author = {Sriram Sridhar and Shravan Srinivasan and Dimitrios Papadopoulos and Charalampos Papamanthou},
title = {Efficiently Provable Approximations for Non-Polynomial Functions},
howpublished = {Cryptology {ePrint} Archive, Paper 2025/2326},
year = {2025},
url = {https://eprint.iacr.org/2025/2326}
}