Matrix Diagonalization as a Board Game: Teaching an Eigensolver the Fastest Path to Solution

Phil Romero, Manish Bhattarai, Christian F. A. Negre, Anders M. N. Niklasson, Adetokunbo Adedoyin
6/16/2023
math.NAcs.AIcs.LG

No confident code implementation found for this paper.

Abstract

Matrix diagonalization is at the cornerstone of numerous fields of scientific computing. Diagonalizing a matrix to solve an eigenvalue problem requires a sequential path of iterations that eventually reaches a sufficiently converged and accurate solution for all the eigenvalues and eigenvectors. This typically translates into a high computational cost. Here we demonstrate how reinforcement learning, using the AlphaZero framework, can accelerate Jacobi matrix diagonalizations by viewing the selection of the fastest path to solution as a board game. To demonstrate the viability of our approach we apply the Jacobi diagonalization algorithm to symmetric Hamiltonian matrices that appear in quantum chemistry calculations. We find that a significant acceleration can often be achieved. Our findings highlight the opportunity to use machine learning as a promising tool to improve the performance of numerical linear algebra.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{romero2023matrix,
  title  = {Matrix Diagonalization as a Board Game: Teaching an Eigensolver the Fastest Path to Solution},
  author = {Phil Romero and Manish Bhattarai and Christian F. A. Negre and Anders M. N. Niklasson and Adetokunbo Adedoyin},
  year   = {2023},
  eprint = {2306.10075},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.10075v2}
}

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/2306.10075.svg)](https://codeofpaper.com/paper/2306.10075)

Discussion