ZeroDailyGet it on Google Play

TensorLean Proves AI Kernels Wrong: Finds Hidden Bugs That Thousands of Tests Missed

Original headline: A Team of Researchers from Columbia and CertiK Introduce TensorLean for Formal Verification of GPU Kernels — marktechpost.com

More in AI and machine learning news

Researchers from Columbia University and CertiK have developed TensorLean, a formal verification framework that mathematically proves whether GPU kernels—the low-level code that runs AI models on graphics cards—actually perform their intended tensor operations correctly. Unlike traditional testing, it doesn't just run code; it uses the Lean theorem prover and SMT solvers to mathematically verify properties like correctness, data-race freedom, and termination at the PTX (assembly) level, starting from unmodified CUDA or Triton source code.

In a real-world validation, TensorLean analyzed 149 kernel instances from major AI projects including FlashAttention-2 through 4 and DeepGEMM. It proved 83 kernels correct, but more importantly, found 38 hidden bugs across 6 projects—including a subtle data race in FlashAttention-4 that never appeared in 17,760 conventional test runs. For engineers building high-stakes AI infrastructure, this represents a leap from probabilistic testing to mathematical certainty, catching silent errors before they corrupt model outputs.

Read the original at marktechpost.com

Satirical commentary on real tech news, summarised with AI. Read the original source for the facts. How ZeroDaily works

Open in the appGet it on Google Play

More stories

Add ZeroDaily on Google