Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Extrapolating from Regularised Solutions for Solving Ill-Conditioned Linear Systems in Machine Learning

About

Rapid prototyping of algorithms is a critical step in modern machine learning. Most algorithms exploit linear algebra, creating a need for lightweight numerical routines which -- while potentially sub-optimal for the task at hand -- can be rapidly implemented. For the numerical solution of ill-conditioned linear systems of equations, the standard solution for prototyping is Tikhonov-regularised inversion using a nugget. However, selection of the size of nugget is often difficult, and the use of data-adaptive procedures precludes automatic differentiation, introducing instabilities into end-to-end training. Further, while data-adaptive procedures perform multiple linear solves to select the size of nugget, only the result of one such solve is returned, which we argue is wasteful. This paper aims to circumvent the above difficulties, presenting autonugget; a Python package for automatic and stable numerical solution of linear systems suitable for rapid prototyping, and fully compatible with automatic differentiation using JAX. autonugget combines multiple linear solves using Richardson extrapolation to determine the solution of the ill-conditioned system, improving in accuracy over approximations based on a single nugget.

Disha Hegde, Jon Cockayne, Chris. J. Oates• 2026

Related benchmarks

TaskDatasetResultRank
Linear System Solving100 ill-conditioned matrices Section 4.2 bottom-right quarter
Mean Absolute Error1.41e-4
10
Solving Linear Systems900 matrices
Mean Absolute Error (MAE)1.20e-4
10
Showing 2 of 2 rows

Other info

Follow for update