Towards a mixed-precision ADI method for Lyapunov equations
Jonas Schulze, Jens Saak
TL;DR
The paper addresses large-scale Lyapunov equations with a low-rank right-hand side by representing the solution as $X \approx Z Y Z^*$ and applying a mixed-precision LR-ADI that stores outer factors in $\varepsilon_{Z}$, outer increments in $\varepsilon_{VR}$, and inner factors in $\varepsilon_{TY}$ to reduce memory. It systematically experiments with descriptor-system–generated problems, assessing implicit and explicit residuals and convergence across precision variants, and demonstrates that certain mixed-precision configurations can approach double-precision accuracy for some tasks (e.g., H$_2$ norm) while offering memory benefits. However, explicit residuals often reveal accuracy loss, and in many cases the speedup comes at the cost of solution quality, especially for known-solution recovery. The work highlights the potential of mixed-precision strategies for memory-efficient Lyapunov solvers, and outlines future directions such as adaptive precision, iterative refinement, and alternative factorizations to improve robustness and practical impact.
Abstract
We apply mixed-precision to the low-rank Lyapunov ADI (LR-ADI) by performing certain aspects of the algorithm in a lower working precision. Namely, we accumulate the overall solution, solve the linear systems comprising the ADI iteration, and store the inner low-rank factors of the residuals in various combinations of IEEE 754 single and double precision. We empirically test our implementation on Lyapunov equations arising from first- and second-order descriptor systems. For the first-order examples, accumulating the solution in single-precision yields an almost-as-small residual as for the double-precision solution. For certain applications, like computing the H2 norm of a descriptor system, low- or mixed-precision variants of the ADI can be quite competitive
