Neural Multigrid Architectures

Vladimir Fanaskov
2/8/2024
math.NAcs.AI

No official code found. Best implementation: VLSF/nmg (5 stars, MIT, last commit 2022-09-04).

Abstract

We propose a convenient matrix-free neural architecture for the multigrid method. The architecture is simple enough to be implemented in less than fifty lines of code, yet it encompasses a large number of distinct multigrid solvers. We argue that a fixed neural network without dense layers can not realize an efficient iterative method. Because of that, standard training protocols do not lead to competitive solvers. To overcome this difficulty, we use parameter sharing and serialization of layers. The resulting network can be trained on linear problems with thousands of unknowns and retains its efficiency on problems with millions of unknowns. From the point of view of numerical linear algebra network's training corresponds to finding optimal smoothers for the geometric multigrid method. We demonstrate our approach on a few second-order elliptic equations. For tested linear systems, we obtain from two to five times smaller spectral radius of the error propagation matrix compare to a basic linear multigrid with Jacobi smoother.

View on arXivView PDF

Code Implementations(1)

VLSF/nmgCommunity100%
MIT

Exceptionally simple neural multigrid architecture

51Jupyter NotebookFeb 10, 20214 years agoMIT
linear-algebramultigridneural-networksu-net

Cite this paper

@article{fanaskov2024neural,
  title  = {Neural Multigrid Architectures},
  author = {Vladimir Fanaskov},
  year   = {2024},
  eprint = {2402.05563},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.05563v1}
}

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

Discussion