Lune

USENIX Security2024Top-tier venue

Two Shuffles Make a RAM: Improved Constant Overhead Zero Knowledge RAM

Yibin Yang, David Heath

Abstract

We optimize Zero Knowledge (ZK) proofs of statements expressed as RAM programs over arithmetic values. Our arithmetic-circuit-based read/write memory uses only 4 input gates and 6 multiplication gates per memory access. This is an almost 3× total gate improvement over prior state of the art (Delpech de Saint Guilhem et al., SCN'22). We implemented our memory in the context of ZK proofs based on vector oblivious linear evaluation (VOLE), and we further optimized based on techniques available in the VOLE setting. Our experiments show that (1) our total runtime improves over that of the prior best VOLE-ZK RAM (Franzese et al., CCS'21) by 2-20× and (2) on a typical hardware setup, we can achieve ≈ 600K RAM accesses per second. We also develop improved read-only memory and set ZK data structures. These are used internally in our read/write memory and improve over prior work.

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.

7 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

  • Dora: A Simple Approach to Zero-Knowledge for RAM Programs cites Wolverine: Fast, Scalable, and Communication-Efficient Zero-Knowledge Proofs for Boolean and Arithmetic Circuits
  • Dora: A Simple Approach to Zero-Knowledge for RAM Programs cites Mac'n'Cheese: Zero-Knowledge Proofs for Boolean and Arithmetic Circuits with Nested Disjunctions
  • Dora: A Simple Approach to Zero-Knowledge for RAM Programs cites Bulletproofs: Short Proofs for Confidential Transactions and More
  • VDORAM: Towards a Random Access Machine with Both Public Verifiability and Distributed Obliviousness cites Dora: A Simple Approach to Zero-Knowledge for RAM Programs
  • VDORAM: Towards a Random Access Machine with Both Public Verifiability and Distributed Obliviousness cites Sonic: Zero-Knowledge SNARKs from Linear-Size Universal and Updatable Structured Reference Strings
  • VDORAM: Towards a Random Access Machine with Both Public Verifiability and Distributed Obliviousness cites Mac'n'Cheese: Zero-Knowledge Proofs for Boolean and Arithmetic Circuits with Nested Disjunctions
  • Sonic: Zero-Knowledge SNARKs from Linear-Size Universal and Updatable Structured Reference Strings cites Bulletproofs: Short Proofs for Confidential Transactions and More
  • ZEE200: Zero Knowledge for Everything and Everyone @ 200 KHz cites Dora: A Simple Approach to Zero-Knowledge for RAM Programs
  • ZEE200: Zero Knowledge for Everything and Everyone @ 200 KHz cites Sonic: Zero-Knowledge SNARKs from Linear-Size Universal and Updatable Structured Reference Strings
  • ZEE200: Zero Knowledge for Everything and Everyone @ 200 KHz cites Wolverine: Fast, Scalable, and Communication-Efficient Zero-Knowledge Proofs for Boolean and Arithmetic Circuits
  • ZEE200: Zero Knowledge for Everything and Everyone @ 200 KHz cites Mac'n'Cheese: Zero-Knowledge Proofs for Boolean and Arithmetic Circuits with Nested Disjunctions
  • ZEE200: Zero Knowledge for Everything and Everyone @ 200 KHz cites Bulletproofs: Short Proofs for Confidential Transactions and More
  • Wolverine: Fast, Scalable, and Communication-Efficient Zero-Knowledge Proofs for Boolean and Arithmetic Circuits cites Bulletproofs: Short Proofs for Confidential Transactions and More
  • Time- and Space-Efficient Arguments from Groups of Unknown Order cites Bulletproofs: Short Proofs for Confidential Transactions and More
  • Scalable Zero-knowledge Proofs for Non-linear Functions in Machine Learning cites Wolverine: Fast, Scalable, and Communication-Efficient Zero-Knowledge Proofs for Boolean and Arithmetic Circuits
  • Scalable Zero-knowledge Proofs for Non-linear Functions in Machine Learning cites Mac'n'Cheese: Zero-Knowledge Proofs for Boolean and Arithmetic Circuits with Nested Disjunctions
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. Scalable Zero-knowledge Proofs for Non-linear Functions in Machine LearningMeng Hao, Hanxiao Chen, Hongwei Li, Chenkai Weng et al.USENIX Security 2024 · 29 citations
  2. Dora: A Simple Approach to Zero-Knowledge for RAM ProgramsAarushi Goel, Mathias Hall-Andersen, Gabriel KaptchukCCS 2024 · 2 citations
  3. Icefish: Practical zk-SNARKs for Verifiable GenomicsAlexander Frolov, Maurice Shih, Rob Patro, Ian MiersUSENIX Security 2026
  4. VDORAM: Towards a Random Access Machine with Both Public Verifiability and Distributed ObliviousnessHuayi Qi, Minghui Xu, Xiaohua Jia, Xiuzhen ChengNDSS 2026
  5. ZEE200: Zero Knowledge for Everything and Everyone @ 200 KHzSunghyeon Jo, Vladimir Kolesnikov, Yibin YangCCS 2026

Builds on12

  1. Bulletproofs: Short Proofs for Confidential Transactions and MoreBenedikt Bünz, Jonathan Bootle, Dan Boneh, Andrew Poelstra et al.S&P 2018 · 1,285 citations
  2. Sonic: Zero-Knowledge SNARKs from Linear-Size Universal and Updatable Structured Reference StringsMary Maller, Sean Bowe, Markulf Kohlweiss, Sarah MeiklejohnCCS 2019 · 412 citations
  3. Wolverine: Fast, Scalable, and Communication-Efficient Zero-Knowledge Proofs for Boolean and Arithmetic CircuitsChenkai Weng, Kang Yang, Jonathan Katz, Xiao WangS&P 2021 · 205 citations
  4. Mac'n'Cheese: Zero-Knowledge Proofs for Boolean and Arithmetic Circuits with Nested DisjunctionsCarsten Baum, Alex J. Malozemoff, Marc B. Rosen, Peter SchollCRYPTO 2021 · 77 citations
  5. Time- and Space-Efficient Arguments from Groups of Unknown OrderAlexander R. Block, Justin Holmgren, Alon Rosen, Ron D. Rothblum et al.CRYPTO 2021 · 67 citations

Related papers

  1. A 2.1 KHz Zero-Knowledge Processor with BubbleRAMDavid Heath, Vladimir KolesnikovCCS 2020 · 15 citations
  2. Batchman and Robin: Batched and Non-batched Branching for Interactive ZKYibin Yang, David Heath, Carmit Hazay, Vladimir Kolesnikov et al.CCS 2023 · 15 citations
  3. JesseQ: Efficient Zero-Knowledge Proofs for Circuits Over Any FieldMengling Liu, Yang Heng, Xingye Lu, Man Ho AuS&P 2025
  4. Constant-Overhead Zero-Knowledge for RAM ProgramsNicholas Franzese, Jonathan Katz, Steve Lu, Rafail Ostrovsky et al.CCS 2021 · 1 citation
  5. MozZ2k\mathbb {Z}_{2^k}arella: Efficient Vector-OLE and Zero-Knowledge Proofs over Z2k\mathbb {Z}_{2^k}Carsten Baum, Lennart Braun, Alexander Munch-Hansen, Peter SchollCRYPTO 2022 · 30 citations
Dusk over the sea between two cliffs drawn in fine vertical lines