betaFeedback

WorksComputer Science

ParaBMG: A Parallel Block Multigrid Framework for Large-Scale Evolving Sparse Systems on Unstructured Meshes

Abstract

Solving large-scale, evolving sparse linear systems on unstructured meshes remains the primary performance bottleneck in many GPU-accelerated geometry processing pipelines. Although modern linear solvers like multigrid and multilevel additive Schwarz (MAS) methods offer fast convergence and strong parallelization potential, a unified benchmark and solver design tailored for geometry processing tasks have been lacking. Addressing this gap, we present ParaBMG, a parallel block multigrid preconditioning framework that combines fully parallel geometric hierarchy construction, fast block-Jacobi smoothing, and GPU-optimized operators. We develop CUDA implementations of four standard geometry processing pipelines to form a large-scale benchmark for GPU linear solvers, comprising more than 40K linear systems with up to 6.6M unknowns. Across comparisons in this dataset, ParaBMG achieves speedups of 3.7x-7.7x over strong general-purpose algebraic multigrid baselines, 6x-105x speedups over our custom GPU implementations of the state-of-the-art CPU multigrid solvers for Poisson problems, and 6x-96x speedups over MAS. Compared with open-sourced multigrid baselines, ParaBMG reduces repeated hierarchy construction costs through hierarchy reuse and improves convergence through MAS-inspired block-Jacobi smoothing. Compared with MAS, the complementary coarse corrections reduce iteration counts by an order of magnitude while maintaining low per-iteration costs. It enables three interactive geometry processing applications with order-of-magnitude speedups over their public implementations.

Multiple geometry processing problems for large-scale meshes

Figure 1. Our ParaBMG enables multiple geometry processing problems for large-scale meshes. From top to bottom, the row shows directional shape total variation (DSTV), quasi-harmonic weights (QHW), screened surface Poisson, inverse mean-curvature-flow (IMCF) optimization, and volumetric Poisson. DSTV is visualized through retained signed spectral components on the input surface. QHW is demonstrated by surface weight scales. IMCF shows MCF-contracted shapes before inverse optimization, with faint outlines indicating the final geometries. The volumetric Poisson solutions are revealed through tetrahedral cross-sections.

Authors’ Contact Information: Kangbo Lyu, [email protected], Tsinghua University and Shanghai Qi Zhi Institute, China; Mingqi Geng, [email protected], University of Cambridge, UK; Jinchen Jiang, [email protected], Tsinghua University and Shanghai Qi Zhi Institute, China; Yu Wang, [email protected], Massachusetts Institute of Technology, USA; Minchen Li, [email protected], Carnegie Mellon University and Genesis AI, USA; Tao Du, [email protected], Tsinghua University and Shanghai Qi Zhi Institute, China.

Additional Key Words and Phrases: multigrid methods, preconditioning, Poisson problems, sparse linear systems, GPU computing, geometry processing

Introduction

Geometry processing pipelines, such as mesh editing, surface parameterization, and mean curvature flow-based inflation, often require repeatedly solving large-scale sparse linear systems. Their matrix coefficients evolve as the geometry or optimization variables change across optimization iterations or time steps. As the mesh resolution increases, these solves often dominate the overall computation and limit interactive performance. High-performance solvers for evolving linear systems are therefore critical to large-scale geometry processing.

Multilevel solvers accelerate convergence by combining local corrections with coarse-scale corrections to address error components across spatial scales [1]. Multiplicative formulations, including the multigrid (MG) framework adopted in this work, apply these corrections successively and admit sharper convergence bounds under suitable assumptions than their additive counterparts [26] such as the multilevel additive Schwarz (MAS) frameworks [25]. Despite recent progress in high-performance MG and MAS solvers, challenges remain for evolving linear systems in geometry processing. General-purpose algebraic multigrid (AMG) solvers [4, 7, 13, 14] provide mature GPU implementations, but do not exploit mesh geometry and incur additional update costs as coefficients evolve. Unstructured mesh-based geometric multigrid (GMG) methods [11, 16, 24] exploit the geometry structure, yet fully parallel GPU implementations with effective GPU-friendly smoothers remain underexplored.

Meanwhile, MAS [8, 9, 20, 25] is the state-of-the-art GPU preconditioner for elasticity simulation, where it outperforms general-purpose AMG; each implicit simulation step resembles a strongly screened Poisson-type system. Geometry processing pipelines instead produce weakly screened or unscreened Poisson-type systems with mesh-wide coupling. As screening weakens, MAS’s iteration penalty relative to multigrid grows until its lower per-iteration cost no longer compensates, and the most effective solver shifts from additive multilevel methods, whose inexpensive local corrections suffice when coupling is short-range, toward multiplicative multigrid, whose successive coarse-grid corrections reduce mesh-wide errors more effectively [26]. Solver design for geometry processing therefore cannot simply be inherited from simulation.

To bridge this gap, we present ParaBMG, a parallel block multigrid framework for evolving sparse systems on unstructured meshes. The MAS with non-overlapping domains can be viewed as block-Jacobi smoothing that enables efficient local error reduction and highly parallel execution, while multigrid coarse spaces are essential for effectively eliminating low-frequency global errors. Inspired by MAS [25] and the graph partition-based hierarchy construction in GMG [24], ParaBMG uses the mesh partition at each level both to construct the geometric hierarchy and to configure the block-Jacobi smoother, and organizes matrix storage around the resulting smoothing block partitions. Specifically, it stores the diagonal blocks densely and the cross-block entries sparsely, allowing smoothing, residual evaluation, and coarse matrix updates to operate directly on this block-structured storage. The hierarchy and block partitioning are constructed on the GPU and reused as matrix coefficients evolve. Prepared coarse matrix updates, in-place block inversion, and adaptive spectrum estimation further reduce the recurring cost of solving the evolving linear systems.

To benchmark existing solvers and evaluate ParaBMG, we develop CUDA implementations of four representative geometry processing pipelines, including local mesh deformation, skinning-weight computation, feature-preserving mesh filtering, and mesh inflation through inverse optimization of mean-curvature flow. The dataset consists of 40,987 linear solves on 20 triangular or tetrahedral meshes with 177K to 6.6M vertices. Across the benchmark dataset, ParaBMG achieves speedups of 3.7×3.7\times–10.7×10.7\times over AMGX, 4.5×4.5\times–8.5×8.5\times over BoomerAMG, 6×6\times–105×105\times over our customized GPU implementations of GravoMG and GravoTet, and 6×6\times–96×96\times over a SOTA MAS implementation. Our ablation studies further reveal that large smoothing blocks improve MG convergence, while MG coarse corrections substantially reduce the iteration counts of MAS. We further examine the effects of block size, smoother adaptation, and optimized GPU operators, showing how convergence gains and execution costs jointly determine overall performance. We demonstrate our efficacy on three interactive applications for high-resolution mesh processing, including mesh editing [3], surface parameterization with changing boundary constraints [21], and quasi-harmonic clustering around handles [23]. These applications achieve order-of-magnitude speedups over their SOTA CPU implementations, enabling interactive processing on large-scale meshes of up to 10.2M vertices that previously struggled to handle.

Our main contributions are summarized as follows:

  • We propose ParaBMG, a multigrid framework for preconditioning that couples a reusable geometric multigrid hierarchy with partition-induced block-Jacobi smoothing in a fully parallel GPU framework for evolving linear systems.

  • We design a GPU execution pipeline for ParaBMG tailored to evolving systems, integrating fully parallel hierarchy construction and reuse with in-place coarse matrix updates, efficient block inversion, and prepared coarsest solves to reduce recurring costs.

  • We establish a unified GPU benchmark through CUDA implementations of four geometry processing pipelines, covering more than 40K systems on meshes with up to 6.6M vertices. ParaBMG achieves an overall 3.7×3.7\times–105×105\times speedup over the strong GPU baselines including general-purpose AMG, geometric multigrid, and MAS baselines.

  • Our comparisons and ablation studies demonstrate that ParaBMG’s block-aware hierarchy reduces solver cost, partition-induced block-Jacobi smoothing improves convergence, and optimized GPU execution reduces the solving time while preserving convergence.

  • We demonstrate that ParaBMG enables three geometry processing applications to operate interactively on previously impractical mesh scales, delivering order-of-magnitude speedups over their open-source implementations.

Related Work

Large-Scale Linear Solvers on Unstructured Meshes

Large-scale sparse symmetric positive definite (SPD) systems on unstructured meshes can be solved using sparse direct solvers or iterative methods. While direct solvers provide robust solutions, their memory requirements and factorization costs can limit scalability. Preconditioned conjugate gradient (PCG) offers an alternative, whose efficiency depends on both the convergence rate and the cost of preparing and applying the preconditioner. Multigrid (MG) methods accelerate convergence through local smoothing and coarse-grid correction [1], and can serve as standalone solvers or preconditioners within PCG.

General-purpose algebraic multigrid (AMG) frameworks, such as BoomerAMG [7], AmgX [14], and AMGCL [4], employ multigrid cycles as preconditioners within PCG to accelerate convergence on large-scale sparse systems. However, these general-purpose frameworks do not fully exploit fixed sparsity patterns across evolving systems, incurring unnecessary overhead from repeated hierarchy construction and numerical updates.

Problem-specific GPU solvers have also been extensively developed for simulation problems recently, including highly optimized grid-based Poisson solvers [12, 18, 19] and multilevel additive Schwarz methods [8, 9, 20, 25] on unstructured meshes. Grid-based solvers, however, do not directly extend to unstructured meshes, while additive Schwarz corrections can be less effective at reducing global errors in the Poisson-like problems arising in geometry processing pipelines, leading to slower convergence and more solver iterations.

For geometry processing, Laplacian preconditioning [10] developed a multilevel preconditioner for discrete Laplacian systems. Surface Multigrid [11], GravoMG [24], and GravoTet [16] developed geometry-aware multigrid solvers with efficient hierarchy construction for unstructured meshes. While these methods provide effective coarse spaces, their hierarchy designs alone do not address the combined challenges of strong parallel smoothing and efficient numerical updates for evolving systems.

ParaBMG addresses these challenges by integrating partition-induced block-Jacobi smoothing with geometric multigrid coarse-grid correction, achieving efficient local and global error reduction.

Implementation of Large-Scale Linear Solvers

High-performance implementation of large-scale linear solvers requires careful optimization of their computational components. Sparse direct solvers, such as PARDISO [17] on CPUs and cuDSS [15] on GPUs, employ highly optimized factorization algorithms. However, fill-in and repeated numerical factorization can impose substantial memory and computational costs on large evolving systems.

For iterative solvers, GPU-based multilevel additive Schwarz (MAS) preconditioned conjugate gradient methods [8, 9, 20, 25] demonstrate the benefits of efficient in-place diagonal block matrix inversion and GPU-oriented data layouts. Their implementations exploit highly parallel local block-based operations to achieve low preconditioning overhead. However, their efficiency gains are insufficient to offset the iteration-count overhead in Poisson-like problems, where MG is more advantageous than MAS.

Multigrid is among the most effective approaches for large-scale sparse linear systems, while efficient GPU execution requires careful engineering across its components, each exhibiting distinct parallelism and memory-access patterns. For example, AmgX [14] employs parallel coarsening and relaxation strategies, while Geyser et al. Geyser et al. [2013] demonstrate the importance of strong smoothers and degree-of-freedom ordering for GPU geometric multigrid.

Despite these advances, existing GPU multigrid implementations are not specifically optimized for repeated solves of evolving systems with fixed sparsity patterns. ParaBMG reduces repeated hierarchy construction overhead through structural reuse and improves convergence with MAS-inspired block-Jacobi smoothing, leveraging efficient local block inversion. We further integrate reusable symbolic structures, in-place Galerkin updates and prepared coarsest solves to minimize the overall cost of repeated solves.

Geometry Processing Applications and Benchmarks

