FPGA vs GPU for ZK Proving

New benchmarks from Cysic show that for graph-first ZK proving, current FPGAs lag behind GPUs by a factor of 7-8x. While GPUs currently dominate, the data highlights the performance targets that future FPGAs or specialized ASICs would need to hit for specialized verification and cryptographic workloads.

GPUs excel at parallel processing, making them a strong fit for the matrix-heavy calculations found in many zero-knowledge proofs. Companies like Cysic have developed sophisticated GPU-based proving stacks that can achieve speed-ups of over 50 times compared to CPU-based methods. This raw computational power has made GPUs the current go-to for many ZK applications. FPGAs, or Field-Programmable Gate Arrays, offer a different advantage: reconfigurable hardware. Instead of a fixed architecture like a GPU, an FPGA's logic can be programmed for specific, repetitive tasks, such as the Poseidon hash function common in ZK circuits. This specialization can lead to greater power efficiency and lower latency for particular operations. The term "graph-first" in ZK proving often refers to cryptographic proofs based on graph theory problems, like proving knowledge of a valid graph coloring or a graph isomorphism without revealing the solution. These types of proofs are foundational in cryptography and represent a class of computational problems where the structure of the problem itself is a graph. While GPUs currently lead in general-purpose ZK proving, the future likely lies with Application-Specific Integrated Circuits (ASICs). ASICs are custom-designed chips built for a single task, and in the context of ZK proofs, they could offer performance gains of 10 to 100 times that of GPUs. Cysic and other companies are actively developing ASICs to become the core infrastructure for ZK computation as algorithms standardize. For students in the Los Angeles area, this trend has local significance. The region is a hub for major semiconductor players like Broadcom and Skyworks Solutions, as well as aerospace giants such as SpaceX and Northrop Grumman, both of which utilize advanced FPGA and ASIC design for applications in communication and defense systems. The development of custom silicon for cryptographic and other specialized workloads is a critical area in the local aerospace industry. At companies like Northrop Grumman, FPGAs are integral to satellite platforms, while SpaceX designs custom ASICs and FPGAs for their Starlink constellation. These applications often involve real-time embedded systems for control and signal processing, a key area of study for aspiring hardware engineers.

Get your own daily briefing

Scout delivers personalized news, insights, and conversations tailored to your role and industry.

Download on the App Store

Shared from Scout - Be the smartest in the room.