Arithmetic Sketching

Dan Boneh, Elette Boyle, Henry Corrigan-Gibbs, Niv Gilboa, Yuval Ishai

August 19-24, 2023, Santa Barbara, California

This paper introduces arithmetic sketching, an abstraction of a primitive that several previous works use to achieve lightweight, low-communication zero-knowledge verification of secret-shared vectors. An arithmetic sketching scheme for a language \(\mathcal{L} \subseteq \mathbb{F}^n\) consists of (1) a randomized linear function compressing a long input \(x\) to a short “sketch,” and (2) a small arithmetic circuit that accepts the sketch if and only if \(x \in \mathcal{L}\), up to some small error. If the language \(\mathcal{L}\) has an arithmetic sketching scheme with short sketches, then it is possible to test membership in \(\mathcal{L}\) using an arithmetic circuit with few multiplication gates. Since multiplications are the dominant cost in protocols for computation on secret-shared, encrypted, and committed data, arithmetic sketching schemes give rise to lightweight protocols in each of these settings. In addition to the formalization of arithmetic sketching, our contributions are:
  • A general framework for constructing arithmetic sketching schemes from algebraic varieties. This framework unifies schemes from prior work and gives rise to schemes for useful new languages and with improved soundness error.
  • The first arithmetic sketching schemes for languages of sparse vectors: vectors with bounded Hamming weight, bounded \(L_1\) norm, and vectors whose few non-zero values satisfy a given predicate.
  • A method for “compiling” any arithmetic sketching scheme for a language \(\mathcal{L}\) into a low-communication malicious-secure multi-server protocol for securely testing that a client-provided secret-shared vector is in \(\mathcal{L}\).
We also prove the first nontrivial lower bounds showing limits on the sketch size for certain languages (e.g., vectors of Hamming-weight one) and proving the non-existence of arithmetic sketching schemes for others (e.g., the language of all vectors that contain a specific value).