USENIX Security2022Top-tier venue
Efficient Representation of Numerical Optimization Problems for SNARKs
Sebastian Angel, Andrew J. Blumberg, Eleftherios Ioannidis, Jess Woods
Abstract
This paper introduces Otti, a general-purpose compiler for (zk)SNARKs that provides support for numerical optimization problems. Otti produces efficient arithmetizations of programs that contain optimization problems including linear programming (LP), semi-definite programming (SDP), and a broad class of stochastic gradient descent (SGD) instances. Numerical optimization is a fundamental algorithmic building block: applications include scheduling and resource allocation tasks, approximations to NP-hard problems, and training of neural networks. Otti takes as input arbitrary programs written in a subset of C that contain optimization problems specified via an easy-to-use API. Otti then automatically produces rank-1 constraint satisfiability (R1CS) instances that express a succinct transformation of those programs. Correct execution of the transformed program implies the optimality of the solution to the original optimization problem. Our evaluation on real benchmarks shows that Otti, instantiated with the Spartan proof system, can prove the optimality of solutions in zero-knowledge in as little as 100 ms-over 4 orders of magnitude faster than existing approaches.
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.
9 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Icefish: Practical zk-SNARKs for Verifiable Genomics cites Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
- Sonic: Zero-Knowledge SNARKs from Linear-Size Universal and Updatable Structured Reference Strings cites Doubly-Efficient zkSNARKs Without Trusted Setup
- Sonic: Zero-Knowledge SNARKs from Linear-Size Universal and Updatable Structured Reference Strings cites Bulletproofs: Short Proofs for Confidential Transactions and More
- Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs cites Doubly-Efficient zkSNARKs Without Trusted Setup
- Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs cites Spartan: Efficient and General-Purpose zkSNARKs Without Trusted Setup
- Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs cites Bulletproofs: Short Proofs for Confidential Transactions and More
- Bulletproofs: Short Proofs for Confidential Transactions and More cites Doubly-Efficient zkSNARKs Without Trusted Setup
Cited by top-tier papers9
- Trustless Audits without Revealing Data or ModelsSuppakit Waiwitlikhit, Ion Stoica, Yi Sun, Tatsunori Hashimoto et al.ICML 2024 · 20 citations
- Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofsSebastian Angel, Eleftherios Ioannidis, Elizabeth Margolin, Srinath T. V. Setty et al.USENIX Security 2024 · 12 citations
- ConsCS: Effective and Efficient Verification of Circom CircuitsJinan Jiang, Xinghao Peng, Jinzhao Chu, Xiapu LuoICSE 2025 · 2 citations
- Lighthouse: Single-Server Secure Aggregation with O(1) Server-Committee Communication at ScaleSanjam Garg, Alireza Kavousi, Dimitris Kolonelos, Erkan Tairi et al.USENIX Security 2026 · 1 citation
- Icefish: Practical zk-SNARKs for Verifiable GenomicsAlexander Frolov, Maurice Shih, Rob Patro, Ian MiersUSENIX Security 2026
Builds on14
- Bulletproofs: Short Proofs for Confidential Transactions and MoreBenedikt Bünz, Jonathan Bootle, Dan Boneh, Andrew Poelstra et al.S&P 2018 · 1,285 citations
- Sonic: Zero-Knowledge SNARKs from Linear-Size Universal and Updatable Structured Reference StringsMary Maller, Sean Bowe, Markulf Kohlweiss, Sarah MeiklejohnCCS 2019 · 412 citations
- Doubly-Efficient zkSNARKs Without Trusted SetupRiad S. Wahby, Ioanna Tzialla, Abhi Shelat, Justin Thaler et al.S&P 2018 · 356 citations
- Spartan: Efficient and General-Purpose zkSNARKs Without Trusted SetupSrinath T. V. SettyCRYPTO 2020 · 262 citations
- Transparent SNARKs from DARK CompilersBenedikt Bünz, Ben Fisch, Alan SzepieniecEUROCRYPT 2020 · 240 citations
Related papers
- ZENO: A Type-based Optimization Framework for Zero Knowledge Neural Network InferenceBoyuan Feng, Zheng Wang, Yuke Wang, Shu Yang et al.ASPLOS 2024 · 13 citations
- Tabby: A Synthesis-Aided Compiler for High-Performance Zero-Knowledge Proof CircuitsJunrui Liu, Jiaxin Song, Yanning Chen, Hanzhi Liu et al.OOPSLA 2025
- Ou: Automating the Parallelization of Zero-Knowledge ProtocolsYuyang Sang, Ning Luo, Samuel Judson, Ben Chaimberg et al.CCS 2023 · 2 citations
- Soloist: Distributed SNARK for R1CS with Constant Proof SizeWeihan Li, Zongyang Zhang, Yun Li, Pengfei Zhu et al.EUROCRYPT 2026
- Evaluating Compiler Optimization Impacts on zkVM PerformanceThomas Gassmann, Stefanos Chaliasos, Thodoris Sotiropoulos, Zhendong SuASPLOS 2026 · 2 citations
