Trustworthy Numerical Software in the Age of AI: What Would Turing Do?
Kimon Fountoulakis, Maksim Melnichenko, Muhammad Fetrat Qharabagh, Georgios Alexandros Georgantzas, George Spyrou, Oleg Balabanov, Vasileios Georgiou, Riley Murray, Michael W. Mahoney
Abstract
AI coding agents can now produce numerical software faster than human experts can review it, raising serious concerns about usability and reliability. These and other AI tools are already transforming mathematics and software, and they will soon transform mathematical software. These concerns motivated us to assess AI-generated numerical linear algebra (NLA) kernels, which we did through an audit of a recent public GPU QR competition. All five leading kernels passed the competition's accuracy tests, and the winning kernel achieved a 107-fold speedup over the competition's baseline, which calls NVIDIA's QR routine. Yet each failed at least once on new inputs, even those from the competition's generator, under the same checker, while the baseline passed them all. In light of this, we want to develop reusable formalizations of numerical analysis methods, which remain sparsely represented in existing formal libraries. We describe VSCL, our Lean library of mathematical foundations for numerical computing. We also propose VERNA to connect these tasks by using formalized results to guide kernel assessment against explicit specifications. Drawing on Turing's work on rounding-error analysis and program checking, we discuss design principles for developing trustworthy numerical software when direct human checking is impractical.
Create a lesson
Metadata
- Categories
- math.NA, cs.MS, cs.NA
- Comments
- 44 pages
Related papers
Numerical simulations of CCP-2D GEC with sGMRES
Shared title terminologymath.NAZhenyu Zou, Haoran Guan, Kangxin Liu et al.
Efficient numerical computation of the generalized Marcum Q-function with applications
Shared title terminologymath.NAZhong-Xuan Mao, Jing-Feng Tian
The coordinate dependence of numerical rank: charts adapted to level sets
Shared title terminologymath.NAHung Tran, Duc P. Truong
Numerical approximation of the Hilfer fractional derivative using orthogonal Quasi-Polynomials
Shared title terminologymath.NARabab Beirkdar, Swaminathan Anbhu
Two-phase visco-elastic FENE-P model: Thermodynamically consistent modeling, sharp interface limit analysis and unconditionally energy stable numerical scheme
Shared title terminologymath.NAYuzhe Qin, Dongdong He
Near-optimal convergence of Widlund's method and numerical exploration of different implementations
Shared title terminologymath.NAAndrew J. Higgins, Logan O. Reed, Daniel B. Szyld