Equivalence Checking of ML GPU Kernels
Benjamin Driscoll, Kshitij Dubey, Anjiang Wei, Neeraj Kayal, Rahul Sharma, Alex Aiken
Key points
From the paper's conclusion- We show that our equivalence checker is sound and, for a well-defined class of GPU kernels which includes many programs of interest, complete.
Abstract
With the rapid progress of deep learning and large language models (LLMs), companies spend enormous sums executing GPU kernels. These kernels have become prime targets for aggressive optimization. Recent efforts increasingly leverage LLMs to generate GPU kernels, but make no formal guarantees about the generated kernels. We present the first equivalence checker for GPU kernels and use it to formally verify the correctness of machine learning (ML) kernels optimized by hand, by LLM, and by compiler. We show that our equivalence checker is sound and, for a well-defined class of GPU kernels which includes many programs of interest, complete. Our implementation, VOLTA, can verify ML computations such as convolutions, matrix multiplications, and various attention mechanisms.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- LARK: Lean-Assisted Reasoning for LLM-Generated GPU KernelsarXiv · 2026
- Proving LLM-Generated GPU Kernels Correct and Safe: Floating-Point Verification in Lean and VerCorsarXiv · 2026
- KernelAudit: Contract-Aware Auditing of Validators for LLM-Generated GPU KernelsarXiv · 2026
- Racer: Hunting GPU Kernel Bugs with Symbolic Equivalence CheckingarXiv · 2026
- AsmEvo: Agentic Assembly-Level Optimization of AMD GPU Kernels with Functional Equivalence VerificationarXiv · 2026
- How Much of a Real Workload Can LLM-Generated GPU Kernels Actually Reach?arXiv · 2026