Search arXiv⌕ Search

arXiv · 2611.19687

Adaptive Precision Cholesky with Error Guarantees

Abstract

Modern accelerators increasingly support low-precision formats such as 8-bit floats and integers to speed up machine learning. We show that a Cholesky factorization in which both GEMM and TRSM are implemented using the fixed-point Ozaki 1 scheme satisfies the same backward error bounds as the standard floating-point Cholesky factorization, and that the same holds for a Cholesky factorization computed using a low-precision MicroScaled GEMM. We then use our error analyses to construct an adaptive precision Cholesky factorization that exploits low-precision formats while respecting a prescribed element-wise error bound, as long as the factorization succeeds. We test it in two settings. First, we use it to choose the number of Ozaki 1 slices at each iteration, with SYRK/GEMM and TRSM emulated in INT8 fixed-point arithmetic to attain double-precision accuracy. Second, we use it to build a low-precision Cholesky preconditioner for the conjugate gradient method (PCG), in which SYRK/GEMM take low-precision inputs and accumulate in high precision, with the input format selected adaptively for each panel; if the factorization breaks down, diagonal perturbation still yields a valid preconditioner, at the cost of the error bound guarantees. On an NVIDIA GH200, the adaptive Ozaki 1-based factorization is up to 29% faster than a right-looking Cholesky using a fixed slice count of 7, and up to 69% faster than one using cuBLAS' Automatic Dynamic Precision (ADP), while maintaining the same error guarantees. For PCG, FP8 factorizations with diagonal perturbation form effective preconditioners on the 13 tested SuiteSparse matrices, reducing the number of PCG iterations by up to $12\times$ over CG on the same matrix diagonally scaled by powers of two. For synthetic matrices with arithmetic spectra, and geometric spectra with $κ\le 10^4$, FP8 preconditioners also reduce the number of CG iterations.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Sudhanva Kulkarni, James W. Demmel, Laura Grigori. 2026-11-15. Adaptive Precision Cholesky with Error Guarantees. https://searcharxiv.org/abs/2611.19687

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Finite-difference least square methods for solving Hamilton-Jacobi equations using neural networks

We present a simple algorithm to approximate the viscosity solution of Hamilton-Jacobi (HJ) equations by means of an artificial deep neural network. The algorithm uses a stochastic gradient descent-based method to minimize the least square principle defined by a monotone, consistent numerical scheme. We analyze the least square principle's critical points and derive conditions that guarantee that any critical point approximates the sought viscosity solution. The use of a deep artificial neural network on a finite difference scheme lifts the restriction of conventional finite difference methods that rely on computing functions on a fixed grid. This feature makes it possible to solve HJ equations posed in higher dimensions where conventional methods are infeasible. We demonstrate the efficacy of our algorithm through numerical studies on various canonical HJ equations across different dimensions, showcasing its potential and versatility.

math.NA↗

A nonsmooth extension of the Brezzi-Rappaz-Raviart approximation theorem via metric regularity techniques and applications to nonlinear PDEs

We generalize the Brezzi-Rappaz-Raviart approximation theorem, which allows to obtain existence and a priori error estimates for approximations of solutions to some nonlinear partial differential equations. Our contribution lies in the fact that we typically allow for nonlinearities having merely Lipschitz regularity, while previous results required some form of differentiability. This is achieved by making use of the theory of metrically regular mappings, developed in the context of variational analysis. We apply this generalization to derive quasi-optimal error estimates for finite element approximations to solutions of viscous Hamilton-Jacobi equations and second order mean field game systems.

math.NA↗

A hierarchical splitting approach for N-split differential equations

We propose a hierarchical splitting approach that constructs splitting methods for N-split differential equations by iteratively applying splitting methods for two-split systems along a splitting tree. Since assigning methods of order p to all nodes of the tree yields a hierarchical splitting method of order p, the order theory for two-split systems carries over to any number of partitions. We derive explicit formulas for the leading-order error terms, investigate self-adjointness, and show that state-of-the-art composition approaches are contained in the resulting class as special cases. Augmenting the approach with multiple time stepping yields a framework at the intersection of geometric numerical integration and multirate integration, for which we characterize the computational order of a multirate integrator and introduce a reweighting of the multirate factors that reduces computational overhead, but can lead to an order reduction when applied within composition techniques. We further discuss principles for designing splitting trees, with particular attention to separable Hamiltonian systems and port-Hamiltonian systems. Numerical experiments for both classes demonstrate that the hierarchical splitting approach yields efficient methods for N-split systems. We find that the approach is particularly efficient when commutator-based splitting methods become available and the partitions evolve on distinct time scales.

math.NA↗