Optimal Diagonal Preconditioning

Zhaonan Qu, Wenzhi Gao, Oliver Hinder, Yinyu Ye, Zhengyuan Zhou
9/2/2022
math.OCcs.DScs.LG

Official code: Gwzwpxz/opt_dpcond (5 stars, MATLAB, last commit 2026-01-05).

Abstract

Preconditioning has long been a staple technique in optimization, often applied to reduce the condition number of a matrix and speed up the convergence of algorithms. Although there are many popular preconditioning techniques in practice, most lack guarantees on reductions in condition number.

Show full abstract

Moreover, the degree to which we can improve over existing heuristic preconditioners remains an important practical question. In this paper, we study the problem of optimal diagonal preconditioning that achieves maximal reduction in the condition number of any full-rank matrix by scaling its rows and/or columns. We first reformulate the problem as a quasi-convex problem and provide a simple algorithm based on bisection. Then we develop an interior point algorithm with $O(\log(1/ε))$ iteration complexity, where each iteration consists of a Newton update based on the Nesterov-Todd direction. Next, we specialize to one-sided optimal diagonal preconditioning problems, and demonstrate that they can be formulated as standard dual SDP problems. We then develop efficient customized solvers and study the empirical performance of our optimal diagonal preconditioning procedures through extensive experiments on large matrices. Our findings suggest that optimal diagonal preconditioners can significantly improve upon existing heuristics-based diagonal preconditioners at reducing condition numbers and speeding up iterative methods. Moreover, our implementation of customized solvers, combined with a random row/column sampling step, can find near-optimal diagonal preconditioners for matrices up to size 200,000 in reasonable time, demonstrating their practical appeal.

View on arXivView PDF

Code Implementations(1)

Gwzwpxz/opt_dpcondOfficial100%

Experiment repo for optimal diagonal pre-conditioning

51MATLABJul 11, 202211 months ago

Similar Papers

Cite this paper

@article{qu2022optimal,
  title  = {Optimal Diagonal Preconditioning},
  author = {Zhaonan Qu and Wenzhi Gao and Oliver Hinder and Yinyu Ye and Zhengyuan Zhou},
  year   = {2022},
  eprint = {2209.00809},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.00809}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2209.00809.svg)](https://codeofpaper.com/paper/2209.00809)

Discussion