Case Study: Accelerating Zircuit’s Zero-Knowledge Proofs with ICICLE

Published on: 
Mar 3, 2025

Introduction

Zircuit is an EVM-compatible ZK rollup designed to enhance the scalability and security of Web3 applications. By combining the OP Stack with Zero-Knowledge proofs (ZKPs), Zircuit enables efficient transaction processing and secure state updates. This case study explores how Zircuit integrated Ingonyama’s ICICLE software library to accelerate its cryptographic computations, improving performance and reducing costs.

Zircuit: A Faster, More Secure ZK Rollup

Zircuit employs proprietary proof aggregation for parallel processing, significantly enhancing efficiency while reducing the computational overhead associated with generating ZK proofs. The system maintains Ethereum compatibility, ensuring that gas fees are paid in ETH and that existing Ethereum tools, wallets, and dApps require minimal adaptation.

Key Features of Zircuit

  • Sequencer-Level Security: Monitors the mempool for malicious transactions and prevents their inclusion in blocks.
  • Secure Native Bridge: Provides a robust, easy-to-use canonical bridge for asset transfers.
  • Ethereum Compatibility: Supports Ethereum-native development tools with minimal changes required for integration.

Zircuit’s mission is to provide a scalable, secure, and developer-friendly layer-2 solution, advancing the capabilities of decentralized applications through efficient ZK rollup technology.

Implementing ICICLE: Addressing Performance Bottlenecks

Zircuit’s prover relies on computationally intensive mathematical operations to generate ZK proofs efficiently within a strict time window corresponding to block production. A key bottleneck was the high computational cost of core cryptographic operations, which increased latency and operational expenses. To address this, Zircuit sought a hardware acceleration solution capable of offloading demanding computations to GPUs. Ingonyama’s ICICLE emerged as a promising option, offering specialized support for GPU-accelerated ZK-proof primitives.

The Most Valuable Features of ICICLE for Zircuit

Zircuit identified the following ICICLE functionalities as crucial for optimizing its proving system:

Number Theoretic Transform (NTT) Optimization

  • Domain caching to reduce redundant computations
  • Fast twiddles for improved efficiency
  • Mixed-radix algorithm support to enhance flexibility

Multi-Scalar Multiplication (MSM) Optimization

  • Base caching to speed up calculations
  • Customizable Pippenger’s window bit size for performance tuning
  • Pre-computation factors to optimize large-scale operations

Seamless Integration with Zircuit’s Proving System

The integration of ICICLE into Zircuit’s prover was smooth and efficient. ICICLE’s versatility in handling both Montgomery and non-Montgomery representations eliminated costly data conversions, simplifying the implementation process.

Additionally, ICICLE’s well-structured API allowed Zircuit to implement advanced optimizations, including:

  • Multi-GPU Distribution: Spreading NTT and MSM computations across multiple GPUs for better workload parallelization.
  • Cross-Backend Support: The ability to run across multiple environments (CPU, CUDA, and Metal) with minimal adjustments.

These capabilities enabled Zircuit to seamlessly incorporate ICICLE into its proving pipeline, maximizing efficiency while maintaining flexibility.

Speed Improvements in ZK Proving

ICICLE’s optimized primitives contributed significantly to reducing proof generation times. Initially, before implementing additional GPU kernels, Zircuit observed a 20–30% speedup in key cryptographic operations.

To maximize ICICLE’s potential, Zircuit further optimized its prover architecture by:

  • Batching multiple NTT operations to minimize computational overhead
  • Distributing workloads across multiple GPUs for parallel execution
  • Implementing caching strategies to reduce redundant computations and improve memory transfer efficiency

As a result, ICICLE played a foundational role in Zircuit’s broader performance improvements, laying the groundwork for further GPU acceleration innovations.

ICICLE Github

Collaboration with Ingonyama

Zircuit’s collaboration with Ingonyama was characterized by a high level of technical support and responsiveness. Ingonyama’s team actively engaged in the integration process, offering insights and optimizations tailored to Zircuit’s specific needs. Their proactive approach ensured that the expected performance gains were achieved efficiently.

Future Plans for ICICLE in Zircuit

Looking ahead, Zircuit plans to further optimize its proving pipeline, with a focus on improving:

  • GPU memory management to minimize data transfer bottlenecks
  • Precision resource allocation for optimized workload balancing
  • Expansion of GPU acceleration to additional cryptographic primitives

These enhancements will be introduced as part of Zircuit’s upcoming Garfield update, scheduled for testnet launch in the week of February 24, 2025. Users can expect further optimizations and improved performance as the integration with ICICLE continues to evolve.

Influence on Zircuit’s Development Roadmap

ICICLE’s integration has also influenced Zircuit’s broader engineering strategy. Inspired by its optimized primitives, Zircuit has developed in-house CUDA GPU kernels to address additional computational bottlenecks beyond NTT and MSM. This iterative approach to GPU acceleration has significantly enhanced proof generation times and resource utilization.

The Acceleration Continues…

ICICLE has played a critical role in accelerating Zircuit’s ZK proof generation, providing a strong foundation for GPU-based optimizations. By integrating ICICLE, Zircuit has achieved substantial performance gains, paving the way for continued scalability improvements.

The partnership with Ingonyama has not only enhanced Zircuit’s proving capabilities but also inspired further innovation in GPU-accelerated cryptography. As Zircuit continues to refine its architecture, ICICLE remains an essential component in its pursuit of high-performance, scalable, and secure ZK rollups.

For more information, visit:
docs.zircuit.com
github.com/ingonyama-zk

light

Written by

Table of Contents

Want to discuss further?

Ingonyama is commited to developing hardware for a private future using Zero Knowledge Proofs.

Get in touch
Get our RSS feed