Manuscript Offprint
arXiv:2610.28246DiffRMST: A GPU-Accelerated Fully Differentiable Rectilinear Minimum Spanning Tree Wirelength Model for Global Placement
Fuxing Huang, Hao Ai, Wenxing Zhu, Xinning Liu, and Ziran Zhu
Abstract—Analytical global placement requires a differentiable wirelength objective that accurately reflects routed interconnect cost. The widely used half-perimeter wirelength (HPWL) is efficient but overlooks the internal topology of multi-pin nets. The rectilinear Steiner minimum tree (RSMT) provides higher fidelity, but its underlying decision problem is NP-complete, and its discrete construction precludes direct use in gradient-based optimization. The rectilinear minimum spanning tree (RMST) offers a polynomial-time alternative, but remains non-differentiable because of minimization over discrete spanning trees. To address these limitations, we present DiffRMST, a fully differentiable RMST wirelength model for analytical global placement. DiffRMST combines spatial smoothing with a log-sum-exp relaxation to define a continuous distribution over spanning trees. Based on the Kirchhoff matrix-tree theorem, the partition function and edge marginals can be computed without explicit tree enumeration, enabling a closed-form topology-aware gradient for placement optimization. For efficient integration into analytical placement, we further develop a fused forward-backward operator with parallel CPU and GPU implementations. On the ISPD2019 benchmark suite, our method reduces RMST, RSMT, and routed wirelength by an average of 5.0%, 3.2%, and 3.5%, respectively, compared with the weighted-average baseline, while maintaining acceptable runtime. Furthermore, the GPU implementation achieves an average 14.7× speedup in global placement over its eight-thread CPU counterpart.
Index Terms—Differentiable wirelength model, global placement, rectilinear minimum spanning tree, GPU acceleration, matrix-tree theorem.
I. INTRODUCTION
As VLSI technology continues to scale, circuit placement has become a decisive stage in the physical design flow. It determines the physical locations of cells and macros and establishes the geometric foundation for routing, clock tree synthesis, timing closure, and subsequent physical optimization. Its quality directly affects the performance, power, and area (PPA) of the final chip, as well as routing congestion and thermal reliability [2]–[8]. Among the objectives considered in global placement, wirelength is particularly important because

(a)
(b)
(c)
Fig. 1. Wirelength estimation models for a net. (a) HPWL model; (b) RMST model; (c) RSMT model.
it is closely related to routing demand, interconnect delay, switching power, and the difficulty of timing and congestion optimization.
Modern analytical global placers typically formulate and solve large-scale nonlinear optimization problems with gradient-based methods, such as Nesterov's accelerated gradient method [2], [5], [9]–[17]. Against this backdrop, the wirelength model is not merely an evaluation metric. Its gradient determines the attractive force applied to cells at every global placement iteration and directly affects the trajectory and convergence of the placer. The wirelength model must therefore be smooth and differentiable with respect to cell coordinates, while remaining sufficiently faithful to the routed interconnect. Because the objective and its gradient are evaluated across all nets at every iteration, their computational cost directly affects the overall placement runtime. A smooth but inaccurate model can efficiently optimize the wrong objective, whereas an accurate but discrete or expensive model is difficult to use directly at each global placement iteration. Thus, balancing modeling accuracy, differentiability, and computational efficiency is essential for developing effective wirelength objectives for analytical global placement.
This work has been submitted to the IEEE for possible publication. Copyright may be transferred without notice, after which this version may no longer be accessible.
Preliminary version of this paper was presented at the 2026 63rd ACM/IEEE Design Automation Conference (DAC), Long Beach, CA, USA, July 2026 [1].
This work was partially supported by the National Natural Science Foundation of China under Grants 62674046 and 92464202. (Corresponding author: Ziran Zhu).
Fuxing Huang, Xinning Liu, and Ziran Zhu are with the School of Integrated Circuits, Southeast University, Nanjing, China (emails: {fxhuang, xinning.liu, zrzhu}@seu.edu.cn).
Hao Ai and Wenxing Zhu are with the Center for Discrete Mathematics and Theoretical Computer Science, Fuzhou University, Fuzhou, China (email: {2600310002, wxzhu}@fzu.edu.cn).
has the highest routing fidelity but is difficult to solve and optimize, and RMST lies between them by retaining an explicit tree structure without the full combinatorial complexity of Steiner-point construction. The following paragraphs review the limitations of existing work along this spectrum.
HPWL has been the most widely used wirelength objective in analytical placement because its bounding-box expression is inexpensive and its nonsmooth maximum and minimum operators admit differentiable approximations. The weighted-average (WA) and log-sum-exp (LSE) models are widely used to smooth HPWL for gradient-based optimization [18]–[20]. Moreau-envelope, -type, and CHKS models further study the approximation error, gradient support, convexity, and numerical behavior of smooth HPWL formulations [21]–[23]. The force-field analysis in [21] shows that conventional dense smoothing can assign unnecessary forces to pins that are internal to the current bounding box, which can oppose density-driven spreading during overlap removal. The Moreau-envelope model can produce sparse gradients and deactivate such internal pins, but it still optimizes the same bounding-box surrogate. For a net with more than two pins, HPWL does not reveal which pins should be connected, where internal branches should pass, or how much wire is required inside the bounding box. Consequently, existing HPWL models improve optimization smoothness but cannot remove the fidelity gap between the placement objective and the actual routed wirelength.
RSMT methods directly construct rectilinear routing trees with Steiner points and are therefore widely used for routing, interconnect planning, and post-placement wirelength or timing estimation. The Hanan-grid property shows that an optimal RSMT can be restricted to a finite set of candidate Steiner locations [24]. However, the RSMT problem is NP-complete [25], and exact optimization is not available in polynomial time unless P equals NP. Approximation schemes such as Arora's PTAS provide strong theoretical guarantees, but their practical complexity is too high for repeated calls in a large-scale placement optimizer [26]. Practical methods therefore rely on specialized heuristics. FLUTE uses lookup tables for small nets and decomposes larger nets into smaller subproblems [27]–[29]. GeoSteiner targets exact solutions for relatively small instances [30]. Recent learning-based methods, including REST and NN-Steiner, accelerate the construction of discrete Steiner trees while preserving the routing objective [31], [32]. These approaches are effective for routing and reference estimation, but their discrete tree selection does not provide a smooth end-to-end gradient with respect to cell coordinates. For example, DREAMPlace 4.0 uses FLUTE-derived trees as an RC-tree reference or for timing-related net weighting, while its placement wirelength objective remains HPWL [33]. Because FLUTE or RSMT construction is much more expensive than evaluating a smooth HPWL surrogate, such tools invoke it periodically rather than at every global placement iteration. Thus, high-fidelity RSMT information remains separated from the continuous optimization trajectory of global placement.
RMST provides an attractive trade-off between the efficiency of HPWL and the fidelity of RSMT. Since its candidate vertices are restricted to the pins of a net, the exact RMST can be obtained in polynomial time. Geometry-based algorithms achieve time, while a direct implementation of Prim's algorithm is often preferred for nets with small degree [34]–[36]. Unlike HPWL, RMST produces an explicit pin-to-pin rectilinear tree and can therefore provide a concrete routing-length estimate for a multi-pin net. Its approximation quality is also controlled by Hwang's theorem, which bounds the RMST length by 1.5 times the optimal RSMT length [37]. Nevertheless, exact RMST remains a discrete combinatorial objective because Manhattan distances contain absolute-value operations and the minimum over feasible spanning trees changes with the pin coordinates. Thus, exact RMST is nondifferentiable despite being polynomial-time solvable. Existing work has not developed a fully differentiable RMST wirelength model for analytical global placement, leaving this HPWL-RSMT trade-off unavailable to the continuous optimizer.
B. Our Contributions
Existing wirelength models leave a gap between routing fidelity and suitability for continuous optimization: HPWL is efficient but overlooks net topology, while RSMT offers higher fidelity but is computationally expensive and discrete. To address this gap, we propose DiffRMST, a fully differentiable RMST wirelength model for analytical global placement. It makes RMST's balance between routing fidelity and computational efficiency available to gradient-based optimization. The main contributions are summarized as follows:
-
To the best of our knowledge, this work is the first to introduce a fully differentiable RMST wirelength objective into analytical global placement, enabling its direct optimization by gradient descent. It captures the internal pin-to-pin connectivity omitted by HPWL without the discrete Steiner-point optimization required by RSMT.
-
We construct the objective through spatial smoothing and an LSE relaxation of the discrete spanning-tree minimum. The Kirchhoff matrix-tree theorem (MTT) [38] evaluates the partition function and edge marginals without tree enumeration, yielding a closed-form topology-aware coordinate gradient. Approximation bounds and gradient regularity analysis support the formulation.
-
We develop a fused forward and backward operator that reuses one marginal solve to compute the forward cost proxy and the relaxed objective's gradient. Dynamic scheduling across nets on the CPU and degree-aware subgroup and block mappings on the GPU exploit parallelism across and within nets, while workspace reuse limits temporary storage.
-
On the ISPD2019 benchmark suite, DiffRMST reduces RMST, RSMT, and routed wirelength by 5.0%, 3.2%, and 3.5% on average, respectively, relative to WA. It achieves these gains with acceptable runtime overhead and an average global-placement speedup of over its eight-thread CPU implementation.
The remainder of this paper is organized as follows. Section II introduces the placement problem and wirelength mod-els. Section III presents the differentiable RMST formulation and its analysis. Section IV reports the experiments, and Section V concludes the paper.
II. PRELIMINARIES
A. Global Placement Optimization
In the physical design flow, the primary objective of global placement is to determine the continuous coordinates of cells across the layout area to minimize the total wirelength, subject to cell density constraints. Analytical placers commonly formulate this as an unconstrained nonlinear optimization problem [2], [10]:
where denotes the set of all nets in the circuit, and represents the estimated wirelength of a specific net based on the current cell locations . The term is a density penalty function that penalizes regions with excessive cell congestion, and is a weighting parameter used to balance the trade-off between wirelength and density. For simplicity in the mathematical model, pin offsets relative to their cell centers are typically ignored, allowing the variables to directly represent the coordinates of the pins.
Because modern analytical placement frameworks heavily rely on gradient-based optimization techniques, the objective function must be mathematically smooth. Consequently, any wirelength estimation model integrated into this framework must be continuously differentiable with respect to the cell coordinates to effectively compute gradients during the optimization process.
B. Wirelength Estimation Models
In the objective function of global placement, the wirelength can be evaluated using different mathematical models. For a given net , let denote its pin set, with , and let denote the position of pin .
- Half-Perimeter Wirelength (HPWL): HPWL is the most widely used wirelength estimation model [22], which computes the half-perimeter of the bounding box enclosing all pins in :
Because the max and min operators are non-differentiable, smooth approximations such as the Weighted-Average (WA) [20] or Log-Sum-Exp (LSE) [18] functions are commonly adopted in analytical placers to evaluate HPWL.
- Rectilinear Steiner Tree (RST): To accurately represent the actual routing topology, RST constructs a routing tree that connects all pins in along with a set of optionally inserted Steiner points , to achieve the minimum possible routing length. The exact RST wirelength is formulated as:
where represents the set of edges in the routing tree , and is the Manhattan distance between nodes and . However, finding the minimum RST is a well-known NP-hard problem [25].
- Rectilinear Minimum Spanning Tree (RMST): RMST restricts the tree nodes strictly to the given pin set without allowing any Steiner points. Let denote the set of all feasible spanning trees that connect all pins in net . The exact RMST wirelength is defined as the following combinatorial optimization problem:
According to Hwang's theorem, the length of an RMST is at most 1.5 times the optimal RST length [37]. However, the exact RMST formulation in Equation (4) is inherently non-differentiable due to two mathematical barriers: the absolute value function in the Manhattan distance , and the discrete combinatorial min operator over the spanning tree set .
C. Mathematical Foundations for Smooth Approximation
As discussed in the previous section, the exact RMST formulation is non-differentiable. To seamlessly integrate RMST into a gradient-based placement framework, smooth approximation techniques and graph theory foundations are required.
- Log-Sum-Exp Function: The Log-Sum-Exp (LSE) function is a widely used smooth mathematical approximation for the extreme value functions (max or min). Given real variables , the LSE function for smooth minimum approximation is defined as [39]:
where is a strictly positive smoothing parameter. The LSE function is continuously differentiable with respect to each . Furthermore, it provides a lower bound for the minimum function and uniformly converges to the exact minimum as :
- Graph Laplacian Matrix: To mathematically model the routing topology of a net , we represent it as a complete undirected weighted graph , where contains all unordered pairs of distinct pins in . Let denote a symmetric matrix of nonnegative edge affinities with .
The structural and algebraic properties of can be characterized by its Laplacian matrix. The degree matrix and weighted Laplacian are defined as
Here, Diag forms a diagonal matrix from a vector, and 1 is the all-ones column vector. The degree matrix is distinct from the scalar density penalty . By definition, the sum of each row and each column in equals zero. The Laplacian matrix formulation is the algebraic foundation for evaluating the sum of products of edge affinities over all spanning trees [40], which will be utilized in our differentiable RMST model.
Graph Construction
Algebraic Evaluation via the Matrix-Tree Theorem

Fig. 2. Overview of the proposed DiffRMST wirelength model.
III. PROPOSED DIFFRMST MODEL
Figure 2 summarizes the computation of DiffRMST from pin coordinates to global placement updates. Starting from each net's pin coordinates, we construct a complete graph with smoothed edge weights and convert them into edge affinities under the LSE relaxation. We then form the graph Laplacian and its minor . Using the weighted matrix-tree theorem, the zero-padded inverse and the edge affinities yield the edge marginal probabilities without enumerating trees. The fused forward and backward computation combines these probabilities with the edge weights to evaluate the expected wirelength as a forward cost proxy, and with the spatial derivatives of the edge weights to obtain coordinate gradients of the relaxed RMST objective. These gradients guide gradient descent updates of the cell coordinates at each global placement iteration. The following subsections develop each component of this formulation and derive the corresponding coordinate gradients.
A. Smooth Approximation and Continuous Relaxation of RMST
The exact RMST objective in Equation (4) contains two distinct sources of nondifferentiability. The first arises from the Manhattan edge length, whose absolute-value terms are nondifferentiable when two pins have identical x- or y-coordinates. The second arises from the discrete minimization over spanning trees, since the optimal tree topology can change abruptly as the pin coordinates vary. We address these two sources separately. Spatial smoothing is first applied to obtain differentiable edge lengths, after which a continuous relaxation is introduced over the set of spanning trees to replace the discrete minimum. The parameters and control edge-length smoothing and tree-topology relaxation, respectively.
- Complete Graph with Smoothed Edge Weights: The complete graph defined in Section II-C2 contains every candidate connection between the pins of net . No tree is selected at this stage. Instead, we assign a smooth geometric length to each pair of pins, preserving the common set of candidate edges throughout coordinate optimization. For a scalar displacement , the spatial smoothing function is
where . This function is even and nonnegative, and it satisfies . Around zero, the hyperbolic tangent removes the corner of the absolute value function, providing a continuous derivative when pin coordinates coincide. For a fixed nonzero displacement, approaches the sign of as .
Applying the same smoothing independently to the two coordinate directions gives
The corresponding edge weight matrix is
Because is even, reversing an edge does not change its length, and is symmetric. Moreover, because the coordinate displacement of a pin from itself is zero. The matrix collects the geometric information needed by the subsequent topological computation, while Equation (9) retains the explicit coordinate dependence required for the backward pass.
- Differentiable Surrogate via LSE: Each spanning tree contains exactly edges, and its smoothed length is the sum of the corresponding entries of . Minimizing this sum over would still select a discrete tree and could introduce a change in gradient when the minimizing topology switches. Applying the smooth minimum in Equation (5) gives the relaxed wirelength objective
Here, the inner sum evaluates one candidate tree, and the outer sum aggregates all candidate topologies. The parameter controls the concentration of this weighting. A smaller concentrates the contribution on shorter trees, whereas a larger allows a wider range of topologies to influence the objective and its gradient.
For fixed , the LSE convergence property discussed in Section II implies convergence to as . The remaining difference from the exact RMST then comes from the spatial approximation in Equation (9). Although Equation (11) provides the desired differentiability, it is not yet a practical evaluation rule. A complete graph with vertices has spanning trees, so computing its terms individually would introduce an exponential bottleneck. We next evaluate this sum algebraically using the weighted matrix-tree theorem.
B. Algebraic Evaluation via Matrix-Tree Theorem
The summation inside the logarithm in Equation (11) is a positive scalar partition function:
The weighted matrix-tree theorem evaluates this sum using matrices whose dimensions depend only on the number of pins. To apply it, the geometric edge lengths must first be converted into affinities whose products reproduce the exponential tree weights.
Because the edge weight matrix has a zero diagonal, this conversion has the compact form
where denotes the element-wise exponential operator and is the identity matrix. Each off-diagonal affinity is , so smaller geometric lengths correspond to stronger affinities. The degree matrix and Laplacian then follow from Equation (7). Since all candidate connections have positive affinity, the weighted graph is connected in exact arithmetic.
Theorem 1 (Weighted Matrix-Tree Theorem): Let denote the principal submatrix obtained by deleting the -th row and column of . For the connected weighted graph , the determinant of this minor equals the sum, over spanning trees, of the products of their edge affinities [40]:
For each tree, substituting the affinities from Equation (13) gives
(15)
The final expression is precisely the contribution of that tree to . The theorem therefore computes the original partition function, rather than a separate approximation to it. This representation replaces tree enumeration with a factorization of the minor [38]. In particular, , and the relaxed wirelength becomes
C. Analytical Gradient and Marginal Probability
The wirelength objective in Equation (16) depends on pin coordinates through the smoothed edge lengths. Moving pin i changes only its incident edges. Therefore, by the chain rule, the coordinate gradient can be expressed as the sum of the sensitivity of the objective to each incident edge weight multiplied by the corresponding spatial derivative:
For the first factor, we treat as one undirected edge length. A tree's length has derivative 1 with respect to if it contains , and 0 otherwise. Differentiating the LSE objective therefore gives
(18)
The numerator includes only trees containing , so this ratio is the edge's marginal probability under the normalized exponential weights. Denoting this probability by gives
Edges occurring frequently in shorter trees consequently have a greater influence on the gradient. Since and are the same edge, the marginal probability matrix is symmetric:
As with , the net index is implicit in the scalar entries. Each , and because every spanning tree contains exactly edges.
To evaluate these probabilities, we differentiate the weighted matrix-tree identity in Equation (14). The symmetric entries represent one undirected affinity and vary together. Differentiation with respect to this affinity selects trees containing , and multiplication by restores their weights. Thus,
The last equality follows from Jacobi's formula, where denotes the matrix trace. To expand this trace uniformly for all pin pairs, we choose and pad the inverse minor with a zero row and column corresponding to the removed pin:
Let and denote the corresponding matrix entries. The undirected affinity contributes to both endpoint degrees and both off-diagonal entries, giving and , with all other derivatives zero. Expanding the trace in Equation (21) therefore gives
The final equality uses the symmetry of . Zero padding makes the expression valid also for edges incident to the removed pin , for which . The resulting edge probabilities are independent of the choice of .
Collecting these coefficients gives a matrix evaluation of Equation (20):
where is the column vector of diagonal entries and denotes the Hadamard product. The two outer products repeat the diagonal entries across rows and columns, respectively, producing a symmetric matrix with a zero diagonal.
Each entry supplies the edge sensitivity in Equation (17). The remaining factor is the spatial derivative, obtained from the smoothed edge length in Equation (9):
Substituting these spatial derivatives and the edge marginal into Equation (17) yields
for every . Because each edge length depends on coordinate differences, it contributes equal and opposite gradients at its endpoints. A single inverse minor supplies all coefficients in , after which these gradients require only an accumulation over incident edges. The next subsection reuses to obtain the forward output within the same computation.
D. Fused Forward and Backward Operator Implementation
Although the differentiable formulation enables gradient-based optimization, its repeated evaluation over a large number of nets can introduce substantial computational overhead in the global placement iteration. Thus, we fuse the wirelength forward value and the required spatial derivatives within each net's RMST evaluation. The CPU uses dynamic scheduling across nets. CUDA selects a single thread, a subgroup within a warp, or a thread block according to net degree. Small multipin nets use register-resident matrices and shuffles, while larger nets use shared memory, warp-owned rows, and consecutive-column accesses, with large workspaces reused across batches. Finally, the existing density overflow controls and the degree-dependent , maintaining smoothness early in placement and sharpening the edge distribution as density feasibility improves.
- Forward Cost Proxy: Linearity of expectation gives the forward cost proxy from the edge marginals:
Here, is the Frobenius inner product. The factor 1/2 accounts for the two symmetric entries per undirected edge, so each unordered pair contributes once. The proxy is related to the LSE objective in Equation (16) by
(28)
where is the entropy of the normalized tree distribution. Corollary 1 in Section III-E proves this relation and bounds
Algorithm 1 CPU Scheduling and Per-Net Computation
Input: Nets E, coordinates x, y, parameters
Output:
1: function TWOPIN(e, x, y, )
2:
3:
4: return
5: end function
6: function MULTIPIN(e, x, y, , )
7:
8:
9:
10:
11: for all do
12:
13:
14:
15: end for
16: return
17: end function
18: function CPUFORWARDBACKWARD(E, x, y, )
19: for all nets and pins
20: for all nets e in parallel do
21: if then
22:
23: else if then
24:
25: end if
26: end for
27: return
28: end function
the proxy’s error relative to exact RMST. Optimization uses the LSE derivatives in Equation (26), so replacing the reported forward value introduces no gradient approximation.
Equation (27) requires only a multiplication and an accumulation per edge during the existing gradient traversal. It avoids the separate determinant and logarithm evaluation for the scalar cost. The marginal solve is shared by both outputs and is not repeated in backward.
- CPU Implementation: Algorithm 1 gives the TWOPIN and MULTIPIN routines followed by their parallel CPU driver. Here, denotes the forward cost proxy, and is the LSE spatial gradient of pin in Equation (26). The per-net parameters are specified after the complexity analysis, with their net indices omitted inside each per-net routine.
TWOPIN evaluates one edge and its opposite endpoint derivatives without matrix operations. MULTIPIN evaluates the edge lengths and their spatial derivatives together, obtains once, and accumulates both outputs over . The common KRONMARGINALS routine takes as input and returns the symmetric according to Equation (24). Successive Kron elimination applies Schur complements to the Laplacian [41], and reverse reconstruction supplies the inverse information required by the edge marginals.
Dynamic scheduling assigns the next available net to each CPU worker, balancing the matrix workload across net degrees. Each worker reuses its private matrix storage. Distinct nets have disjoint pin sets, so their coordinate derivatives can be written independently.
Algorithm 2 GPU Computation for Small and Big Nets
Input: Bucket B, coordinates x, y, parameters
Output:
1: function SMALLNET(B, x, y, , s)
2: for all in parallel do one s-lane subgroup
3:
4:
5: register row
6: shuffles
7:
8:
9: lane 0 writes
10: end for
11: end function
12: function BIGNET(B, x, y, , storage)
13: for all in parallel do one 128-thread block
14:
15: for all owned pairs in parallel do
16:
17:
18: end for
19: SYNCBLOCK
20: block sync
21: for all warp-owned rows i in parallel do
22:
23: end for
24:
25: end for
26: end function
- GPU Implementation: The GPU reuses TWOPIN with one thread per net. For , SMALLNET and BIGNET in Algorithm 2 map MULTIPIN to subgroups and thread blocks, respectively. Both evaluate Equations (26) and (27) by rows, with denoting the cost contribution from pairs with . Each pin's derivatives are accumulated by one lane or warp and written once, avoiding concurrent endpoint updates.
The GPU recomputes , , and the spatial derivatives during the fused output traversal. Thus, one matrix workspace successively holds affinities, elimination coefficients, and reconstructed inverse information, without separate dense arrays for edge derivatives and probabilities.
For a degree bucket B containing nets with , SMALLNET assigns one net to a subgroup of width
Each valid lane owns one pin and one matrix row in registers. Unrolled row operations and subgroup shuffles provide the coordinate and elimination-data exchanges. A subgroup reduction combines the partial costs into . Multiple nets share a warp when . Padding lanes participate in collectives with neutral contributions, while only valid lanes evaluate pin rows and write outputs.
For , BIGNET assigns one 128-thread block per net. Warps own rows, and consecutive lanes access consecutive columns. The upper triangle represents the symmetric with a zero diagonal. The cubic elimination sweep updates only , avoiding transposed shared-memory stores and index division during elimination. Reverse reconstruction restores symmetric entries before use. Warp reductions produce the coordinate derivatives, followed by a block reduction for .
Algorithm 3 GPU Scheduling over Degree Buckets
Input: Degree buckets of E, coordinates x, y, Output:
1: function GPUFORWARDBACKWARD(E, x, y, ) 2: , for all nets and pins 3: for each degree bucket B sequentially do 4: if then 5: LAUNCH(TWOPIN, B, x, y, ) 6: else if then 7: s Equation (29) 8: LAUNCH(SMALLNET, B, x, y, , s) 9: else 10: storage shared if it fits, else global 11: LAUNCH(BIGNET, B, x, y, , storage) 12: end if 13: end for 14: return 15: end function
Matrix storage and the auxiliary arrays reside in shared memory when they fit and otherwise use reusable global-memory batches.
Nets with are partitioned into degree buckets, each confined to one kernel range. Algorithm 3 dispatches these buckets sequentially on the current CUDA stream. Each iteration first selects the kernel and its execution configuration, then launches that kernel once with the bucket's coordinates and parameters. The TWOPIN launch applies the per-net routine in Algorithm 1 to each net using one thread. The final scalar reduction and the subsequent backward operations execute on the same stream.
- Complexity Analysis: For an n-pin net, Kron elimination and reverse reconstruction require operations. Edge evaluation and fused accumulation need work and temporary storage. The two-pin path requires constant work and storage.
The total work of fused evaluation ( ) and backward ( ) is
With q CPU workers, dynamic task assignment gives the ideal execution-time bound
excluding scheduling overhead. The second term accounts for the longest indivisible net computation. On the GPU, subgroup and block cooperation parallelize the row and column operations within each stage, while successive elimination and reconstruction stages remain dependent. Bucket execution times add because dispatch is sequential, with one launch per bucket.
Forward retains coordinate derivatives, which backward scales by the upstream gradient and weights without matrix operations. CPU temporary storage is , while the GPU workspace is sized for the largest batch. Fusion avoids repeated marginal evaluation without changing the cubic arithmetic complexity.
- Adaptive Parameter Update: We adapt the net-specific smoothing parameters to density overflow and net degree. Let denote the overflow after global placement iteration and the density stopping threshold. We set and , and initialize and . The corresponding initial parameters of an -pin net are and . Subsequent iterations use
where and clip( , 0, 1) truncates its argument to [0, 1]. The update of follows the DREAMPlace implementation [42]. The parameter follows the temperature convention . Large overflow increases both spatial and topological smoothing. As overflow approaches , the temperatures decrease and the edge distribution becomes more concentrated. An increase in overflow can restore smoothing. The resulting and remain fixed throughout each fused evaluation and its backward operation.
E. Theoretical Properties
Following the formulation and implementation, we analyze the theoretical properties relevant to placement optimization. We next analyze the approximation error, invariance properties, and gradient regularity of Equation (11). Throughout this subsection, and the per-net parameters are held fixed, as in each fused evaluation. The forward expectation in Equation (27) is analyzed separately from the LSE objective whose gradient drives optimization.
Theorem 2 (Bounded Approximation Error): For every pin configuration, the relaxed objective satisfies
(33)
where .
Proof: The evenness of and the definition of C give
Thus . Every spanning tree contains edges, so its smoothed length underestimates its Manhattan length by at most . Taking the minimum over the same set of spanning trees preserves the additive error bound. The LSE relaxation contributes the additional error
(35)
Adding the spatial and topological bounds proves Equation (33).
Corollary 1 (Forward Proxy Error): The expected wire-length returned by the fused operator satisfies the entropy relation in Equation (28) and the error bound
(36)
Proof: Taking the expected negative logarithm of the normalized tree probability gives . Substituting and using the entropy bounds [39] proves Equation (28).
The expectation is at least the minimum smoothed tree length, which is at least by the preceding proof. For the upper bound, Equation (28) and Theorem 2 give . Both outputs therefore converge uniformly to the exact RMST wirelength as for fixed . At finite temperatures, the LSE objective is a lower bound, whereas the forward proxy can lie on either side of the exact wirelength. For a two-pin net, the topological error vanishes because there is only one spanning tree.
Theorem 3 (Spatial Translation Invariance): For any translation , set and . Then
(37)
The forward proxy is also invariant, with .
Proof: Translation preserves all coordinate differences, hence and the normalized weights of all trees are unchanged. This preserves the LSE objective and every edge marginal. Equation (25) also depends only on coordinate differences, so Equation (26) gives . The proxy equality follows from Equation (27).
Corollary 2 (Zero-Sum Gradient): The net's wirelength gradients satisfy
Proof: Each unordered edge contributes at pin i and its negative at pin j. Summing over all pins cancels these contributions pairwise.
Theorem 4 (Permutation Invariance and Gradient Equivariance): For any permutation , relabel the pins by . Then
(39)
The forward proxy is invariant, with .
Proof: Relabeling preserves edge lengths through and induces a bijection on . Corresponding trees have identical lengths and normalized weights, preserving the partition function and permuting the edge marginals. The spatial derivatives transform under the same relabeling, so Equation (26) gives the stated gradient equivariance. Summing each unordered edge once in Equation (27) preserves the forward proxy.
Theorem 5 (Globally Lipschitz Continuous Gradient): Let . The LSE objective is infinitely differentiable, and its coordinate gradient is globally L-Lipschitz continuous with
In particular, for any ,
(41)
Proof: Smoothness follows from Equation (11), a finite sum of positive smooth terms inside the logarithm. Differentiating gives the uniform bounds
Indeed, with . The maximum of is the positive root of , which is less than , and .
Index each unordered edge once, using . Let have rows , and let be the covariance matrix of the indicators of under the tree distribution in Equation (18). Differentiating the normalized exponential weights yields
The minus sign follows from the smooth minimum convention. To bound the covariance, let have entries +1 at i, -1 at j, and zero elsewhere. Since , differentiating Equation (23) gives, for distinct unordered edges and ,
(44)
These signs express the pairwise negative correlation of weighted spanning-tree edges [43]. Since every tree contains edges, . Its absolute row sums therefore satisfy
For any , the complete-graph identity , together with Equation (42), gives
The second inequality also uses and the absence of mixed derivatives between and in each edge length. Applying these bounds to Equation (43) yields . Integrating the Hessian along the segment from to proves Equation (41).
The Lipschitz continuity of the gradient bounds its variation with respect to the pin coordinates, providing a regular and well-behaved optimization landscape for gradient-based placement. This property supports stable first-order optimization of the proposed differentiable RMST objective.
TABLE I ISPD2019 BENCHMARK STATISTICS AND NET-DEGREE DISTRIBUTIONS*.
| Benchmark | Netlist statistics | Net-degree distribution (% of nets) | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| #Movable | #Fixed | #Nets | #Pins | 0–1 | 2 | 3 | 4 | 5–8 | 9–16 | 17–32 | 33–64 | 65–99 | ≥ 100 | |
| ispd_test1 | 8,879 | 0 | 3,153 | 17,203 | 0.03 | 61.85 | 3.30 | 21.31 | 3.81 | 1.59 | 2.22 | 5.80 | 0.10 | 0.00 |
| ispd_test2 | 72,090 | 4 | 72,410 | 318,245 | 0.17 | 57.07 | 5.44 | 26.68 | 5.14 | 1.76 | 0.76 | 2.75 | 0.22 | < 0.01 |
| ispd_test3 | 8,208 | 75 | 8,953 | 30,271 | 3.52 | 57.33 | 18.76 | 7.08 | 7.80 | 3.72 | 1.31 | 0.41 | 0.06 | 0.01 |
| ispd_test4 | 146,435 | 7 | 151,612 | 436,707 | 0.00 | 49.76 | 31.32 | 12.56 | 5.21 | 1.00 | 0.16 | < 0.01 | 0.00 | < 0.01 |
| ispd_test5 | 28,914 | 8 | 29,416 | 80,757 | 0.00 | 80.37 | 5.88 | 7.18 | 3.38 | 2.18 | 0.89 | 0.10 | 0.01 | 0.00 |
| ispd_test6 | 179,865 | 16 | 179,863 | 793,289 | 0.09 | 57.25 | 5.35 | 26.96 | 4.56 | 2.04 | 0.77 | 2.77 | 0.21 | < 0.01 |
| ispd_test7 | 359,730 | 16 | 358,720 | 1,584,844 | 0.04 | 57.27 | 5.29 | 27.01 | 4.55 | 2.07 | 0.77 | 2.78 | 0.21 | < 0.01 |
| ispd_test8 | 539,595 | 16 | 537,577 | 2,376,399 | 0.03 | 57.28 | 5.26 | 27.03 | 4.54 | 2.08 | 0.77 | 2.78 | 0.21 | < 0.01 |
| ispd_test9 | 899,325 | 16 | 895,252 | 3,957,481 | 0.02 | 57.28 | 5.25 | 27.05 | 4.64 | 2.00 | 0.77 | 2.78 | 0.22 | < 0.01 |
| ispd_test10 | 899,325 | 79 | 895,253 | 3,957,499 | 0.02 | 57.28 | 5.25 | 27.05 | 4.64 | 2.00 | 0.77 | 2.78 | 0.22 | < 0.01 |
*Instance counts exclude fillers. Fixed instances exclude stand-alone I/O terminals. Net and pin counts describe the complete input netlist. Net degree is the number of pins per net. Percentages are relative to all nets in each input netlist. < 0.01 denotes a nonzero percentage below 0.01%.
IV. EXPERIMENTAL RESULTS
This section evaluates the practical benefits of DiffRMST in terms of wirelength quality and computational efficiency. We compare its legalized placements and global routing results with those of the LSE and WA baselines to assess improvements in tree and routed wirelength. We then analyze wirelength changes across net degrees to examine how the benefits vary with net connectivity, and compare CPU and GPU execution to evaluate placement acceleration and complete placement time. DiffRMST is implemented within DREAMPlace [42] using C++/OpenMP for the CPU operator and CUDA for the GPU operator, with both integrated into the PyTorch placement framework. All experiments run on a server equipped with an AMD EPYC 7763 processor and an NVIDIA GeForce RTX 4090 GPU. The implementation is compiled in Release mode, and placement uses FP32. CPU operators use eight threads.
A. Experimental Setup
- Benchmarks: We evaluate DiffRMST on the ISPD2019 benchmark suite [44], which includes designs with 8,208 to 899,325 movable instances and up to approximately 3.96 million pins. Table I summarizes the movable and fixed instance counts, net and pin counts, and net-degree distributions of the benchmark netlists.
Table I shows that two-pin nets account for 49.76% to 80.37% of all nets across the benchmark netlists. The proportion of larger nets varies substantially: nets with 33–99 pins account for approximately 5.90% of the nets in ispd_test1 but less than 0.01% of those in ispd_test4. These differences allow us to evaluate the model and its parallel implementation across circuits with different sizes and connectivity patterns.
-
Baselines: We compare DiffRMST with DREAMPlace's native LSE [18] and WA [20] wirelength models. The tables use the labels LSE-DREAMPlace, WA-DREAMPlace, and DiffRMST-DREAMPlace. All methods share the same benchmark configuration, initialization, and stopping criteria, with DREAMPlace's default settings for the remaining placement parameters. The baselines use their merged forward and backward operators, and DiffRMST uses the adaptive parameters in Section III-D. The main quality comparison evaluates the GPU implementations, while the efficiency comparison reports DiffRMST's CPU and GPU results and compares the GP speedups of all three models.
-
Evaluation Metrics: HPWL, RMST, and RSMT are evaluated on the final legalized DEF using the same nets with and unit net weights. We compute exact RMST using Manhattan Prim and exact RSMT using GeoSteiner [30]. CUGR2.0 [45] evaluates routed wirelength (RWL) on the same layouts. RWL uses the router's access points and paths, whereas the geometric metrics use pin centers.
For runtime (RT), GP measures the time spent in global placement iterations, while Total includes input reading, initialization, global placement, legalization, and DEF output. Offline evaluation and routing are excluded. The RT column in Table II reports Total. GP speedup is measured relative to each model's CPU implementation. Table ratios and overall percentage improvements use DiffRMST as the reference, while individual examples and heatmap percentages use the compared baseline. Summary results are averaged across the benchmarks.
B. Overall Comparison with Baseline Methods
Table II compares the three GPU implementations in terms of HPWL, RMST, RSMT, RWL, and complete placement runtime. Relative to LSE and WA, DiffRMST reduces RMST by 4.9% and 5.0% on average, respectively. The corresponding reductions in exact RSMT are 2.9% and 3.2%. Both tree metrics improve on nine of ten circuits against LSE and on all ten against WA. The agreement between RMST and RSMT shows that the benefit extends from the optimized tree objective to the independently evaluated Steiner-tree reference.
The improvement also carries over to global routing. DiffRMST reduces RWL by 3.2% and 3.5% on average relative to LSE and WA, respectively, with shorter RWL on eight and nine circuits. Considering the metrics jointly,
https://github.com/limbo018/DREAMPlace
TABLE II WIRELENGTH AND COMPLETE PLACEMENT RUNTIME OF THE GPU IMPLEMENTATIONS ON ISPD2019. BEST AND SECOND-BEST RESULTS ARE SHOWN IN BOLD AND BROWN, RESPECTIVELY*.
| Benchmark | LSE-DREAMPlace | WA-DREAMPlace | DiffRMST-DREAMPlace | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| HPWL | RMST | RSMT | RWL | RT | HPWL | RMST | RSMT | RWL | RT | HPWL | RMST | RSMT | RWL | RT | |
| ispd_test1 | 0.41 | 0.63 | 0.59 | 0.58 | 2.83 | 0.41 | 0.63 | 0.59 | 0.59 | 3.06 | 0.47 | 0.57 | 0.55 | 0.54 | 3.19 |
| ispd_test2 | 17.68 | 22.38 | 21.23 | 21.00 | 6.15 | 17.69 | 22.36 | 21.26 | 21.07 | 5.71 | 18.57 | 21.21 | 20.54 | 20.27 | 6.63 |
| ispd_test3 | 0.74 | 0.90 | 0.86 | 0.84 | 3.01 | 0.76 | 0.92 | 0.87 | 0.85 | 2.99 | 0.79 | 0.89 | 0.85 | 0.83 | 3.08 |
| ispd_test4 | 17.17 | 17.91 | 17.63 | 24.37 | 9.10 | 17.22 | 17.96 | 17.70 | 24.60 | 8.82 | 17.47 | 17.72 | 17.61 | 24.63 | 10.32 |
| ispd_test5 | 3.25 | 3.55 | 3.45 | 3.97 | 15.27 | 3.34 | 3.67 | 3.57 | 4.06 | 15.76 | 3.42 | 3.57 | 3.52 | 4.01 | 15.50 |
| ispd_test6 | 45.33 | 56.88 | 54.01 | 53.67 | 9.95 | 45.11 | 56.62 | 53.90 | 53.58 | 10.31 | 47.41 | 54.07 | 52.40 | 51.92 | 11.44 |
| ispd_test7 | 92.48 | 116.25 | 110.30 | 109.53 | 18.22 | 89.46 | 112.90 | 107.23 | 106.42 | 17.04 | 95.22 | 108.97 | 105.41 | 104.36 | 19.05 |
| ispd_test8 | 134.75 | 170.53 | 161.58 | 160.10 | 27.24 | 135.55 | 171.16 | 162.54 | 161.28 | 26.28 | 140.84 | 161.35 | 155.99 | 154.10 | 27.63 |
| ispd_test9 | 213.26 | 273.11 | 257.40 | 253.95 | 41.62 | 211.12 | 269.28 | 254.63 | 251.41 | 39.29 | 220.72 | 256.44 | 246.60 | 242.65 | 44.93 |
| ispd_test10 | 213.06 | 272.35 | 257.35 | 254.91 | 40.74 | 213.16 | 271.64 | 257.40 | 255.11 | 41.73 | 221.58 | 255.77 | 246.76 | 243.92 | 45.81 |
| Ratio | 0.951 | 1.049 | 1.029 | 1.032 | 0.928 | 0.953 | 1.050 | 1.032 | 1.035 | 0.919 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 |
*Wirelength (10 m), RT (s). Ratio reports average ratios relative to DiffRMST-DREAMPlace. For each metric, lower values are better. Rankings use unrounded values.
DiffRMST achieves lower RMST, RSMT, and RWL than both baselines on eight of the ten benchmarks.
These gains persist on the four largest netlists, ispd_test7 through ispd_test10, where all three metrics improve against both baselines. On ispd_test10, RMST decreases by 6.09% relative to LSE and 5.85% relative to WA. The corresponding RSMT reductions are 4.11% and 4.13%, while RWL decreases by 4.31% and 4.39%.
HPWL exhibits the opposite trend: DiffRMST has larger HPWL on every benchmark against both baselines, with average increases of 4.9% and 4.7% relative to LSE and WA, respectively. This tradeoff is expected because DiffRMST optimizes a topology-aware tree objective rather than the bounding-box surrogate measured by HPWL, allowing higher HPWL while reducing tree-based and routed wirelength.
The wirelength improvements are achieved with acceptable runtime overhead. On ispd_test10, DiffRMST completes placement in 45.81 s, compared with 40.74 s for LSE and 41.73 s for WA, while achieving the RMST, RSMT, and RWL reductions reported above.
C. Wirelength Comparison Analysis across Net Degrees
Figure 3(a) compares wirelength within individual net-degree groups. The upper curves show average baseline-to-DiffRMST wirelength ratios for the GPU implementations, with values above one favoring DiffRMST. The lower heatmap reports per-circuit RSMT changes within each group relative to WA, where negative values indicate shorter wirelength. All statistics cover the evaluated 2–99-pin nets. Each degree group includes all ten circuits except 65–99, which excludes the empty group in ispd_test4.
Both RMST and RSMT ratios exceed one against LSE and WA for every group with at least five pins, and the advantage becomes more pronounced above eight pins. For example, the WA-to-DiffRMST ratios for 17–32-pin nets reach 1.221 for RMST and 1.182 for RSMT. The heatmap confirms that RSMT decreases relative to WA on every circuit in the 9–16-pin and 17–32-pin groups, with more variation in the largest groups. In contrast, the average RSMT ratios for two-, three-, and four-pin nets fall below one against both baselines.
The heatmap also shows how the changes in smaller and larger nets combine. On ispd_test6 through ispd_test10, RSMT increases in every 2–4-pin group and decreases in every group with at least five pins, while the All column remains negative. For these circuits, the savings in larger nets therefore outweigh the losses in smaller nets, despite the latter's predominance in net count in Table I.
The variation across benchmarks also relates to their net-degree distributions in Table I. In ispd_test1, nets with 33–99 pins account for approximately 5.90% of all nets in the input netlist. The heatmap shows RSMT reductions of 19.0% and 22.2% in the 33–64-pin and 65–99-pin groups, respectively, alongside a total reduction of 7.7%. In comparison, ispd_test4 has a negligible proportion of nets in this degree range and a total reduction of 0.5%. This contrast is consistent with greater scope for aggregate savings when high-degree nets are more prevalent, although their counts alone do not determine their contributions to total wirelength.
Longer low-degree nets in the final placement do not, by themselves, establish an intrinsic disadvantage of the proposed model on those nets. Equation (1) couples all net costs and density through shared cell coordinates. Moving a cell to shorten a larger net can lengthen its other incident nets, while density constraints limit compensating movements. The observed degree pattern is therefore consistent with improvements in larger nets consuming some of the placement freedom available to smaller nets. In particular, exact RMST, RSMT, and HPWL coincide for a two-pin net, and Equation (11) reduces to its single smoothed edge length without topological relaxation error.
The selected 26-pin net net25438 in ispd_test2 illustrates the benefit of modeling internal connections. Figures 3(b) and (c) compare the same net in the WA and DiffRMST placements. Colored cells and pins identify the selected net against gray neighboring cells. Although HPWL increases from 52.192 to 68.281 m, RMST decreases from

