CertiK Finds 38 Hidden AI Bugs That Could Cost the Industry Millions
Researchers at CertiK and Columbia University have found 38 bugs in software program that performs a few of the most basic calculations behind trendy AI.
Among them are two bugs in DeepSeek’s DeepGEMM library and 23 in FlashAttention, a extensively used expertise that makes AI fashions run quicker.
One of those bugs went undetected via 17,760 runs of related software program assessments. Under sure situations, it might trigger an AI mannequin to miss data it was imagined to course of.
The findings increase an uncomfortable query for an {industry} spending billions of {dollars} on computing energy: how a lot confidence do AI companies have in the calculations their machines carry out?
In an interview with BeInCrypto, CertiK CEO and Columbia University pc science professor Ronghui Gu defined the discovery, its potential financial penalties, and the way a mathematical breakthrough might change the method AI fashions are developed.
“Right now, the AI {industry} is racing to make fashions quicker and extra subtle. Our work is a reminder that uncooked pace means little or no if we are able to’t belief the underlying math,” Gu stated.
The Hidden Problem Inside Modern AI Models
Every time somebody asks an AI chatbot a query, an unlimited variety of mathematical calculations happen. Much of this work is carried out by small applications known as GPU kernels.
Developers continually modify these applications to make calculations quicker and scale back computing prices. Some adjustments contain operating a number of operations concurrently or utilizing much less exact arithmetic.
These optimizations can introduce errors which might be exceptionally tough to note.
In August 2025, some Claude users began receiving unusual responses. English prompts sometimes produced sudden Thai or Chinese characters. Generated pc code contained apparent syntax errors.
In its subsequent postmortem, Anthropic recognized a efficiency optimization that prompted incorrect likelihood calculations when Claude was producing responses.
“What makes these errors significantly regarding is that the software program might proceed operating usually whereas producing incorrect computational outcomes,” Gu defined.
Sometimes, an incorrect response might seem completely affordable to the individual studying it. That makes computational errors significantly tough to determine.
“While there is no such thing as a industry-wide estimate of how usually these bugs go unnoticed, what we noticed in our TensorLean analysis reveals that silent errors are an actual blind spot—one which standard testing alone can’t reliably catch.”
Inside the 38 Bugs CertiK Discovered
On November 20, CertiK and Columbia University announced TensorLean, a framework for mathematically verifying the correctness of manufacturing GPU kernels.
The researchers evaluated 149 compiled kernel situations. They proved that 83 happy their mathematical specs and found 38 distinct bugs throughout six software program libraries.
Among the findings had been 19 reminiscence entry errors and 13 numerical bugs.
One significantly revealing discovery concerned FlashAttention-4, a part of a library that helps AI fashions course of data extra effectively.
The researchers discovered that some computing operations might overwrite data earlier than others had completed studying it.
Gu described the penalties as “basically making the AI ‘blind’ to components of the context it’s imagined to be studying.”
The bug escaped 17,760 runs of related assessments.
Furthermore, 19 of the 23 FlashAttention bugs appeared solely underneath particular mixtures of enter shapes and software program options.
“The similar kernel might behave in another way relying on enter sizes, sequence lengths, {hardware} architectures, and execution configurations,” Gu defined.
Some of the found bugs might trigger software program to crash. Others might silently generate incorrect calculations.
However, CertiK has but to determine whether or not these particular bugs affected business AI coaching or precise chatbot responses.
The Potential Million-Dollar Cost of a Computing Error
For AI firms, computational reliability can also be an financial drawback.
Training superior AI fashions requires substantial investments in {hardware}, electrical energy and engineering. An undetected error might compromise costly computations earlier than builders notice one thing has gone fallacious.
“Consider a hypothetical coaching run with $100 million in computing prices. If a computational error requires the equal of simply 1% of that computation to be repeated, the further compute price alone can be $1 million,” Gu stated.
“This doesn’t account for engineering time, debugging efforts, or delays in mannequin improvement.”
There is rising analysis into how small mathematical errors can disrupt AI coaching.
In October 2026, Google DeepMind researchers identified two numerical bugs in extensively used mathematical operations. Their experiments demonstrated how these errors might trigger a smaller AI mannequin to float away from the bigger mannequin it was studying to mimic.
As traders scrutinize AI firms’ monumental infrastructure spending, computational accuracy might change into an more and more essential consider managing prices.
The precise financial savings TensorLean might ship at business scale stay unquantified.
Can Mathematics Make AI More Reliable?
Conventional software program testing works by operating a program underneath completely different situations and checking the outcomes. Even hundreds of profitable assessments can’t cowl each doable execution.
TensorLean makes use of a method known as formal verification.
Imagine testing a calculator with hundreds of equations. Each right reply will increase confidence in the calculator. A mathematical proof goes additional by establishing that its calculation technique works throughout a complete outlined vary of numbers.
TensorLean applies the same precept to AI computing software program. It examines compiled GPU code and creates mathematical proofs utilizing Lean, a language that enables computer systems to independently examine the validity of mathematical reasoning.
“The central problem is that the similar optimizations that make trendy AI software program quick additionally make it extraordinarily tough to confirm,” Gu stated.
The breakthrough permits researchers to look at advanced, high-performance computing code underneath lifelike execution situations.
Developers might doubtlessly repeat this verification every time they replace their software program.
The ensures have limits. They apply to particular calculations underneath outlined situations and numerical tolerances. They can’t get rid of AI hallucinations or assure that a complete mannequin produces factually correct solutions.
Major AI Companies Are Already Showing Interest
The analysis can also be opening a brand new enterprise alternative for CertiK, an organization primarily recognized for securing blockchain infrastructure.
“We have already been approached by main AI firms searching for to confirm their GPU kernels, particularly when their new fashions depend on newly designed kernels,” Gu revealed.
CertiK plans to open-source TensorLean and launch its full analysis paper in December 2026.
Gu believes mathematical verification might ultimately change into a routine a part of AI software program improvement, permitting firms to examine computational accuracy every time they introduce efficiency enhancements.
“Our purpose is to make rigorous mathematical verification preserve tempo with efficiency optimization, in order that AI builders can enhance computing effectivity with out compromising computational correctness.”
For an {industry} investing closely in making synthetic intelligence extra highly effective, establishing whether or not its underlying calculations are right might change into a basic a part of making these investments repay.
The put up CertiK Finds 38 Hidden AI Bugs That Could Cost the Industry Millions appeared first on (*38*).
