Teknoloji

38 Hidden Bugs Found in DeepSeek's DeepGEMM Library and FlashAttention

CertiK and Columbia University researchers have identified 38 hidden bugs in the software that performs the fundamental computations of modern artificial intelligence.

Published
Translated by AI
DeepSeek'in DeepGEMM kütüphanesinde 2, FlashAttention'da 23 hata bulundu

38 hidden bugs found in modern AI software, including 2 in DeepSeek's DeepGEMM library and 23 in FlashAttention

Researchers from CertiK and Columbia University identified 38 hidden bugs in the software that runs the fundamental computations of modern artificial intelligence. Among these bugs, 2 were found in DeepSeek's DeepGEMM library and 23 in FlashAttention. The findings reveal that the unseen layers of AI infrastructure harbor serious cost and reliability risks, and the researchers warn that such bugs could cost the industry millions of dollars. The fact that the bugs are concentrated especially in fundamental operations such as matrix multiplication and attention mechanisms shows that the problem can spread not only to a single model but across the entire AI ecosystem.

A notable finding of the research is that the distribution of the bugs points to the industry's critical dependency points. FlashAttention, a widely used library that accelerates attention computations in large language models, tops the list with 23 bugs. The 2 bugs in DeepSeek's DeepGEMM library, on the other hand, emerge in fundamental operations such as efficient matrix multiplication. This distribution means that a bug in a single popular library can silently spread to thousands of models and products, which is why the researchers draw attention to the hidden nature of the problem.

| Library / Component | Number of Detected Bugs | Functional Role |

|---|---|---|

| FlashAttention | 23 | Attention mechanism computations |

| DeepSeek DeepGEMM | 2 | Efficient matrix multiplication (GEMM) |

| Other components | 13 | Core artificial intelligence computations |

| **Total** | **38** | **Modern artificial intelligence infrastructure** |

As seen in the table, the majority of the errors are concentrated in the low-level libraries that are most frequently called during the training and inference processes of artificial intelligence models. This makes the errors harder to detect while also amplifying their impact through a multiplier effect, since these libraries operate in layers that are invisible to the user yet determine the accuracy of the entire system.

The study's methodology is based on systematically examining the most fundamental computational blocks of artificial intelligence software. The CertiK and Columbia University team developed specialized verification techniques to uncover the errors in these components. The findings show that discussions on artificial intelligence safety should not be limited to model behavior or data privacy alone, but must also encompass numerical accuracy and software engineering layers. In this framework, the research emphasizes that auditing the invisible layers of artificial intelligence infrastructure is critical.

