WorksMathematics
Adaptive Precision Incomplete Matrix Factorization
Abstract
Incomplete factorizations are widely used to precondition Krylov subspace methods for solving large sparse linear systems. Recent work has explored computing approximate factorizations in low precision, but using only one uniformly low precision limits the achievable accuracy and can degrade the quality of the preconditioner. We propose adaptive precision incomplete factorization algorithms in which we store each entry of the factors in a precision chosen according to its magnitude and a target accuracy. We present a rounding error analysis showing that the adaptive precision threshold-based incomplete LU and incomplete Cholesky factorizations achieve a backward error of the order of the target accuracy. We also discuss how to incorporate pivoting and scaling and how to perform the triangular solves with the adaptive precision factors. Finally, we explain how the approach applies to memory-limited incomplete Cholesky factorizations by using the magnitude of the largest dropped entry as the target accuracy. Numerical experiments on a wide range of matrices from the SuiteSparse collection show that adaptive precision can substantially reduce the storage required by the factors without degrading the quality of the preconditioner and improve the storage-weighted iteration count and overall storage required compared with uniform 64-, 32-, and 16-bit factorizations.
Introduction
Our focus is on solving sparse linear systems of equations , where is nonsingular and . In large-scale practical applications, can be too large for a direct solver to be feasible. In such cases, a preconditioned Krylov subspace method such as GMRES or, for symmetric positive definite problems, the conjugate gradient (CG) method, is commonly employed. For a given linear system, determining an appropriate preconditioner can be challenging. Incomplete matrix factorizations are among the most widely used algebraic preconditioners. The key idea is to compute an approximate LU or Cholesky factorization of the matrix , discarding some entries that would occur in a complete factorization, thereby trading exactness for computational efficiency in terms of both time and storage. The resulting incomplete factors can be used to accelerate the Krylov subspace method by providing an approximation to the inverse. For an introduction to incomplete factorization preconditioners, see [11, 41, 44] and the extensive reference lists therein.
In recent years, the emergence of low precision floating-point arithmetic in computer hardware has led to a resurgence of interest in the use of mixed precision numerical linear algebra; see, for example, the survey articles [1, 30, 3]. This has included work on computing incomplete factorizations [45, 46] or, more broadly, approximate factorizations [6, 7, 18, 29, 31] in low precision and then employing them to precondition higher precision iterative methods such as iterative refinement, GMRES, or CG [31, 45, 46]. However, uniformly reducing the precision of the factorization can impact the quality of the preconditioner and the convergence of the solver if the precision is too low, especially for ill-conditioned problems, thereby limiting the use of lower precisions and the potential performance gains. In this article, we propose adaptive precision incomplete factorization algorithms, which perform the operations within the factorization in the chosen compute precision and store different entries of the factors in potentially different floating-point precisions. This adaptive precision paradigm [30 sect. 14] has been successfully used for several linear algebra operations, such as low-rank matrix and tensor approximations [5, 16, 10], sparse matrix–vector product [24, 25], relaxed GMRES [4], tile factorizations [2, 17], and block Jacobi [9, 23], additive Schwarz [19], and approximate inverse [37] preconditioners, but has not, to our knowledge, been explored for incomplete factorizations. We carry out an error analysis that shows that the criterion to choose the precision for storing an entry of the factors should be based on both the magnitude of the entries and the target accuracy of the incomplete factorization. Storing an entry in low precision introduces an error that is proportional to its magnitude, so small entries can be stored in correspondingly low precisions. Moreover, since incomplete factorizations are by definition inexact, we want to balance the errors introduced by the use of lower precisions with the error already incurred by the incompleteness of the factorization. This is most straightforward to achieve for threshold-based factorizations, for which the factorization error is directly controlled by the threshold. Since threshold-based factorizations do not guarantee any bound on the sparsity of the resulting factors, more aggressive incomplete factorizations such as level-based or memory-limited ones are also of interest. We discuss how these variants can exploit adaptive precision, using a criterion based on the magnitude of the largest dropped entry.
The article is structured as follows. In § 2, we propose an adaptive precision threshold-based incomplete factorization and perform an error analysis. In § 3, we explain how to incorporate pivoting and scaling within this algorithm. In § 4, we describe possible strategies to perform triangular solves with the resulting adaptive precision factors. In § 5, we extend our adaptive precision approach to symmetric positive definite (SPD) matrices and incomplete Cholesky factorizations. In § 6, we discuss how this approach can be applied to level-based or memory-limited factorizations. Throughout these sections, we include representative numerical results to illustrate the discussion. Then, in § 6.3, we perform extensive experiments on a wide range of sparse real-life matrices. Concluding remarks are made in § 7.
Throughout the paper, the unsubscripted norm denotes the infinity norm
Experimental setting
In our experiments, we use sparse matrices taken from the SuiteSparse matrix collection4. In § 2.3, § 3.3, § 4.2, and § 6.2, the problems listed in Table 1.1 are used to illustrate the behavior of the algorithms. In § 6.3, we present results for a much wider test set.
| Matrix | Nonzeros | Sym. | Origin | ||
| pores_2 | 1,224 | 9,613 | Unsym. | CFD | |
| radfr1 | 1,048 | 13,299 | Unsym. | Chemical Process Simulation | |
| saylr1 | 238 | 1,128 | Unsym. | CFD | |
| nnc666 | 666 | 4,032 | Unsym. | Nuclear Reactor Modeling | |
| bcsstk13 | 2,003 | 83,883 | SPD | CFD |
Table 1. Matrices used as illustrative examples. is the spectral condition number. SPD denotes symmetric positive definite. CFD is computational fluid dynamics.
The experiments in sections 2.3, 3.3, and 4.2 are performed with an ILU factorization implemented in MATLAB. The LU factors are used as a left preconditioner for (unrestarted) GMRES. The experiments in sections 6.2 and 6.3 use a modified version of the Fortran package HSL_MI28 from the HSL mathematical software library5. For a sparse symmetric positive definite matrix, HSL_MI28 computes a memory-limited incomplete Cholesky (IC) factorization [42, 43]. We modify the code to incorporate adaptive precision and employ the resulting factors within split-preconditioned CG (PCG). In our experiments, the stopping tolerance for the relative residual is . We set the maximum number of iterations to 500 for GMRES and to 2000 for PCG.
Our framework and analysis consider a general number of unspecified precision formats; in practice, we use the formats that are listed in Table 1.2 along with their main characteristics. The fp64 and fp32 formats are the standard IEEE double and single precisions [35]. From them we define a set of custom reduced precision storage formats obtained by reducing the number of bits allocated to the significand: removing one, two, or three bytes from fp64 leads to the rp56, rp48, and rp40 formats, while removing one or two bytes from fp32 leads to the rp24 and rp16 formats. Note that rp16 is equivalent to the bfloat16 format [36], although in this work we only use it as a storage format and do not require hardware support for bfloat16 arithmetic. In total we have seven different precision formats, with fine variations on the unit roundoff that allow us to flexibly control the accuracy of the factor entries. These reduced precision formats have been successfully used in other contexts [4, 8, 10, 25]. Note that the formats used in this work have either 8 or 11 exponent bits, and thus provide a sufficiently wide range to prevent underflows and overflows in practice. Exploring the use of reduced exponent formats is an interesting perspective for future work.
| Format | Sign bit | Significand bits | Exponent bits | Range () | Unit Roundoff |
| fp64 | 1 | 52 | 11 | ||
| rp56 | 1 | 44 | 11 | ||
| rp48 | 1 | 36 | 11 | ||
| rp40 | 1 | 28 | 11 | ||
| fp32 | 1 | 23 | 8 | ||
| rp24 | 1 | 15 | 8 | ||
| rp16 | 1 | 7 | 8 |
Table 1.2. Floating-point formats used in this work.
Adaptive precision threshold-based factorization
Algorithm
Algorithm 2.1 outlines the proposed approach: an adaptive precision incomplete LU (hereafter AP-ILU) factorization. We denote the target accuracy by : as we explain below, it is used to decide which factor entries are dropped, and the precision used to store the entries that are kept. For simplicity of notation, the algorithm is outlined for dense matrices; it can be modified for sparse matrices by looping the indices over nonzero entries of the factors.
Algorithm 2.1 Adaptive precision ILU (AP-ILU)
Input: , target accuracy , storage precisions with , compute precision
Output:
for do
for do
in precision
end for
for do
in precision
end for
end for
Algorithm 2.1 is an adaptive precision method: it uses different floating-point precision formats with unit roundoffs satisfying . We define to be the operator that rounds to precision : for any such that belongs to the representable range of the precision format, we have [27 Theorem 2.2]:
Note that the usual dropping strategy (replacing a number by zero) can be incorporated in this framework by taking the last “precision” to be , and defining (which satisfies (1) with ).
The precisions are used for storage only. We employ a compute precision with unit roundoff for performing the computations on lines 3 and 8. We use the standard model of floating-point arithmetic [27 (2.4)]
In practice, we use fp64 arithmetic for the computations; thus, the typical setting of interest is and we can expect the accuracy of the LU factors to be mainly determined by the choice of storage precisions. If the conditions on lines 4 and 9 are not satisfied by any of the storage precisions, the entry is retained in the compute precision, so that no rounding error occurs.
Analysis
Algorithm 2.1 is based on the key observation that we can store each factor entry in a precision with a unit roundoff inversely proportional to the magnitude of the entry. The following theorem proves that Algorithm 2.1 is backward stable with respect to the target accuracy .
Theorem 2.1. If Algorithm 2.1 applied to runs to completion, the computed factors satisfy
where is the matrix of ones, is the maximum number of nonzero entries in any row or column of and , and .
Proof. We use the standard notations [27] and for analyzing cumulative rounding errors, where given , , and assuming , we define
For the upper triangle, , $1 \leq k \leq j \leq n$, we have, from line 3,
Using the standard analysis of inner products in LU factorization [27 Chap. 9], the computed in precision satisfies
Then, line 5 stores the computed in its selected storage precision , yielding
where and is chosen such that . Substituting into (4), we obtain
and since , this can be rewritten to get a backward error result
For the lower triangle, , $1 \leq k < i \leq n$, we can similarly prove that
The proof is completed by writing the errors in matrix form.
Remark 2.2. Note that the first term, , in bound (3) is an absolute quantity. A relative bound can be obtained by scaling by an appropriate quantity. For example, a relative normwise backward error bound of order can be obtained by taking . Alternatively, if we want a componentwise bound, needs to be made dependent on the indices, such as or perhaps , the latter choice leading to a bound that resembles the usual backward error bound in floating-point arithmetic with unit roundoff . Throughout the rest of this paper, we focus on normwise bounds and fix for all entries.
Remark 2.3. With a left-looking implementation of Algorithm 2.1, the computations on lines 3 and 8 require accessing the previously computed entries of the factors, which are already stored in adaptive precision. Therefore, in a regime where the computation is memory-bound, in addition to reducing storage, Algorithm 2.1 may improve the computational time, although a precise assessment of this requires a dedicated performance study and is outside the scope of this numerical study.
Remark 2.4. It is natural to ask whether the computations on lines 3 and 8 can be performed in adaptive precision, that is, whether it is meaningful to replace the uniform compute precision with multiple precisions . In principle, this is possible: Theorem 2.1 shows that the error incurred on an entry () is proportional to , so this entry could be computed in precision . Two practical difficulties arise. First, can be substantially larger than , meaning that may need to be computed in a precision with unit roundoff much smaller than that of its storage precision. Second, is unknown and computing it requires about as many operations as computing . One possible strategy is to compute in the lowest precision to estimate its order of magnitude, and then compute in the required precision. This type of look-ahead approach has been successfully employed in other contexts [22, 14]. Alternatively, a max-plus approach [32, 33] can potentially be used to estimate the magnitude of the entries of the LU factors. These ideas are interesting but difficult to put into practice; in this paper, we focus on adaptive precision storage and leave the computations in uniform, high precision.
Numerical example
The behavior of Algorithm 2.1 depends on the distribution of the magnitudes of the entries of the factors, and thus on . The goal of this section is to shed some light on this using a numerical example; a more quantitative assessment on a wide range of matrices is given in § 6.3.
Figure 2.1 shows the result of running Algorithm 2.1 (AP-ILU) on the unsymmetric matrix pores2. Figure 2.1a plots the distribution of the LU entries across the seven precision formats, depending on ; the height of the bars corresponds to the number of LU entries and hence the amount of dropping. The numbers on top of the bars indicate the number of GMRES iterations plotted in Figure 2.1d (see description below). This first plot illustrates that, as increases, we drop more entries (as in uniform precision ILU) while also switching more and more of the retained entries to lower and lower precisions. For example, at , despite the factorization being nearly exact, we store the majority of the entries in rp48 or lower precisions; fewer than 0.1% of the entries need to be stored in the highest fp64 precision. At , most entries can be stored in rp16.
Figure 2.1. Results for Algorithm 2.1 on matrix pores_2.
Figure 2.1b plots the relative normwise backward error for AP-ILU as well as its uniform precision baselines, for which all entries are stored in the
Numerical example
same uniform precision (fp64, fp32, or rp16). We see that for the uniform fp64 ILU, the error is proportional to . As expected from Theorem 2.1, this is also true for AP-ILU, which achieves an error that is comparable to uniform fp64 for small values of and indistinguishable from it as grows. Hence the reduction of storage achieved by adaptive precision is essentially obtained without any significant loss of accuracy; this illustrates that AP-ILU successfully balances the introduced rounding errors with the dropping errors, so that the effect of the former is hidden by that of the latter. In contrast, lower precision uniform baselines, fp32 and rp16, cannot achieve an error below the unit roundoff of their precision; their backward errors are the same as for AP-ILU only when and , respectively.
Figure 2.1c plots the same backward error, but against the storage required by the LU factors on the -axis; the storage is measured by accounting for the number of bits required by each factor entry depending on its precision. Here and for our other MATLAB experiments, we report the storage cost of the floating-point values and ignore the cost of storing the integer indices required for sparse implementations; the storage cost of these indices will be evaluated in § 6 with the HSL MI28 experiments. This figure shows that AP-ILU can achieve significant storage reductions compared with uniform precision baselines for a given prescribed error; equivalently, for a fixed memory budget, AP-ILU can significantly improve accuracy. For example, to achieve an error below , uniform fp64 ILU requires about 6 Mb, whereas AP-ILU requires less than 3 Mb. These reductions become even more significant if larger errors are allowed. For example, if an error of is acceptable, the storage for uniform fp64 ILU reduces by a factor of (from 6 to 3 Mb), whereas that for AP-ILU reduces by a factor (from 3 to 1 Mb). The comparison with lower precision uniform baselines leads to the same conclusions; they can reduce the storage but are limited to errors above a certain threshold. AP-ILU consistently achieves the best storage–accuracy tradeoff.
Figure 2.1d plots the number of iterations required for GMRES to converge when the AP-ILU factors are used as the preconditioner. Comparing AP-ILU with the fp64 and fp32 uniform precision baselines shows that AP-ILU achieves a significantly better storage–iteration tradeoff: AP-ILU can converge in fewer than 10 iterations while reducing the storage of 1.6 and 0.8 Mb needed by uniform fp64 and fp32, respectively, to 0.5 Mb. Uniform rp16 can achieve low storage, but always requires at least 30 iterations to converge. It is interesting to compare AP-ILU and uniform rp16 at . As shown in Figure 2.1a, AP-ILU stores most of the entries in rp16, with about 20% stored in rp24. This has little effect on the total storage but reduces the iteration count from 30 to 10.
We conclude this section by reporting results for matrix radfr1 in Figure 2.2. This illustrates an interesting feature of AP-ILU: it can perform well even on matrices where classical (uniform precision) ILU does not. For this matrix, few entries are dropped for , which leads to very small storage reductions with uniform fp64 ILU. In contrast, AP-ILU compensates for the relatively small amount of dropping allowed by this matrix with adaptive precision storage. As shown in Figure 2.2a, even though about the same number of entries are retained as increases, their precision distribution significantly shifts towards the lower precisions. At , most of the entries must be stored in rp56 and rp48, leading to a storage cost of 2.1 Mb, whereas at , most of the entries can be stored in rp24 and rp16, leading to a reduced storage cost of 0.8 Mb. Despite this reduction, the preconditioner is of high quality, with only 4 iterations required for convergence.

