The Hunting of the SNARK

Nir Bitansky, Ran Canetti, Alessandro Chiesa, Shafi Goldwasser, Huijia Lin, Aviad Rubinstein, Eran Tromer · DOI

TL;DR

This seminal paper formalizes SNARKs (Succinct Non-interactive Adaptive Arguments of Knowledge)—cryptographic proofs that are tiny, nearly instant to verify, and prove that a sender "knows" a specific piece of data without revealing it. The authors show that SNARKs can be constructed in the "standard model" by introducing a new primitive called Extractable Collision-Resistant Hash functions (ECRHs), effectively bridging the gap between theoretical proof systems and practical secure delegation of computation.

What Problem Does This Paper Address?

In the era of cloud computing, we often want to delegate a massive computation to a powerful server. However, we face two major hurdles:

  1. Efficiency: How can a weak client verify that the server's result is correct without re-running the entire computation?
  2. Interactivity & Adaptivity: Can we do this in a single message (non-interactive) even if a malicious server chooses which "lie" to tell after seeing the client's challenge (adaptive)?

Previous solutions either required multiple rounds of back-and-forth communication (Kilian’s protocol) or relied on the "Random Oracle Model," a mathematical abstraction that doesn't always hold up in the real world. This paper seeks to build these "succinct" proofs in the standard model—using well-defined (albeit strong) cryptographic assumptions.

Methods

The authors' construction is a sophisticated "squashing" of classical interactive proof techniques into a non-interactive format. Their approach involves three main pillars:

  • Probabilistically Checkable Proofs (PCPs): A way to write a proof such that a verifier only needs to look at a few random bits to be convinced of its validity.
  • Private Information Retrieval (PIR): This allows the verifier to "query" specific parts of the PCP without the prover knowing which parts are being checked. This prevents the prover from "zigzagging" or tailoring answers on the fly.
  • Extractable Collision-Resistant Hashes (ECRHs): This is the paper's core innovation. A standard hash function makes it hard to find two inputs that map to the same output. An extractable hash adds a "knowledge" requirement: if an adversary can produce a valid hash, there must exist an "extractor" (a program) that can find the original input.

By using ECRHs to build a Merkle Tree over the PCP, the authors ensure that if the prover produces a valid succinct proof, they must actually "know" the underlying witness. To keep the extraction process efficient, they use "shallow" Merkle Trees with very high fan-in (many children per node) rather than binary trees.

Datasets

Not discussed in the paper. As a theoretical cryptography paper, the "evaluation" consists of mathematical proofs of security and complexity analysis rather than empirical testing on datasets.

Key Insights and Ideas

  • The Necessity of Knowledge Assumptions: The authors argue that because of previous "impossibility results," we likely cannot build SNARKs using only standard "falsifiable" assumptions (like "factoring is hard"). We must assume that certain tasks (like hashing) can only be done if you know the input.
  • SNARKs $\iff$ ECRHs: One of the most striking findings is that SNARKs and ECRHs are essentially equivalent. If you can build one, you can build the other. This suggests ECRHs are the "natural" foundation for succinctness.
  • Shallow Trees for Fast Extraction: To prove a prover knows a whole database, you usually have to extract it bit-by-bit. In a deep binary tree, this causes an exponential blowup in time. By using a constant-depth, high-degree tree, the authors keep the "extraction" time polynomial.
  • Circumventing Impossibility: The paper uses Extractable One-Way Functions (EOWFs) to build 3-round zero-knowledge protocols, bypassing a famous result that said such protocols were impossible using "black-box" techniques.

Key Results

  • Theorem 1: Proves that if ECRHs and PIR exist, then SNARKs for all NP languages exist.
  • Theorem 2: Establishes the "converse"—that the existence of SNARKs implies the existence of (a variant of) ECRHs.
  • Candidate Constructions: The authors don't just leave ECRHs as a theoretical dream; they propose concrete candidates based on the Knowledge of Exponent (KEA) assumption and lattice-based Knapsack problems.
  • Applications: They demonstrate that SNARKs enable "succinct two-party computation" and "zero-knowledge SNARKs" (zk-SNARKs), which are now foundational to privacy-preserving blockchains like Zcash.

Limitations and Future Work

  • Non-Falsifiability: The ECRH assumption is "non-falsifiable," meaning if someone claims a function is an ECRH, you can't necessarily write a simple program to prove them wrong. This remains a point of debate in the cryptographic community.
  • PIR Overhead: While the proofs are succinct, the underlying Private Information Retrieval (PIR) schemes can be computationally expensive for the prover in practice.
  • Universal vs. Specific: The basic construction requires the verifier to know the specific NP relation (the "program") beforehand. Moving to a "Universal SNARK" (one protocol for any program) requires even stronger assumptions, such as exponentially-hard one-way functions.

Summary updated

BibTeX
@article{bitansky2017hunting,
  author = {Nir Bitansky and Ran Canetti and Alessandro Chiesa and Shafi Goldwasser and Huijia Lin and Aviad Rubinstein and Eran Tromer},
  title = {{The Hunting of the SNARK}},
  journal = {J. Cryptol.},
  year = {2017},
  doi = {10.1007/s00145-016-9241-9},
}
Figure