| ispd_test1 | +14.8 | -6.6 | +15.3 | +18.0 | -2.6 | -22.1 | -19.0 | -22.2 | -7.7 |
|---|---|---|---|---|---|---|---|---|---|
| ispd_test2 | +11.8 | +1.1 | +6.3 | +7.4 | -27.3 | -17.2 | -17.4 | -20.2 | -3.4 |
| ispd_test3 | +13.5 | +1.6 | -1.7 | -4.8 | -9.5 | -20.9 | -12.6 | +9.1 | -2.1 |
| ispd_test4 | +8.4 | -3.6 | +5.8 | -6.6 | -9.3 | -5.8 | +12.3 | — | -0.5 |
| ispd_test5 | +5.1 | +6.9 | +7.5 | -12.2 | -6.1 | -11.3 | -12.4 | -19.3 | -1.5 |
| ispd_test6 | +8.6 | +3.3 | +5.8 | -1.1 | -9.9 | -14.2 | -14.4 | -15.4 | -2.8 |
| ispd_test7 | +12.8 | +4.9 | +7.1 | -2.3 | -7.7 | -15.3 | -14.2 | -14.5 | -1.7 |
| ispd_test8 | +8.3 | +9.3 | +3.5 | -4.7 | -7.8 | -15.5 | -14.7 | -15.0 | -4.0 |
| ispd_test9 | +6.4 | +6.6 | +4.9 | -2.9 | -6.1 | -13.7 | -13.3 | -14.2 | -3.2 |
| ispd_test10 | +7.5 | +9.7 | +3.7 | -3.8 | -8.5 | -15.6 | -14.9 | -15.6 | -4.1 |
+30%
+15%
0%
-15%
-30%
HPWL 52.192 μm RMST 131.120 μm RSMT 115.360 μm
(b) WA-DREAMPlace
HPWL 68.281 μm RMST 92.320 μm RSMT 87.508 μm
(c) DiffRMST-DREAMPlace
Fig. 3. Wirelength comparison across net degrees. (a) Average baseline-to-DiffRMST ratios (top) and RSMT percentage changes relative to WA (bottom). Ratios above one and negative changes favor DiffRMST. All denotes each circuit's total over evaluated nets. (b) WA and (c) DiffRMST placements of the same 26-pin net in ispd_test2, with RMST overlays at matched scales. Dotted boxes enclose pins, and dashed guides indicate enlarged regions. Placement coordinates and wirelengths are in m.
131.120 to 92.320 m and RSMT from 115.360 to 87.508 m, giving tree-wirelength reductions of 29.59% and 24.14%, respectively. HPWL depends only on coordinate extrema and cannot distinguish internal pin arrangements with the same bounding box but different connection lengths. WA and LSE smooth this objective without explicitly modeling those connections. DiffRMST accounts for the connection structure and, in this example, produces shorter trees despite a larger bounding box, consistent with the gains in the higher-degree groups.
D. Placement Acceleration
Table III compares DiffRMST on the eight-thread CPU and the GPU. Both implementations complete legalization on all ten benchmarks, with final RMST differing by at most 1.69% relative to the CPU result. GPU execution accelerates GP by to , averaging . The gains are particularly strong on ispd_test7 through ispd_test10, where speedups reach to while RMST differences remain below 0.30%. These circuits have similar degree distributions and large netlists, providing substantial concurrency across independent nets in addition to the parallel matrix operations within each multipin net.
Figure 4 compares each model's GP speedup relative to its own CPU implementation. DiffRMST achieves higher speedups than both baselines on eight of the ten benchmarks. Its average speedup exceeds LSE's and WA's . On ispd_test10, LSE and WA achieve and , compared with DiffRMST's . This advantage is consistent with the degree-aware CUDA mapping in Section III-D,
TABLE III CPU AND GPU COMPARISON OF DIFFRMST-DREAMPLACE. RMST ( ), GP AND TOTAL (S). RATIO REPORTS AVERAGE RATIOS, WITH GPU NORMALIZED TO 1. BEST AND SECOND-BEST RESULTS ARE SHOWN IN BOLD AND BROWN, RESPECTIVELY*.
| Benchmark | CPU | GPU | ||||
|---|---|---|---|---|---|---|
| RMST | GP | Total | RMST | GP | Total | |
| ispd_test1 | 0.56 | 6.10 | 7.10 | 0.57 | 2.20 | 3.19 |
| ispd_test2 | 21.20 | 33.11 | 37.78 | 21.21 | 2.68 | 6.63 |
| ispd_test3 | 0.90 | 11.56 | 12.63 | 0.89 | 2.09 | 3.08 |
| ispd_test4 | 17.71 | 41.79 | 48.15 | 17.72 | 5.31 | 10.32 |
| ispd_test5 | 3.57 | 48.30 | 52.00 | 3.57 | 13.56 | 15.50 |
| ispd_test6 | 54.06 | 74.40 | 86.46 | 54.07 | 3.28 | 11.44 |
| ispd_test7 | 108.65 | 198.84 | 218.91 | 108.97 | 5.12 | 19.05 |
| ispd_test8 | 161.44 | 286.28 | 319.74 | 161.35 | 6.60 | 27.63 |
| ispd_test9 | 256.59 | 502.63 | 560.22 | 256.44 | 10.42 | 44.93 |
| ispd_test10 | 255.01 | 542.79 | 579.86 | 255.77 | 10.97 | 45.81 |
| Ratio | 0.999 | 14.741 | 6.473 | 1.000 | 1.000 | 1.000 |
*For each metric, lower values are better. RMST values that coincide after rounding are ranked using the original measurements.
which distributes the additional matrix work of marginal evaluation across cooperating threads. These timings cover all GP iterations, including density computation.
The average speedup for Total is . On ispd_test10, GPU global placement accounts for only 10.97 s of the 45.81 s Total runtime. The remaining runtime is dominated by initialization, legalization, output, and other non-GP stages, which reduces the impact of GP acceleration on the end-to-end runtime.

