ReFill: Reinforcement Learning for Fill-In Minimization

Elfarouk Harb, Ho Shan Lam
1/27/2025
cs.LG

No official code found. Best implementation: FaroukY/FillInMinimization (0 stars, last commit 2025-01-29).

Abstract

Efficiently solving sparse linear systems $Ax=b$, where $A$ is a large, sparse, symmetric positive semi-definite matrix, is a core challenge in scientific computing, machine learning, and optimization. A major bottleneck in Gaussian elimination for these systems is fill-in, the creation of non-zero entries that increase memory and computational cost. Minimizing fill-in is NP-hard, and existing heuristics like Minimum Degree and Nested Dissection offer limited adaptability across diverse problem instances. We introduce \textit{ReFill}, a reinforcement learning framework enhanced by Graph Neural Networks (GNNs) to learn adaptive ordering strategies for fill-in minimization. ReFill trains a GNN-based heuristic to predict efficient elimination orders, outperforming traditional heuristics by dynamically adapting to the structure of input matrices. Experiments demonstrate that ReFill outperforms strong heuristics in reducing fill-in, highlighting the untapped potential of learning-based methods for this well-studied classical problem.

View on arXivView PDF

Code Implementations(1)

Code for Reinforcement Learning Fill-In Minimization

00PythonJan 27, 20251 years ago

Similar Papers

Cite this paper

@article{harb2025refill,
  title  = {ReFill: Reinforcement Learning for Fill-In Minimization},
  author = {Elfarouk Harb and Ho Shan Lam},
  year   = {2025},
  eprint = {2501.16130},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.16130v2}
}

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

Discussion