Solving large-scale sparse linear systems is a fundamental task in geometry processing, particularly in variational optimization and PDE-based methods. Examples include local deformation for interactive shape editing (LDSE) [3], which involves sparse linear solves within an alternating direction method of multipliers (ADMM) optimization framework. Variational quasi-harmonic maps (QHM) [21] and quasi-harmonic weights (QHW) [23] employ parameterized elliptic PDEs to compute diffeomorphic mappings and skinning weights, respectively. Dodik et al. Dodik et al. [ [5] demonstrated many inverse-problem solving pipelines, including a mesh inflation through inverse mean-curvature-flow (IMCF) optimization requiring repeated linear solves. Brokman et al. Brokman et al. [2024] developed directional shape total-variation (DSTV) processing for feature-preserving shape evolution, motivating efficient numerical treatment of nonlinear geometric flows.

In these applications, sparse linear solves become a significant computational bottleneck when mesh resolution increases. Existing pipelines employ different solver designs and implementations, making it difficult to compare solver performance across applications and identify generalizable optimizations. In particular, systematic GPU benchmarks covering different geometry processing workloads remain limited, hindering the development and evaluation of reusable high-performance solvers.

To address this, we develop CUDA implementations of these five representative applications, establishing a unified benchmark for GPU linear solvers. This benchmark enables systematic comparisons of convergence, numerical-update costs, and overall solving performance across diverse applications. Together with ParaBMG, these implementations accelerate large-scale geometry processing and enable interactive applications on high-resolution meshes.

Background

We formally define the evolving linear systems considered in this work and briefly introduce the background on preconditioning and multigrid.

Evolving Linear Systems

Geometry processing algorithms often require sequences of linear solves in applications such as mesh deformation, parameterization, and mean curvature flows. Across these different pipelines, the resulting linear systems frequently involve a spatially varying Poisson or screened Poisson structure after discretization, whose coefficients evolve over optimization iterations or physical steps.

Let M=(V,E,T)\mathcal{M} = (V, E, \mathcal{T}) be a mesh with vertex set VV, edge set EE, element set T\mathcal{T}, and N=∣V∣N = |V| vertices. We consider 3-dimensional problems, so the vertex positions {pv}v∈V\{p_v\}_{v\in V} have dimension pv∈R3p_v \in\mathbb{R}^3. We use d=2d = 2 for the triangular surface meshes and d=3d = 3 for the tetrahedral volume meshes. Each element τ∈T\tau\in\mathcal{T} carries a symmetric positive-definite diffusion coefficient matrix Cτ(ν)∈S++d×dC_\tau^{(\nu)} \in\mathbb{S}_{++}^{d\times d}. Using piecewise-linear finite elements, the assembled system matrix takes the form

A(ν)=∑τ∈T∣τ∣GτTCτ(ν)Gτ+M(ν),(1)A^{(\nu)} = \sum_{\tau\in\mathcal{T}} |\tau| G_\tau^{\mathsf{T}} C_\tau^{(\nu)} G_\tau+ M^{(\nu)}, \tag*{(1)}

where Gτ∈Rd×NG_\tau\in\mathbb{R}^{d\times N} is the element gradient operator, whose columns are the vertex basis-function gradients on τ\tau, with zero columns for vertices outside τ\tau. Here ∣τ∣|\tau| is the element area or volume, and M(ν)∈S+N×NM^{(\nu)} \in\mathbb{S}_{+}^{N\times N} is a nonnegative diagonal matrix representing lumped mass or screening. As the outer non-linear optimizer or physical state steps forward, the linear system index ν=0,1,2,…\nu= 0, 1, 2, \ldots increases, with the diffusion coefficient matrices Cτ(ν)C_\tau^{(\nu)} and the diagonal term M(ν)M^{(\nu)} slowly change accordingly.

The right-hand-side vector b(ν)∈RNb^{(\nu)} \in\mathbb{R}^N and the solution x(ν)∈RNx^{(\nu)} \in\mathbb{R}^N, depend on the specific problem context and corresponding boundary conditions. Given A(ν)A^{(\nu)} and b(ν)b^{(\nu)}, our solver solves x(ν)x^{(\nu)} from

A(ν)x(ν)=b(ν),ν=0,1,2,….(2)A^{(\nu)}x^{(\nu)} = b^{(\nu)}, \qquad\nu= 0, 1, 2, \ldots. \tag*{(2)}

We refer to this sequence as evolving linear systems in a geometry processing pipeline.

Preconditioning

To solve Equation (2) on large-scale meshes, many state-of-the-art (SOTA) solvers use the preconditioned conjugate gradient (PCG) method. Given A(ν)A^{(\nu)}, b(ν)b^{(\nu)}, and an initial guess x0(ν)x_0^{(\nu)}, PCG iteratively improves the solution xk(ν)x_k^{(\nu)} until the residual norm ∥rk(ν)∥2=∥b(ν)−A(ν)xk(ν)∥2\|r_k^{(\nu)}\|_2 = \|b^{(\nu)} - A^{(\nu)}x_k^{(\nu)}\|_2 is sufficiently small, where k=0,1,…,ncg(ν)k = 0, 1, \ldots, n_{\mathrm{cg}}^{(\nu)} is the PCG iteration index and ncg(ν)n_{\mathrm{cg}}^{(\nu)} is the total number of iterations required for convergence. At each iteration, the linear preconditioning operator P(ν)\mathcal{P}^{(\nu)} is applied to the residual as P(ν)rk(ν)\mathcal{P}^{(\nu)}r_k^{(\nu)}. For standard PCG, P(ν)\mathcal{P}^{(\nu)} must be symmetric, positive definite, and fixed within each solve. An efficient preconditioner should approximate the matrix inverse well at low computational cost.

For a sequence of linear solves, the preconditioning pipeline typically consists of three stages. The setup stage runs once and prepares reusable structures. The update stage refreshes coefficient-dependent data when Cτ(ν)C_\tau^{(\nu)} and M(ν)M^{(\nu)} change. The apply stage evaluates P(ν)rk(ν)\mathcal{P}^{(\nu)}r_k^{(\nu)} at each PCG iteration. For instance, a factorization-based preconditioner performs symbolic factorization, numerical factorization, and back substitution at these three stages, respectively.

Our objective is to minimize the total solution time over the sequence, Ttotal=Tsetup+∑ν(Tupdate(ν)+ncg(ν)(Tapply(ν)+Tcg(ν)))T_{\mathrm{total}} = T_{\mathrm{setup}} + \sum_\nu(T_{\mathrm{update}}^{(\nu)} + n_{\mathrm{cg}}^{(\nu)}(T_{\mathrm{apply}}^{(\nu)} + T_{\mathrm{cg}}^{(\nu)})), where TsetupT_{\mathrm{setup}} and Tupdate(ν)T_{\mathrm{update}}^{(\nu)} correspond to the time spent in the setup and update stages respectively, Tapply(ν)T_{\mathrm{apply}}^{(\nu)} is the cost of the apply stage, and Tcg(ν)T_{\mathrm{cg}}^{(\nu)} accounts for the remaining work per iteration. Preconditioner design balances the iteration count ncg(ν)n_{\mathrm{cg}}^{(\nu)} against the costs Tupdate(ν)T_{\mathrm{update}}^{(\nu)} and Tapply(ν)T_{\mathrm{apply}}^{(\nu)}. For a sufficiently long sequence, TsetupT_{\mathrm{setup}} can be amortized. Therefore, we optimize the time cost per system T(ν)T^{(\nu)} defined as

T(ν)=Tupdate(ν)+ncg(ν)(Tapply(ν)+Tcg(ν)).(3)T^{(\nu)} = T_{\mathrm{update}}^{(\nu)} + n_{\mathrm{cg}}^{(\nu)}\left(T_{\mathrm{apply}}^{(\nu)} + T_{\mathrm{cg}}^{(\nu)}\right). \tag*{(3)}

Multigrid

Multigrid (MG) methods [1] are a family of iterative solving methods designed for large-scale problems. They combine iterative smoothing with corrections computed on a hierarchy of smaller proxy problems. A smoother typically reduces error components in high spatial frequencies, while coarse level corrections target the components that the smoother reduces slowly. Geometric multigrid constructs this hierarchy using geometric discretizations, whereas algebraic multigrid constructs it from the system matrix without requiring explicit coarse meshes.

We describe the hierarchy using levels indexed by l=0,…,Ll = 0, \ldots, L from finest to coarsest, with NlN_l unknowns at level ll. In our geometric multigrid setting on unstructured meshes, the hierarchy consists of levels of meshes Ml=(Vl,El,Tl)\mathcal{M}_l = (V_l, E_l, \mathcal{T}_l) with Nl=∣Vl∣N_l = |V_l|. For each system A(ν)x(ν)=b(ν)A^{(\nu)}x^{(\nu)} = b^{(\nu)}, we set A0(ν)=A(ν)A_0^{(\nu)} = A^{(\nu)}. The prolongation operator Pl∈RNl×Nl+1P_l \in\mathbb{R}^{N_l\times N_{l+1}} maps coarse-level corrections to level ll, while the restriction operator Rl∈RNl+1×NlR_l \in\mathbb{R}^{N_{l+1}\times N_l} transfers residuals to level l+1l+1. Coarse matrices can be obtained by rediscretizing the underlying continuous problem on coarse meshes or by Galerkin projection. In this work, we use Rl=PlTR_l = P_l^{\mathsf{T}} and construct the coarse-level operators recursively as

Al+1(ν)=RlAl(ν)Pl,l=0,…,L−1.(4)A_{l+1}^{(\nu)} = R_l A_l^{(\nu)} P_l, \qquad l = 0, \ldots, L-1. \tag*{(4)}

A smoother at level ll performs iterative linear solving. For instance, given the right-hand-side vector bl∈RNlb_l \in\mathbb{R}^{N_l} at level ll, the damped Jacobi smoother updates the approximated solution xl∈RNlx_l \in\mathbb{R}^{N_l} as

xl←xl+ωl(ν)diag⁡(Al(ν))−1(bl−Al(ν)xl),(5)x_l \gets x_l + \omega_l^{(\nu)} \operatorname{diag}(A_l^{(\nu)})^{-1}(b_l - A_l^{(\nu)}x_l), \tag*{(5)}

where ωl(ν)∈R+\omega_l^{(\nu)} \in\mathbb{R}_+ is the damping weight. Let Sl,pre(ν)S_{l,\mathrm{pre}}^{(\nu)} and Sl,post(ν)S_{l,\mathrm{post}}^{(\nu)} denote pre- and post-smoothing. Both take inputs xlx_l, blb_l and update xlx_l as output. In practice, the number of smoothing operators applied at each level can be tuned. We use two pre-smoothing iterations and two post-smoothing iterations in this work to obtain a good averaged performance.

The VV-cycle Vl(ν)(bl)\mathcal{V}_{l}^{(\nu)}(b_l) is defined recursively for l<Ll < L by

xl←Sl,pre(ν)(0,bl),el+1←Vl+1(ν)(Rl(bl−Al(ν)xl)),xl←Sl,post(ν)(xl+Plel+1,bl).(6)\begin{aligned} x_l &\leftarrow S_{l,\mathrm{pre}}^{(\nu)}(0,b_l),\\ e_{l+1} &\leftarrow\mathcal{V}_{l+1}^{(\nu)}\left(R_l(b_l-A_l^{(\nu)}x_l)\right),\\ x_l &\leftarrow S_{l,\mathrm{post}}^{(\nu)}(x_l+P_le_{l+1},b_l). \tag*{(6)} \end{aligned}

The cycle returns the updated xlx_l, with VL(ν)(bL)=(AL(ν))−1bL\mathcal{V}_{L}^{(\nu)}(b_L)=(A_L^{(\nu)})^{-1}b_L at the coarsest level. With suitable symmetric smoothing, the VV-cycle defines an efficient SPD operator that can serve as a PCG preconditioner. Its apply stage evaluates P(ν)rk=V(ν)(rk)\mathcal{P}^{(\nu)}r_k=\mathcal{V}^{(\nu)}(r_k).

The mesh-based geometric multigrid (GMG) [11, 16, 24] uses mesh geometry to construct reusable levels at the setup stage and only renews the coefficients at the update stage when solving the evolving linear systems, but its parallel implementation with efficient GPU-friendly smoothers is under-explored. Algebraic multigrid (AMG) [4, 7, 13, 14] generalizes the idea of MGs without relying on meshes, and constructs the levels and transfer operators from the matrix structure and coefficients directly, and therefore accepts general sparse matrix inputs, but its existing implementations are less efficient for evolving linear systems due to the repeated level constructions at each update stage. To reduce the recurring update and apply costs of MG for evolving systems, our ParaBMG combines a reusable geometric hierarchy with GPU-parallel block-Jacobi smoothing and efficient numerical updates.

Method

ParaBMG solves evolving linear systems using PCG with a customized multigrid preconditioner. It combines a geometric hierarchy with block-Jacobi smoothing, assigning one smoothing block to each coarse vertex. Following the setup, update, and apply stages introduced in subsection 3.2, ParaBMG separates reusable structural preparation from coefficient-dependent numerical updates and repeated preconditioner applications. Figure 2 summarizes the resulting pipeline.

Figure 2. Overview of the ParaBMG pipeline. Top-right: Setup constructs the reusable multigrid hierarchy, prepares matrix storage and vertex ordering, and initializes the numerical data needed for the first solve. Bottom-left: Update refreshes coefficient-dependent quantities, including coarse matrices, block inverses, smoothing parameters, and coarsest-solve operators, while reusing the prepared structure. Bottom-right: Apply evaluates a multigrid V-cycle within PCG using the fixed prolongation operators and the current numerical data.

We first explain the design rationale behind this organization (subsection 4.1). We then describe the parallel construction of the geometric hierarchy, including block partitions and prolongation operators (subsection 4.2), followed by the matrix storage and GPU operators for block-Jacobi smoothing and Galerkin updates (subsection 4.3). Next, we present power-iteration-based damping estimation for evolving linear systems (subsection 4.4). Finally, we introduce the customized coarsest-level solver and the associated vertex ordering (subsection 4.5).

Design Rationale

ParaBMG organizes hierarchy construction, block-Jacobi smoothing, and matrix storage around a shared block partition to draw on the complementary strengths of GPU MAS and geometric multigrid and combine effective convergence with efficient GPU execution. Efficient GPU MAS implementations motivate our use of explicit block inverses and parallel local solves [8, 9, 20, 25], while graph-based geometric multigrid methods motivate partitioning fine-level vertices into blocks associated with coarse vertices [16, 24]. Together, these ideas connect efficient local corrections with global error reduction. We use the same block partition to define the smoothing blocks and guide the coarse mesh construction. This partition also organizes vertex ordering and coefficient storage, allowing the multigrid components and their parallel implementation to be designed together.

Our design targets the total cost of solving a sequence of evolving linear systems. For systems with fixed geometry and sparsity, the hierarchy, prolongation operators, block partitions, and coarsest-level symbolic analysis are prepared once, while coefficient-dependent numerical data are refreshed for each system. Within this organization, our customized interpolation balances approximation quality against update cost, the customized matrix layout efficiently supports both local corrections and cross-block coupling, and the proposed damping adaptation carries spectral information across the evolving systems. Together, these choices balance convergence, update cost, and parallel execution efficiency over the full sequence.

Reusable Geometric Hierarchy and Block Partitions

Repeated solves favor a hierarchy built from the mesh that is independent of the coefficient changing. Starting from M0=M\mathcal{M}_0=\mathcal{M}, we use mesh geometry to construct the coarse meshes Ml=(Vl,El,Tl)\mathcal{M}_l=(V_l,E_l,\mathcal{T}_l) and prolongators for level l=1,2,…,Ll=1,2,\ldots,L. The vertices assigned to each coarse vertex form its smoothing block, coupling the coarse representation and local solves through a single partition.

Coarse mesh construction and block partition diagrams

Figure 1 (PDF p. 5).

To build the coarse mesh Ml+1=(Vl+1,El+1,Tl+1)\mathcal{M}_{l+1}=(V_{l+1},E_{l+1},\mathcal{T}_{l+1}) with the partition of blocks in parallel, our pipeline consists of four stages for each level 0≤l<L0\le l<L. (1) At the coarse vertex selection stage, we select the active set of coarse vertices Vl+1V_{l+1}. (2) For the block partition stage the fine vertices in VlV_l are partitioned into Nl+1N_{l+1} disjoint subsets {Bv}v∈Vl+1\{B_v\}_{v\in V_{l+1}} where BvB_v is the subset containing v∈Vl+1v\in V_{l+1}. The Vl+1V_{l+1} refined several rounds due to the oversized blocks in this stage. Finally, the output is a mapping fl:Vl→Vl+1f_l:V_l\to V_{l+1} such that v∈Bfl(v)v\in B_{f_l(v)} is stored by indices. (3) An edge projection stage is performed to create El+1E_{l+1}. The coarser level mesh Ml+1\mathcal{M}_{l+1} is finalized in this stage. (4) Finally for the prolongator initialization stage, we compute the prolongator PlP_l.

  1. Coarse vertex selection. A parallel maximal independent set (PMIS) algorithm is used to select the coarse vertex set Vl+1V_{l+1} from VlV_l. Each active vertex receives a deterministic priority based on hashing its index and hierarchy level. Each round selects local priority maxima as coarse vertices and removes their conflict neighborhoods from the active set. This is independent of matrix coefficients. We also support coefficient-aware AHAT-D2 coarsening [14]. It identifies strong connections from the initial operator coefficients at each level and applies PMIS using priorities based on the number of incoming strong connections and a deterministic vertex hash. Both constructions support the capacity refinement

described below, which adds coarse vertices before interpolation is constructed.

2. Block partition. In this stage, we assign each fine vertex to its nearest coarse vertex by shortest-path distance along mesh edges, weighted by their Euclidean lengths. This distance is therefore the geodesic distance on the mesh wireframe, providing a computationally efficient approximation to geodesic distance over the mesh.

The resulting mapping fl:Vl→Vl+1f_l: V_l \to V_{l+1} defines the block partition

Bv={u∈Vl:fl(u)=v},v∈Vl+1.(7)B_v = \{u \in V_l : f_l(u) = v\}, \qquad v \in V_{l+1}. \tag*{(7)}

To find the shortest paths in parallel, each vertex uu maintains a label (dl,u,fl(u))(d_{l,u}, f_l(u)), where dl,ud_{l,u} is its current path distance. All coarse vertices propagate concurrently. In each round, vertices whose labels improved in the preceding round propose updates across their incident edges. For an edge (u,w)∈El(u,w) \in E_l, the candidate distance is

d^=dl,u+∥pl,u−pl,w∥2.(8)\hat{d} = d_{l,u} + \lVert p_{l,u} - p_{l,w} \rVert_2. \tag*{(8)}

If d^<dl,w\hat{d} < d_{l,w}, an atomic replacement updates the label at ww to (d^,fl(u))(\hat{d}, f_l(u)) and schedules ww for the next round. Propagation terminates when no label improves.

To bound the block solve size, each oversized block BvB_v requests ⌈∣Bv∣/magg⌉−1\lceil|B_v|/m_{\mathrm{agg}}\rceil- 1 additional coarse vertices. We select vertices in Bv∖Vl+1B_v \setminus V_{l+1} with the largest current path distances and repeat the assignment using the augmented coarse vertex set until ∣Bv∣≤magg|B_v| \le m_{\mathrm{agg}} for every block. The final partition contains one smoothing block per coarse vertex.

Every accepted label represents a path from a coarse vertex. At termination, no edge can shorten a label, so the assignment recovers multi-source shortest paths in exact arithmetic.

This construction is inspired by the graph Voronoi-based coarsening of prior work [16, 24], whose CPU pipelines construct a Voronoi graph sequentially and do not use it for block-Jacobi smoothing. Our parallel construction produces a block partition that serves both the edge projection for constructing Ml+1\mathcal{M}_{l+1} and the block-Jacobi solves.

3. Edge projection. When the coarse vertex-aligned blocks are partitioned, the edges crossing blocks induce the coarse edges.

El+1={(fl(u),fl(w)):(u,w)∈El, fl(u)≠fl(w)}.(9)E_{l+1} = \{(f_l(u), f_l(w)) : (u,w) \in E_l,\ f_l(u) \ne f_l(w)\}. \tag*{(9)}

Algorithm 1 Parallel Hierarchy and Block Construction

Input: Fine mesh Ml\mathcal{M}_l, vertex positions {pl,u}u∈Vl\{p_{l,u}\}_{u\in V_l}, initial level matrix Al(0)A_l^{(0)} and its structural pattern, block capacity maggm_{\mathrm{agg}}

Output: Coarse mesh Ml+1\mathcal{M}_{l+1}, block assignment flf_l, prolongator PlP_l, restriction RlR_l, and structural coarse matrix pattern

  1. Select initial coarse vertices Vl+1V_{l+1} using parallel MIS

  2. repeat

  3. Compute flf_l and mesh-edge distances by parallel multi-source propagation from Vl+1V_{l+1}

  4. Form Bv←{u∈Vl:fl(u)=v}B_v \gets\{u\in V_l:f_l(u)=v\} for each v∈Vl+1v\in V_{l+1}

  5. for each block BvB_v with ∣Bv∣>magg|B_v|>m_{\mathrm{agg}} in parallel do

  6. Select ⌈∣Bv∣/magg⌉−1\lceil|B_v|/m_{\mathrm{agg}}\rceil-1 additional coarse vertices from the farthest vertices in Bv∖Vl+1B_v\setminus V_{l+1}

  7. end for

  8. Add the selected vertices to Vl+1V_{l+1}

  9. until every block satisfies the capacity bound

  10. Project crossing fine edges to construct El+1E_{l+1}

  11. Form Ml+1\mathcal{M}_{l+1}

  12. Construct PlP_l using normalized inverse-distance interpolation

  13. Store Rl=PlTR_l=P_l^{\mathsf T} and compute the structural pattern of PlTAl(0)PlP_l^{\mathsf T}A_l^{(0)}P_l

  14. return Ml+1\mathcal{M}_{l+1}, flf_l, PlP_l, RlR_l, and the coarse matrix pattern

Sorting and deduplication produce the coarse connectivity. The distance weight on the constructed edge set is computed by the Euclidean distance of the vertex positions. The resulting mesh supplies the geometric neighborhoods for the next coarsening step.

4. Prolongator initialization. We construct Pl∈RNl×Nl+1P_l\in\mathbb{R}^{N_l\times N_{l+1}}, with rows and columns indexed by fine and coarse vertices, respectively. Rows corresponding to coarse vertices inject exactly, with (Pl)vv=1(P_l)_{vv}=1 and all other entries zero. For each remaining vertex u∈Vl∖Vl+1u\in V_l\setminus V_{l+1}, the candidate coarse vertices are

Cl,ucand={fl(u)}∪{fl(w):(u,w)∈El}.(10)C^{\mathrm{cand}}_{l,u}=\{f_l(u)\}\cup\{f_l(w):(u,w)\in E_l\}. \tag*{(10)}

We retain up to four nearest candidates in Euclidean distance to form the interpolation support Cl,u⊆Vl+1C_{l,u}\subseteq V_{l+1}. For coarse vertices, Cl,v={v}C_{l,v}=\{v\}. The complete support is

supp⁡(Pl)={(u,v)∈Vl×Vl+1:v∈Cl,u}.(11)\operatorname{supp}(P_l)=\{(u,v)\in V_l\times V_{l+1}:v\in C_{l,u}\}. \tag*{(11)}

For u∈Vl∖Vl+1u\in V_l\setminus V_{l+1} and v∈Cl,uv\in C_{l,u}, normalized inverse-distance interpolation gives

(Pl)uv=δl,uv−1∑w∈Cl,uδl,uw−1,(12)(P_l)_{uv}=\frac{\delta_{l,uv}^{-1}}{\sum_{w\in C_{l,u}}\delta_{l,uw}^{-1}}, \tag*{(12)}

where δl,uv=∥pl,u−pl,v∥2\delta_{l,uv}=\lVert p_{l,u}-p_{l,v}\rVert_2. The rows of PlP_l sum to one, and exact injection ensures full column rank. Consequently, Al+1(ν)=PlTAl(ν)PlA_{l+1}^{(\nu)}=P_l^{\mathsf T}A_l^{(\nu)}P_l is SPD whenever Al(ν)A_l^{(\nu)} is SPD.

We retain PlP_l and Rl=PlTR_l=P_l^{\mathsf T} for repeated V-cycle applications and use their fixed supports to determine the structural coarse matrix pattern for numerical updates.

Remark This block-dependent interpolation strategy combines the sparsity of single-vertex interpolation [7, 14] with the richer support of simplex-based interpolation [16, 24], balancing interpolation quality against numerical-update cost. Since candidates depend on each vertex’s neighborhood, supports can differ within the same block. Vertices whose neighborhood lies entirely within one block have a single nonzero, while vertices adjacent to other blocks can receive contributions from multiple coarse vertices. This allocation complements block smoothing, which reduces intra-block errors, by concentrating richer interpolation near block boundaries to represent cross-block variation.

Block-Jacobi Smoothing

The hierarchy construction provides one smoothing block BvB_v for each coarse vertex v∈Vl+1v\in V_{l+1}. We use this partition for block-Jacobi smoothing, which replaces within-block couplings through independent local solves. Larger blocks can improve convergence, but their benefit also depends on the cost of matrix products and numerical updates. We coordinate these operations through a decomposed matrix layout. During V-cycle application, smoothing and residual updates require only the block inverses and cross-block coefficients.

Block operator decomposition. For each level 0≤l≤L0\leq l\leq L, the notation Al(ν)[Bv,Bv]A_l^{(\nu)}[B_v,B_v] selects the rows and columns indexed by BvB_v. We define

Dl(ν)=blockdiag⁡v∈Vl+1Al(ν)[Bv,Bv],D_l^{(\nu)}=\operatorname{blockdiag}_{v\in V_{l+1}}A_l^{(\nu)}[B_v,B_v],
El(ν)=Al(ν)−Dl(ν).(13)E_l^{(\nu)}=A_l^{(\nu)}-D_l^{(\nu)}. \tag*{(13)}

where “blockdiag” retains these principal blocks and sets all cross-block entries to zero. Both matrices belong to RNl×Nl\mathbb{R}^{N_l\times N_l}. Each principal block is SPD and has size ∣Bv∣×∣Bv∣|B_v|\times|B_v|. The inverse (Dl(ν))−1(D_l^{(\nu)})^{-1} therefore applies independent local solves, while El(ν)E_l^{(\nu)} contains the cross-block coefficients.

Iterate and residual updates. Using the level variables from Equation (6), let rl=bl−Al(ν)xlr_l=b_l-A_l^{(\nu)}x_l denote the internal residual. At the finest level, b0=rk(ν)b_0=r_k^{(\nu)} is the input PCG residual. A damped block-Jacobi smoother updates the correction as

xl←xl+ωl(ν)(Dl(ν))−1rl.(14)x_l\leftarrow x_l+\omega_l^{(\nu)}(D_l^{(\nu)})^{-1}r_l. \tag*{(14)}

Substituting Al(ν)=Dl(ν)+El(ν)A_l^{(\nu)}=D_l^{(\nu)}+E_l^{(\nu)} gives the equivalent iterate form

xl+=(1−ωl(ν))xl+ωl(ν)(Dl(ν))−1(bl−El(ν)xl).(15)x_l^+=(1-\omega_l^{(\nu)})x_l+\omega_l^{(\nu)}(D_l^{(\nu)})^{-1}(b_l-E_l^{(\nu)}x_l). \tag*{(15)}

The identity Al(ν)(Dl(ν))−1=I+El(ν)(Dl(ν))−1A_l^{(\nu)}(D_l^{(\nu)})^{-1}=I+E_l^{(\nu)}(D_l^{(\nu)})^{-1} also yields

rl←(1−ωl(ν))rl−ωl(ν)El(ν)(Dl(ν))−1rl.(16)r_l\leftarrow(1-\omega_l^{(\nu)})r_l-\omega_l^{(\nu)}E_l^{(\nu)}(D_l^{(\nu)})^{-1}r_l. \tag*{(16)}

Each pre-smoothing sequence starts with xl=0x_l=0 and rl=blr_l=b_l. Introducing the local correction yly_l allows each smoothing iteration to advance the iterate and residual together. The first smoothing iteration therefore gives xl=ωl(ν)(Dl(ν))−1blx_l=\omega_l^{(\nu)}(D_l^{(\nu)})^{-1}b_l. Subsequent smoothing iterations use the same recurrence, and the final residual is restricted as bl+1=Rlrlb_{l+1}=R_l r_l. After prolongating the coarse correction, post-smoothing uses Equation (15). Both forms require only (Dl(ν))−1(D_l^{(\nu)})^{-1} and El(ν)E_l^{(\nu)}, eliminating full level-matrix products from smoothing and residual propagation.

Coefficient and inverse storage. The updates of matrix coefficients require the original coefficients in Dl(ν)D_l^{(\nu)}, in addition to El(ν)E_l^{(\nu)}. At each smoothing level, we store each block BvB_v in a dense array of ∣Bv∣2|B_v|^2 values. During numerical updates, these arrays are initialized with the current within-block coefficients, including zeros at structurally absent entries. The coefficients are first used for the coarse matrix assembly. Once this assembly is complete, we invert each block in place using the parallel Gauss-Jordan strategy employed in GPU MAS implementations [25], overwriting its coefficients with its inverse. Thus, coefficient assembly and inverse application reuse the same block storage, without a separate persistent inverse array. The next numerical update refills these arrays with the new coefficients before repeating assembly and inversion. Cross-block coefficients in El(ν)E_l^{(\nu)} use compressed sparse row (CSR) storage containing both entries of each symmetric entry for fast operation at the apply stage. This separate Dl(ν)D_l^{(\nu)} and El(ν)E_l^{(\nu)} layout avoids duplicating full CSR storage on intermediate levels while preserving the coefficients required by later updates.

Prepared Coarse Matrix assembly. Fixed prolongators and structural matrix patterns allow the coarse matrix assembly to be prepared once. For fine vertices i,j∈Vli,j \in V_l with i≥ji \ge j and coarse vertices u,v∈Vl+1u,v \in V_{l+1}, define the scalar weight γl,ijuv∈R\gamma_{l,ij}^{uv} \in\mathbb{R} by

γl,ijuv={(Pl)iu(Pl)jv+(Pl)ju(Pl)iv,i>j,(Pl)iu(Pl)iv,i=j.(17)\gamma_{l,ij}^{uv} = \begin{cases} (P_l)_{iu}(P_l)_{jv} + (P_l)_{ju}(P_l)_{iv}, & i > j,\\ (P_l)_{iu}(P_l)_{iv}, & i = j. \end{cases} \tag*{(17)}

Vertex comparisons use their stored indices. The off-diagonal case combines both orientations of a symmetric fine entry. Let pat⁡(Al)\operatorname{pat}(A_l) denote the fixed set of structurally stored matrix indices. For each coarse entry (u,v)(u,v), define its contribution set Ll,uv⊆Vl×Vl\mathcal{L}_{l,uv} \subseteq V_l \times V_l as

Ll,uv={(i,j)∈pat⁡(Al):i≥j, γl,ijuv≠0}.(18)\mathcal{L}_{l,uv} = \{(i,j) \in\operatorname{pat}(A_l) : i \ge j,\ \gamma_{l,ij}^{uv} \ne0\}. \tag*{(18)}

The numerical coarse coefficient is

(Al+1(ν))uv=∑(i,j)∈Ll,uvγl,ijuv(Al(ν))ij.(19)(A_{l+1}^{(\nu)})_{uv} = \sum_{(i,j) \in\mathcal{L}_{l,uv}} \gamma_{l,ij}^{uv}(A_l^{(\nu)})_{ij}. \tag*{(19)}

At the setup stage, we store each contribution set as a list of source addresses in the coefficient blocks or cross-block CSR arrays, together with its fixed weights and destination address. During an update, one reduction per destination gathers the current coefficients and writes their weighted sum directly into Dl+1(ν)D_{l+1}^{(\nu)} or El+1(ν)E_{l+1}^{(\nu)}. Cross-block results are also written to their symmetric CSR positions. At l+1=Ll+1=L, results are written to the coarsest CSR matrix. The same procedure handles within-block and cross-block outputs regardless of where their source coefficients are stored. It avoids repeated sparsity searches and floating-point atomic accumulation. Since we perform in-place block inversions, we should manage the execution order carefully in the update stage. Starting from A0(ν)A_0^{(\nu)}, the prepared reductions refresh the coefficients throughout the hierarchy. The block inverses and coarsest solver are then refreshed. Our progressive ablation shows that larger smoothing blocks reduce iteration counts, while the decomposed storage and prepared updates are needed to translate this improvement into lower total solve time (subsection 6.1).

Damping Adapted to Evolving Linear Systems

The block-Jacobi updates in Equation (14) use a damping weight ωl(ν)\omega_l^{(\nu)} at each smoothing level. As matrix coefficients evolve, we adapt these weights using an estimate of the largest eigenvalue of

Hl(ν)=(Dl(ν))−1Al(ν)=I+(Dl(ν))−1El(ν).(20)H_l^{(\nu)} = (D_l^{(\nu)})^{-1} A_l^{(\nu)} = I + (D_l^{(\nu)})^{-1} E_l^{(\nu)}. \tag*{(20)}

Applying this operator reuses the block inverses and cross-block coefficients prepared for smoothing. During setup, we perform many power iterations on Hl(0)H_l^{(0)} to initialize a unit vector vl∈RNlv_l \in\mathbb{R}^{N_l} approximating its dominant eigenvector. We define the corresponding estimated eigenvalue as λ^l(ν)=∥Hl(ν)vl∥2\hat{\lambda}_l^{(\nu)} = \lVert H_l^{(\nu)}v_l\rVert_2. As coefficients evolve, we retain this vector and advance it by one power iteration during each update stage, vl←Hl(ν)vlλ^l(ν)v_l \leftarrow\frac{H_l^{(\nu)}v_l}{\hat{\lambda}_l^{(\nu)}}. This reuse tracks gradual spectral changes across consecutive linear solves at the cost of one operator application per level. We empirically choose ωl(ν)=ϑλ^l(ν)\omega_l^{(\nu)} = \frac{\vartheta}{\hat{\lambda}_l^{(\nu)}}, where 0<ϑ<10 < \vartheta< 1 is the spectrum margin. The updated damping weights remain fixed throughout each PCG solve.

Remark The light-weight Jacobi coefficient adaptation strategy introduced in this section is specifically tailored to sequences of evolving linear systems. GravoTet [16] similarly uses power iteration for spectral estimation, with a fixed budget of iterations. Conversely, we retain the estimated dominant eigenvector and refine it as the coefficients change. Fewer power iterations per update are typically sufficient to track gradual spectral changes, reducing the cost of adapting the damping weights across the sequence.

Coarsest Solve and Re-ordering

We prepare a GPU direct solver for the coarsest system using block Cholesky elimination. The reordered coarsest matrix admits the factorization AL(ν)=LLTA_L^{(\nu)} = L L^{\mathsf{T}}, where LL is lower triangular. Given the restricted right-hand side bLb_L, the solver returns the coarse correction xL=L−TL−1bLx_L = L^{-\mathsf{T}}L^{-1}b_L. The symbolic elimination structure depends only on the matrix sparsity pattern and is constructed once during setup. When the coefficients change, numerical preparation refreshes the factorization and derives local inverse and coupling operators, allowing repeated coarse solves to use parallel matrix–vector products along the elimination tree. The mathematical derivation and implementation details are deferred to the supplementary document.

Remark We develop this coarsest direct solver to avoid dependence on closed-source sparse direct solvers. Moreover, our smoother is also inspired by the block design of the sparse direct solve. Compared to the block-Jacobi smoother, the coarsest direct solver also organizes computation around blocks of unknowns, while accounting for inter-block coupling through direct elimination. This shared block-based organization also suggests a favor of direct solving on small meshes.

The vertices of the coarsest mesh VLV_L should be therefore reordered according to the nested dissection elimination tree of the coarsest direct solver. The coarsest ordering also determines the data layout throughout the hierarchy. During setup, we apply nested dissection to the coarsest sparsity pattern, recursively separating the unknowns into elimination groups and ordering their interior unknowns before the separating unknowns. This ordering defines the dependencies of the coarsest elimination. We then propagate it from coarse to fine through the existing block mappings flf_l for 0≤l<L0 \le l < L. Each coarse vertex determines the position of its associated fine-level smoothing block, whose vertices are stored contiguously. At every level, the same permutation is applied to the rows and columns of the system matrix, while each transfer operator is reordered according to the orderings of its fine and coarse levels. These determine the global re-ordering of the original vertex set V0V_0.

Remark The relationship between ordering and block construction differs from ordering-based MAS implementations [25], which first order the unknowns and then partition the blocks according to the ordering, producing ordering-induced blocks. ParaBMG instead constructs partition-induced blocks from the mesh and derives the vertex ordering from these partitions.

Benchmark and Evaluation

We evaluate ParaBMG on sequences of evolving linear systems generated by our parallel implementations of standard geometry processing algorithms. We first introduce the benchmark problems and evaluation protocol, then compare ParaBMG with SOTA GPU iterative solvers. We further examine performance variation across the recorded systems, analyze the runtime breakdown, and compare with direct solvers.

Experimental Protocol

Our benchmark dataset comprises four geometry processing pipelines. Local deformation for interactive shape editing (LDSE) [3] deforms a volumetric mesh under prescribed constraints. The variational quasi-harmonic weight (QHW) [23] computes volumetric weights for shape deformation. Inverse optimization through implicit mean curvature flow (IMCF) [5] seeks a surface whose flow step matches a target shape. The directional shape total variation (DSTV) [Brokman et al. 2024] filters a surface along prescribed directions. LDSE and QHW use tetrahedral volume meshes, whereas IMCF and DSTV use triangular surface meshes. Our CUDA implementations generate 40 sequences of linear systems, involving 40,987 instances of linear systems in total. All experiments use relative residual error 10−610^{-6} as the stopping criterion of the iterative solving methods.

Mesh Preparation. We select meshes from the collection used by Wiersma et al. [ [24]. After excluding models depicting human faces or featuring religious or cultural associations, we retain the ten largest remaining meshes. We apply modest refinement before tetrahedralization and retain the surface triangle meshes for IMCF and DSTV. The surface meshes contain 176,545–1,647,843 vertices, and the tetrahedral meshes contain 784,680–6,600,234 vertices. Figure 4 shows the meshes, and Table 1 gives their vertex counts.

MeshProblemNNMAS TT (ms)MAS SpeedupAMGX TT (ms)AMGX SpeedupBoomerAMG TT (ms)BoomerAMG SpeedupGravoMG-GPU TT (ms)GravoMG-GPU SpeedupOurs TT (ms)
WheelLDSE784,680219.523.1×52.95.6×58.36.1×104.311.0×9.5
WheelQHW784,680311.431.5×58.85.9×63.36.4×104.610.6×9.9
WheelIMCF291,695135.429.4×22.54.9×28.16.1×483.5105.1×4.6
WheelDSTV291,69532.610.4×21.56.9×22.67.2×217.769.3×3.1
BladeLDSE1,324,183293.420.6×78.95.5×82.55.8×164.911.6×14.3
BladeQHW1,324,183533.935.4×95.56.3×86.45.7×165.111.0×15.1
BladeIMCF176,54585.124.9×17.05.0×23.66.9×99.329.1×3.4
BladeDSTV176,54515.68.0×15.07.7×15.07.7×43.522.4×1.9
Vase LionLDSE1,363,733321.518.7×87.45.1×88.05.1×181.010.5×17.2
Vase LionQHW1,363,733447.225.3×91.65.2×89.45.1×202.611.5×17.6
Vase LionIMCF196,35869.018.2×19.45.1×25.76.8×140.137.0×3.8
Vase LionDSTV196,35815.96.6×14.96.2×15.96.6×47.719.7×2.4
DuckLDSE1,393,355371.721.0×88.35.0×91.65.2×192.510.9×17.7
DuckQHW1,393,355479.226.7×98.85.5×95.15.3×219.812.3×17.9
DuckIMCF202,55469.918.8×19.05.1×24.76.6×108.029.1×3.7
DuckDSTV202,55413.46.3×12.55.9×18.18.5×45.821.6×2.1
Rocker ArmLDSE1,414,721295.918.6×86.15.4×87.45.5×176.611.1×15.9
Rocker ArmQHW1,414,721446.426.8×103.06.2×89.65.4×184.911.1×16.7
Rocker ArmIMCF254,339104.125.5×20.35.0×25.96.3×25.96.3×4.1
Rocker ArmDSTV254,33919.78.2×15.26.3×16.66.9×15.26.4×2.4
MurexLDSE5,299,4951155.622.8×358.87.1×316.66.3×869.517.2×50.6
MurexQHW5,299,4952490.241.6×563.39.4×379.06.3×932.715.6×59.8
MurexIMCF1,647,843833.661.8×59.34.4×65.24.8×142.010.5×13.5
MurexDSTV1,647,84364.39.6×34.75.2×45.56.8×61.29.2×6.7
Isidore HorseLDSE5,770,8142657.545.9×439.47.6×367.86.4×1069.218.5×57.8
Isidore HorseQHW5,770,8145963.291.0×700.410.7×471.17.2×1861.528.4×65.5
Isidore HorseIMCF1,116,358431.242.5×44.34.4×50.25.0×260.125.7×10.1
Isidore HorseDSTV1,116,35853.610.2×23.44.4×39.37.4×107.720.4×5.3
PulleyLDSE6,522,5852891.148.0×511.58.5×412.76.9×1082.118.0×60.2
PulleyQHW6,522,5856740.396.3×685.29.8×499.77.1×1128.316.1×70.0
PulleyIMCF582,324183.934.3×29.85.6×33.46.2×125.123.3×5.4
PulleyDSTV582,32427.69.0×19.26.3×22.77.4×66.121.6×3.1
Oil PumpLDSE6,553,0542799.642.9×524.18.0×411.36.3×1261.319.3×65.2
Oil PumpQHW6,553,0545270.672.1×646.78.8×509.87.0×1221.316.7×73.1
Oil PumpIMCF512,051254.031.3×30.63.7×36.84.5×468.057.6×8.1
Oil PumpDSTV512,05129.510.4×18.36.4×21.67.6×80.928.5×2.8
Red Circular BoxLDSE6,600,2343247.947.8×562.58.3×459.86.8×1228.918.1×67.9
Red Circular BoxQHW6,600,2344934.866.7×669.09.0×541.67.3×1450.419.6×74.0
Red Circular BoxIMCF692,972169.028.1×33.75.6×38.26.4×179.129.8×6.0
Red Circular BoxDSTV692,97237.37.8×24.65.1×28.35.9×258.953.9×4.8

Table 1. Solver performance on ten meshes and four application problems. We report the average cost (ms) of one update and one solve defined in Equation (3). Bold marks the lowest unrounded TT in each row. Speedup is Tbaseline/ToursT_{\mathrm{baseline}}/T_{\mathrm{ours}}. The background color of timing cells encodes runtime relative to the fastest baseline in each row: white marks the fastest baseline, red marks slower methods, and green marks faster methods, with stronger colors indicating larger differences.

Ten benchmark meshes: Pulley, Murex, Isidore Horse, Vase Lion, Blade, Oil Pump, Duck, Red Circular Box, Rocker Arm, and Wheel; Poisson solution showing Wheel volume and scalar field heatmap with color scale $u$ from 0.000 to 0.004

Figure 4. Left: the ten benchmark meshes sourced from previous works [24]. The number of vertices for each mesh is given in Table 1. Right: one Poisson solution illustrated by the scalar field heatmap on a cutting plane.

Hardware. The solver benchmarks in Table 1 run on one NVIDIA A100 PCIe GPU and CUDA 12.9. The interactive demonstrations in § 7 use a separate workstation with an NVIDIA GeForce RTX 5080 GPU and CUDA 13.2.

Evaluation Metric. We follow the average timing cost Equation (3) as the evaluation metric, which averages the cost of the update and apply stage.

Compared Solvers. We compare ParaBMG with multilevel additive Schwarz (MAS), AMGX, BoomerAMG, and GravoMG-GPU. These baselines cover SOTA linear solvers in elasticity simulation, SOTA general-purpose algebraic multigrid, and GPU accelerated geometric multigrid approaches. MAS follows Wu et al. [ [25], adapted to scalar N×NN \times N systems. It uses single-precision (FP32) local Cholesky factorizations, and double-precision (FP64) outer PCG. For the geometric multigrid comparison, we implement both the surface mesh version of Wiersma et al. [ [24] and the volumetric mesh version of Padilla et al. [ [16] in CUDA. Together, these implementations are denoted GravoMG-GPU. The surface implementation retains Gauss-Seidel smoothing through CUDA sparse triangular solves. The volumetric implementation retains Chebyshev smoothing with eigenvalue estimation. Both adopt the V-cycle multigrid as a fixed-point iterative solving method rather than using it as a preconditioner. This preserves the original behavior of the CPU implementations while enabling comparison on the same GPU. For AMGX and BoomerAMG, we compare with their open-sourced GPU implementations.

Baseline Configuration. AMGX and BoomerAMG offer several choices of coarsening, interpolation, and smoothing parameters. To account for their effect on performance, we test multiple parameter configurations for each sequence of evolving linear systems and report the best measured cost among the tested valid configurations. A configuration specifies one combination of solver parameters, and the selection is based on timing for each sequence of evolving linear systems. The selected configuration remains fixed for all linear systems in the sequence. For AMGX, we test classical AMG with PMIS coarsening and D2 interpolation, and aggregation AMG with SIZE_2 aggregation. Both use l1l_1-Jacobi smoothing. The aggregation configurations vary the relaxation factor between 0.6 and 0.8 and use one or two smoothing sweeps. For BoomerAMG, we retain PMIS coarsening and l1l_1-Jacobi smoothing while varying the strength threshold and interpolation width.

Overall Performance

Table 1 compares average solving costs across 40 sequences of evolving linear systems. ParaBMG has a lower cost TT than AMGX, BoomerAMG, and GravoMG-GPU on every sequence. Relative to the fastest of these three baselines on each sequence, the reported costs give speedups of 3.8× to 7.7×.

Comparison Details. ParaBMG combines low iteration counts with efficient execution. Across all 20 volumetric sequences generated by LDSE and QHW, it requires fewer iterations than any of the

baselines, averaging 6.3–8.7 iterations per linear system. On triangular surface meshes, GravoMG-GPU requires fewer iterations for 9 out of 20 sequences, but ParaBMG remains 6×–105× faster overall. General-purpose AMG solvers, including AMGX and BoomerAMG, consistently deliver relatively high performance among the baselines. Compared with ParaBMG, however, they incur higher hierarchy update costs, require more PCG iterations, and have higher per-iteration costs. Our customized MAS implementation consistently requires approximately an order of magnitude more PCG iterations than ParaBMG, despite its lower per-iteration cost. This suggests that multigrid may be better suited to the Poisson-type systems in our benchmarks than MAS.

Variation across Sequences. We next examine how ParaBMG’s performance varies within the recorded sequences. For each sequence, we compute the iteration coefficient of variation (CV), defined as the sample standard deviation divided by the mean, and the ratio of the 95th percentile of the combined update and apply time to its median.

QHW and DSTV exhibit relatively modest variation, with median iteration CVs of 13.1% and 11.2% and corresponding time ratios of 1.10 and 1.15. LDSE and IMCF show greater variation, with iteration CVs of 31.4% and 28.5% and time ratios of 1.57 and 1.30, respectively. For LDSE, each sequence includes ten independent editing cases, so these statistics capture both variation between cases and the transition from an initial solve to subsequent solves that reuse the previous solution. IMCF also includes independently initialized timestep groups and line search trial systems. These results show that the observed variation depends on both the benchmark problem and the progression of systems within its sequences.

Figure 6 compares all five methods on three complete sequences: Wheel/QHW, Murex/IMCF, and Pulley/DSTV. The horizontal axis indexes recorded matrices in the generation order ν=0,1,2…\nu= 0, 1, 2 \ldots. The curves complement the aggregate statistics by showing where iteration counts and solver costs change within each sequence.

Figure 6. Complete Wheel/QHW, Murex/IMCF, and Pulley/DSTV histories. Left: iteration count of the compared iterative solvers. Right: the time cost of the solvers.

Time Breakdown. To identify where ParaBMG spends its time, we inspect one Pulley/LDSE system with 6.52 million scalar unknowns. At recorded matrix index 25, one numerical update costs 16.38 ms and the following ten-iteration PCG solve for the selected RHS costs 63.34 ms. The combined cost is 79.72 ms, of which update and solve account for 20.5% and 79.5%, respectively (Figure 5, top).

Figure 5. Runtime breakdown on one typical Pulley/LDSE system. Top: one update and one PCG solve, totaling 79.72 ms and excluding one-time setup. Bottom: kernel-time allocation from a separate profile of the same system.

A separate kernel profile of the same matrix and RHS shows that block smoothing accounts for 44.6% of kernel time, outer PCG operations for 29.4%, and multigrid residual formation for 15.8% (Figure 5, bottom). Transfers, precision conversion, and the terminal direct solve account for the remaining approximately 10%; the terminal solve alone contributes 1.3%. These shares are normalized by the profile’s 62.94 ms of kernel activity, separately from the unprofiled update-and-solve measurement.

The dominant work in this example lies in repeated smoothing and matrix-vector operations. These are the operations targeted by ParaBMG’s decomposed block storage and iterate/residual updates in the apply stage (subsection 4.3), which avoid full level-matrix products during smoothing and residual propagation. The small terminal-solve share also shows that the prepared coarsest solve is not the dominant cost in this instance. The component comparisons that follow assess how the numerical design and its execution contribute to performance.

Additional Solver Comparisons

The main benchmark compares iterative solvers designed to handle changing matrices. We additionally examine two alternatives: refactorizing each matrix with a sparse direct solver, and reusing a factorization of a fixed Poisson matrix as a preconditioner. These comparisons assess the tradeoff between numerical update cost and the cost of the subsequent solve, as well as the memory required by factorization.

Setup. Direct linear solvers are less competitive when NN is large. We therefore sample the linear systems in different scales, and perform the experiments on BLADE/IMCF and MUREX/IMCF, with 176,545 and 1,647,843 unknowns, respectively. We sample the first, middle, and last linear system for each sequence. The cuDSS runs on an A100 GPU with 80 GB of memory. PARDISO and SuiteSparse CHOLMOD use eight CPU threads, while Eigen’s native simplicial LDLT is serial. All direct solvers use double precision (FP64), perform symbolic analysis once, and refactorize the numerical coefficients at each sampled state. PoissonPCG refers to use cuDSS to factorize a Poisson matrix once and reuses the resulting factorizations for every preconditioner apply stage. Table 2 gives the timing details.

SolverUpdateSolveTotalSpeedup
BLADE/IMCF (N=176,545N = 176{,}545)
cuDSS (GPU)8.61.29.82.4×
PARDISO (CPU)68.025.093.022.9×
CHOLMOD (CPU)1070.743.41114.1274.2×
Eigen LDLT (CPU)1754.234.01788.2440.2×
PoissonPCG (GPU)0.054.554.513.4×
ParaBMG (GPU)1.13.04.11.0×
MUREX/IMCF (N=1,647,843N = 1{,}647{,}843)
cuDSS (GPU)71.46.778.13.5×
PARDISO (CPU)833.8289.31123.150.8×
CHOLMOD (CPU)>5,000–––
Eigen LDLT (CPU)>5,000–––
PoissonPCG (GPU)0.0530.5530.524.0×
ParaBMG (GPU)3.518.622.11.0×
RED CIRCULAR BOX/LDSE (N=6,600,234N = 6{,}600{,}234)
cuDSS (GPU)OOM–––
ParaBMG (GPU)30.771.5102.1–

Table 2. Additional solvers on sampled evolving systems. Mean update, solve, and total time in ms. The last column is each method’s TT divided by ParaBMG’s TT. Initial preparation time is excluded. The OOM is short for out-of-memory, which reflects the failure during numeric factorization.

Results. ParaBMG achieves 2.4× and 3.5× speedups over cuDSS in update-plus-solve time on BLADE and MUREX, respectively, and 13.4× and 24.0× speedups over PoissonPCG (Table 2). cuDSS has the lowest solve time, but the numerical factorization dominates its recurring cost. The cuDSS-based PoissonPCG avoids numerical updates by reusing fixed factorizations, but requires 42.0 and 75.7 iterations per linear system, compared with 9.3 and 14.3 for ParaBMG. Reusing fixed factorizations therefore reduces update costs at the expense of more expensive iterative solves as the systems evolve. On larger meshes with 6M unknowns, the direct solvers either exceed the available memory or fail to finish within the time limit.

Full Pipeline Comparisons to References

We conduct full pipeline comparisons with reference implementations of five geometry-processing applications: Dragon skinning weights for QHW (Fig. 1 in Wang and Solomon [ [23]), Lucy mapping (lucy_o_G) for QHM (Fig. 1 in Wang et al. [ [21]), Pig local editing for LDSE (the Pig model beneath the table in Fig. 1 of Chen et al. [ [3]), Sappho inflation using Iskra’s inverse optimization of mean-curvature flow (Figure 3 in Dodik et al. [ [5]), and Nefertiti directional filtering using DSTV (M3; Fig. 1 in Brokman et al. [2024]). Dragon, Lucy, and Pig are the largest vertex-count examples in their respective released test collections.

Figure 3. Parallel construction of one geometric hierarchy level. (1) Select coarse vertices to define the next mesh level. (2) Assign fine vertices to coarse vertices by shortest-path distance along mesh edges, forming one smoothing block per coarse vertex. (3) Project edges crossing blocks to construct coarse mesh connectivity. (4) Initialize the prolongator using normalized inverse-distance interpolation over local coarse vertex supports.

We retain the released meshes, constraints, and task settings for QHW, QHM, and LDSE, and apply the released DSTV filtering settings to its provided Nefertiti mesh. For IMCF, the reference code implementation uses an unreleased local Sappho mesh file; we use the public Sappho scan from Thingi10K (model 47984) Zhou and Jacobson [27].

We compare the end-to-end runtime of our GPU pipelines using ParaBMG with the code implementation released by the reference publications. All experiments run on a Ryzen 7 9800X3D CPU and an RTX 5080 GPU, with an eight-thread CPU budget. The reference implementations use CPU TensorFlow and CHOLMOD for QHW, MATLAB for QHM and DSTV, the reference C++ implementation with oneMKL PARDISO for LDSE, and CPU PyTorch with Cholespy for IMCF.

Table 3 reports end-to-end speedups of 14.1×, 3.9×, 3.7×, 39.7×, and 4.4× for QHW, QHM, LDSE, IMCF, and DSTV, respectively, demonstrating the applicability of our approach across diverse geometry-processing workloads.

ApplicationReferenceOursSpeedup
QHW87.86.214.1×
QHM29.47.53.9×
LDSE6.31.73.7×
IMCF130.93.339.7×
DSTV47.810.84.4×

Table 3. End-to-end pipeline running time in seconds. Speedup is reference time divided by the time cost of our implementation. Both implementations execute the same task-defined budget in each case.

The reference implementations execute on the CPU using the C++, MATLAB, and CPU PyTorch backends described above, whereas our pipelines use the NVIDIA GeForce RTX 5080 GPU and incorporate ParaBMG. These pipeline-level speedups therefore jointly reflect GPU application kernels and linear solving. At identical tensor parameters, QHW and QHM agree with their reference solutions to relative errors of 7.0e-10 and 1.6e-9, respectively. LDSE’s final vertex relative error is 7.1e-6, with no inverted tetrahedra and a 0.023% difference in physical energy. IMCF’s inflated and smoothed outputs agree with the reference to relative errors of 6.1e-5 and 2.9e-5; DSTV’s filtered output agrees to 5.7e-12.

Analysis

We use ablation studies and comparative experiments to answer the following questions. (1) What does each of ParaBMG’s main components contribute to convergence and running time? (subsection 6.1) (2) How well does ParaBMG scale to large linear systems as mesh resolution increases? (subsection 6.2) (3) Why a simple combination of MAS and MG does not work directly, and how MAS and MG perform differently in elasticity simulation and geometry processing? (subsection 6.3) (4) As a boundary test, how robust is ParaBMG as the coefficient field becomes increasingly anisotropic along certain directions? (subsection 6.4)

Contributions of Interpolation, Block Smoothing, and Improved Execution

We examine three components through the paired comparisons in Figure 7: interpolation, block smoothing, and execution. Each comparison uses the 40 sequences of evolving linear systems.

Figure 7. Contributions of interpolation, block smoothing, and execution. (a) Simplex-based and block-aware interpolation with scalar-Jacobi smoothing. (b) Scalar and block-Jacobi smoothing on the same block-aware hierarchy. (c) Optimized execution with the same hierarchy and block smoother. The upper row shows the mean iterations needed to first reach each residual. The lower row shows the corresponding mean time, including numerical update. Gray arrows indicate reduced time in (a) and (c), and fewer iterations in (b). The iteration curves in (c) coincide.

Interpolation. We first compare Simplex-based / scalar with Block-aware / scalar to examine the contribution of our hierarchy with scalar-Jacobi smoothing. This change reduces the combined update and apply time by factors of 1.3× on triangle meshes and 2.1× on tetrahedral meshes. The hierarchy therefore provides a time benefit compared to the GravoMG’s simplex-based interpolation, even before block smoothing is introduced.

Block Smoothing. We next compare Block-aware / scalar with Block-aware / block, keeping the hierarchy and full-CSR execution path fixed. Block-Jacobi reduces iteration counts by factors of 1.24 and 1.21 on triangle and tetrahedral meshes, respectively. However, the additional cost of constructing and applying block inverses outweighs this convergence benefit in the tested CSR implementation, increasing the combined update and solve time. This motivates adapting the execution to the block smoother.

Improved Execution. Finally, we retain the same hierarchy, block partition, and smoothing parameters, and switch to ParaBMG’s execution based on the block-diagonal matrix D and the off-diagonal cross-block E decomposition. Precompiled contribution maps accelerate coarse matrix updates, while fused smoothing and residual vector updates avoid redundant matrix-vector products. The iteration counts therefore remain unchanged, while the combined update and solving time decreases by factors of 1.5× on triangle meshes and 1.7× on tetrahedral meshes. With these execution optimizations, ParaBMG also outperforms the Block-aware / scalar configuration on the same hierarchy by factors of 1.38× on triangle meshes and 1.44× on tetrahedral meshes. This reverses the cost ranking observed with the full-CSR implementation, where the convergence benefit of block Jacobi translates into lower total cost. A similar optimization strategy, such as applying a precompiled contribution maps for the CSR-based scalar-Jacobi, does not result in a comparable performance gain. These results demonstrate how matching the matrix representation and execution to the block smoother translates improved convergence into lower running time.

Remark The “Simplex-based / scalar-Jacobi” configuration used as the starting point of this ablation differs from the GravoMG-GPU baselines in Table 1 and already outperforms them. It incorporates an outer conjugate gradient loop for more robust convergence and replaces the original smoothers with scalar Jacobi. This avoids the sparse triangular solves required by Gauss-Seidel smoothing in the surface method Wiersma et al. [24], as well as the time-consuming spectral estimation by a fixed number of power iterations in the volumetric method Padilla et al. [16].

Scalability with Mesh Resolution

To examine scalability as mesh resolution increases, we solve −Δu=f-\Delta u = f on seven tetrahedralizations of Murex, a mesh with fine geometric detail from our ten mesh dataset. The meshes range from 1,276 to 2,418,269 vertices, with finer resolutions capturing more surface detail. We use linear tetrahedral finite elements with homogeneous Dirichlet conditions on the exterior boundary.

We compare ParaBMG with all considered baselines including iterative and direct solvers. Iterative methods start from zero and use a relative residual of 1e−61\mathrm{e}{-6}. We measure the mean numerical update and apply time, excluding initial setup. Full settings and results are provided in Table 4.

NNn‾cg\overline{n}_{\mathrm{cg}}TTAcc.
1.2K–0.7–
3.7K–1.2–
13K8.02.11.5×1.5\times
50K9.23.43.9×3.9\times
190K11.05.45.7×5.7\times
758K12.014.33.9×3.9\times
2.4M13.739.23.5×3.5\times

Table 4. Scalability on the Murex volume. NN is the number of vertices, n‾cg\overline{n}_{\mathrm{cg}} is the mean PCG iteration count, and TT is the mean numerical update and apply time in milliseconds. Acc refers to the relative acceleration ratio with respect to the fastest tested baseline at each reported resolution. The inset shows the coarsest volume mesh, finest volume mesh, and the original mesh. Both volumes use a common cutting plane and physical color scale for the solution of −Δu=1-\Delta u = 1 with homogeneous Dirichlet conditions.

Table 4 reports speedups relative to the fastest tested baseline at each resolution. For the two meshes with fewer than 5,000 vertices, no multilevel hierarchy is constructed, and ParaBMG reduces to a single level with a direct solve. At 13K and 50K vertices, cuDSS is the strongest tested baseline, and ParaBMG achieves speedups of 1.5×1.5\times and 3.9×3.9\times, respectively. At 190K, 758K, and 2.4M vertices, BoomerAMG is the strongest tested baseline, with corresponding ParaBMG speedups of 5.7×5.7\times, 3.9×3.9\times, and 3.5×3.5\times.

Across the five resolutions that use multilevel correction, the mean iteration count grows modestly from 8.0 to 13.7. At 2.4M vertices, ParaBMG requires 39.2 ms for numerical update and apply. These results show that ParaBMG maintains effective convergence as resolution increases and retains a runtime advantage over the tested baselines on the larger meshes.

Rationale and Challenges of MAS-MG Combinations

This section examines the local-global error reduction motivation underlying ParaBMG and the design choices that distinguish it from earlier methods. We first test whether coarse-grid correction and parallel block solves complement each other by addressing errors at different spatial scales. Two experiments support this motivation: incorporating MG corrections into a MAS framework substantially reduces the iteration count, while increasing the block-Jacobi size in AMGX reduces PCG iterations by a margin comparable to that observed in Table 1. However, these convergence improvements do not automatically translate into comparable performance gains. Effective integration requires suitable algorithmic choices together with efficient GPU execution.

We then examine why related methods have emphasized different design choices. CPU-oriented geometric multigrid methods [11, 24] use smoothers well suited to serial execution, where the tradeoffs differ from those motivating parallel block solves and GPU-oriented storage. For MAS, a separate elasticity diagnostic examines how its effectiveness depends on the operator and workload, explaining why solver rankings in physics simulation need not carry over to geometry processing.

Multigrid Composition of Local Corrections. Multilevel additive Schwarz (MAS) combines local corrections across levels and has been used in deformable body simulation [8, 9, 20, 25]. We examine whether multigrid composition can improve its performance. Our experimental MAS+MG variant retains the MAS hierarchy, local block solvers, and factorizations, but replaces the additive combination of level corrections with a symmetric multigrid V-cycle. At each level, one damped block-Jacobi pre-smoothing step is followed by restriction of the updated residual, a recursive coarse correction, and one post-smoothing step on the resulting residual. We retain the original

Figure 8. Multigrid composition improves the tested MAS preconditioner. Residual versus PCG iteration and the combined update and solve time for one system from Wheel/QHW. The text reports means over the complete sequence.

MAS-style piecewise-constant prolongation and use its transpose for restriction.

We compare the methods on the complete Wheel/QHW sequence of 301 systems with 784,680 unknowns. MAS+MG reduces the mean iteration count from 253.90 to 135.26 and the mean update and solve time from 539.85 to 407.86 ms. The reduction in iterations offsets the additional work per iteration, yielding a 1.3× speedup.

ParaBMG requires 10.22 iterations and 12.08 ms on average over the same sequence. Multigrid composition improves the tested MAS preconditioner, while MAS+MG’s mean cost remains 33.8× that of ParaBMG. This remaining gap motivates the following comparisons of interpolation, block smoothing, and execution to examine how these choices contribute to ParaBMG’s performance.

Block-Jacobi in Multigrid. To isolate the effect of local solve size, we vary the block Jacobi size within the AMGX implementation on one typical Pulley/LDSE system used in § 5.2. The q=1q = 1 setting uses scalar-Jacobi. Larger values of qq allow each local solve to jointly correct more coupled unknowns. All other hierarchy and relaxation settings remain fixed. For q=1,2,4,8,16,32q = 1, 2, 4, 8, 16, 32, the PCG iteration counts are 35, 35, 34, 32, 31, and 29, respectively (Figure 15). Increasing qq from 1 to 32 reduces the iteration count by 17.1%, while the solve time increases from 255.9 to 420.2 ms.

The skinning skeletons for the QHW benchmarking dataset generation

Figure 15. The skinning skeletons for the QHW benchmarking dataset generation.

Larger local solves improve convergence on this hierarchy, although their additional work increases the solve time. For ParaBMG, this motivates reducing the cost of block smoothing. In our ParaBMG setting, we choose the block capacity magg=32m_{\mathrm{agg}} = 32 that preserves the convergence benefit while keeping the local solve cost low. This also suggests that an efficient block-Jacobi smoothing in this case requires substantial algorithmic designs and execution optimizations discussed in subsection 6.1.

Mass Screening in Vector Elasticity. To identify where simulation-oriented solvers such as MAS begin to degrade as the linear systems move toward those of geometry processing, we relate the two settings through mass screening. Each implicit simulation step solves a system K+Δt−2MK + \Delta t^{-2}M, the vector-valued analogue of a screened Poisson equation, in which the mass term acts as the screening term. At

Figure 9. Larger local solves trade fewer iterations for additional work. Local solve sizes from q=1q = 1 to q=32q = 32 within a fixed AMGX hierarchy. Top: residual versus PCG iteration. Bottom: matrix upload and full AMG setup (gray), followed by solve (hatched). Bars show mean times over three independent preparations. Error bars show the sample standard deviation of the total time. The timing includes initial preparation as well as the solve.

interactive time steps, this screening term is large, so errors remain largely local and inexpensive local block solves are highly effective. Geometry processing pipelines, in contrast, typically produce weakly screened or unscreened Poisson-type systems whose coupling extends across the entire mesh, so mesh-wide low-frequency errors dominate and coarse-grid correction becomes essential. We therefore vary the screening strength on a single elasticity problem, moving continuously from simulation-like to geometry-processing-like systems. We test a hanging Armadillo inspired by AGIPIC’s multigrid comparison ([20 Sec. 5.1]), using a Neo-Hookean material (E=0.1E = 0.1 MPa, ν=0.35\nu= 0.35, ρ=103\rho= 10^3 kg/m3^3). The system has 94,458 scalar unknowns. With an upper-back attachment, backward Euler integrates 1.5 s under gravity at Δt=1/60\Delta t = 1/60 s, without contact. MAS uses the StiffGIPC implementation while the AMGX uses FP64 3 × 3 BSR, AGGREGATION/SIZE_4, symmetric MULTICOLOR_GS, and one or ten V-cycles per application, following the configuration study in AGIPC’s supplemental Sec. 4 ([20]). Here, ParaBMG is not especially tailored to 3N×3N3N \times3N systems. Instead, it operates directly on an expanded mesh graph, with three nodes per mesh vertex and full edge connections both within each triple and between triples corresponding to adjacent mesh vertices. Table 5 separately reports the deformed Newton systems.

Methodnˉcg\bar{n}_{\mathrm{cg}}TT (ms)
MAS318.986.7
ParaBMG50.427.1
AMGX (1 V-cycle)71.6449.2
AMGX (10 V-cycles)21.91317.3

Table 5. Armadillo Newton-system replay at 10−610^{-6}. Mean PCG iterations and GPU update-plus-solve time TT are averaged over successful systems only.

We also freeze the rest-state stiffness and vary only the mass coefficient 0≤α≤10100 \le\alpha\le10^{10} s−2^{-2} defined in A(α)=Krest+αMA(\alpha) = K_{\mathrm{rest}} + \alpha M. Here MM includes density and the actual time step gives α=Δt−2=3600\alpha= \Delta t^{-2} = 3600 s−2^{-2}. The tuning of α\alpha controls the difficulty of the problems. As screening weakens, the systems transition from dynamics-like problems toward the static elasticity limit, and both iteration counts and computational costs generally increase for all methods. MAS consistently requires more iterations than the AMGX configurations, yet achieves lower GPU update-plus-solve time, demonstrating that iteration count alone does not determine efficiency. ParaBMG requires fewer iterations and achieves lower update-plus-solve time than MAS. Reducing α\alpha weakens the mass term while preserving the vector couplings and deformation modes of the elasticity operator. Within this family, MAS retains its timing advantage over AMGX even at the static endpoint. On the Poisson-like systems in our geometry-processing benchmarks, MAS incurs a substantially larger iteration penalty relative to multigrid. The cost of these additional iterations can outweigh savings in updates or individual iterations.

Armadillo elasticity physical states at 0, 0.25, and 0.5 s

Figure 10. Armadillo elasticity. Physical states illustration at 0, 0.25, and 0.5 s.

Figure 11. Changing the problem difficulties on one vector-elasticity system. All use the same Armadillo geometry, stiffness, constraints, and gravity RHS, with relative residual tolerance 10−610^{-6}. Left: PCG iterations. Right: numerical-update-plus-PCG GPU time. Samples of α\alpha are ordered from strong screening to the static endpoint. The dotted line marks the actual time step, α=3600 s−2\alpha= 3600\,\mathrm{s}^{-2}.

Scope and Implications. This experiment shows that mass screening shifts the balance between iteration count and per-iteration cost. As screening weakens toward the unscreened limit characteristic of geometry processing, MAS’s iteration penalty relative to multigrid grows faster than its per-iteration savings, widening its gap

to ParaBMG. The operator also matters: MAS remains faster than AMGX across this elasticity family, and even its static-elasticity gap to ParaBMG is smaller than on our scalar Poisson benchmarks. StiffGIPC improves the MAS aggregation and GPU operations on the block-sparse Hessian [9], and supports specified dynamic structural changes induced by contact. The elasticity test therefore serves as a diagnostic experiment. Designing a solver tailored to elasticity with evolving contact would require coarse spaces that capture low-energy vector modes, GPU storage and kernels that exploit the dense 3×33 \times3 couplings, and efficient handling of contact-induced changes in sparsity. Jointly designing these components lies beyond the scope of this work.

Robustness under Directional Coupling

To test the limits of geometric coarsening under strongly directional coupling, we construct an anisotropic Poisson system on a 48×12×1248 \times12 \times12 grid subdivided into 41,472 tetrahedra with 8,281 nodes and a cell-edge aspect ratio of four. Piecewise-linear tetrahedral finite elements discretize −∇⋅(K∇u)=f-\nabla\cdot(K\nabla u) = f, with

K=I+(κ−1)ddT,κ=105,d=(1,0,0)T.(21)K = I + (\kappa- 1)\mathbf{d}\mathbf{d}^{\mathsf{T}}, \qquad\kappa= 10^{5}, \qquad\mathbf{d} = (1,0,0)^{\mathsf{T}} . \tag*{(21)}

This tensor deliberately couples the xx direction much more strongly than the other two directions. Dirichlet conditions apply on the two yy faces, with natural conditions elsewhere.

We compare geometric coarse vertex selection strategy (PMIS-only) with an experimental coefficient-aware alternative, AHAT-D2. These two coarse vertex selection strategies are introduced in subsection 4.2, which generate a geometry-aware hierarchy and a coefficient-aware hierarchy, respectively. The geometry-aware hierarchy fails to reach a relative residual of 10−610^{-6} within 500 PCG iterations, whereas the coefficient-aware hierarchy converges in eight iterations with relative residual of 4.81×10−74.81 \times10^{-7}. This result is expected in this extreme setting, as a purely geometric hierarchy does not adapt its coarsening and interpolation to the coefficient distribution and therefore cannot be expected to remain effective for all cases especially involving extreme coefficient variation. It suggests that a coefficient-aware hierarchy rebuilding can be beneficial when coefficients of the matrix become highly nonuniform. However, we observe no comparable degradation in the geometry-processing benchmarks in Table 1 or the interactive applications in § 7. We therefore only report the performance of the geometry-aware hierarchy performance in Table 1 and § 7, and retain the coefficient-aware hierarchy rebuilding as an optional, user-controlled strategy for extreme cases.

Applications

We demonstrate interactive applications of ParaBMG in three established geometry processing pipelines: local deformation for shape editing (LDSE), variational quasi-harmonic mapping (QHM), and quasi-harmonic interpolation weights (QHW). Each scene contains the seven teaser models: Murex, Isidore Horse, XYZRGB Dragon, Aphrodite, Tennyson, Charmander, and Duck. Each interaction updates all seven models. The figures show results rendered in Blender, while all timings are measured in the interactive WebGL application. We refer readers to the supplementary document for details of the settings.

We compare ParaBMG and AMGX within the same GPU application pipelines, using the integrated reference implementations as CPU baselines. We measure backend update latency from receipt of an interaction request to preparation of the numerical results, excluding one-time initialization and rendering. Reported latencies are medians over three runs. All tests are conducted on a workstation with an RTX 5080 GPU and a Ryzen 7 9800X3D CPU, using eight CPU threads.

Across all three applications, ParaBMG reduces backend update latency while maintaining numerical agreement. For LDSE, QHM, and QHW, respectively, ParaBMG achieves speedups of 1.34×1.34 \times, 1.58×1.58 \times, and 2.86×2.86 \times over the strongest baseline backend solver AMGX, and 15.15×15.15 \times, 6.48×6.48 \times, and 184.56×184.56 \times over the CPU reference implementations. These improvements bring texturing and weight updates below one second and enable approximately one-second coarse previews for mesh editing.

Mesh Editing. Following Chen et al. [ [3], we combine Neo-Hookean elasticity with a smoothly clamped ℓ1\ell_1 displacement regularizer. The ADMM optimization alternates local updates with global position solves. The global position step solves three N×NN \times N linear equations, which we accelerate using ParaBMG. The dynamic re-weighting is deployed to produce different systems per optimization steps. We use the same initialization and a fixed budget of 50 ADMM iterations to produce coarse previews. Figure 12 shows the results after five control updates, producing 30° terminal-region rotations on seven objects. For a representative single 12° control edit, ParaBMG completes the backend update in approximately one second. Including communication and display updates, the application achieves 1.07 updates/s, providing the feedback with interactive previews across all seven models.

Mesh editing on the seven-model joint scene

Figure 12. Mesh editing (LDSE) on the seven-model joint scene, rendered in Blender. Five control updates produce 30° terminal rotations. Gray contours show initial silhouettes. Navy markers indicate anchors, while terracotta markers show the moved controls.

Texturing. Following Wang et al. [ [21], we update texture placement by optimizing anisotropic surface tensors and solving for two texture-coordinate fields. Changes to the tensors produce evolving linear systems with fixed connectivity. Users drag the boundary of a planar domain to adjust texture placement while the 3D geometry remains fixed. Figure 13 shows three boundary drags, with five optimization steps per update. Including communication and display updates, the application achieves 1.58 updates/s, enabling repeated boundary adjustments with visual feedback across all seven shapes.

Interactive texture placement using QHM on seven surface meshes

Figure 13. Interactive texture placement using QHM on seven surface meshes. Each surface is cut along mesh edges into a disk and mapped to a planar UV domain. Dragging boundary control points updates the UV mapping while keeping the hexagonal texture and 3D geometry fixed. The planar domains and adjacent surface views illustrate the mapping before and after a boundary edit. The blue-purple curves on the surfaces are the mapped edges of the hexagonal texture.

Interpolation Weights. Following Wang and Solomon [ [23], we optimize anisotropic tensor fields to compute interpolation weights for three control groups on each object. Moving the control handles triggers optimization and linear solves to update the weight fields. Figure 14 shows the resulting fields after handle relocation. With three optimization steps and a final evaluation, ParaBMG completes each backend update in 162 ms. Including communication and display updates, the application achieves 4.66 updates/s, enabling repeated handle adjustments with visual feedback.

Interpolation weights (QHW) on the seven-model joint scene, rendered in Blender

Figure 14. Interpolation weights (QHW) on the seven-model joint scene, rendered in Blender. Colored spheres identify three influences on each object. Segments join initial and updated handles. Surface colors visualize the resulting blended weight fields.

Application vs. Solver Speedups. Each interactive edit triggers a nonlinear optimization loop comprising a sequence of linear solves and additional computations. These additional computations are common to the AMGX backend and the ParaBMG backend, limiting the reduction in application response time achieved by replacing the linear solver. Consequently, the application-level speedups are smaller than those reported in the solver benchmarks in Table 1. Nevertheless, with the ParaBMG backend and our accelerated implementation of the whole pipelines, these applications remain substantially faster than the original CPU reference implementations.

Conclusion, Limitation, and Future Work

ParaBMG provides an effective framework for large-scale, evolving Poisson systems, achieving speedups of 3.7×3.7 \times to 7.7×7.7 \times in average solver cost over the fastest tested GPU baseline for each of 40 sequences comprising 40,987 instances. The framework combines fully parallel geometric hierarchy construction and reuse with block Jacobi smoothing and efficient GPU operators for repeated solves. Our three-stage ablation studies show that ParaBMG’s hierarchy improves the performance even with scalar smoothing, block smoothing further reduces iteration counts, and the optimized parallel implementation preserves these counts and reduces the solver cost. Separate comparisons on the reference examples demonstrate acceleration of complete GPU pipelines over the released CPU implementations under matched workloads. These gains reflect the combined effects of GPU geometry processing and linear solving. Beyond these reference comparisons, ParaBMG enables three interactive geometry processing applications on high resolution meshes: mesh editing, surface parameterization, and interpolation weight computation. These applications achieve speedups up to orders of magnitude over their original CPU implementations, supporting interactive geometry processing applications.

Our method is not without limitations. Automated tuning of the solver hyperparameters is a promising direction that is underexplored for further improving performance across different meshes and coefficient distributions, including but not limited to the coefficient-aware rebuilding strategy when facing extreme cases with strong coefficient variation. Another direction is to broaden the framework beyond its current mesh-based SPD Poisson setting. More general stiffness-matrix problems, including coupled 3N×3N3N \times3N systems with three unknowns per mesh vertex, simultaneous solving of multiple right-hand-side vectors, and non-SPD solves are also important topics not addressed in this paper. These extensions offer opportunities to incorporate coupled-variable coarse representations, exploit shared work across right-hand sides, and integrate iterative methods suited to broader operator classes. Investigating them would extend ParaBMG’s applicability while building on the parallel construction and efficient repeated-solve mechanisms established here.

References

Details of Benchmark Problems

We describe the five problem formulations and the settings used to generate their evolving linear systems. LDSE, QHW, IMCF, and DSTV provide the four problem families in the current main benchmark. We choose them since they accept watertight mesh inputs, while the rest QHM is typically applied on disk-like surface meshes, and therefore excluded from the main benchmarking dataset. For the interactive applications, we instead consider the QHW, QHM and LDSE, which supports interactive demonstrations. The application demonstrations may use different meshes and interaction sequences. Their settings are distinguished from the benchmark data.

Shared notation and discretization. We retain M=(V,E,T)\mathcal{M}=(V,E,\mathcal{T}), N=∣V∣N=|V|, dd, GτG_{\tau}, Cτ(v)C_{\tau}^{(v)}, and M(v)M^{(v)} from the main paper. For convenience, define the stiffness contribution

K(v)=∑τ∈T∣τ∣GτTCτ(v)Gτ,A(v)=K(v)+M(v).(22)\mathbf{K}^{(v)}=\sum_{\tau\in\mathcal{T}}|\tau|G_{\tau}^{\mathsf{T}}C_{\tau}^{(v)}G_{\tau},\qquad A^{(v)}=\mathbf{K}^{(v)}+M^{(v)}. \tag*{(22)}

Constraints and normalization. For free indices FF and prescribed indices DD, the benchmark retains the full dimension using symmetric Dirichlet treatment:

AFF=A~FF,ADD=I,AFD=ADF=0,(23)A_{FF}=\widetilde{A}_{FF},\qquad A_{DD}=I,\qquad A_{FD}=A_{DF}=0, \tag*{(23)}
bF=b~F−A~FDxD,bD=xD.(24)b_F=\widetilde{b}_F-\widetilde{A}_{FD}x_D,\qquad b_D=x_D. \tag*{(24)}

Here tildes denote the assembled quantities before constraints. The benchmark scales the free equations by the median free diagonal and normalizes each nonzero RHS by its Euclidean norm, retaining the normalization needed to recover physical solution values. All compared methods receive the same saved equations. For the interactive applications, we incorporate the ParaBMG into the pipelines to support the online solving.

Remark. During the benchmarking, the input initial guess vectors for the iterative solvers are from the actual records. For example, for one x-direction right-hand-side vector instance for the LDSE problem, its initial guess vector should be the x-directional vector at the last solve. In practice, for the application problems like LDSE that solve 3 right-hand-side vectors together, one could call the update stage only once for these three solves, or develop more efficient solvers that solves the condensed system collectively. However, developing such pipelines requires substantial changes and careful optimization in the implementation, and we leave them to future work. To obtain a fair comparison, we make sure that the solving time always contain one update stage and one PCG solve.

MeshLDSEQHWIMCFDSTVTotal
Wheel1502,4081,2902944,142
Blade1502,4081,1402433,941
Vase Lion1502,4081,4042434,205
Duck1502,4081,3983484,304
Rocker Arm1502,4081,0503383,946
Murex1502,4081,7283104,596
Isidore Horse1502,4081,2903774,225
Pulley1502,4089783983,934
Oil Pump1502,4081,0863133,957
Red Circular Box1502,4081,0141653,737
Total1,50024,08012,3783,02940,987

Table 6. Number of linear systems for each benchmark mesh and problem. All counts and totals are for one method.

Local Deformation

Local deformation for interactive shape editing (LDSE) [3] uses local-global optimization on a tetrahedral mesh. The local steps update elastic targets and displacement targets. The global step solves three coordinate columns sharing a scalar SPD matrix. This is distinct from solving a coupled 3N×3N3N\times3N elasticity matrix.

Linear systems. Let ητ(v)>0\eta_{\tau}^{(v)}>0 denote the elastic penalty including the element weight, and let η0>0\eta_0>0 be the displacement penalty. Before imposing prescribed positions, the global step has

A~(v)=∑τητ(v)GτTGτ+η0I,(25)\widetilde{A}^{(v)}=\sum_{\tau}\eta_{\tau}^{(v)}G_{\tau}^{\mathsf{T}}G_{\tau}+\eta_0 I, \tag*{(25)}
B~(v)=∑τητ(v)GτT(Zτ(v)−Uτ(v))+η0T(v).(26)\widetilde{B}^{(v)}=\sum_{\tau}\eta_{\tau}^{(v)}G_{\tau}^{\mathsf{T}}\left(Z_{\tau}^{(v)}-U_{\tau}^{(v)}\right)+\eta_0 T^{(v)}. \tag*{(26)}

The matrices Zτ(v)Z_{\tau}^{(v)} and Uτ(v)U_{\tau}^{(v)} are the local elastic target and multiplier, and T(v)T^{(v)} contains the displacement targets. In the notation of the main paper, Cτ(v)=(ητ(v)/∣τ∣)IC_{\tau}^{(v)}=(\eta_{\tau}^{(v)}/|\tau|)I and M(v)=η0IM^{(v)}=\eta_0I. Reference gradients remain fixed while adaptive penalties change the matrix coefficients. The positive displacement term makes the global quadratic SPD even though the outer deformation objective is nonconvex.

Dataset generation. The dataset generator enables adaptive element reweighting with zero delay and an aggressive weight-ratio threshold of one. Each mesh supplies ten independent edits, each starting from the rest shape. An edit pins a root region and moves a tip region outward by 10% of the bounding-box extent. Five steps are performed per edit, producing 50 matrices and 150 linear system solving per mesh in the current benchmark. The initial guess is reset at the beginning of each edit. Within an edit, each coordinate can reuse the preceding valid solution for that coordinate.

Application settings. We support an interactive WebGL-based application for the LDSE pipeline. For the timed LDSE update, we choose each object’s longest bounding-box axis on its exterior vertices. Vertices below its 12th percentile are fixed, and those above its 97th percentile form the grabbed region. We rotate that region by 12∘12^\circ about the exterior centroid in the plane of this axis and the cyclically next Cartesian axis. All backends receive identical initial coordinates obtained by smoothly interpolating the fitted rigid control motion and imposing the prescribed positions exactly; this preparation is timed. We execute 50 ADMM iterations with stopping tolerance 10−3010^{-30} and adaptive element reweighting disabled, unlike the benchmark generator above. The Neo-Hookean model uses Young’s modulus 10710^7, Poisson ratio 0.45, displacement penalty η0=103\eta_0 = 10^3, and smoothly clamped ℓ1\ell_1 weight 10410^4 with threshold 0.1. Local updates allow 20 iterations: damped Newton on the GPU and the reference local L-BFGS implementation on the CPU. The original rest mesh is retained between interactions. Each global step has three coordinate RHS columns sharing one scalar matrix. The illustration and video use a separate sequence of five 6∘6^\circ commits, reaching the same 30∘30^\circ rotation on every object.

Quasi-Harmonic Maps

Quasi-harmonic maps (QHM) [21] optimize a diffusion tensor on each triangle and solve for two planar coordinates. For fixed tensors and prescribed boundary coordinates, the energy is

12∑τ∣τ∣ tr⁡[(GτY)TCτ(ν)(GτY)],Y=[u,v].(27)\frac{1}{2}\sum_{\tau}|\tau|\,\operatorname{tr}\left[(G_\tau Y)^\mathsf{T}C_\tau^{(\nu)}(G_\tau Y)\right], \qquad Y=[\mathbf{u},\mathbf{v}]. \tag*{(27)}

The free RHS entries arise from coupling to the prescribed boundary.

Tensor parameterization. For a two-component parameter θ\boldsymbol{\theta} with ∥θ∥2<1\lVert\boldsymbol{\theta}\rVert_2 < 1, the implementation uses

C(θ)=11−θ12−θ22[(1−θ1)2+θ22−2θ2−2θ2(1+θ1)2+θ22].(28)C(\boldsymbol{\theta})=\frac{1}{1-\theta_1^2-\theta_2^2} \begin{bmatrix} (1-\theta_1)^2+\theta_2^2 & -2\theta_2\\ -2\theta_2 & (1+\theta_1)^2+\theta_2^2 \end{bmatrix}. \tag*{(28)}

Its determinant is one and its eigenvalues are (1+∥θ∥2)/(1−∥θ∥2)(1+\lVert\boldsymbol{\theta}\rVert_2)/(1-\lVert\boldsymbol{\theta}\rVert_2) and its reciprocal. A radial parameterization θ=tanh⁡(∥ξ∥2)ξ/∥ξ∥2\boldsymbol{\theta}=\tanh(\lVert\boldsymbol{\xi}\rVert_2)\boldsymbol{\xi}/\lVert\boldsymbol{\xi}\rVert_2, with the continuous value at zero, enforces the admissible disk in exact arithmetic. Updating the tensors changes both the stiffness coefficients and the boundary-induced RHS.

Application settings. We keep the 3D surfaces fixed and edit the boundaries of their planar texture domains. A common initial map is constructed by a positive uniform Tutte embedding followed by 40 SLIM symmetric-Dirichlet iterations with boundary-constraint weight 10810^8. The determinant-one tensors induced by this map initialize the radial tanh parameterization above. This scene initialization is excluded from committed-update latency. For the timed edit, it applies an outward radial Gaussian brush to every boundary: angular standard deviation 0.35 radians and peak displacement 0.03 times the chart’s maximum coordinate extent. The edited boundaries are rescaled so their summed enclosed area matches the total source-surface area. Every backend starts from the same saved tensor state and executes five VAdam steps with learning rate 0.001 and moment factors 0.9 and 0.999, followed by a final evaluation.

Remark. There is a publicly available CUDA-accelerated version of QHM provided in the TQHM repository [22]. It adopts a cuDSS-based linear solver and is not applicable to large-scale meshes with more than 5M vertices due to the time and memory constraints. Regarding the comparisons of the end-to-end performance of the QHM pipelines shown in Table 3 of the main paper, our customized implementation still outperforms TQHM by 1.9×\times on the reference example lucy_o_G with 48K vertices.

Quasi-Harmonic Weights

Quasi-harmonic weights (QHW) [23] optimize diffusion coefficients on a tetrahedral mesh to obtain interpolation weights. Four prescribed handles define four primal RHS columns. Differentiation through the primal solving step requires four adjoint columns sharing the same constrained matrix.

Diffusion parameterization. For the six parameters θ=(θ1,…,θ6)\boldsymbol{\theta}=(\theta_1,\ldots,\theta_6) of one tetrahedron, define

F(θ)=[100θ2θ30θ4θ5θ6],H=FFT,si=Hii.(29)\mathbf{F}(\boldsymbol{\theta})= \begin{bmatrix} 1 & 0 & 0\\ \theta_2 & \theta_3 & 0\\ \theta_4 & \theta_5 & \theta_6 \end{bmatrix}, \qquad\mathbf{H}=\mathbf{F}\mathbf{F}^{\mathsf{T}},\qquad s_i=H_{ii}. \tag*{(29)}

The implemented diffusion coefficient is

Cτ(ν)=δI+H+κdiag⁡(s2+s3,s1+s3,s1+s2)θ12,(30)C_\tau^{(\nu)}=\delta\mathbf{I}+\frac{\mathbf{H}+\kappa\operatorname{diag}(s_2+s_3,s_1+s_3,s_1+s_2)}{\theta_1^2}, \tag*{(30)}

evaluated at the current element parameters. There is no screening term in the primal equation: M(ν)=0\mathbf{M}^{(\nu)}=0. The prescribed handle values remove the constant mode. The isotropic diffusion regularizer δI\delta\mathbf{I} does not by itself remove that mode.

Primal and adjoint solving. The primal solution W\mathbf{W} has one column per handle, with one-hot prescribed values. The outer objective penalizes a biharmonic energy of the projected weights W~=Π(W)\widetilde{\mathbf{W}}=\Pi(\mathbf{W}):

E=tr⁡(W~TKrefMref−1KrefW~).(31)\mathcal{E}=\operatorname{tr}\left(\widetilde{\mathbf{W}}^{\mathsf{T}}\mathbf{K}_{\mathrm{ref}}\mathbf{M}_{\mathrm{ref}}^{-1}\mathbf{K}_{\mathrm{ref}}\widetilde{\mathbf{W}}\right). \tag*{(31)}

Here Kref\mathbf{K}_{\mathrm{ref}} and Mref\mathbf{M}_{\mathrm{ref}} are the fixed reference stiffness and lumped mass, and Π\Pi performs differentiable positive-part projection and row normalization. Adjoint solving uses the same matrix with zero prescribed values. Its RHS depends on the primal solution, so the eight columns are not all available at once.

Dataset settings. The dataset contains an initial matrix followed by six optimization stages of 50 accepted updates. It therefore gives 301 matrices and resulting in 2,408 linear systems per mesh. The settings are κ=0.2\kappa=0.2, δ=10−4\delta=10^{-4}, initial learning rate 0.01, and learning-rate decay 0.5 between stages. The parameters satisfy 0.1≤θ1≤100.1\leq\theta_1\leq10 and ∣θi∣≤10\lvert\theta_i\rvert\leq10 for i=2,…,6i=2,\ldots,6. The handles and reference operators remain fixed, which are generated by assigning a skinning skeleton for each mesh, mimicking the workload of the skinning weight computation.

Application settings. The interactive example uses three influences: each object has three corresponding spatial control regions, and their one-hot prescribed values define three shared weight columns over the joint volume. Control centers are initialized by farthest-point selection from native vertices, starting at the minimum-xx vertex in each source mesh. The sphere radii are fixed and computed as 0.6min⁡(0.075d,0.45s)0.6\min(0.075d,0.45s), where dd is that object’s bounding-box diagonal and ss is the smallest initial inter-control distance. For the timed edit, the first control on the first object is displaced by (0.18,0.08,0)(0.18,0.08,0) times that object’s bounding-box diagonal and snapped to a native vertex. Its resulting scene-space displacement is replicated for the corresponding control on every object. All backends replay the same saved tensor parameters and execute three Adam steps at learning rate 0.0020.002, followed by a final evaluation.

Directional Shape Total Variation

Directional shape total variation (DSTV) [Brokman et al. 2024] filters a scalar displacement field along prescribed surface directions. The benchmark records the reweighted scalar diffusion systems.

Linear systems. Let u(ν)\mathbf{u}^{(\nu)} be the scalar field before one diffusion step. On the fixed input surface, define

wτ(ν)=(∥Gτu(ν)∥2+ε)−1.(32)w_{\tau}^{(\nu)}=\left(\lVert G_{\tau}\mathbf{u}^{(\nu)}\rVert_{2}+\varepsilon\right)^{-1}. \tag*{(32)}

The next field is the solution of

[Mref+h2∑τ∣τ∣wτ(ν)GτTGτ]u(ν+1)=Mrefu(ν).(33)\left[M_{\mathrm{ref}}+\frac{h}{2}\sum_{\tau}\lvert\tau\rvert w_{\tau}^{(\nu)}G_{\tau}^{\mathsf{T}}G_{\tau}\right]\mathbf{u}^{(\nu+1)}=M_{\mathrm{ref}}\mathbf{u}^{(\nu)}. \tag*{(33)}

The solution x(ν)\mathbf{x}^{(\nu)} of the corresponding benchmark linear system is therefore u(ν+1)\mathbf{u}^{(\nu+1)}. The main-paper coefficients are Cτ(ν)=(h/2)wτ(ν)C_{\tau}^{(\nu)}=(h/2)w_{\tau}^{(\nu)} and M(ν)=MrefM^{(\nu)}=M_{\mathrm{ref}}. The positive mass and lagged weights yield an SPD matrix. The additive ε=0.05\varepsilon=0.05 and the factor 1/21/2 follow the recorded discretization.

Dataset generation. Three base-diffusion steps determine the reference displacement and its directions. For normalized benchmark coordinates, the base step size is 10median⁡i((Mref)ii/(Kref)ii)10\operatorname{median}_{i}((M_{\mathrm{ref}})_{ii}/(K_{\mathrm{ref}})_{ii}). The scalar step size is calibrated below one by dyadic bracketing and six bisections. The sequence stops when the increment reaches 1%1\% of the first increment. The current benchmark contains 3,029 scalar linear systems.

Implicit MCF Optimization

Inverse optimization through implicit mean-curvature flow (IMCF) seeks a surface whose implicit flow step matches a target surface, following the inverse geometry-processing setting of Iskra [5]. Here inverse refers to optimization through the flow computation, not a flow whose normal speed is the reciprocal of mean curvature.

Forward and adjoint linear systems. Let X\mathbf{X} contain the current vertex positions and X⋆\mathbf{X}_{\star} the target positions. For flow step size h>0h>0, the forward computation solves

[M(X)+hK(X)]U=M(X)X.(34)[M(\mathbf{X})+hK(\mathbf{X})]\mathbf{U}=M(\mathbf{X})\mathbf{X}. \tag*{(34)}

Thus, A(ν)=M(X)+hK(X)A^{(\nu)}=M(\mathbf{X})+hK(\mathbf{X}) and the three columns of U\mathbf{U} are coordinate solutions. The objective is ∥U−X⋆∥M(X)2\lVert\mathbf{U}-\mathbf{X}_{\star}\rVert_{M(\mathbf{X})}^{2}. Three adjoint columns share A(ν)A^{(\nu)} and use the load 2M(X)(U−X⋆)2M(\mathbf{X})(\mathbf{U}-\mathbf{X}_{\star}). Differentiation includes the dependence of both mass and stiffness on the current geometry.

On a fixed reference chart with metric gτ(X)g_{\tau}(\mathbf{X}), the stiffness contribution can be expressed using det⁡gτgτ−1\sqrt{\det g_{\tau}}g_{\tau}^{-1}. The factor hh is absorbed into Cτ(ν)C_{\tau}^{(\nu)} in the main-paper notation. Mesh connectivity remains fixed while the geometric coefficients and lumped masses evolve. A separate fixed operator M(X⋆)+αK(X⋆)M(\mathbf{X}_{\star})+\alpha K(\mathbf{X}_{\star}) converts the Euclidean gradient into an H1H^{1} gradient; this auxiliary solving work is excluded from the evolving-system benchmark.

Dataset generation. We use h∈{0.001,0.005,0.01,0.02}h\in\{0.001,0.005,0.01,0.02\} respectively, α=0.02\alpha=0.02, and 30 optimization steps per value of hh. Its strong-Wolfe line search uses c1=10−4c_{1}=10^{-4}, c2=0.9c_{2}=0.9, and initial learning rate 32,000. Initial evaluations, accepted evaluations, and line-search trials are saved in their original order, with six linear solving per matrix. The resulting number of matrices depends on the line search and is not simply the accepted-step count. Initial guesses are reset between independent groups.

Implementation Details

We expand the implementation details of ParaBMG. The coarsest solver eliminates inter-block coupling through a fixed elimination tree, whereas the smoother inverts independent principal blocks. Both prepare dense local operators when coefficients change and reuse them for all subsequent V-cycles at that coefficient state.

Prepared Coarsest Solve

While solving linear system ν\nu, every V-cycle uses the same SPD coarsest matrix AL(ν)A_L^{(\nu)}. We use nested-dissection multifrontal elimination to prepare local inverse and coupling operators during update. Repeated apply stages then consist of matrix-vector products and message gathering along the fixed elimination tree.

Structural preparation. During setup, nested dissection recursively separates the fixed coarsest sparsity graph. A separator is a set of unknowns whose removal disconnects the remaining graph into groups with no direct coupling. Each group’s interior unknowns precede the separator in the ordering, so its interior can be eliminated before the separator is solved. The elimination tree records these dependencies between groups. At a tree node ff, let IfI_f be the unknowns eliminated there and Bf\mathcal{B}_f the remaining unknowns coupled to them in ancestor nodes, including fill introduced by descendant elimination. We call Bf\mathcal{B}_f the ancestor boundary. The sets IfI_f partition the coarsest unknowns; the root has an empty ancestor boundary.

The front Kf(ν)\mathcal{K}_f^{(\nu)} is the dense local matrix on which elimination is performed at node ff. Its rows and columns are indexed by If∪BfI_f \cup\mathcal{B}_f: the variables in IfI_f are eliminated now, while those in Bf\mathcal{B}_f remain in the reduced equations for later elimination at ancestors. The front combines the original coefficients assigned to this node with the Schur-complement contributions of its children. Every original coefficient is assigned once; overlapping child contributions are added through their index maps. These maps, the elimination tree, and the front dimensions depend on the structural pattern and remain fixed across coefficient updates. A front is thus an assembled intermediate system, not generally the principal submatrix AL(ν)[If∪Bf,If∪Bf]A_L^{(\nu)}[I_f \cup\mathcal{B}_f, I_f \cup\mathcal{B}_f] of the original matrix. The ancestor boundary may include unknowns eliminated above the immediate parent.

A two-child example. Consider the ordered unknown groups I1={1,2}I_1 = \{1, 2\}, I2={3,4}I_2 = \{3, 4\}, and separator Ir={5}I_r = \{5\}, with no direct coupling between I1I_1 and I2I_2. For this example, write

AL=[A110C1T0A22C2TC1C2a55].(35)A_L = \begin{bmatrix} A_{11} & 0 & C_1^{\mathsf T}\\ 0 & A_{22} & C_2^{\mathsf T}\\ C_1 & C_2 & a_{55} \end{bmatrix}. \tag*{(35)}

Each child has boundary {5}\{5\} and a 3×33 \times3 front. Assigning the original separator coefficient a55a_{55} to the root, the two children contribute −CiAii−1CiT-C_i A_{ii}^{-1} C_i^{\mathsf T} to its single entry. The root front is therefore a55−∑i=12CiAii−1CiTa_{55} - \sum_{i=1}^{2} C_i A_{ii}^{-1} C_i^{\mathsf T}, rather than the original a55a_{55}. This example also explains why original separator coefficients and RHS entries must not be copied into every child front. Only the pivot blocks must be SPD; an individual contribution front need not be SPD as a whole.

Numerical preparation. Suppressing the state superscript temporarily, write an assembled front as

Kf=[SfCfTCfFf],Cf=(Kf)BfIf.(36)\mathcal{K}_f = \begin{bmatrix} S_f & C_f^{\mathsf T}\\ C_f & F_f \end{bmatrix}, \qquad C_f = (\mathcal{K}_f)_{\mathcal{B}_f I_f}. \tag*{(36)}

The pivot SfS_f is SPD. A leaf-to-root traversal factorizes Sf=LfLfTS_f = L_f L_f^{\mathsf T} and prepares

Mf(ν)=(Sf(ν))−1=(Lf(ν))−T(Lf(ν))−1,Wf(ν)=Cf(ν)Mf(ν).(37)M_f^{(\nu)} = (S_f^{(\nu)})^{-1} = (L_f^{(\nu)})^{-\mathsf T}(L_f^{(\nu)})^{-1}, \qquad W_f^{(\nu)} = C_f^{(\nu)}M_f^{(\nu)}. \tag*{(37)}

Here MfM_f is a local inverse, distinct from the mass matrix used in the benchmark formulations. The coupling CfC_f is taken from the assembled front before its storage is overwritten by factorization. The Schur contribution sent to the parent is

Hf=Ff−WfCfT.(38)H_f = F_f - W_f C_f^{\mathsf T}. \tag*{(38)}

Thus the parent’s pivot contains all descendant contributions before it is factorized. No numerical factor or inverse is reused after its matrix coefficients change.

Block-elimination identity. The preparation follows the exact factorization

Kf=[I0WfI][Sf00Hf][IWfT0I].(39)\mathcal{K}_f = \begin{bmatrix} I & 0\\ W_f & I \end{bmatrix} \begin{bmatrix} S_f & 0\\ 0 & H_f \end{bmatrix} \begin{bmatrix} I & W_f^{\mathsf T}\\ 0 & I \end{bmatrix}. \tag*{(39)}

For a local load [qIT,qBT]T[q_I^{\mathsf T},q_B^{\mathsf T}]^{\mathsf T}, elimination replaces the boundary load by qB−WfqIq_B-W_fq_I. Once the boundary solution is known, back substitution gives

xI=MfqI−WfTxB.(40)x_I = M_f q_I - W_f^{\mathsf T}x_B. \tag*{(40)}

The same stored coupling therefore serves both directions of traversal.

Repeated apply stages. Algorithm 2 applies these identities to a restricted RHS bLb_L. Each original RHS entry is introduced only at the node that eliminates its variable. Child messages contain elimination contributions, rather than additional copies of the original boundary load. A parent gathers and sums overlapping messages at the corresponding front indices. The local eliminated load qIfq_{I_f} is retained until the downward traversal.

At the root the boundary term vanishes. Applying Equation (39) recursively proves that the two traversals return (AL(ν))−1bL(A_L^{(\nu)})^{-1}b_L in exact arithmetic. Nodes at the same depth are independent once the preceding depth has completed; a parent must wait for every child contribution. Within a node, dense row products expose additional parallelism.

Ordering and reuse. If QLQ_L denotes the coarsest permutation, the internal matrix is A~L=QLALQLT\widetilde{A}_L = Q_L A_L Q_L^{\mathsf T} and its RHS is b~L=QLbL\widetilde{b}_L = Q_L b_L. Recovery uses xL=QLTx~Lx_L = Q_L^{\mathsf T}\widetilde{x}_L. Propagating the ordering through finer aggregate blocks, as described in the main paper, is a change of coordinates. Consistent permutations satisfy P~l=QlPlQl+1T\widetilde{P}_l = Q_l P_l Q_{l+1}^{\mathsf T}, so P~lTA~lP~l=Ql+1Al+1Ql+1T\widetilde{P}_l^{\mathsf T}\widetilde{A}_l\widetilde{P}_l = Q_{l+1}A_{l+1}Q_{l+1}^{\mathsf T}.

Algorithm 2 The prepared coarsest solve during the apply stage

Input: bL\mathbf{b}_L, prepared {Mf(ν),Wf(ν)}\{M_f^{(\nu)}, W_f^{(\nu)}\}, tree, and index sets {If,Bf}\{I_f, B_f\} Output: Coarse correction xL\mathbf{x}_L

  1. for each tree depth, from leaves to root do

  2. &nbsp;&nbsp;for each node ff at this depth in parallel do

  3. &nbsp;&nbsp;&nbsp;&nbsp;Gather and sum child messages into hIf,hBf\mathbf{h}_{I_f}, \mathbf{h}_{B_f}; use zeros at leaves

  4. &nbsp;&nbsp;&nbsp;&nbsp;Store qIf←(bL)If+hIf\mathbf{q}_{I_f} \leftarrow(\mathbf{b}_L)_{I_f} + \mathbf{h}_{I_f}

  5. &nbsp;&nbsp;&nbsp;&nbsp;if ff has a parent then

  6. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Send hBf−Wf(ν)qIf\mathbf{h}_{B_f} - W_f^{(\nu)}\mathbf{q}_{I_f} to the parent

  7. &nbsp;&nbsp;&nbsp;&nbsp;end if

  8. &nbsp;&nbsp;end for

  9. end for

  10. for each tree depth, from root to leaves do

  11. &nbsp;&nbsp;for each node ff at this depth in parallel do

  12. &nbsp;&nbsp;&nbsp;&nbsp;Gather recovered ancestor values (xL)Bf(\mathbf{x}_L)_{B_f}

  13. &nbsp;&nbsp;&nbsp;&nbsp;(xL)If←Mf(ν)qIf−(Wf(ν))T(xL)Bf(\mathbf{x}_L)_{I_f} \leftarrow M_f^{(\nu)}\mathbf{q}_{I_f} - (W_f^{(\nu)})^{\mathsf{T}}(\mathbf{x}_L)_{B_f}

  14. &nbsp;&nbsp;end for

  15. end for

  16. return xL\mathbf{x}_L

Storage and cost. Write mf=∣If∣m_f = |I_f| and bf=∣Bf∣b_f = |B_f|. Packed symmetric storage for MfM_f and rectangular storage for WfW_f require

∑f[mf(mf+1)2+bfmf](41)\sum_f \left[\frac{m_f(m_f+1)}{2} + b_fm_f\right] \tag*{(41)}

scalar values, excluding symbolic maps, factorization workspace, and RHS buffers. The two traversals perform O(∑f(mf2+bfmf))O\left(\sum_f(m_f^2+b_fm_f)\right) arithmetic, in addition to message gathering. Dense pivot factorization, inverse formation, coupling formation, and Schur updates cost O(mf3+bfmf2+bf2mf)O(m_f^3+b_fm_f^2+b_f^2m_f) per front. Separator sizes therefore control both preparation cost and storage; this is not a dense inverse of the entire coarse matrix.

Local Block Inversion and Update Scheduling

For a smoothing block BvB_v at level ll, define Dv=A(ν)[Bv,Bv]D_v = A^{(\nu)}[B_v,B_v] and mv=∣Bv∣m_v = |B_v|. Every DvD_v is an SPD principal submatrix. Unlike the frontal pivots in subsection B.1, these blocks do not incorporate Schur complements from other smoothing blocks. Their inverses form the block-diagonal smoother, while El(ν)E_l^{(\nu)} retains cross-block coupling and the V-cycle supplies the coarse correction.

Coefficient layout and arithmetic. The local coefficient block is stored in packed lower-triangular form. For zero-based local indices ii, jj, its packed address relative to the block offset is

a(i,j)=h(h+1)2+s,h=max⁡(i,j),s=min⁡(i,j).(42)a(i,j) = \frac{h(h+1)}{2} + s,\qquad h=\max(i,j),\qquad s=\min(i,j). \tag*{(42)}

The inversion kernel reconstructs a full symmetric work matrix from these FP32 coefficients and performs elimination in FP64. The output is a full row-major FP32 inverse. Packed coefficient storage and full inverse storage serve different operations and must not be counted as the same allocation. The kernel also records the reciprocal of each original diagonal entry before overwriting the work matrix.

Algorithm 3 In-place Inversion of One Smoothing Block

Input: Packed SPD block DvD_v of size mvm_v Output: Stored symmetric inverse D‾v−1\overline{D}_v^{-1}

  1. Unpack X←DvX \leftarrow D_v into FP64 workspace

  2. for p=0,…,mv−1p=0,\ldots,m_v-1 do

  3. &nbsp;&nbsp;Save cp←Xp,pc_p \leftarrow X_{p,p} and α←1/cp\alpha\leftarrow1/c_p

  4. &nbsp;&nbsp;Set X:,p←epX_{:,p} \leftarrow e_p

  5. &nbsp;&nbsp;Scale Xp,:←αXp,:X_{p,:} \leftarrow\alpha X_{p,:}

  6. &nbsp;&nbsp;for each i≠pi \ne p do

  7. &nbsp;&nbsp;&nbsp;&nbsp;X:,i←X:,i−ciXp,:X_{:,i} \leftarrow X_{:,i} - c_iX_{p,:}

  8. &nbsp;&nbsp;end for

  9. end for

  10. Store D‾v−1←FP32⁡((X+XT)/2)\overline{D}_v^{-1} \leftarrow\operatorname{FP32}((X+X^{\mathsf{T}})/2)

  11. return D‾v−1\overline{D}_v^{-1}

In-place elimination. The implementation uses one dense work matrix XX and one saved pivot column cc, rather than an augmented [Dv∣I][D_v \mid I] array. Initially X=DvX=D_v. Algorithm 3 describes the sweep; the row updates use the saved column values before the pivot column is overwritten. After all mvm_v pivots, X=Dv−1X=D_v^{-1} in exact arithmetic.

SPD blocks admit the no-pivot elimination in exact arithmetic. Averaging the two computed orientations removes asymmetry introduced by rounding; it does not by itself guarantee positive definiteness after conversion to FP32. The independently recomputed outer residual remains the solution-acceptance criterion.

GPU execution. Blocks of capacity at most 16 use a 16-thread tile, with two tiles in a 32-thread CUDA block. Larger blocks, up to the supported capacity of 32, use a full warp. Each tile owns its work matrix and pivot-column buffer in shared memory. A lane supplies a matrix column during row updates, the reciprocal pivot is broadcast within the tile, and warp synchronization separates dependent steps. This exposes parallelism across matrix entries and across independent smoothing blocks while retaining the sequential pivot order within each block.

For larger levels with sufficiently wide blocks, the implementation groups block capacities into 8, 16, 24, and 32 to reduce unused shared memory. For a tile of capacity cc, the workspace contains c2+cc^2+c FP64 values. Inversion performs O(mv3)O(m_v^3) work once per coefficient update, while each subsequent inverse application performs O(mv2)O(m_v^2) work. The full stored inverse requires mv2m_v^2 FP32 values in addition to the mv(mv+1)/2m_v(m_v+1)/2 packed coefficient values.

Dependency order of a numerical update. Galerkin reductions consume the current coefficients, not the local inverse entries. All coarser coefficients must therefore be formed before any aliased coefficient storage is overwritten. The following schedule makes that dependency explicit and also fixes the damping weights throughout the next PCG solve.

For the stored inverse, block smoothing applies zBv=D‾v−1rBvz_{B_v}=\overline{D}_v^{-1}r_{B_v}. The iterate and residual identities in the main paper are exact for an exact local inverse; rounding of the stored inverse introduces the usual mixed-precision approximation. Reusing its numerical values is valid only while the coefficient state is unchanged. Reusing the block partition, packed addresses, and reduction maps is valid Algorithm 4 Numerical Update of the Prepared Hierarchy

Input: New A0(ν)A_0^{(\nu)}, fixed partitions, prolongators, coefficient-reduction maps, and elimination tree

Output: Numerical operators for coefficient state ν\nu

  1. Refresh finest-level packed blocks and cross-block coefficients

  2. for l=0,…,L−1l = 0, \ldots, L - 1 do

  3. Evaluate prepared Galerkin reductions using level-ll coefficients

  4. Write level-(l+1)(l+1) coefficients, using CSR at the coarsest level

  5. end for

  6. for each smoothing level ll do

  7. Invert its independent principal blocks

  8. Advance the retained spectral-estimation vector and fix ωl(ν)\omega_l^{(\nu)}

  9. end for

  10. Assemble coarsest fronts and refresh {Mf(ν),Wf(ν)}\{M_f^{(\nu)}, W_f^{(\nu)}\}

  11. return Updated hierarchy ready for all RHS columns of this matrix

across states as long as the hierarchy and structural pattern remain fixed.

Hyperparameter Tuning for Solvers

We have tuned the solvers for each problem. For our method ParaBMG, we use one consistent hyperparameter setting for all testing. For other methods like AMGX and BoomerAMG, they are specifically tuned for each sequence of linear solving.

ParaBMG Tuning

The important parameters affect both convergence and work per linear system. We examine scalar versus block smoothing, interpolation width, coarsest-level size, ordering, and spectral-update budget. The relevant selection objective is measured numerical-update time plus the time for all required RHS columns; iteration count alone is insufficient.

Main-comparison configuration. ParaBMG uses two block-Jacobi pre-smoothing sweeps and two post-smoothing sweeps at every non-coarsest level of each V-cycle, including the finest level. Thus the sweep count is two on each side of the coarse correction. Both surface and volume problems use aggregate-aligned smoothing blocks. These choices are fixed across all 40 mesh/problem combinations in the main comparison.

Sensitivity experiment. We process the complete Wheel/LDSE and Wheel/QHW sequences, with three retained repetitions per configuration. The reference uses aggregate-aligned block-Jacobi smoothing, interpolation width four, maximum aggregate size 32, two pre- and two post-smoothing sweeps, and a coarsest limit of 4,096 unknowns. Initial spectral estimation uses 12 power iterations and subsequent updates use one retained-vector iteration.

The two trajectories contain 50 and 301 coefficient matrices, respectively, and include all their RHS columns. The reference uses geometric distance-two coarsening and cuDSS-derived ordering for the native coarsest solver. Each arm changes one setting and uses

three retained repetitions. Its objective is the accumulated backend-cure update-plus-all-RHS cost, excluding one-time setup.

Interpolation. Increasing interpolation width from four to eight changes the reported costs by at most 1.3%, whereas width two raises them by 7.8–27.3%. A smaller interpolation stencil can therefore reduce construction work without improving the accumulated cost.

Coarsest terminal size. Reducing the coarsest limit from 4,096 to 1,024 adds a hierarchy level. It approximately preserves Wheel/LDSE cost and raises Wheel/QHW cost by 7.6%. The 8,192 limit produces the same hierarchies as the reference, providing a repeatability check.

Spectral-update budget. One retained-vector power step gives the lowest complete cost among the tested 1-, 12-, and 100-step updates. Twelve steps add 2.7–6.3% and 100 steps add 24.1–60.8%. This result concerns sequential coefficient trajectories. It does not establish that one power step is sufficient after an arbitrary coefficient jump; the damping estimate remains a heuristic rather than a certified spectral bound.

The recorded experiment illustrates why fewer iterations need not mean less solving time: changing interpolation or the smoothing operator also changes numerical-update and execution costs. The one-parameter comparisons do not determine the performance of a configuration that combines all individually favorable choices. Small differences also require caution: identical-hierarchy arms can have mean differences exceeding their within-arm deviations. The rounded deviations in Table 7 describe the recorded repetitions and do not establish a precise ranking between nearly equal configurations.

ArmWheel LDSEWheel QHW
Reference1.000 ± 0.0011.000 ± 0.000
Width 21.078 ± 0.0001.273 ± 0.000
Width 81.013 ± 0.0011.011 ± 0.001
Terminal 10240.996 ± 0.0011.076 ± 0.002
Terminal 81921.003 ± 0.0010.999 ± 0.000
12 update power steps1.063 ± 0.0011.027 ± 0.001
100 update power steps1.608 ± 0.0021.241 ± 0.000

Table 7. Recorded ParaBMG sensitivity study. Values are complete trajectory costs divided by the corresponding reference mean; uncertainties are sample standard deviations of three retained totals divided by that same denominator. Reference costs are 1,692.50 ms for Wheel/LDSE and 26,225.10 ms for Wheel/QHW. “Width” changes interpolation support. The reference settings specified here define this sensitivity study separately from the main comparison.

Baseline Tuning

Selection procedure. AMGX [14] and BoomerAMG [7] are selected separately for each mesh-problem combination. Candidate evaluation uses an ordered subset containing the first, middle, and last linear systems for each application stage (such as one edit for LDSE) or optimizer step. This gives 33 sampled RHS solves for LDSE, 72 for QHW, 30 or 36 for IMCF, and three for DSTV, per mesh and candidate.

Earlier exploratory studies evaluated alternative AMGX and BoomerAMG configurations, varying the AMG construction, relaxation parameters, and smoothing counts. The best configured solver remains to be in a very small sub-class for our problems, namely V-cycle PCG with Jacobi smoothers. We therefore conduct a light-weight hyper-parameter tuning stage within this sub-class.

AMGX candidates. The aggregation candidates use SIZE_2 and JACOBI_L1, with relaxation and symmetric sweep counts (0.8, 1), (0.6, 1), and (0.8, 2). The candidate set also contains a classical PMIS configuration with JACOBI_L1, relaxation 0.8, and one sweep on each side. The selected configurations are recorded below. We denote these aggregation choices G0, G1, and G2 in the order above, and the classical PMIS choice G3. G3 uses D2 interpolation.

BoomerAMG candidates. The recorded candidates use PMIS coarsening, extended+i interpolation, and ℓ1\ell_1-Jacobi relaxation. The strength-threshold/interpolation-width pairs are (0.25, 4), (0.5, 4), and (0.5, 2). Each uses one pre- and one post-sweep and one preconditioning cycle. We denote the three choices B0, B1, and B2 in the order above.

For AMGX, G0 has the lowest sampled cost on all LDSE meshes and G3 on all IMCF meshes. DSTV instead selects G0 on seven meshes, G1 on Wheel and Blade, and G2 on Murex. BoomerAMG selects B0 throughout LDSE, QHW, and IMCF; on DSTV, B2 has the lowest cost on Duck, Murex, Isidore Horse, and Red Circular Box. The measurements also show why iteration count alone is insufficient for selection. On Wheel/LDSE, G3 reduces nˉ\bar{n} from G0’s 33.61 to 17.82, but increases the total time from 1,814.1 to 1,911.9 ms. On Wheel/DSTV, G1 has more iterations than G0 (17.67 versus 14.67), yet a slightly lower sampled cost (90.7 versus 92.7 ms). The latter is a sample minimum, with no repeat-based estimate of the significance of the difference.

Additional Benchmarking Results

Tables 8 and 9 expand the main comparison with mean iteration counts, numerical update times, and times per iteration for each mesh/problem pair. MAS iteration counts and times use the same Morton-ordered block configuration as the main table, including the independent-group initial-guess resets described in Appendix § 10.

We use nˉcg\bar{n}_{\mathrm{cg}} for the mean outer PCG iteration count over all matrix/RHS pairs for MAS, AMGX, BoomerAMG, and ParaBMG. For GravoMG-GPU, nˉV\bar{n}_{\mathrm{V}} instead counts fixed-point V-cycles. T‾update\overline{T}_{\mathrm{update}} averages the numerical update time over matrices, and T‾iter\overline{T}_{\mathrm{iter}} averages the ratio of solve time to native iteration count over positive-iteration RHS solves. All times are in milliseconds.

SolverMetricWheelBladeVase LionDuckRocker ArmMurexIsidore HorsePulleyOil PumpRed Circular Box
MASnˉcg\bar{n}_{\mathrm{cg}}115.4101.184.474.396.8221.0123.9105.0165.182.7
Tˉupdate\bar{T}_{\mathrm{update}}4.63.43.63.84.515.111.87.67.37.6
Tˉiter\bar{T}_{\mathrm{iter}}1.10.80.80.91.03.73.41.71.52.0
TT135.485.169.069.9104.1833.6431.2183.9254.0169.0
AMGXnˉcg\bar{n}_{\mathrm{cg}}12.111.512.310.911.211.212.010.413.511.1
Tˉupdate\bar{T}_{\mathrm{update}}14.111.012.112.413.040.429.820.519.022.6
Tˉiter\bar{T}_{\mathrm{iter}}0.70.50.60.60.61.71.20.90.91.0
TT22.517.019.419.020.359.344.329.830.633.7
BoomerAMGnˉcg\bar{n}_{\mathrm{cg}}11.610.411.09.710.110.110.59.312.310.1
Tˉupdate\bar{T}_{\mathrm{update}}16.915.016.015.916.441.631.421.721.724.4
Tˉiter\bar{T}_{\mathrm{iter}}1.00.80.90.90.92.31.81.31.21.4
TT28.123.625.724.725.965.250.233.436.838.2
GravoMG-GPUnˉV\bar{n}_{V}38.57.712.77.57.99.112.65.332.513.0
Tˉupdate\bar{T}_{\mathrm{update}}12.510.910.312.07.027.924.921.918.217.0
Tˉiter\bar{T}_{\mathrm{iter}}12.211.510.212.72.412.618.719.413.812.5
TT483.599.3140.1108.025.9142.0260.1125.1468.0179.1
ParaBMGnˉcg\bar{n}_{\mathrm{cg}}8.37.88.47.97.78.38.66.812.66.8
Tˉupdate\bar{T}_{\mathrm{update}}1.20.80.90.91.12.51.81.11.01.3
Tˉiter\bar{T}_{\mathrm{iter}}0.40.30.30.40.41.31.00.60.60.7
TT4.63.43.83.74.113.510.15.48.16.0
DSTVnˉcg\bar{n}_{\mathrm{cg}}24.615.115.410.714.513.311.811.814.715.1
Tˉupdate\bar{T}_{\mathrm{update}}4.63.33.63.84.514.913.27.47.27.6
Tˉiter\bar{T}_{\mathrm{iter}}1.10.80.80.91.03.73.41.71.52.0
TT32.615.615.913.419.764.353.627.629.537.3
AMGXnˉcg\bar{n}_{\mathrm{cg}}10.07.66.35.26.23.94.65.36.08.3
Tˉupdate\bar{T}_{\mathrm{update}}14.510.310.99.210.924.517.714.413.116.6
Tˉiter\bar{T}_{\mathrm{iter}}0.70.60.60.70.72.61.20.90.91.0
TT21.515.014.912.515.234.723.419.218.324.6
BoomerAMGnˉcg\bar{n}_{\mathrm{cg}}6.35.96.04.85.75.24.45.35.76.6
Tˉupdate\bar{T}_{\mathrm{update}}16.810.811.513.912.033.331.416.515.419.7
Tˉiter\bar{T}_{\mathrm{iter}}0.90.70.70.90.82.41.81.21.11.3
TT22.615.015.918.116.645.539.322.721.628.3
GravoMG-GPUnˉV\bar{n}_{V}16.82.73.62.72.62.74.52.34.619.4
Tˉupdate\bar{T}_{\mathrm{update}}12.112.110.911.88.827.724.221.417.416.8
Tˉiter\bar{T}_{\mathrm{iter}}12.211.610.312.72.412.618.719.513.812.5
TT217.743.547.745.815.261.2107.766.180.9258.9
ParaBMGnˉcg\bar{n}_{\mathrm{cg}}4.63.24.23.23.13.03.53.13.14.9
Tˉupdate\bar{T}_{\mathrm{update}}1.10.80.90.91.12.51.81.11.01.3
Tˉiter\bar{T}_{\mathrm{iter}}0.40.40.40.40.41.41.00.70.60.7
TT3.11.92.42.12.46.75.33.12.84.8

Table 9. Detailed solver results, part 2 of 2: IMCF and DSTV, with the same four metric rows per solver and definitions as Table 8. All times are in milliseconds; all values are rounded to one decimal place.

SolverMetricWheelBladeVase LionDuckRocker ArmMurexIsidore HorsePulleyOil PumpRed Circular Box
LDSE
MASnˉcg\bar{n}_{\mathrm{cg}}99.388.9101.8112.190.283.990.690.991.3103.4
MASTˉupdate\bar{T}_{\mathrm{update}}12.318.218.118.920.564.2287.7301.4297.2293.4
MASTˉiter\bar{T}_{\mathrm{iter}}2.13.13.03.13.113.026.228.527.428.6
MASTT219.5293.4321.5371.7295.91155.62657.52891.12799.63247.9
AMGXnˉcg\bar{n}_{\mathrm{cg}}22.921.924.325.022.922.224.323.723.826.3
AMGXTˉupdate\bar{T}_{\mathrm{update}}21.632.234.133.234.6113.2124.3139.4165.8145.2
AMGXTˉiter\bar{T}_{\mathrm{iter}}1.42.12.22.22.311.113.015.715.015.9
AMGXTT52.978.987.488.386.1358.8439.4511.5524.1562.5
BoomerAMGnˉcg\bar{n}_{\mathrm{cg}}10.39.110.310.79.79.510.49.59.910.9
BoomerAMGTˉupdate\bar{T}_{\mathrm{update}}37.455.156.658.457.3185.7203.5229.5228.8250.6
BoomerAMGTˉiter\bar{T}_{\mathrm{iter}}2.03.03.13.13.113.815.819.218.419.3
BoomerAMGTT58.382.588.091.687.4316.6367.8412.7411.3459.8
GravoMG-GPUnˉV\bar{n}_{V}13.28.210.712.99.08.611.37.712.010.5
GravoMG-GPUTˉupdate\bar{T}_{\mathrm{update}}69.2123.3125.4125.8128.7585.8648.0744.0743.4761.3
GravoMG-GPUTˉiter\bar{T}_{\mathrm{iter}}2.75.15.25.25.333.137.243.743.344.4
GravoMG-GPUTT104.3164.9181.0192.5176.6869.51069.21082.11261.31228.9
ParaBMGnˉcg\bar{n}_{\mathrm{cg}}7.16.37.47.66.96.87.36.77.27.5
ParaBMGTˉupdate\bar{T}_{\mathrm{update}}2.64.85.75.64.913.815.016.817.317.6
ParaBMGTˉiter\bar{T}_{\mathrm{iter}}1.01.51.61.61.65.45.96.56.76.7
ParaBMGTT9.514.317.217.715.950.657.860.265.267.9
QHW
MASnˉcg\bar{n}_{\mathrm{cg}}143.4166.8144.4146.6139.8187.6217.0224.7181.7161.6
MASTˉupdate\bar{T}_{\mathrm{update}}12.018.918.218.520.863.5283.2299.4301.0302.4
MASTˉiter\bar{T}_{\mathrm{iter}}2.13.13.03.13.012.926.228.727.428.7
MASTT311.4533.9447.2479.2446.42490.25963.26740.35270.64934.8
AMGXnˉcg\bar{n}_{\mathrm{cg}}27.629.326.828.726.940.944.735.134.033.3
AMGXTˉupdate\bar{T}_{\mathrm{update}}21.032.933.035.242.6113.2123.8138.6138.7143.7
AMGXTˉiter\bar{T}_{\mathrm{iter}}1.42.12.22.22.211.012.915.614.915.8
AMGXTT58.895.591.698.8103.0563.3700.4685.2646.7669.0
BoomerAMGnˉcg\bar{n}_{\mathrm{cg}}12.19.810.211.410.110.313.411.010.710.7
BoomerAMGTˉupdate\bar{T}_{\mathrm{update}}38.556.357.459.257.7233.8260.7290.4312.6333.5
BoomerAMGTˉiter\bar{T}_{\mathrm{iter}}2.13.13.13.23.114.015.719.018.419.4
BoomerAMGTT63.386.489.495.189.6379.0471.1499.7509.8541.6
GravoMG-GPUnˉV\bar{n}_{V}14.49.615.919.211.011.333.79.411.716.1
GravoMG-GPUTˉupdate\bar{T}_{\mathrm{update}}66.6117.2120.2120.3124.9563.8623.5718.3718.3736.2
GravoMG-GPUTˉiter\bar{T}_{\mathrm{iter}}2.65.05.25.25.432.736.843.643.144.3
GravoMG-GPUTT104.6165.1202.6219.8184.9932.71861.51128.31221.31450.4
ParaBMGnˉcg\bar{n}_{\mathrm{cg}}7.66.87.77.87.38.58.78.28.68.4
ParaBMGTˉupdate\bar{T}_{\mathrm{update}}2.64.75.65.64.913.814.916.516.817.3
ParaBMGTˉiter\bar{T}_{\mathrm{iter}}1.01.51.61.61.65.55.86.56.66.7
ParaBMGTT9.915.117.617.916.759.865.570.073.174.0

Table 8. Detailed solver results, part 1 of 2: LDSE and QHW. Each solver reports mean iteration count nˉcg\bar{n}_{\mathrm{cg}} (nˉV\bar{n}_{V} for GravoMG-GPU), mean update time Tˉupdate\bar{T}_{\mathrm{update}}, mean time per iteration Tˉiter\bar{T}_{\mathrm{iter}}, and synthetic cost TT. All times are in milliseconds; all values are rounded to one decimal place. Costs use the same records and statistic as main-paper Table 1, excluding one-time setup and the application pipeline. Pulley/QHW MAS uses the complete 301-matrix, 2,408-RHS replay.

References

  1. [1]William L Briggs, Van Emden Henson, and Steve F McCormick. 2000. A multigrid tutorial. SIAM.
  2. [3]Honglin Chen, Changxi Zheng, and Kevin Wampler. 2023. Local Deformation for Interactive Shape Editing. ACM SIGGRAPH 2023 Conference Proceedings (2023). https://api.semanticscholar.org/CorpusID:259137523arxiv.org/abs/2306.06550
  3. [4]D. Demidov. 2019. AMGCL: An Efficient, Flexible, and Extensible Algebraic Multigrid Implementation. Lobachevski Journal of Mathematics 40, 5 (May 2019), 535–546. doi:10.1134/S1995080219050056DOI
  4. [5]Ana Dodik, Ahmed H. Mahmoud, and Justin Solomon. 2026. Iskra: A System for Inverse Geometry Processing. ACM Transactions on Graphics (TOG) 45 (2026), 1–20. https://api.semanticscholar.org/CorpusID:285540532DOI
  5. [7]Van Henson and Ulrike Yang. 2002. BoomerAMG: A parallel algebraic multigrid solver and preconditioner. Applied Numerical Mathematics 41 (04 2002), 155–177. doi:10.1016/S0168-9274(01)00115-5DOI
  6. [8]Ke-Meng Huang, Floyd Mulenga Chitalu, Huan-Cheng Lin, and Taku Komura. 2023. GIPC: Fast and Stable Gauss-Newton Optimization of IPC Barrier Energy. ACM Transactions on Graphics 43 (2023), 1 – 18. https://api.semanticscholar.org/CorpusID:267028006
  7. [9]Ke-Meng Huang, Xin-Yu Lu, Huan-Cheng Lin, Taku Komura, and Min-Chen Li. 2024. StiffGIPC: Advancing GPU IPC for Stiff Affine-Deformable Simulation. ACM Transactions on Graphics 44 (2024), 1 – 20. https://api.semanticscholar.org/CorpusID:273963632
  8. [10]Dilip Krishnan, Raanan Fattal, and Rick Szeliski. 2013. Efficient Preconditioning of Laplacian Matrices for Computer Graphics. In ACM Transactions on Graphics (Proc. SIGGRAPH 2013), Vol. 32. https://www.microsoft.com/en-us/research/publication/efficient-preconditioning-of-laplacian-matrices-for-computer-graphics/DOI
  9. [11]Hsueh-Ti Derek Liu, Jiayi Eris Zhang, Mirela Ben-Chen, and Alec Jacobson. 2021. Surface multigrid via intrinsic prolongation. ACM Transactions on Graphics (TOG) 40 (2021), 1 – 13. https://api.semanticscholar.org/CorpusID:3234323519
  10. [12]Aleka McAdams, Eftychios Sifakis, and Joseph Teran. 2010. A parallel multigrid Poisson solver for fluids simulation on large grids. In ACM SIGGRAPH/Eurographics Symposium on Computer Animation (SCA), M. Otaduy and Z. Popovic (Eds.). http://graphics.cs.wisc.edu/Papers/2010/MST10
  11. [13]Richard Tran Mills, Mark F. Adams, Satish Balay, Jed Brown, and Alp Dener. 2021. Toward performance-portable PETSc for GPU-based exascale systems. Parallel Comput. 108 (2021), 102831. doi:10.1016/j.parco.2021.102831DOI
  12. [14]M. Naumov, M. Asaev, P. Castonguay, J. Cohen, J. Demouth, J. Eaton, S. Layton, N. Markovskiy, I. Reguly, N. Sakharnykh, V. Sellappan, and R. Strzodka. 2015. AmgX: A Library for GPU Accelerated Algebraic Multigrid and Preconditioned Iterative Methods. SIAM Journal on Scientific Computing 37, 5 (2015), S602–S626. arXiv:https://doi.org/10.1137/140980260 doi:10.1137/140980260
  13. [15]NVIDIA. 2026. cuda. CUDA: A High-Performance CUDA Library for Direct Sparse Solvers. https://docs.nvidia.com/cuda/cusolver/latest/. Accessed October 23, 2026.
  14. [16]Marcel Padilla, Ruben Wiersma, Tim Huisman, Jackson Campolattaro, Olga Sorkine-Hornung, and Klaus Hildebrandt. 2026. GravoTet: A fast multigrid hierarchy construction for tetrahedral meshes.Image 999. Computers & Graphics 138 (2026), 104662. doi:10.1016/j.cag.2026.104662
  15. [17]Olaf Schenk, Klaus Gärtner, Wolfgang Fichtner, and Andreas Stricker. 2001. PARDISO: a high-performance serial and parallel sparse linear solver in semiconductor device simulation. Future Gener. Comput. Syst. 18, 1 (Sept. 2001), 69–78.DOI
  16. [18]Han Shao, Libo Huang, and Dominik L. Michels. 2022. A Fast Unsmooth Aggregation Algebraic Multigrid Framework for the Large-Scale Simulation of Incompressible Flow. ACM Transaction on Graphics 41, 4, Article 49 (07 2022). doi:10.1145/3528223.3530109DOI
  17. [19]Yuchen Sun, Junlin Li, Ruicheng Wang, Sinan Wang, Zhiqi Li, Bart G. van Bloemen Waanders, and Bo Zhu. 2025. Leapfrog Flow Maps for Real-Time Fluid Simulation. ACM Transactions on Graphics (TOG) 44, 4 (2025), 1–12.
  18. [20]Xuan Wang, Zhao-Feng Luo, Min-Chen Li, Taku Komura, and Ke-Meng Huang. 2026b. AGIPC: Adaptive In-Solver Algebraic Coarsening for GPU PCG. Proceedings of the Special Interest Group on Computer Graphics and Interactive Techniques Conference Conference Papers (2026). https://api.semanticscholar.org/CorpusID:28978410
  19. [21]Yu Wang, Minghao Guo, and Justin Solomon. 2023. Variational quasi-harmonic maps for computing diffeomorphisms. ACM Trans. Graph. 42, 4, Article 130 (July 2023), 26 pages. doi:10.1145/3592105
  20. [22]Yu Wang, Minghao Guo, and Justin Solomon. 2026a. Variational quasi-harmonic maps for computing diffeomorphisms. https://github.com/wangyu9/tqhm.
  21. [23]Yu Wang and Justin Solomon. 2021. Fast quasi-harmonic weights for geometric data interpolation. ACM Trans. Graph. 40, 4, Article 73 (July 2021), 15 pages. doi:10.1145/3450626.3459801
  22. [24]Ruben Wiersma, Ahmad Nasikun, Elmar Eisemann, and Klaus Hildebrandt. 2023. A Fast Geometric Multigrid Method for Curved Surfaces. SIGGRAPH 2023 41, 4 (July 2023). doi:10.1145/3588432.3591502DOI
  23. [25]Botao Wu, Zhendong Wang, and Huamin Wang. 2022. A GPU-based multilevel additive schwarz preconditioner for cloth and deformable body simulation. ACM Trans. Graph. 41, 4, Article 63 (July 2022), 14 pages. doi:10.1145/3528223.3530085DOI
  24. [26]Jinchao Xu. 1992. Iterative methods by space decomposition and subspace correction. SIAM Rev. 34, 4 (Dec. 1992), 581–613. doi:10.1137/1034116
  25. [27]Qingnan Zhou and Alec Jacobson. 2016. ThingIn10K: A Dataset of 10,000 3D-Printing Models. arXiv preprint arXiv:1605.04797 (2016).arxiv.org/abs/1605.04797

Paper details

vlnc:W_a9zs3zry
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 9

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents