A Neural Hierarchical-Matrix Preconditioner for Real-Time GPU Solves

Carl Osborne, Minghao Guo, Crystal Owens, Wojciech Matusik
5/13/2026
cs.GRcs.DCcs.LG

No confident code implementation found for this paper.

Abstract

Interactive simulation solves Ax=b for a sparse SPD A that changes every frame, inside an 8-16 ms budget. At a few thousand unknowns, the setup of algebraic multigrid alone exceeds that budget, while Jacobi and other local preconditioners have no setup but cannot move error across the domain.

Show full abstract

We learn a preconditioner for this gap: a graph-and-attention network predicts an SPD approximate inverse in H^2-matrix format. On a spatially ordered 3D mesh, blocks of the true inverse lose rank as the clusters they couple move apart; the nested bases of the format follow that decay, so inference and apply are dominated by leaf-block work linear in N, where a dense inverse costs N^2. Our main finding concerns training. Probe losses reach M only through a product with A, so their gradient vanishes on the near-null modes that set the conjugate-gradient iteration count. A truncated Kaporin condition number has no such factor; changing only the objective cuts iterations on a held-out frame from 116 to 33. On a ladder of stiff tetrahedral diffusion problems ours alone fits an 8.3 ms (120 fps) frame from N=572 to 3,647.

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!

Similar Papers

Cite this paper

@article{osborne2026neural,
  title  = {A Neural Hierarchical-Matrix Preconditioner for Real-Time GPU Solves},
  author = {Carl Osborne and Minghao Guo and Crystal Owens and Wojciech Matusik},
  year   = {2026},
  eprint = {2605.13343},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.13343v3}
}

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

Discussion