Lune

S&P2018Top-tier venue

vRAM: Faster Verifiable RAM with Program-Independent Preprocessing

Yupeng Zhang, Daniel Genkin, Jonathan Katz, Dimitrios Papadopoulos, Charalampos Papamanthou

Abstract

We study the problem of verifiable computation (VC) for RAM programs, where a computationally weak verifier outsources the execution of a program to a powerful (but untrusted) prover. Existing efficient implementations of VC protocols require an expensive preprocessing phase that binds the parties to a single circuit. (While there are schemes that avoid preprocessing entirely, their performance remains significantly worse than constructions with preprocessing.) Thus, a prover and verifier are forced to choose between two approaches: (1) Allow verification of arbitrary RAM programs, at the expense of efficiency, by preprocessing a universal circuit which can handle all possible instructions during each CPU cycle; or (2) Sacrifice expressiveness by preprocessing an efficient circuit which is tailored to the verification of a single specific RAM program. We present vRAM, a VC system for RAM programs that avoids both the above drawbacks by having a preprocessing phase that is entirely circuit-independent (other than an upper bound on the circuit size). During the proving phase, once the program to be verified and its inputs are chosen, the circuit-independence of our construction allows the parties to use a smaller circuit tailored to verifying the specific program on the chosen inputs, i.e., without needing to encode all possible instructions in each cycle. Moreover, our construction is the first with asymptotically optimal prover overhead; i.e., the work of the prover is a constant multiplicative factor of the time to execute the program. Our experimental evaluation demonstrates that vRAM reduces the prover's memory consumption by 55-110× and its running time by 9-30× compared to existing schemes with universal preprocessing. This allows us to scale to RAM computations with more than 2 million CPU cycles, a 65× improvement compared to the state of the art. Finally, vRAM has performance comparable to (and sometimes better than) the best existing scheme with program-specific preprocessing despite the fact that the latter can deploy program-specific optimizations (and has to pay a separate preprocessing cost for every new program).

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

19 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Pianist: Scalable zkRollups via Fully Distributed Zero-Knowledge Proofs cites Orion: Zero Knowledge Proof with Linear Prover Time
  • Pianist: Scalable zkRollups via Fully Distributed Zero-Knowledge Proofs cites Doubly-Efficient zkSNARKs Without Trusted Setup
  • Pianist: Scalable zkRollups via Fully Distributed Zero-Knowledge Proofs cites zkBridge: Trustless Cross-chain Bridges Made Practical
  • Pianist: Scalable zkRollups via Fully Distributed Zero-Knowledge Proofs cites Transparent Polynomial Delegation and Its Applications to Zero Knowledge Proof
  • Pianist: Scalable zkRollups via Fully Distributed Zero-Knowledge Proofs cites Full Accounting for Verifiable Outsourcing
  • Pianist: Scalable zkRollups via Fully Distributed Zero-Knowledge Proofs cites Verifiable ASICs
  • Pianist: Scalable zkRollups via Fully Distributed Zero-Knowledge Proofs cites Hash First, Argue Later: Adaptive Verifiable Computations on Outsourced Data
  • Orion: Zero Knowledge Proof with Linear Prover Time cites Doubly-Efficient zkSNARKs Without Trusted Setup
  • Orion: Zero Knowledge Proof with Linear Prover Time cites Transparent Polynomial Delegation and Its Applications to Zero Knowledge Proof
  • Orion: Zero Knowledge Proof with Linear Prover Time cites Hash First, Argue Later: Adaptive Verifiable Computations on Outsourced Data
  • Doubly-Efficient zkSNARKs Without Trusted Setup cites Full Accounting for Verifiable Outsourcing
  • Doubly-Efficient zkSNARKs Without Trusted Setup cites Verifiable ASICs
  • Doubly-Efficient zkSNARKs Without Trusted Setup cites Hash First, Argue Later: Adaptive Verifiable Computations on Outsourced Data
  • zkBridge: Trustless Cross-chain Bridges Made Practical cites Doubly-Efficient zkSNARKs Without Trusted Setup
  • zkBridge: Trustless Cross-chain Bridges Made Practical cites Transparent Polynomial Delegation and Its Applications to Zero Knowledge Proof
  • zkBridge: Trustless Cross-chain Bridges Made Practical cites Verifiable ASICs
  • Transparent Polynomial Delegation and Its Applications to Zero Knowledge Proof cites Doubly-Efficient zkSNARKs Without Trusted Setup
  • Transparent Polynomial Delegation and Its Applications to Zero Knowledge Proof cites Full Accounting for Verifiable Outsourcing
  • Transparent Polynomial Delegation and Its Applications to Zero Knowledge Proof cites Hash First, Argue Later: Adaptive Verifiable Computations on Outsourced Data
  • Full Accounting for Verifiable Outsourcing cites Verifiable ASICs
  • Full Accounting for Verifiable Outsourcing cites Hash First, Argue Later: Adaptive Verifiable Computations on Outsourced Data
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers19

  1. Doubly-Efficient zkSNARKs Without Trusted SetupRiad S. Wahby, Ioanna Tzialla, Abhi Shelat, Justin Thaler et al.S&P 2018 · 356 citations
  2. Transparent Polynomial Delegation and Its Applications to Zero Knowledge ProofJiaheng Zhang, Tiancheng Xie, Yupeng Zhang, Dawn SongS&P 2020 · 192 citations
  3. zkBridge: Trustless Cross-chain Bridges Made PracticalTiancheng Xie, Jiaheng Zhang, Zerui Cheng, Fan Zhang et al.CCS 2022 · 131 citations
  4. Orion: Zero Knowledge Proof with Linear Prover TimeTiancheng Xie, Yupeng Zhang, Dawn SongCRYPTO 2022 · 83 citations
  5. Pianist: Scalable zkRollups via Fully Distributed Zero-Knowledge ProofsTianyi Liu, Tiancheng Xie, Jiaheng Zhang, Dawn Song et al.S&P 2024 · 52 citations

Builds on3

  1. Full Accounting for Verifiable OutsourcingRiad S. Wahby, Ye Ji, Andrew J. Blumberg, Abhi Shelat et al.CCS 2017 · 78 citations
  2. Verifiable ASICsRiad S. Wahby, Max Howald, Siddharth Garg, Abhi Shelat et al.S&P 2016 · 78 citations
  3. Hash First, Argue Later: Adaptive Verifiable Computations on Outsourced DataDario Fiore, Cédric Fournet, Esha Ghosh, Markulf Kohlweiss et al.CCS 2016 · 71 citations

Related papers

  1. Ramen: Souper Fast Three-Party Computation for RAM ProgramsLennart Braun, Mahak Pancholi, Rahul Rachuri, Mark SimkinCCS 2023 · 7 citations
  2. VDORAM: Towards a Random Access Machine with Both Public Verifiability and Distributed ObliviousnessHuayi Qi, Minghui Xu, Xiaohua Jia, Xiuzhen ChengNDSS 2026
  3. Constant-Overhead Zero-Knowledge for RAM ProgramsNicholas Franzese, Jonathan Katz, Steve Lu, Rafail Ostrovsky et al.CCS 2021 · 1 citation
  4. Volatile and Persistent Memory for zkSNARKs via Algebraic Interactive ProofsAlex Ozdemir, Evan Laufer, Dan BonehS&P 2025
  5. Adaptively Secure Computation for RAM ProgramsLaasya Bangalore, Rafail Ostrovsky, Oxana Poburinnaya, Muthuramakrishnan VenkitasubramaniamEUROCRYPT 2022
Dusk over the sea between two cliffs drawn in fine vertical lines