Fig. 4. GPU speedup in global placement relative to each model's eight-thread CPU implementation.
V. CONCLUSION
This paper presented DiffRMST, a fully differentiable RMST wirelength model that combines spatial smoothing, LSE relaxation, and the Kirchhoff matrix-tree theorem to provide topology-aware gradients for analytical global placement. Approximation bounds and gradient regularity analysis characterize the relaxed objective and its relationship to exact RMST. A fused forward and backward formulation supports parallel CPU and GPU implementations. On the ISPD2019 benchmark suite, DiffRMST GPU reduces RMST, RSMT, and routed wirelength by 5.0%, 3.2%, and 3.5% on average, respectively, relative to WA GPU. These gains are achieved with acceptable runtime overhead. The benefits are more pronounced for higher-degree nets, highlighting the value of modeling internal connectivity beyond the bounding box. Future work will explore extensions to timing-driven and congestion-aware placement, as well as applications to 3D placement.
ACKNOWLEDGMENTS
The authors disclose the use of generative AI tools for language editing and sentence refinement to enhance readability and clarity. All technical content, methodology, and results were produced and verified by the authors.
REFERENCES
[1] F. Huang, H. Wu, J. Li, Q. Chen, W. Zhu, X. Liu, and Z. Zhu, “Late Breaking Results: A fully differentiable rectilinear minimum spanning tree wirelength model for global placement,” in Proceedings of the 2026 ACM/IEEE Design Automation Conference (DAC'26), 2026.
[2] Y. Lin, S. Dhar, W. Li, H. Ren, B. Khailany, and D. Z. Pan, “DREAM-Place: Deep learning toolkit-enabled GPU acceleration for modern VLSI placement,” in Proceedings of the 56th Annual Design Automation Conference 2019, 2019, pp. 1–6.
[3] Y. Shi, S. Xu, S. Kai, X. Lin, K. Xue, M. Yuan, and C. Qian, “Timing-driven global placement by efficient critical path extraction,” in 2025 Design, Automation & Test in Europe Conference (DATE). IEEE, 2025, pp. 1–7.
[4] B. Fu, L. Liu, M. D. Wong, and E. F. Young, “Hybrid modeling and weighting for timing-driven placement with efficient calibration,” in Proceedings of the 43rd IEEE/ACM International Conference on Computer-Aided Design, 2024, pp. 1–9.
[5] L. Liu, B. Fu, S. Lin, J. Liu, E. F. Young, and M. D. Wong, “Xplace: An extremely fast and extensible placement framework,” IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, vol. 43, no. 6, pp. 1872–1885, 2023.
[6] M.-K. Hsu, Y.-F. Chen, C.-C. Huang, S. Chou, T.-H. Lin, T.-C. Chen, and Y.-W. Chang, “NTUplace4h: A novel routability-driven placement algorithm for hierarchical mixed-size circuit designs,” IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, vol. 33, no. 12, pp. 1914–1927, 2014.
[7] X. Liu, S. Liu, B. Yu, S. Chen, and Q. Xu, “Theplace: Thermal-aware placement with operator learning-based ultra-fast simulator,” in Proceedings of the 30th Asia and South Pacific Design Automation Conference, 2025, pp. 900–906.
[8] S. S.-Y. Liu, R.-G. Luo, S. Aroonsantidecha, C.-Y. Chin, and H.-M. Chen, “Fast thermal aware placement with accurate thermal analysis based on Green function,” IEEE Transactions on Very Large Scale Integration (VLSI) Systems, vol. 22, no. 6, pp. 1404–1415, 2013.
[9] F.-K. Sun and Y.-W. Chang, “Big: A bivariate gradient-based wirelength model for analytical circuit placement,” in Proceedings of the 56th Annual Design Automation Conference 2019, 2019, pp. 1–6.
[10] J. Lu, P. Chen, C.-C. Chang, L. Sha, D. J.-H. Huang, C.-C. Teng, and C.-K. Cheng, “ePlace: Electrostatics-based placement using fast fourier transform and Nesterov’s method,” ACM Transactions on Design Automation of Electronic Systems (TODAES), vol. 20, no. 2, pp. 1–34, 2015.
[11] W. Zhu, Z. Huang, J. Chen, and Y.-W. Chang, “Analytical solution of Poisson’s equation and its application to VLSI global placement,” in 2018 IEEE/ACM International Conference on Computer-Aided Design (ICCAD). IEEE, 2018, pp. 1–8.
[12] T.-C. Chen, Z.-W. Jiang, T.-C. Hsu, H.-C. Chen, and Y.-W. Chang, "NTUplace3: An analytical placer for large-scale mixed-size designs with preplaced blocks and density constraints," IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, vol. 27, no. 7, pp. 1228–1240, 2008.
[13] T. F. Chan, J. Cong, J. R. Shinnerl, K. Sze, and M. Xie, “mPL6: Enhanced multilevel mixed-size placement,” in Proceedings of the 2006 International Symposium on Physical Design, 2006, pp. 212–214.
[14] N. Viswanathan, M. Pan, and C. Chu, “Fastplace 3.0: A fast multilevel quadratic placement algorithm with placement congestion control,” in 2007 Asia and South Pacific Design Automation Conference. IEEE, 2007, pp. 135–140.
[15] M.-C. Kim, D.-J. Lee, and I. L. Markov, “SimPL: An effective placement algorithm,” IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, vol. 31, no. 1, pp. 50–60, 2011.
[16] A. B. Kahng and Q. Wang, “A faster implementation of APlace,” in Proceedings of the 2006 international symposium on Physical design, 2006, pp. 218–220.
[17] A. Agnesina, P. Rajvanshi, T. Yang, G. Pradipta, A. Jiao, B. Keller, B. Khailany, and H. Ren, “AutoDMP: Automated DREAMPlace-based macro placement,” in Proceedings of the 2023 International Symposium on Physical Design (ISPD), 2023, pp. 149–157.
[18] W. C. Naylor, R. Donelly, and L. Sha, “Non-linear optimization system and method for wire length and delay optimization for an automatic electric circuit placer,” Oct. 9 2001, uS Patent 6,301,693.
[19] M.-K. Hsu, Y.-W. Chang, and V. Balabanov, “TSV-aware analytical placement for 3D IC designs,” in Proceedings of the 48th Design Automation Conference, 2011, pp. 664–669.
[20] M.-K. Hsu, V. Balabanov, and Y.-W. Chang, “TSV-aware analytical placement for 3-D IC designs based on a novel weighted-average wirelength model,” IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, vol. 32, no. 4, pp. 497–509, 2013.
[21] P. Liao, H. Liu, Y. Lin, B. Yu, and M. Wong, “On a moreau envelope wirelength model for analytical global placement,” in 2023 60th ACM/IEEE Design Automation Conference (DAC). IEEE, 2023, pp. 1–6.
[22] A. A. Kennings and I. L. Markov, “Analytical minimization of half-perimeter wirelength,” in Proceedings of the 2000 Asia and South Pacific Design Automation Conference, 2000, pp. 179–184.
[23] B. Chen and P. T. Harker, “A non-interior-point continuation method for linear complementarity problems,” SIAM Journal on Matrix Analysis and Applications, vol. 14, no. 4, pp. 1168–1190, 1993.
[24] M. Hanan, “On steiner’s problem with rectilinear distance,” SIAM Journal on Applied Mathematics, vol. 14, no. 2, pp. 255–265, 1966.
[25] M. R. Garey and D. S. Johnson, “The rectilinear steiner tree problem is np-complete,” SIAM Journal on Applied Mathematics, vol. 32, no. 4, pp. 826–834, 1977.
[26] S. Arora, “Polynomial time approximation schemes for euclidean traveling salesman and other geometric problems,” Journal of the ACM, vol. 45, no. 5, pp. 753–782, 1998.
[27] C. C. N. Chu, “Flute: Fast lookup table based wirelength estimation technique,” in Proceedings of the IEEE/ACM International Conference on Computer-Aided Design, 2004, pp. 696–701.
[28] C. C. N. Chu and Y.-C. Wong, “Fast and accurate rectilinear steiner minimal tree algorithm for VLSI design,” in Proceedings of the ACM International Symposium on Physical Design, 2005, pp. 28–35.
[29] C. Chu and Y.-C. Wong, “Flute: Fast lookup table based rectilinear steiner minimal tree algorithm for vlsi design,” IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, vol. 27, no. 1, pp. 70–83, 2008.
[30] D. Juhl, D. M. Warme, P. Winter, and M. Zachariasen, “The geosteiner software package for computing steiner trees in the plane: an updated computational study,” Mathematical Programming Computation, vol. 10, no. 4, pp. 487–532, 2018.
[31] J. Liu, G. Chen, and E. F. Y. Young, “REST: Constructing rectilinear steiner minimum tree via reinforcement learning,” in Proceedings of the 58th ACM/IEEE Design Automation Conference (DAC), 2021, pp. 1135–1140.
[32] A. B. Kahng, R. R. Nerem, Y. Wang, and C.-Y. Yang, “NN-Steiner: A mixed neural-algorithmic approach for the rectilinear steiner minimum tree problem,” in Proceedings of the AAAI conference on artificial intelligence, vol. 38, no. 12, 2024, pp. 13022–13030.
[33] P. Liao, S. Liu, Z. Chen, W. Lv, Y. Lin, and B. Yu, “DREAMPlace 4.0: Timing-driven global placement with momentum-based net weighting,” in 2022 Design, Automation & Test in Europe Conference & Exhibition (DATE). IEEE, 2022, pp. 939–944.
[34] L. J. Guibas and J. Stolfi, “On computing all north-east nearest neighbors in the metric,” Information Processing Letters, vol. 17, no. 4, pp. 219–223, 1983.
[35] T. H. Cormen, C. E. Leiserson, and R. L. Rivest, Introduction to Algorithms. MIT Press, 1990.
[36] A. B. Kahng and I. Mandoiu, “RMST-Pack: Rectilinear minimum spanning tree algorithms,” VLSI CAD Design Automation Research Group Bookshelf, 2004, available at http://vlsicad.ucsd.edu/GSRC/bookshelf/Slots/RSMT/RMST/.
[37] F. K. Hwang, “On steiner minimal trees with rectilinear distance,” SIAM Journal on Applied Mathematics, vol. 30, no. 1, pp. 104–114, 1976.
[38] T. Koo, A. Globerson, X. Carreras, and M. Collins, “Structured prediction models via the matrix-tree theorem,” in Proceedings of the 2007 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning (EMNLP-CoNLL). Prague, Czech Republic: Association for Computational Linguistics, 2007, pp. 141–150.
[39] S. Boyd and L. Vandenberghe, Convex Optimization. Cambridge University Press, 2004.
[40] S. Chaiken, “A combinatorial proof of the all minors matrix tree theorem,” SIAM Journal on Algebraic and Discrete Methods, vol. 3, no. 3, pp. 319–329, 1982.
[41] F. Dörfler and F. Bullo, “Kron reduction of graphs with applications to electrical networks,” IEEE Transactions on Circuits and Systems I: Regular Papers, vol. 60, no. 1, pp. 150–163, 2013.
[42] Y. Lin, Z. Jiang, J. Gu, W. Li, S. Dhar, H. Ren, B. Khailany, and D. Z. Pan, “DREAMPlace: Deep learning toolkit-enabled GPU acceleration for modern VLSI placement,” IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, vol. 40, no. 4, pp. 748–761, 2021.
[43] R. Lyons, “Determinantal probability measures,” Publications Mathématiques de l’IHÉS, vol. 98, pp. 167–212, 2003.
[44] W.-H. Liu, S. Mantik, W.-K. Chow, Y. Ding, A. Farshidi, and G. Posser, "ISPD 2019 initial detailed routing contest and benchmark with advanced routing rules," in Proceedings of the 2019 international symposium on physical design, 2019, pp. 147–151.
[45] J. Liu and E. F. Y. Young, “EDGE: Efficient DAG-based global routing engine,” in Proceedings of the 60th ACM/IEEE Design Automation Conference (DAC), 2023, pp. 1–6.

Fuxing Huang received his M.Sc. degree in computer science from Fuzhou University, Fuzhou, China, in 2024. He is currently pursuing the Ph.D. degree at the School of Integrated Circuits, Southeast University, Nanjing, China. His research interests include mathematical optimization techniques and GPU acceleration for EDA physical design automation.

Hao Ai is currently pursuing Ph.D. degree at the Center for Discrete Mathematics and Theoretical Computer Science, Fuzhou University, Fuzhou, China. His research interests include VLSI physical design automation and multiphysics simulation for integrated circuits. He is also a recipient of the Best Paper Award Nomination in DAC 2026.

Wenxing Zhu received the Ph.D. degree in operations research from Shanghai University, Shanghai, China, in 1996. He is a “Jiaxi” Distinguished Professor at Fuzhou University, Fuzhou, China. His research interests include VLSI physical design automation, optimization theory, and algorithms. Dr. Zhu received several prestigious awards, including the First Prize of Natural Sciences from the Ministry of Education of China in 2022 and the Operations Research Application Award from the Operations Research Society of China in 2020. He received the
Best Paper Awards from DAC 2017 and ISEDA 2023 and was nominated for the Best Paper Award at DAC 2026, ICCAD 2018, and CCF-DAC 2023. In addition, he was honored with the Second Prize for National Teaching Achievements in 2009.

Xinning Liu received the B.S., M.S., and Ph.D. degrees from Southeast University, Nanjing, China, in 2000, 2003, and 2015, respectively. He is currently an Associate Professor with the School of Integrated Circuits, Southeast University. His research interests include low power circuits, energy harvesting circuits, and low power SoC design technologies.

Ziran Zhu received the B.Sc. degree in computer science and technology, and the Ph.D. degree in applied mathematics from Fuzhou University, in 2015 and 2020, respectively. He is currently an Associate Professor with Southeast University. His research interest is EDA physical design automation. He received the Best Paper Award in DAC 2017, the First Place in CAD Contest @ICCAD 2017 and 2018, the First Place in MLCAD Contest 2023, and the Second Place in CAD Contest @ICCAD 2022.