Schwarz–Schur Involution: Lightspeed Differentiable Sparse Linear Solvers

Abstract

Sparse linear solvers or generalized deconvolution are fundamental to science and engineering, applied in partial differential equations (PDEs), scientific computing, computer vision, and beyond. Indirect solvers possess characteristics that make them undesirable as stable differentiable modules; existing direct solvers, though reliable, are too expensive to be adopted in neural architectures. We substantially accelerate direct sparse solvers by up to three orders of magnitude, violating common assumptions that direct solvers are too slow. We "condense" a sparse Laplacian matrix into a dense tensor, a compact data structure that batch-wise stores the Dirichlet-to-Neumann matrices, reducing the sparse solving to recursively merging pairs of dense matrices that are much smaller. The batched small dense systems are sliced and inverted in parallel to take advantage of dense GPU BLAS kernels, highly optimized in the era of deep learning. Our method is efficient, qualified as a strong zero-shot baseline for AI-based PDE solving, and a reliable differentiable module integrable into machine learning pipelines.

Cite

Text

Wang et al. "Schwarz–Schur Involution: Lightspeed Differentiable Sparse Linear Solvers." Proceedings of the 42nd International Conference on Machine Learning, 2025.

Markdown

[Wang et al. "Schwarz–Schur Involution: Lightspeed Differentiable Sparse Linear Solvers." Proceedings of the 42nd International Conference on Machine Learning, 2025.](https://mlanthology.org/icml/2025/wang2025icml-schwarzschur/)

BibTeX

@inproceedings{wang2025icml-schwarzschur,
  title     = {{Schwarz–Schur Involution: Lightspeed Differentiable Sparse Linear Solvers}},
  author    = {Wang, Yu and Abulnaga, Mazdak and Balbastre, Yaël and Fischl, Bruce},
  booktitle = {Proceedings of the 42nd International Conference on Machine Learning},
  year      = {2025},
  pages     = {62172-62221},
  volume    = {267},
  url       = {https://mlanthology.org/icml/2025/wang2025icml-schwarzschur/}
}