Introduction
Verifiable Computation (VC) allows a client to outsource the execution of a program to a remote, untrusted server while receiving a cryptographic proof that the result is correct. While systems like Pinocchio achieved near-instantaneous verification for the client, they imposed a massive computational burden on the prover—often taking millions of times longer than the original execution. Geppetto addresses these inefficiencies through a suite of techniques that align cryptographic proofs with the actual execution paths of real-world software.
System Architecture and MultiQAPs
Geppetto is built on an LLVM-based toolchain, allowing developers to write standard C code. The compiler translates this code into Quadratic Arithmetic Programs (QAPs), the mathematical foundation for the proofs.
A core innovation in Geppetto is the MultiQAP. Traditional VC systems represent an entire program as a single, monolithic circuit. Geppetto instead breaks programs into smaller, reusable components ($P_i$) that map to individual QAPs ($Q_i$). These components share state via a "bus" mechanism. This modularity allows the prover to commit to a dataset once and reuse it across multiple proofs, reducing the overhead of state sharing by up to 375x compared to previous hashing-based methods.
Energy-Saving Circuits
In standard VC, the prover must perform work proportional to the size of the entire circuit, regardless of which branches are actually executed. Geppetto introduces "energy-saving circuits" to mitigate this "worst-case" penalty.
As shown in the figure above, Geppetto structures conditional logic so that wires in unused branches (like an else block when the if condition is met) evaluate to zero. Because the underlying cryptographic operations—specifically multi-exponentiations—are computationally "free" for zero values, the prover only pays for the execution path actually taken. This brings the cost of VC closer to the "actual-case" execution time.
Proof Bootstrapping and Field Alignment
To maintain small proof sizes and fast verification, Geppetto employs "proof bootstrapping"—the process of creating a proof that verifies another proof. While previous attempts at "unbounded" recursion were theoretically elegant but practically slow, Geppetto utilizes bounded proof bootstrapping.
By selecting a specific pair of elliptic curves—Barreto-Naehrig (BN) and Cocks-Pinch (CP)—the authors ensure that the group order of one curve matches the prime field of the other. This "native field alignment" allows the system to verify cryptographic signatures and "proofs of proofs" with unprecedented efficiency. This approach is five orders of magnitude faster than prior unbounded methods, achieving an effective prover clock rate of 2.6 KHz.
Performance and Results
The evaluation of Geppetto demonstrates significant practical gains:
- State Sharing Efficiency: MultiQAPs reduce the complexity (degree) of the proof by 45x to 375x per byte of shared state.
- Branching Optimization: In a test circuit for five matrix multiplications, computing only one branch cost only 68% more than a single-purpose circuit, compared to the 500% penalty in traditional systems.
- Real-World Scalability: The toolchain successfully handled computations involving 24 million LLVM instructions, proving its readiness for complex C-based applications.
Conclusion
Geppetto represents a major step toward making verifiable computation a practical reality for cloud services. By introducing modular MultiQAPs, energy-saving conditional logic, and efficient bounded bootstrapping, it significantly narrows the gap between native execution and proven execution. While the prover's "clock rate" remains slow compared to modern CPUs, the architectural improvements provided by Geppetto offer a scalable path forward for secure, outsourced computation.
Summary updated