CertiK and Columbia University Discovered 47 Bugs in AI Computing Software

• Evgenia Sliv (edited: )
CertiK and Columbia University Discovered 47 Bugs in AI Computing Software

Researchers from CertiK and Columbia University have discovered dozens of hidden errors in software libraries that power modern artificial intelligence models. To verify computations, the specialists developed TensorLean, a system for the mathematical verification of GPU code.

Initially, researchers reported 38 discovered errors. According to updated data from the TensorLean project, their number reached 47, including 29 defects in the FlashAttention library.

Why AI computational errors are hard to detect

A significant portion of mathematical operations in neural network training and response generation is performed by GPU cores—small programs running on graphics processors. To enhance performance, developers optimize parallel computations and use reduced precision arithmetic.

Such changes allow AI to work faster and reduce computational costs, but they can lead to hard-to-detect errors. Meanwhile, the program can continue to operate, producing seemingly plausible but mathematically incorrect results.

In the study, specialists checked 149 instances of compiled GPU cores. For 83 of them, compliance with mathematical specifications was proven. Errors were found in six software projects, including DeepGEMM from DeepSeek and FlashAttention.

One of the defects in FlashAttention-4 went unnoticed even after 17,760 test runs. Under certain conditions, the error could cause the model to miss part of the information needed to form a response.

Errors can increase AI training costs

In an interview with BeInCrypto, CertiK CEO and Columbia University professor Junhui Gu noted that the reliability of computations has direct economic significance for AI developers.

For example, if computational costs for training a model amount to $100 million, the need to repeat just 1% of operations due to an error would require additional expenses of $1 million. This amount does not include the costs of engineers' work, identifying the cause of the failure, and potential product release delays.

However, researchers have not yet determined whether the discovered defects led to financial losses or incorrect results in commercial AI systems. The potential savings from using TensorLean also remain unknown.

How TensorLean verifies computational correctness

Unlike traditional testing, where a program is checked on individual examples, TensorLean uses formal verification. This method allows for mathematically proving the compliance of program code with established requirements within certain conditions.

The system analyzes compiled GPU code and uses the Lean language to construct and automatically verify mathematical proofs. This approach allows for repeated verification of computations after software library updates and performance optimizations.

However, formal verification of individual computational operations does not eliminate AI hallucinations and does not guarantee the factual accuracy of all model responses.

CertiK enters the AI infrastructure verification market

According to Junhui Gu, several major AI developers have already approached CertiK regarding the verification of their own GPU cores.

The company, previously specializing mainly in blockchain infrastructure security, views mathematical verification of computations as a promising area of activity.

In December 2026, CertiK plans to open-source TensorLean and publish a full scientific report. In the future, the technology could become an additional tool for quality control of software and computational expenses for companies developing artificial intelligence.

This material is prepared solely for informational purposes and does not constitute financial advice or a recommendation.

Comments

Checking authorization...
Loading comments...