Optimizing Optimism: Up to 3.5x Faster zkVM Validity Proofs via Sparse Derivation
Mohsen Ahmadvand, Pedro Souto
TL;DR
The paper tackles the high proving cost of generating validity proofs for Optimism’s zkVM derivation by identifying inefficiencies in full-block traversal and receipt parsing. It introduces nonce-based sparse prefetching and Bloom-gated config updates to drastically reduce in-VM work, while preserving soundness through L1-anchored boundary invariants and per-range aggregation. The redesigned derivation achieves up to a 3.5x overall speedup (and up to 6.5x in derivation) with robust resilience to Bloom false positives and operational outages. Security analysis confirms defense-in-depth against forgery, omission, and reordering, preserving Optimism’s safety guarantees while improving practical viability of zkVM proofs. The results demonstrate a broader principle: co-designing proving constraints with protocol invariants can yield large performance gains in verifiable computation, guiding future work across zkVM applications.
Abstract
The Optimism derivation pipeline is engineered for correctness and liveness, not for succinct validity proofs. A straightforward port to a zkVM imposes significant overheads, making validity proofs significantly more costly than necessary. We systematically identify inefficiencies in the current design, analyze their impact on proving costs, and provide a soundness-preserving redesign tailored to zk proving. Our redesign achieves up to 6.5x faster derivation inside zkVMs (3.5x overall speedup) while maintaining identical safety guarantees.