Figure 2.2. Results for Algorithm 2.1 on matrix radfr1.
Incorporating scaling and pivoting
ILU factorizations usually incorporate scaling and pivoting to improve the quality of the preconditioner. It is therefore an important practical concern to extend Algorithm 2.1 and its analysis to incorporate these techniques.
Pivoting
Incomplete factorizations can break down because of zero (or near-zero) pivots (this can occur regardless of the precision used—even in exact arithmetic). Pivoting strategies, adapted from sparse direct solvers, address this by reordering rows and/or columns so that an entry of large magnitude is permuted onto the th diagonal position before elimination step begins. The resulting preconditioners have been systematically analyzed and popularized by Saad [40, 41]; other key references include [12, 13, 20, 38].
It is straightforward to account for pivoting in our analysis: computing a factorization is equivalent (both in exact and finite precision arithmetic) to computing an (unpivoted) ILU factorization of the prepermuted matrix . Therefore, the analysis and the resulting criteria to adapt the precisions are unchanged.
Scaling
We next discuss scaling. Let be the scaled matrix, where and are diagonal matrices. We distinguish two possible strategies. A first approach is to directly apply Algorithm 2.1 to ; uniform precision incomplete factorizations use this approach for choosing which entries to drop. By Theorem 2.1, and neglecting terms of order , this yields
where is the matrix of ones. The term shows that we obtain an error bound that depends on the scaling. In the common case where scaling is used to equilibrate the rows and/or columns of the matrix, (8) essentially reduces to a relative rowwise or columnwise bound. For example, if and , where denotes the th column of , then (8) yields a componentwise error .
However, if only a normwise bound is needed, (8) is unsatisfactory. We would like to have instead a uniform error bound of the form . To achieve this, we must take into account the scaling matrices within the precision choice criterion in Algorithm 2.1. Specifically, the equation analogous to (6) when applied to instead of (neglecting again terms of order ) is
Thus line 4 in Algorithm 2.1 should be modified to
By the same reasoning, line 9 should be modified to
With these modifications (10) reduces to a uniform bound .
Numerical example
Figure 3.1 compares the two approaches described in the previous section using matrix saylr1. The “scaled approach” applies AP-ILU to with , whereas the “unscaled approach” also works on , but modifies the criterion to choose the precisions (including dropping) as in (11)–(12), with , that is, it undoes the scaling for the dropping and precision choice. For this example, we use and .
Figure 3.1. Comparison between scaled and unscaled approaches on matrix saylr1.
Figure 3.1a plots two variants of the relative normwise backward error: the “-error”, which is the error on :
and the “-error”, which is the error on :
Figure 3.1b plots the same errors against the factor storage cost on the -axis. For the scaled approach, the - and -errors are similar, but are quite different for the unscaled approach. The -error for the unscaled approach is similar to both errors for the scaled approach with the same (see Figure 3.1a). However, the storage cost for the unscaled approach is significantly lower, which means that when measuring accuracy in the -error, the unscaled approach achieves a better storage–accuracy tradeoff than the scaled approach (see Figure 3.1b). This is expected: both approaches provide an -error of order , but the unscaled approach can have more opportunities to use lower precisions (and dropping) because the criteria (3.5)–(3.6) consider the unscaled entries, which should exhibit wider variations in magnitude. However, the unscaled approach leads to a -error that is much larger; this is because it introduces large perturbations relative to the scaled entries of . The -error can be seen as a form of rowwise and columnwise error, whereas the -error is only a globally normwise error.
Figure 3.1c shows that there is no universal answer as to which error metric is the most relevant when using AP-ILU as a preconditioner. It plots the number of iterations required for GMRES to converge against the storage cost. For small , the unscaled approach achieves a better storage–iteration tradeoff than the scaled one, whereas the converse is true for large . We have performed this same comparison on a wide range of matrices, and which of the scaled or unscaled approaches achieves the better tradeoff is heavily matrix dependent. Some matrices may benefit from a small scaled (rowwise/columnwise) error to converge rapidly, whereas for other matrices, a small globally normwise error is sufficient. In general, we found the scaled approach to be more robust and consistent overall. The unscaled approach can give greater storage savings, but its aggressive dropping strategy sometimes prevents convergence unless is very small, and its behavior is thus more sensitive to the choice of . Therefore, throughout the rest of this study, we focus on the scaled approach (note that the previously presented examples in § 2.3 used the scaled approach).
Adaptive precision triangular solves
Once the incomplete factorization has been computed, each application of the resulting preconditioner involves performing triangular forward/backward solves with the factors and that are stored in adaptive precision. It is therefore important to analyze the accuracy of these solves.
Algorithm and analysis
A first option is to perform the solves entirely in high precision by converting the lower precision entries of and back to high precision. This conversion can be implemented efficiently on-the-fly using so-called memory accessors [8, 26, 25]. Since triangular solves are memory-bound operations, the storage reduction achieved by the use of adaptive precision should translate, at least partially, into execution time reductions, even if the solve operations are performed in high precision arithmetic. Standard rounding error analysis of triangular solves [27 Chap. 8] shows that the backward error for the solves is then of order , the unit roundoff of the computer precision.
Alternatively, it is of interest to consider whether the triangular solves can be performed in adaptive precision to reduce the number of required conversions. Recall that, given the lower triangular system and the upper triangular system , the standard forward and backward substitution formulas give
In our context, the factors can be expressed as the sum of disjoint sparse matrices of different precisions,
where (respectively, ) holds the subset of the entries of (respectively, ) that are stored in precision . Algorithm 4.1 outlines evaluating these formulas in adaptive precision: essentially, terms or corresponding to entries or in the same precision are summed in precision . Their partial sums are then converted and summed in high precision . This reduces the number of conversions to at most per row (ignoring the conversions of the right-hand side and solution vectors).
Algorithm 4.1 Adaptive precision forward and backward substitution.
Input: in adaptive precision, in adaptive precision, in precision
Output: in precision such that
for do
for do
Initialize
for each s.t. do
in precision
end for
end for
in precision
end for
for do
for do
Initialize
for each s.t. do
in precision
end for
end for
in precision
end for
Unfortunately, the next result shows that Algorithm 4.1 is not necessarily stable.
Theorem 4.1. Let Algorithm 4.1 be used to solve the linear system , where the and factors have been obtained by Algorithm 2.1. If the algorithms run to completion, the computed solution satisfies
where and are matrices of ones and zeros with the same sparsity pattern as and , respectively, is the maximum number of nonzeros on any row or column of and , , and .
Proof. Consider first the forward substitution . The computed satisfies
where we define . The computed thus satisfies
Note that the have disjoint sparsity patterns and so for some . Moreover, since , we have
In matrix form, we obtain
where we have used [27 Lemma 3.3]
If , , so and
with , where we have used . In matrix form, this finally yields
where is the matrix with ones in the same positions as the nonzeros of and zeros elsewhere.
The analysis for the backward substitution is similar and yields the bound
Overall, the computed solution therefore satisfies
with bounds on and given in (16) and (17).
This is not an entirely satisfying bound, since we would like the perturbations and to be relative to and as for a standard triangular solve, but this is not the case because of the terms proportional to . In fact, if we rewrite (15) as a bound on the residual , we obtain to first order
Taking norms and using and yields
As mentioned in Remark 2.2, in practice a typical choice for would be —which yields a normwise relative backward error of order for the ILU factorization (Algorithm 2.1). Plugging this value in (19) yields a normwise relative backward error bound for the solution of :
This bound can only be considered satisfactory if the terms in front of and are small. We can guarantee the following:
is bounded by if threshold partial pivoting (with threshold ) is used, where the growth factor is often small;
is bounded by if threshold partial pivoting is used;
is bounded by if either threshold rook or complete pivoting is used, but can be arbitrarily large if only partial pivoting is used.
Partial pivoting selects the largest entry in the current column (or an entry within a given threshold of the largest entry); rook pivoting iterates to find an entry that is the largest in both its own row and its own column; see [27 Chap. 9]. While (threshold) partial pivoting is commonly employed, (threshold) rook pivoting is more costly and less common. Therefore, the most problematic term in bound (20) is .
Numerical example
We have tested Algorithm 4.1 on a wide range of SuiteSparse matrices and found it to be much more accurate than (20) suggests on most of them. However, for a few examples it does cause instability unless rook pivoting is used, which confirms that the bound can be descriptive in some cases. We report one such example in Table 4.1.
| Pivot | RHS of (20) | ||||||
| Partial | |||||||
| Rook |
Table 4.1. Accuracy of Algorithm 4.1 on matrix nnc666 with .
While and are bounded by small constants for both partial and rook pivoting, is much larger when partial pivoting is used. This leads to a loss of accuracy of more than four digits with partial pivoting, which is reflected in the bound (20). The bound itself is several orders of magnitude larger than the actual error, but this is mainly due to the dimensional constant (≈ for this matrix), which is known to be pessimistic [28, 15]; in fact, dropping from the bound (last column of Table 4.1) makes it of the same order as the measured error.
We conclude from this experiment that the bound (20) can be descriptive of real instabilities when Algorithm 4.1 is used without rook pivoting. We thus recommend keeping the triangular solves in higher precision, except in an environment where the required conversions become more costly than the use of (threshold) rook pivoting.
Remark 4.2. We briefly mention another more sophisticated approach to reduce the number of high-precision conversions while avoiding the need for rook pivoting. Inspecting the analysis of Algorithm 4.1 shows that instabilities are created by accumulating in low precision entries belonging to a column with a small diagonal pivot . Modifying the algorithm to convert to high precision entries such that removes the from the error bound and cures the instability. On matrix nnc666 of Table 4.1, for example, this modification restores a backward error of order when using partial pivoting, at the price of additional conversions.
| Algorithm 5.1 Adaptive precision IC (AP-IC) | |
| Input: | symmetric, positive-definite matrix , target accuracy , storage precisions , compute precision |
| Output: | |
| 1: | for do |
| 2: | in precision |
| 3: | |
| 4: | |
| 5: | for do |
| 6: | in precision |
| 7: | |
| 8: | |
| 9: | end for |
| 10: | end for |
Table 5.1.
Adaptive precision threshold-based incomplete Cholesky
So far we have considered unsymmetric systems and general ILU factorizations. We now focus on SPD systems, for which we use an incomplete Cholesky (IC) factorization.
Algorithm 5.1 describes an adaptive precision variant of threshold-based IC (AP-IC), where the entries retained in the factor are stored in a precision inversely proportional to their magnitude so that the backward error remains bounded by a given tolerance. The algorithm is analogous to Algorithm 2.1, but with one noteworthy difference: since the diagonal entries are stored as a square root, the criterion to choose their precision is slightly more stringent (replacing the unit roundoff by ).
The following theorem proves the error result for the proposed AP-IC and is analogous to Theorem 2.1.
Theorem 5.1. If Algorithm 5.1 applied to the SPD matrix runs to completion, the computed Cholesky factor satisfies
where is the matrix of ones, is the maximum number of nonzeros on any row of , and .
Proof. Let . By [27], Problem 10.3, the computed satisfies
Let , with . We have
with , by construction. Therefore
yields
For the off-diagonal entries, , , we can similarly prove that
The proof is completed by writing the errors in matrix form.
Adaptive precision memory-limited IC factorizations
So far, we have considered threshold-based factorizations, which provide a direct control over the backward error through the threshold parameter , as in Theorems 2.1 and 5.1. However, they do not provide an a priori control over the storage required by the factors.
To control the storage more directly, we may consider structure-based methods through the use of an initial symbolic factorization phase to find the location of permissible entries using only the sparsity pattern of . A widely used example is ILU(0) (or IC(0) for SPD systems) that allows the incomplete factors to have entries only in the positions corresponding to . The success of structure-based methods is highly problem dependent and, in general, they do not guarantee any control over the error since arbitrarily large entries may be dropped. Memory-based methods can provide a more robust alternative, in which the memory available for the incomplete factorization is prescribed and, within each column, only the largest entries are retained. While they do not provide a direct control over the error like threshold-based methods, the error can still be indirectly controlled, since increasing the available memory allows smaller entries to be retained. A discussion of the various classes of incomplete factorization preconditioners (with references) is given in [44].
In this section, we use adaptive precision storage within memory-limited incomplete factorizations. Our experiments are based on the HSL MI28 package, which computes a memory-limited IC factorization for sparse SPD systems.
Memory-limited factorizations
We employ a memory-limited IC factorization approach that uses additional memory during the construction of that is subsequently discarded at the end of the factorization. The aim is to obtain a high quality preconditioner while maintaining sparsity and allowing the user to control the memory usage. Consider the decomposition
where is lower triangular with positive diagonal entries, is strictly lower triangular and is the error matrix. At step () of the factorization, the first column of the Schur complement is split into the sum , where contains the entries that are retained in column of , the diagonal entry is zero, and contains the entries that are not included in . In a complete factorization, the Schur complement is updated by subtracting
However, the incomplete factorization discards the term
Thus, is implicitly added to and because is positive semidefinite, in exact arithmetic, the approach does not break down. An obvious choice is for the largest entries in the column to be retained in . More fill entries are used in constructing than in a standard factorization, allowing the structure of the complete factorization to be followed more closely.
The computational complexity and memory needed can be reduced by limiting how many entries are allowed in each column of and . In the package HSL_MI28, user-chosen parameters determine the memory needed as well as the work involved in the factorization: lsize controls the number of fill entries in each column of while rsize controls the number of entries in each column of . HSL_MI28 also incorporates the use of drop tolerances and for the entries of and , respectively. Discarding entries can cause the IC factorization to break down because a diagonal entry (the pivot) becomes too small (or negative). In this case, a (small) shift $\alpha > 0 is chosen and the IC factorization of the symmetrically scaled and shifted matrix is computed, where is a diagonal scaling matrix. HSL MI28 handles the use of a shift automatically and includes options for preordering and prescaling [42, 43].
Let us now discuss how to adapt Algorithm 5.1 to this memory-limited case. An important observation is that even though memory-limited factorizations do not directly bound the size of the dropped entries, their accuracy is still determined by it. Thus, Theorem 5.1 still applies to memory-limited factorizations, where is no longer a user-controlled parameter but rather the effective largest magnitude for any dropped entry , which is indirectly controlled by the lsize parameter.
The key consequence of this observation is that the adaptive precision memory-limited factorization should be constructed using the same criterion as in Algorithm 5.1, which by design balances the introduced rounding errors with the errors from dropping entries of magnitude at most . One caveat is that is only known a posteriori; in principle, we could compute the factors in uniform precision to estimate and then switch the factors (or recompute them) in adaptive precision. In practice, though, it is sufficient to have a rough estimate of the order of magnitude of in order to balance approximately the two sources of error, as we will illustrate in the next section.
Remark 6.1. A more sophisticated approach that only requires one factorization would be to dynamically update as a running maximum of the magnitude of the largest entry dropped so far. One could hope that would be quickly estimated from the elimination of the first few columns. Investigating this idea is left for future work.
Remark 6.2. Our error analysis applies to memory-limited factorizations with rsize = 0. Even though, in practice, the factor usually helps reduce the number of iterations, quantifying theoretically its effect on the backward error is outside our scope.
Numerical example
Figure 6.1 illustrates how the performance of the preconditioner varies as both the fill parameter lsize and the adaptive tolerance (where ) are varied for the matrix bcsstk13. Throughout this section we choose rsize = lsize when generating the incomplete factors. Each cell of the heatmap corresponds to a memory-limited IC factorization computed by a modified version of HSL MI28 in which entries are adaptively stored in lower precisions. The color in Figure 6.1a shows an estimate of the relative backward error of the computed factorization, , obtained efficiently via the randomized Hutchinson trace estimator [34, 39]. Figure 6.1b shows the corresponding number of PCG iterations.
Figure 6.1. Results for the memory-limited adaptive precision preconditioner applied to matrix bcsstk13. Each cell corresponds to an IC factorization with the given fill parameter lsize and adaptive tolerance , used as a preconditioner for PCG.
These plots highlight the balance between the two sources of error: the rounding error introduced by storing entries in lower precision (controlled by ), and the memory-limited error from restricting the number of entries per column of (controlled by lsize). When is large, increasing lsize does not improve the preconditioner because the rounding error dominates. Conversely, when lsize is small, the memory-limited error dominates and the iteration count is insensitive to over a wide range, confirming that storing the factors in adaptive precision does not degrade performance in this memory-limited regime.
Table 6.1 seeks to put these results into context. In the experiments using HSL MI28 (in uniform fp64) reported in [42], lsize is chosen to be at most 40. At this fill level, for matrix bcsstk13 AP-IC with a tolerance of can be used without degrading the PCG iteration count while reducing the storage requirement for the floating-point values by 73% compared to fp64; this translates to an overall 48% storage reduction when also accounting for the integer overhead of the sparse format. Conversely, another point of view is that thanks to the use of AP-IC we could increase lsize to 100 and match the fp64 storage, while halving the iteration count.
| Method | lsize | in kB | #its | ||
| FP | Int | Total | |||
| Uniform fp64 | 40 | 951 | 483 | 1434 | 21 |
| Uniform fp32 | 40 | 475 | 483 | 959 | 21 |
| Uniform rp16 | 40 | 238 | 483 | 721 | 83 |
| AP-IC | 40 | 257 | 483 | 740 | 20 |
| AP-IC | 60 | 332 | 634 | 966 | 15 |
| AP-IC | 100 | 480 | 929 | 1409 | 10 |
Table 6.1. Storage for bcsstk13: uniform fp64, fp32 and rp16 versus adaptive precision (AP-IC) with . “FP” is the storage for the floating-point values only, “Int” is the storage for the integer 4-byte row indices and column pointers assuming a CSC sparse matrix format. “#its” is the PCG iteration count.
To be fair, we should also compare AP-IC to uniform reduced precision variants. Uniform fp32 performs well on this matrix, as it achieves the same iteration count as fp64; however, AP-IC performs even better, further reducing the floating-point storage by 46%, which translates to a 23% total reduction. Alternatively, taking lsize = 60 matches the fp32 storage and reduces the iteration count from 21 to 15. Uniform rp16 performs poorly: it achieves a storage that is only marginally smaller than AP-IC, while increasing the iteration count by 4×.
Finally, these results illustrate that the relative fraction of storage required by the integers increases when using adaptive precision, and can be quite significant, especially for larger values of lsize. This motivates investigating more compact sparse formats with compressed representations of the indices as future work.
Numerical experiments on a large test set
We now assess the memory-limited AP-IC approach across a broader test set. We use the 153 symmetric positive-definite matrices from the SuiteSparse Matrix Collection that were employed in the original HSL_MI28 paper [42]. For each matrix, we run our modified HSL_MI28 code with fill parameters lsize and rsize = lsize, drop tolerances , and adaptive tolerance , alongside uniform fp64, fp32, and rp16. We take rsize = lsize because the factor is discarded once has been computed, so it does not change the final storage or the per-iteration cost of the preconditioner, but using rsize generally improves the preconditioner quality. In a test on a subset of 14 matrices with lsize , setting rsize = 0 increased the number of PCG iterations by a median of 10–20% and caused one additional solver failure (iteration count exceeded the limit).
Figure 6.2 presents performance profiles [21] using the cost metric
Figure 6.2. Performance profiles comparing the cost metric (23) for adaptive precision (AP-IC) HSL MI28 with varying against uniform fp64, fp32, and rp16 baselines. For each problem, the cost of a method is normalized with respect to the lowest cost of any method in the same plot (same lsize); is the percentage of the test set for which the normalized cost is less than or equal to .
where is the PCG iteration count and , are the storage costs in bytes for the factor and matrix , respectively. The storage costs assume a CSC sparse matrix format and include the integer overheads for row indices and column pointers. This cost metric approximates the total floating-point work of the preconditioned solve.
We first analyze using lsize = 20 (Figure 6.2a). Uniform rp16 and AP-IC with are the most aggressive variants, which allows them to achieve the lowest cost for about 20% of the problems; however, for the remaining problems, they require significantly more iterations and a higher cost to converge, and fail to converge to the requested tolerance for a larger proportion of the problems compared to the other variants. Uniform fp64 and, to a lesser extent, uniform fp32 are the most conservative variants; they converge for most problems in the test set, but also require a higher cost on most of them: for example, the fp64 cost is at least 40% higher than the best variant for about 70% of the problems. Overall, the AP-IC variants achieve the best tradeoff between cost and robustness, especially for intermediate target accuracies such as and , for which they achieve the lowest cost for a large proportion of the problems while still converging on almost as many problems as the most conservative variants.
Next, in the case lsize = 100 (Figure 6.2b), the results lead to the same general conclusions, with a few noteworthy differences. First, the overall best performing AP-IC variants use smaller target accuracies . This is consistent with the single-matrix analysis in § 6.2: at higher fill levels the memory-limited error is smaller, so a tighter is needed to keep the rounding error from dominating. Second, the difference in robustness between conservative variants and aggressive ones (such as uniform rp16 or AP-IC with a large ) is exacerbated; for example, uniform rp16 either fails to converge or costs more than five times as much as the best variant on nearly half the test set. This is because, with a larger lsize, the conservative variants converge on the harder test problems, while the aggressive ones remain limited by the rounding errors.
For the ten largest problems by number of nonzeros, we provide detailed results listed in Table 6.2. We report the storage, PCG iterations, and cost (6.2) (normalized relative to uniform fp64 with lsize = 100 for uniform rp16, uniform fp32, and AP-IC with target accuracy or . Values of this ratio that are less than 1 are an improvement. For lsize = 100, AP-IC achieves the lowest cost for eight of the problems, using for seven of them and for one (Emilia_923). For the remaining two problems (Hook_1498 and boneS10), uniform rp16 is the cheapest, but AP-IC with has a similar cost, which shows that AP-IC is automatically able to detect easy problems where reduced precision is sufficient and to match its cost. In contrast, on the eight problems where AP-IC does better than rp16, the cost difference can be significant; in fact, on some problems (ldoor and Emilia_923), rp16 can be more expensive than fp64 (with cost up to 6.5 larger), whereas AP-IC with always costs less than fp64 (relative cost of at most 0.82). This shows that
| Problem | Method | FP | Total | #its | R.Cost | FP | Total | #its | R.Cost |
| Flan_1565 (59.5M) | rp16 | 173 | 525 | 1122 | 0.61 | 412 | 1242 | 606 | 0.60 |
| Flan_1565 (59.5M) | AP | 209 | 561 | 1117 | 0.63 | 448 | 1277 | 570 | 0.57 |
| Flan_1565 (59.5M) | fp32 | 346 | 699 | 1118 | 0.72 | 824 | 1654 | 570 | 0.71 |
| Flan_1565 (59.5M) | AP | 353 | 705 | 1118 | 0.73 | 821 | 1651 | 570 | 0.71 |
| Flan_1565 (59.5M) | fp64 | 693 | 1045 | 1119 | 0.97 | 1648 | 2477 | 570 | 1.00 |
| audikw_1 (39.3M) | rp16 | 111 | 336 | 432 | 0.66 | 255 | 768 | 289 | 0.78 |
| audikw_1 (39.3M) | AP | 137 | 362 | 524 | 0.84 | 281 | 794 | 213 | 0.59 |
| audikw_1 (39.3M) | fp32 | 222 | 447 | 804 | 1.47 | 510 | 1023 | 209 | 0.71 |
| audikw_1 (39.3M) | AP | 226 | 452 | 788 | 1.45 | 505 | 1018 | 211 | 0.71 |
| audikw_1 (39.3M) | fp64 | 444 | 669 | 790 | 1.92 | 1020 | 1533 | 209 | 1.00 |
| bone010 (36.3M) | rp16 | 107 | 325 | 1272 | 0.74 | 257 | 776 | 688 | 0.73 |
| bone010 (36.3M) | AP | 132 | 349 | 1072 | 0.65 | 282 | 801 | 593 | 0.65 |
| bone010 (36.3M) | fp32 | 214 | 431 | 992 | 0.69 | 515 | 1033 | 533 | 0.72 |
| bone010 (36.3M) | AP | 217 | 435 | 984 | 0.69 | 512 | 1031 | 524 | 0.70 |
| bone010 (36.3M) | fp64 | 428 | 645 | 984 | 0.91 | 1030 | 1548 | 525 | 1.00 |
| Serena (33.0M) | rp16 | 116 | 353 | 97 | 0.49 | 328 | 990 | 63 | 0.69 |
| Serena (33.0M) | AP | 144 | 381 | 84 | 0.44 | 356 | 1018 | 50 | 0.56 |
| Serena (33.0M) | fp32 | 232 | 469 | 85 | 0.52 | 656 | 1318 | 50 | 0.70 |
| Serena (33.0M) | AP | 237 | 474 | 85 | 0.52 | 641 | 1302 | 50 | 0.69 |
| Serena (33.0M) | fp64 | 464 | 701 | 85 | 0.70 | 1313 | 1975 | 50 | 1.00 |
| Geo_1438 (32.3M) | rp16 | 116 | 355 | 94 | 0.54 | 336 | 1013 | 46 | 0.58 |
| Geo_1438 (32.3M) | AP | 139 | 377 | 94 | 0.56 | 359 | 1036 | 43 | 0.55 |
| Geo_1438 (32.3M) | fp32 | 233 | 471 | 94 | 0.65 | 672 | 1349 | 43 | 0.70 |
| Geo_1438 (32.3M) | AP | 234 | 473 | 94 | 0.65 | 641 | 1318 | 43 | 0.68 |
| Geo_1438 (32.3M) | fp64 | 466 | 704 | 94 | 0.88 | 1343 | 2021 | 43 | 1.00 |
| Hook_1498 (31.2M) | rp16 | 117 | 356 | 426 | 0.52 | 345 | 1041 | 195 | 0.54 |
| Hook_1498 (31.2M) | AP | 141 | 380 | 427 | 0.55 | 370 | 1066 | 194 | 0.55 |
| Hook_1498 (31.2M) | fp32 | 233 | 472 | 427 | 0.64 | 690 | 1387 | 194 | 0.69 |
| Hook_1498 (31.2M) | AP | 237 | 476 | 427 | 0.64 | 658 | 1354 | 194 | 0.68 |
| Hook_1498 (31.2M) | fp64 | 467 | 706 | 427 | 0.86 | 1381 | 2077 | 194 | 1.00 |
| boneS10 (28.2M) | rp16 | 89 | 270 | — | — | 228 | 688 | 979 | 0.56 |
| boneS10 (28.2M) | AP | 110 | 291 | — | — | 251 | 711 | 974 | 0.57 |
| boneS10 (28.2M) | fp32 | 177 | 358 | — | — | 457 | 916 | 975 | 0.70 |
| boneS10 (28.2M) | AP | 181 | 362 | — | — | 440 | 900 | 975 | 0.69 |
| boneS10 (28.2M) | fp64 | 355 | 536 | — | — | 913 | 1373 | 974 | 1.00 |
| ldoor (23.7M) | rp16 | 82 | 248 | 274 | 2.51 | 227 | 684 | 253 | 4.94 |
| ldoor (23.7M) | AP | 100 | 267 | 156 | 1.50 | 245 | 702 | 30 | 0.60 |
| ldoor (23.7M) | fp32 | 163 | 330 | 156 | 1.73 | 454 | 911 | 28 | 0.70 |
| ldoor (23.7M) | AP | 164 | 331 | 156 | 1.74 | 401 | 858 | 28 | 0.66 |
| ldoor (23.7M) | fp64 | 326 | 493 | 156 | 2.34 | 907 | 1365 | 28 | 1.00 |
| Emilia_923 (21.0M) | rp16 | 75 | 229 | 339 | 3.22 | 216 | 652 | 314 | 6.57 |
| Emilia_923 (21.0M) | AP | 82 | 236 | 65 | 0.63 | 223 | 659 | 39 | 0.82 |
| Emilia_923 (21.0M) | fp32 | 150 | 304 | 48 | 0.55 | 432 | 868 | 26 | 0.70 |
| Emilia_923 (21.0M) | AP | 142 | 296 | 48 | 0.54 | 366 | 801 | 26 | 0.65 |
| Emilia_923 (21.0M) | fp64 | 301 | 455 | 48 | 0.75 | 864 | 1300 | 26 | 1.00 |
| inline_1 (18.7M) | rp16 | 55 | 166 | 1780 | 1.29 | 132 | 397 | 542 | 0.72 |
| inline_1 (18.7M) | AP | 67 | 178 | 1680 | 1.26 | 143 | 409 | 422 | 0.57 |
| inline_1 (18.7M) | fp32 | 110 | 221 | 1646 | 1.43 | 263 | 529 | 422 | 0.71 |
| inline_1 (18.7M) | AP | 112 | 223 | 1679 | 1.46 | 252 | 517 | 422 | 0.69 |
| inline_1 (18.7M) | fp64 | 219 | 331 | 1647 | 1.90 | 527 | 792 | 422 | 1.00 |
Table 6.2. Results for the ten test problems with the largest number of nonzeros in (given in brackets in millions), for lsize = 20 and 100, for the uniform fp64, fp32, and rp16 factorizations, and the AP-IC variants (shortened to AP in the table) with and . “FP” is the storage for the floating-point values in , and “Total” is the storage for in sparse format, which adds 4-byte row indices and column pointers; both are in MB. “#its” is the PCG iteration count, and “R.Cost” is the cost (23) normalized relative to that of uniform fp64 with lsize = 100. For each problem and lsize, the lowest R.Cost is in bold. A — denotes PCG did not converge to the requested accuracy within the iteration limit.
AP-IC only approximates when it is safe to do so and maintains the robustness of uniform high precision factorizations.
For lsize = 20 the same trends are observed. This case is slightly more favourable for uniform rp16, which is the cheapest for four problems out of the nine that are successfully solved for this value of lsize (PCG fails for boneS10 regardless of the precision choice). This is once again consistent with previous observations that showed that for highly sparse factors, the effect of storing the entries in very reduced precision is less important. However, for two of these four problems (Flan_1565 and audikw_1), AP-IC with lsize = 100 achieves a lower cost than uniform rp16 with lsize = 20; hence, across both values of lsize, AP-IC is the cheapest variant for seven of the ten problems.
As a side remark, we note that adaptive precision with is not always cheaper in storage than fp32 (whose unit roundoff is slightly larger than ) because entries that require more accuracy than that of fp32 are promoted to rp40.
Finally, we consider the impact of problem size (in terms of the number of nonzero entries). In general, we observe that the more aggressive factorizations (such as uniform rp16 or AP-IC with a large ) perform better on the large test problems, outperforming uniform fp64 on a higher percentage of problems and with lower costs on average. For example, with lsize = 20, the median cost of uniform rp16 (normalized relative to uniform fp64) is 0.88 for the problems in the largest third () but is 1.9 for the problems in the smallest third (). While the same trend is observed for AP-IC, it is much less pronounced: with , the median cost increases from 0.64 (for the larger problems) to 0.75 (for the smaller problems). Thus, while problem size also impacts the performance of AP-IC, in our experiments it is much less sensitive to it than uniform rp16 and achieves significant gains even on the smaller problems of the set.
Overall, the performance profiles (Figure 6.2) together with the results on large problems (Table 6.2) demonstrate that the use of adaptive precision in memory-limited IC factorizations can significantly reduce the size of the factors while maintaining fast convergence, leading to substantial reductions in the cost metric ((23)). As future work, this motivates developing an optimized high-performance implementation of AP-IC (based, for example, on memory accessors) to assess to what extent these cost reductions translate into effective runtime gains.
Conclusion
7. Conclusion. We have proposed adaptive precision incomplete LU and Cholesky factorizations (Algorithms 2.1 and 5.1) in which the storage precision for each entry of the factors is chosen according to the target accuracy and its magnitude: entries of smaller magnitude can be stored in correspondingly lower precision. Threshold-based factorizations can be directly incorporated into this analysis by considering dropped elements to be stored at the lowest “precision”, and Theorems 2.1 and 5.1 show that this yields a backward error of order for the adaptive precision ILU and IC factorizations, respectively. Our numerical examples illustrate that this can reduce the storage required for a given accuracy compared with uniform precision factors, including for matrices for which little dropping is possible.
We have also discussed several practical considerations. Pivoting does not change the analysis or the precision selection criteria. Scaling can be accommodated either by applying the algorithm to the scaled matrix or by reverting the scaling in the precision selection criteria. The latter can give larger storage savings, but we found the former to be more robust. For triangular solves, performing the substitutions in high precision gives the standard backward error. By using memory accessors, storage
reduction can still be exploited with high precision solves if the solves are memory-bound. Evaluating the solves in adaptive precision, by contrast, can be unstable in the presence of small pivots unless rook pivoting is used in the factorization, as our analysis and experiments demonstrate, or care is taken to convert to high precision entries in columns with small pivots. We recommend keeping the solves in higher precision.
Finally, we have extended the approach to memory-limited factorizations by taking to be the magnitude of the largest dropped entry. Experiments with a modified version of the IC software HSL_MI28 on 153 SPD problems showed that, with a suitably chosen , adaptive precision storage improves a metric designed to model cost (the product of the storage requirements and number of PCG iterations required to solve a system) compared with uniform fp64, fp32, and rp16 factors for the majority of the test set. These experiments also showed that the appropriate choice of depends on the fill parameter lsize, which indirectly controls the largest dropped value.
Several directions remain for future work. First, we have compared preconditioners using the cost model (23); a dedicated performance study of an efficient sparse implementation is needed to determine the extent to which reduced storage translates into shorter factorization and solve times on memory-bound architectures (Remark 2.3). Second, for memory-limited factorizations, the proposed appropriate is only known a posteriori. Using a dynamic that changes during the factorization, for example as a running maximum of the dropped entries, would avoid the need for a prior estimate (Remark 6.1). Third, the computations in AP-ILU and AP-IC could also be performed in adaptive precision (Remark 2.4). Finally, it would be of interest to study the extension to other classes of incomplete factorization.
Acknowledgements. This work was partially supported by projects managed by the French National Research Agency (ANR): France 2030 NumPEx Exa-MA (ANR-22-EXNU-0002), MixHPC (ANR-23-CE46-0005), and FPT-4 (ANR-24-CE46-7572).
For the purpose of open access, the author has applied a Creative Commons Attribution (CC BY) licence to any Author Accepted Manuscript version arising.
References
- [1]A. Abdelfattah, H. Anzt, E. G. Boman, E. Carson, T. Cojean, J. Dongarra, A. Fox, M. Gates, N. J. Higham, X. S. Li, J. Loe, P. Luszczek, S. Pranesh, S. Rajamanickam, T. Ribizel, B. F. Smith, K. Swirydowicz, S. Thomas, S. Tomov, Y. M. Tsai, and U. Meier Yang, A survey of numerical linear algebra methods utilizing mixed-precision arithmetic, Int. J. High Perform. Comput. Appl., 35 (2021), pp. 344–369, https://doi.org/10.1177/10943420211003313.
- [2]A. Abdurahmanov, T. Martyn, H. Ltaief, D. E. Keyes, and S. A. Fahmy, Error-controlled mixed-precision Cholesky factorization with MX microscaling formats, ACM Trans. Math. Softw., (2026), https://doi.org/10.1145/3857919. Advance online publication; final issue assignment pending.
- [3]E. Agullo, H. Anzt, D. Bauer, D. Bindel, A. Buttari, A. Calotoiu, E. C. Carson, P. D’Ambra, I. Daužickaitė, J. W. Demmel, J. Dongarra, I. Duff, M. Fasi, D. Göddeke, S. Graillat, L. Hunhold, R. Jakimchuk, F. Jézéquel, N. Kohl, H. Köstler, J. Kružík, J. Langou, X. S. Li, H. Ltaief, P. Luszczek, Y. Ma, T. Mary, M. Mikaitis, H. Ootomo, D. Ose-Kroufor, E. S. Quintana-Ortí, U. Rüde, J. Scott, J. Shalf, L. Stals, R. Tamstorf, S. Turek, P. Vacek, B. Vieublé, and R. Yokota, Mixed-precision computing for scientific discovery: formats, co-design, and responsible approximation, 2026, https://hal.science/hal-05775914. HAL preprint hal-05775914.arxiv.org/abs/2609.37137
- [4]E. Agullo, L. Giraud, P. Jolivet, T. Mary, and A. Tabouret, Doubly adaptive precision restarted GMRES, 2026, https://hal.science/hal-05640635. HAL preprint hal-05640635.
- [5]P. R. Amestoy, O. Boiteau, A. Buttari, M. Gerest, F. Jézéquel, J.-Y. L’Excellent, and T. Mary, Mixed precision low-rank approximations and their application to block low-rank LU factorization, IMA J. Numer. Anal., 43 (2023), pp. 2198–2227, https://doi.org/10.1093/imanum/drac037.
- [6]P. R. Amestoy, A. Buttari, N. J. Higham, J.-Y. L’Excellent, T. Mary, and B. Vieublé, Combining sparse approximate factorizations with mixed-precision iterative refinement, ACM Trans. Math. Softw., 49 (2023), pp. 4:1–4:29, https://doi.org/10.1145/3582493.
- [7]P. R. Amestoy, A. Buttari, N. J. Higham, J.-Y. L’Excellent, T. Mary, and B. Vieublé, Five-precision GMRES-based iterative refinement, SIAM J. Matrix Anal. Appl., 45 (2024), pp. 529–552, https://doi.org/10.1137/23M1549079.
- [8]P. R. Amestoy, A. Jego, J.-Y. L’Excellent, T. Mary, and G. Pichon, BLAS-based mixed precision block memory accessor with applications to sparse direct solvers, ACM Trans. Math. Softw., 52 (2026), pp. 10:1–10:29, https://doi.org/10.1145/3811406.
- [9]H. Anzt, J. Dongarra, G. Flegar, N. J. Higham, and E. S. Quintana-Ortí, Adaptive precision in block-Jacobi preconditioning for iterative sparse linear system solvers, Concurr. Comput. Pract. Exp., 31 (2019), https://doi.org/10.1002/cpe.4460. Article e4460.
- [10]G. Ballard, T. Mary, and B. D. Verma, Mixed precision compression of Tucker decomposition, ACM Trans. Math. Softw., (2026), https://doi.org/10.1145/3860897. Advance online publication; final issue assignment pending.
- [11]M. Benzi, Preconditioning techniques for large linear systems: a survey, J. Comput. Phys., 182 (2002), pp. 418–477, https://doi.org/10.1006/jcph.2002.7176.
- [12]M. Benzi, D. B. Szyld, and A. van Duin, Orderings for incomplete factorization preconditioning of nonsymmetric problems, SIAM J. Sci. Comput., 20 (1999), pp. 1652–1670, https://doi.org/10.1137/S1064827597326845.
- [13]M. Bollhöfer and Y. Saad, Multilevel preconditioners constructed from inverse-based ILUs, SIAM J. Sci. Comput., 27 (2006), pp. 1627–1650, https://doi.org/10.1137/040608374.
- [14]S. Budzinskiy, M. Gloser, T. Yılmaz, Y. H. Tham, Y. Lin, W. Fang, F. Wu, and P. Petersen, LAMP: Look-ahead mixed-precision inference of large language models, 2026, https://arxiv.org/abs/2601.21623. arXiv:2601.21623. Accepted at NeurIPS 2026.
- [15]L. Burke, E.-M. El Arar, S. Graillat, and T. Mary, Sharp probabilistic normwise backward error bounds for LU factorization, 2026, https://hal.science/hal-05734346. HAL preprint hal-05734346.
- [16]A. Buttari, T. Mary, and A. Pacteau, Truncated QR factorization with pivoting in mixed precision, SIAM J. Sci. Comput., 47 (2025), pp. B382–B401, https://doi.org/10.1137/24M1164705.
- [17]Q. Cao, T. Mary, R. Alomairy, H. Ltaief, and D. E. Keyes, Right precision, right place: Runtime adaptations for mixed-precision Cholesky factorization, 2026, https://hal.science/hal-05793453. HAL preprint hal-05793453.
- [18]E. Carson and N. Khan, Mixed precision iterative refinement with sparse approximate inverse preconditioning, SIAM J. Sci. Comput., 45 (2023), pp. C131–C153, https://doi.org/10.1137/22M1487709.
- [19]T. Caruso, P. Jolivet, T. Mary, F. Nataf, and P.-H. Tournier, Mixed precision perturbation analysis of two-level domain decomposition preconditioners, 2026, https://hal.science/hal-05628912. HAL preprint hal-05628912.
- [20]E. Chow and Y. Saad, Approximate inverse preconditioners via sparse-sparse iterations, SIAM J. Sci. Comput., 19 (1998), pp. 995–1023, https://doi.org/10.1137/S1064827594270415.
- [21]E. D. Dolan and J. J. Moré, Benchmarking optimization software with performance profiles, Math. Program., 91 (2002), pp. 201–213, https://doi.org/10.1007/s101070100263.
- [22]E.-M. El Arar, S.-I. Filip, T. Mary, and E. Riccietti, Mixed precision accumulation for neural network inference guided by componentwise forward error analysis, IMA J. Numer. Anal., (2026), https://doi.org/10.1093/imanum/drag054. Article drag054. Advance online publication; final issue assignment pending.
- [23]G. Flegar, H. Anzt, T. Cojean, and E. S. Quintana-Ortí, Adaptive precision block-Jacobi for high performance preconditioning in the Ginkgo linear algebra software, ACM Trans. Math. Softw., 47 (2021), pp. 1–28, https://doi.org/10.1145/3441850.
- [24]S. Graillat, F. Jézéquel, T. Mary, and R. Molina, Adaptive precision sparse matrix–vector product and its application to Krylov solvers, SIAM J. Sci. Comput., 46 (2024), pp. C30–C56, https://doi.org/10.1137/22M1522619.
- [25]S. Graillat, F. Jézéquel, T. Mary, R. Molina, and D. Mukunoki, Reduced-precision and reduced-exponent formats for accelerating adaptive precision sparse matrix–vector product, in Euro-Par 2024: Parallel Processing, vol. 14803 of Lecture Notes in Comput. Sci., Cham, 2024, Springer Nature Switzerland, pp. 17–30, https://doi.org/10.1007/978-3-031-69583-4_2.
- [26]T. Grützmacher, H. Anzt, and E. S. Quintana-Ortí, Using Ginkgo’s memory accessor for improving the accuracy of memory-bound low precision BLAS, Software—Practice and Experience, 53 (2023), pp. 81–98, https://doi.org/10.1002/spe.3041.
- [27]N. J. Higham, Accuracy and Stability of Numerical Algorithms, Society for Industrial and Applied Mathematics, Philadelphia, PA, USA, second ed., 2002, https://doi.org/10.1137/1.9780898718027.
- [28]N. J. Higham and T. Mary, A new approach to probabilistic rounding error analysis, SIAM J. Sci. Comput., 41 (2019), pp. A2815–A2835, https://doi.org/10.1137/18M1226312.
- [29]N. J. Higham and T. Mary, A new preconditioner that exploits low-rank approximations to factorization error, SIAM J. Sci. Comput., 41 (2019), pp. A59–A82, https://doi.org/10.1137/18M1128802.
- [30]N. J. Higham and T. Mary, Mixed precision algorithms in numerical linear algebra, Acta Numerica, 31 (2022), pp. 347–414, https://doi.org/10.1017/s0962492920000222.
- [31]N. J. Higham and S. Pranesh, Exploiting lower precision arithmetic in solving symmetric positive definite linear systems and least squares problems, SIAM J. Sci. Comput., 43 (2021), pp. A258–A277, https://doi.org/10.1137/19M1298263.
- [32]J. Hook, J. Scott, F. Tisseur, and J. Hogg, A max-plus approach to incomplete Cholesky factorization preconditioners, SIAM J. Sci. Comput., 40 (2018), pp. A1987–A2004, https://doi.org/10.1137/16M1107735.
- [33]J. Hook and F. Tisseur, Incomplete LU preconditioner based on max-plus approximation of LU factorization, SIAM J. Matrix Anal. Appl., 38 (2017), pp. 1160–1189, https://doi.org/10.1137/16M1094579.
- [34]M. F. Hutchinson, A stochastic estimator of the trace of the influence matrix for Laplacian smoothing splines, Commun. Stat. - Simul. Comput., 18 (1989), pp. 1059–1076, https://doi.org/10.1080/0361091880882806.
- [35]IEEE Standard for Floating-Point Arithmetic, IEEE Std 754-2019 (revision of IEEE Std 754-2008), IEEE, July 2019, https://doi.org/10.1109/IEEESTD.2019.8766229.
- [36]BFLOAT16—Hardware Numerics Definition, Intel Corporation, Nov. 2018, https://cdrdv2-public.intel.com/671279/bf16-hardware-numerics-definition-white-paper.pdf. White paper. Document number 338302-001US.
- [37]N. Khan and E. Carson, Mixed precision iterative refinement with adaptive precision sparse approximate inverse preconditioning, Eng. Comput., 41 (2025), pp. 3833–3846, https://doi.org/10.1007/s00366-025-02187-z.
- [38]X. S. Li and M. Shao, A supernodal approach to incomplete LU factorization with partial pivoting, ACM Trans. Math. Softw., 37 (2011), pp. 43:1–43:20, https://doi.org/10.1145/1916461.1916467.
- [39]P.-G. Martinsson and J. A. Tropp, Randomized numerical linear algebra: Foundations and algorithms, Acta Numerica, 29 (2020), pp. 403–572, https://doi.org/10.1017/S0962492920000021.
- [40]Y. Saad, ILUT: A dual threshold incomplete LU factorization, Numer. Linear Algebra Appl., 1 (1994), pp. 387–402, https://doi.org/10.1002/nla.1680010405.
- [41]Y. Saad, Iterative Methods for Sparse Linear Systems, Society for Industrial and Applied Mathematics, Philadelphia, PA, USA, second ed., 2003, https://doi.org/10.1137/1.9780898718003.
- [42]J. A. Scott and M. Tůma, HSL_M28: an efficient and robust limited-memory incomplete Cholesky factorization code, ACM Trans. Math. Softw., 40 (2014), pp. 24:1–24:19, https://doi.org/10.1145/2617555.
- [43]J. A. Scott and M. Tůma, On positive semidefinite modification schemes for incomplete Cholesky factorization, SIAM J. Sci. Comput., 36 (2014), pp. A609–A633, https://doi.org/10.1137/130917582.
- [44]J. A. Scott and M. Tůma, Algorithms for Sparse Linear Systems, Nečas Center Series, Birkhäuser/Springer, Cham, 2023, https://doi.org/10.1007/978-3-031-25820-6.
- [45]J. A. Scott and M. Tůma, Avoiding breakdown in incomplete factorizations in low precision arithmetic, ACM Trans. Math. Softw., 50 (2024), pp. 9:1–9:25, https://doi.org/10.1145/3651155.
- [46]J. A. Scott and M. Tůma, Developing robust incomplete Cholesky factorizations in half precision arithmetic, Numer. Algorithms, 101 (2026), pp. 543–564, https://doi.org/10.1007/s11075-025-02015-x.



