Tackling Parallelization Challenges of Randomized Preconditioners With Dependency Tracking

Tianyu Liang, Chao Chen, Yotam Yaniv, Hengrui Luo, David Tench, Xiaoye S. Li, Aydin Buluc, James Demmel, Jie ChenarXiv 2025

TL;DR

ParAC is a new parallel execution framework that brings the power of Approximate Cholesky (AC) preconditioning to modern multi-core CPUs and massively parallel GPUs. By replacing rigid, static scheduling with dynamic dependency tracking, ParAC eliminates the "setup bottleneck" typical of randomized sparse matrix factorizations, delivering up to $57.3\times$ speedups over traditional methods while remaining completely breakdown-free.

What Problem Does This Paper Address?

Many massive engineering and machine learning problems—ranging from spectral graph partitioning to image processing—rely on solving large, sparse Symmetric Diagonally Dominant (SDD) linear systems, often represented as graph Laplacians ($Lx = b$).

To solve these efficiently, researchers use iterative solvers paired with a preconditioner to speed up convergence. Incomplete Cholesky (IC) factorization is the standard choice here, but it has a fatal flaw: on irregular, real-world graphs, deterministic dropping rules can cause the algorithm to break down numerically.

Recently, Approximate Cholesky (AC) solved this by using randomized dropping rules, making the algorithm provably breakdown-free. However, randomness introduces a new problem: because the non-zero fill-in pattern is determined stochastically "online," you cannot precompute a static parallel schedule. As a result, the factorization phase becomes a severe sequential bottleneck on modern parallel hardware.

Methods

The authors present ParAC, a framework that parallelizes the randomized elimination kernel without altering its excellent numerical properties. The core innovation is moving from static elimination trees to dynamic dependency tracking.

Fig. 1: Dynamic dependency tracking. (a) Elimination tree, which pessimistically serializes 1 →3 →4 →5. (b) Input graph. (c) After eliminating 0, a sampled spanning tree (red) replaces the clique on its neighbors.

Instead of guessing the dependency structure beforehand, ParAC tracks it at runtime using a simple scalar counter for each vertex, $d_t(i)$, which counts the number of incident edges from lower-labeled active vertices. A vertex is flagged as "ready" for parallel elimination the exact moment $d_t(i) = 0$.

To make this work efficiently across different hardware architectures, the authors designed two distinct backends:

Fig. 2: Flow chart of the ParAC pipeline.
  • CPU Backend (Left-Searching): Uses a lock-free, linked-list structure where threads look "left" to aggregate updates from previously factored columns.
  • GPU Backend (Right-Searching): Pointer-chasing via linked lists fails on GPUs due to warp divergence. Instead, the GPU backend uses an array-based hashmap with linear probing, allowing threads within a block to cooperatively search and cluster fill-ins. It also utilizes a persistent kernel model to eliminate launch overheads.
  • Memory Management: Both architectures use a pre-allocated global workspace pool to avoid the steep performance penalties of dynamic memory allocation during parallel execution.

Datasets

The authors evaluated ParAC using two main suites:

  1. 15 Benchmark Matrices: Divided into four categories: General Scientific Computing (SuiteSparse), Structured 3D Poisson equations, Porous Media Flow (spe16m), and Real-world Graph Laplacians (e.g., com-LiveJournal, GAP-road, europe_osm).
  2. Robustness Suite: 200 highly heterogeneous, adversarial SDDM systems from the SDDM2023 chimera benchmark, combining expanders, grids, trees, and random graphs.

Key Insights and Ideas

  • Randomness Exposes Parallelism: Counterintuitively, randomized dropping actually reduces graph reachability compared to full Cholesky factorization. By sampling a spanning tree instead of creating a dense clique, AC naturally uncovers more latent parallelism—if you have the dynamic framework to capture it.
  • Ditching the Elimination Tree: Traditional sparse solvers are bound to conservative, precomputed elimination trees. ParAC proves that tracking a single scalar counter at runtime is not only cheap but far more accurate for stochastic algorithms.
  • Tailoring Search to Hardware: The contrast between CPU "left-searching" (linked lists) and GPU "right-searching" (hashmaps) highlights that parallelizing irregular algorithms requires fundamentally rewriting data structures, not just porting code.

Key Results

  • Vs. Deterministic IC: ParAC achieved end-to-end time-to-solution speedups of up to $57.3\times$ on CPUs and $52.2\times$ on GPUs on matrices where the baseline managed to converge.
  • Vs. Algebraic Multigrid (AMG): While AMG remains superior for highly structured PDE problems, ParAC dominates on irregular graphs. It was up to $7.2\times$ faster on CPUs (vs. hypre) and $6.0\times$ faster on GPUs (vs. AmgX).
  • Unmatched Robustness: On the 200 adversarial chimera graphs, ParAC achieved a 100% convergence rate on both CPU and GPU. In contrast, the highly optimized AMG solvers failed on 15 (CPU) and 19 (GPU) instances.

Limitations and Future Work

Despite its strengths, ParAC is not a silver bullet for structured grid problems (like standard physical simulations), where AMG's multilevel hierarchy still yields faster convergence.

Moving forward, the authors point out several exciting directions:

  1. Dynamic Ordering: Choosing the elimination order on the fly using parallel Maximal Independent Set (MIS) algorithms as the fill-in pattern evolves.
  2. ParAC as a Smoother: Integrating ParAC as a parallel smoother inside an AMG V-cycle, combining the best of both worlds.
  3. Broader Matrix Support: Extending the framework to support mixed-sign SDD matrices directly without constant-factor overhead reductions.

Summary updated

BibTeX
@misc{liang2025tackling,
  author = {Tianyu Liang and Chao Chen and Yotam Yaniv and Hengrui Luo and David Tench and Xiaoye S. Li and Aydin Buluc and James Demmel and Jie Chen},
  title = {{Tackling Parallelization Challenges of Randomized Preconditioners With Dependency Tracking}},
  year = {2025},
  eprint = {2505.02977},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.02977},
}
Figure