Experts note that the financial impact of such errors can emerge through more than one channel. Faulty computations can lead to wasted computing resources during model training, incorrect outputs in production environments, and ultimately reputational damage. It is stated that in large-scale artificial intelligence systems in particular, a single numerical error can invalidate the entire training process or inference results. For this reason, the researchers argue that early detection of errors is decisive in terms of cost. At this point, analyses in which artificial intelligence safety and technical risks in crypto markets are addressed in a similar manner also draw attention; for instance, the assessment that the real reason behind the drop in the Bitcoin price was not the Binance hack incident shows how technical infrastructure risks shape market perception ( .

One of the most striking aspects of the research is that the errors are described as hidden. These errors can pass superficial tests and only emerge with certain input combinations or edge cases. Therefore, traditional software tests can fall short in catching such problems. The approach developed by the CertiK and Columbia University team examines the mathematical accuracy of fundamental computational blocks to uncover these invisible errors. The researchers state that these errors are hidden in the fundamental computations of modern artificial intelligence and can lead to the waste of millions of dollars in resources without being noticed.

Another important implication for the industry is the inadequacy of security and accuracy auditing of open source libraries. The discovery of 23 errors in a widely used component such as FlashAttention reveals the auditing gap in the open source ecosystem. These libraries are used by dozens of different companies and research groups; therefore, the impact of a single error can spread across the entire industry. Experts state that independent verification and continuous auditing mechanisms need to be established for the fundamental components used in artificial intelligence infrastructure. This recommendation reinforces the view that artificial intelligence safety must be addressed not only at the model level but also at the infrastructure level.

As a result, the findings of CertiK and Columbia University reveal the artificial intelligence industry's invisible technical debt and infrastructure risks. The fact that 25 of the 38 bugs are concentrated in critical libraries such as FlashAttention and DeepGEMM shows just how high the sector's dependence on these components is. The researchers are calling for the widespread adoption of systematic verification processes to fix the bugs and prevent similar problems. At a time when artificial intelligence investments are measured in billions of dollars, the cost of such hidden bugs in fundamental computing layers can reach serious proportions both economically and in terms of reliability.

Researchers from CertiK and Columbia University have identified 38 hidden bugs in the software that carries out the fundamental computations of modern artificial intelligence. Among these bugs, 2 were found in DeepSeek's DeepGEMM library and 23 in FlashAttention. The findings reveal that serious cost and reliability risks lie within the unseen layers of AI infrastructure, and the researchers warn that such bugs could cost the industry millions of dollars. The fact that the bugs are concentrated especially in fundamental operations such as matrix multiplication and attention mechanisms shows that the problem can spread not just to a single model but across the entire AI ecosystem. The study's prominent finding is that the distribution of the bugs points to the industry's critical dependency points. FlashAttention, a widely used library that accelerates attention computations in large language models, tops the list with 23 bugs. The 2 bugs in DeepSeek's DeepGEMM library, on the other hand, emerge in fundamental operations such as efficient matrix multiplication. This distribution means that a bug in a single popular library can silently spread to thousands of models and products, which is why the researchers draw attention to the hidden nature of the problem. | Library / Component | Number of Detected Bugs | Functional Role | |---|---|---| | FlashAttention | 23 | Attention mechanism computations | | DeepSeek DeepGEMM | 2 | Efficient matrix multiplication (GEMM) | | Other components | 13 | Fundamental AI computations | | Total | 38 | Modern AI infrastructure | As can be seen from the table, the majority of the bugs are concentrated in the low-level libraries that are most frequently called during the training and inference processes of AI models. This makes the bugs harder to detect while multiplying their impact through a compounding effect, since these libraries are among the layers that are invisible to the user yet determine the accuracy of the entire system. The study's methodology is based on systematically examining the most fundamental computational blocks of AI software. The CertiK and Columbia University team developed specialized verification techniques to uncover the bugs in these components. The findings show that AI safety discussions should not be limited to model behavior or data privacy alone, but must also cover numerical accuracy and software engineering layers. Within this framework, the research emphasizes that auditing the invisible layers of AI infrastructure is critical. Experts note that the financial impact of such bugs can emerge through more than one channel. Faulty computations can lead to wasted computing resources in model training, incorrect outputs in production environments, and ultimately reputational damage. It is stated that in large-scale AI systems in particular, a single numerical error can invalidate an entire training process or inference results. For this reason, the researchers argue that early detection of bugs is decisive in terms of cost. At this point, analyses in which AI security and technical risks in crypto markets are addressed in a similar manner also draw attention; for instance, the assessment that the real reason behind the drop in the BitcoinBTC$59,804.01−0.92% price was not the Binance hack incident shows how technical infrastructure risks shape market perception. One of the most striking aspects of the research is that the bugs are described as hidden. These bugs can pass superficial tests and only emerge under certain input combinations or edge cases. Therefore, traditional software testing can fall short of catching such problems. The approach developed by the CertiK and Columbia University team scrutinizes the mathematical correctness of fundamental computational blocks to bring these invisible bugs to light. The researchers state: These bugs are hidden in the fundamental computations of modern AI and can lead to millions of dollars worth of resources being wasted without being noticed. Another important implication for the industry is the inadequacy of security and accuracy auditing of open source libraries. The discovery of 23 bugs in a widely used component like FlashAttention exposes the auditing gap in the open source ecosystem. These libraries are used by dozens of different companies and research groups, so the impact of a single bug can spread across the entire industry. Experts state that independent verification and continuous auditing mechanisms need to be established for the fundamental components used in AI infrastructure. This recommendation reinforces the view that AI security must be addressed not only at the model level but also at the infrastructure level. In conclusion, the findings of CertiK and Columbia University expose the invisible technical debt and infrastructure risks of the AI industry. The concentration of 25 of the 38 bugs in critical libraries such as FlashAttention and DeepGEMM shows just how high the industry's dependency on these components is. The researchers call for the widespread adoption of systematic verification processes to fix the bugs and prevent similar problems. At a time when AI investments are measured in billions of dollars, the cost of such hidden bugs in fundamental computational layers could reach serious proportions both economically and in terms of reliability.

Sorumluluk Reddi: Bu içerikte yer alan bilgiler yatırım tavsiyesi değildir. Kripto para birimlerinin yüksek volatilite ve dolayısıyla risk içerdiğini lütfen unutmayın. Yatırım kararlarınızı, kendi araştırmalarınız ve risk değerlendirmeleriniz doğrultusunda vermeniz önerilir. Geçmiş performans gelecek getiri garantisi değildir. Bu içerik genel bilgilendirme amaçlıdır ve kişiye özel yatırım danışmanlığı niteliği taşımaz. Kaybedebileceğiniz tutarın üzerinde yatırım yapmayınız. Bağlantı verilen üçüncü tarafların içerik ve uygulamalarından bitcosar sorumlu değildir. Mevzuat ve düzenlemeler değişebilir; güncel koşulları kontrol ediniz.
Source: BeInCrypto — this article is a summary with attribution; the full text is at the source.
İbrahim Coşar

This story summarises a report published at its source; the full text belongs to the source, linked above. For correction requests contact contact.

Related Stories

All →