Manuscript Offprint
arXiv:2610.22214GNN-Guided Local Refinement for Efficient Layout Decomposition with DSA-MP
Abstract
Multiple patterning lithography (MPL) has been widely used to improve lithography resolution in advanced nodes, but it faces cost limits as feature sizes shrink. Directed self-assembly (DSA) offers a cost-effective complement, extending the resolution of optical lithography to sub-10 nm and beyond. Integrating DSA into MPL (DSA-MP) further enhances the resolution of contact/via patterning. Nevertheless, growing design complexity exposes the limits of existing decomposition methods, which struggle to balance solution quality and runtime, and neglect edge-to-edge spacing constraints of DSA templates, compromising manufacturability. To address these issues, we introduce a new conflict graph model capturing the previously overlooked constraints and develop a local refinement strategy powered by the graph neural network, enabling efficient and scalable layout decomposition. Experiments demonstrate that our method achieves higher solution quality with faster convergence than state-of-the-art methods, while maintaining robustness across layout scales, design styles, technology nodes, and varying mask counts.
1 Introduction
Multiple patterning lithography (MPL) has been widely adopted in advanced nodes to overcome the resolution limits of optical lithography [1]. By assigning closely spaced features to different masks, MPL avoids patterning conflicts. However, as feature sizes shrink, the number of required masks increases, leading to higher fabrication costs. To address this issue, directed self-assembly (DSA) has emerged as a promising and cost-effective alternative [2, 3]. When combined with MPL (DSA-MP), features that would otherwise conflict can share the same mask if they satisfy DSA grouping rules, effectively reducing conflicts. The underlying mechanisms and rules of DSA are detailed in Section 2.1.
DSA-MP holds great promise for via patterning at sub-10 nm nodes, but the associated layout decomposition problem is substantially harder than conventional MPL. Beyond assigning each via to a mask, the solver for DSA-MP must also decide which conflicting vias to group together. Grouped vias can be patterned on the same mask via DSA, effectively reducing conflicts. However, the

(a) Traditional Flow
(b) Our Flow
Figure 1: (a) Traditional flow: solve from scratch until optimal or timeout. (b) Leveraging features from the initial solving phase, our flow predicts vias for mask reassignment. The solver reassigns masks only for these vias, keeping all others fixed, significantly speeding up convergence.
grouping and mask assignment decisions are tightly coupled, and many valid groupings typically exist, making the search for the optimal combination far more complex. This problem is already NP-hard [4], and the difficulty further escalates in advanced nodes, where the conflict-to-via ratio has grown from around 1:2 [5–8] to 2:1 or even 3:1, reflecting much denser conflict relationships. This increase in conflict density makes prior methods difficult to scale. Exact approaches such as integer linear programming (ILP) guarantee optimality but incur prohibitive runtime. Reformulating the problem as an exact cover matrix leads to the exact cover matrix-based ILP (EILP) [6, 9], which reduces problem size but remains computationally expensive. In contrast, heuristic methods like DLXplus [6], while faster, often sacrifice solution quality. This leads to a fundamental dilemma: how can we achieve the high solution quality of ILP while avoiding its prohibitive computational cost?
The key to breaking out of this dilemma lies in the ILP solving process itself. While a full ILP run takes hours, the solver typically reaches a high-quality feasible solution and accumulates rich intermediate solving records during the early stage of the ILP solve. We observe that reassigning only a small fraction of vias in this early solution is sufficient to match the optimal objective value. If we can identify this critical subset, the solver can re-optimize only those vias on a drastically reduced search space, saving enormous computational effort. This insight calls for a shift in perspective: instead of treating the ILP solver merely as an end-to-end optimizer that runs for hours to deliver a final answer, we exploit the features accumulated during its early solving phase to predict which vias require mask reassignment to reach the optimum.
Corresponding author: Shisheng Xiong. This work is sponsored by the National Key Research and Development Program of China (No. 2024YFA1209000).

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. ICCAD '26, San Jose, CA, USA © 2026 Copyright held by the owner/author(s). ACM ISBN 979-8-4007-2873-0/2026/11 https://doi.org/10.1145/3831252.3834021

(a)
(b)
Figure 2: (a) DSA process flow. (b) Feasible templates: by adjusting template size, vias with different pitches can be fabricated, but the grouping range is limited by the natural pitch of the BCP. Moreover, a minimum edge-to-edge spacing between templates is required to ensure stable patterning.
This idea drives our approach. As illustrated in Figure 1, a time-limited ILP solver first provides an initial solution and intermediate features. A graph neural network (GNN) [10] trained on these features then predicts which vias are likely to benefit from reassignment. The solver re-optimizes only the selected vias while keeping all others fixed, converging to high-quality solutions in a fraction of the original runtime. Analogous to a lever, the solver's intermediate features serve as a fulcrum: a small, targeted effort produces a disproportionately large improvement. However, efficient solving alone is not enough if the underlying conflict model is inaccurate. Existing methods [5–8] define conflicts based on center-to-center distances between vias, a metric carried over from conventional MPL. In DSA-MP, 193i lithography fabricates guiding templates instead of direct vias, and these templates may take non-circular shapes [11]. Simply evaluating manufacturability by checking center-to-center distances between vias fails to reflect the true process constraints. Since the final via quality is highly dependent on template geometry, sufficient spacing between templates is required to provide a correction margin against proximity effects and ensure stable template formation. Therefore, we construct a conflict graph that explicitly captures edge-to-edge template spacing and refine the EILP formulation accordingly. Our major contributions are as follows:
• We propose a novel conflict graph model for DSA-MP and refine the formulation of EILP to account for edge-to-edge template conflicts.
• We propose a GNN-guided local refinement strategy, where the trained GNN model efficiently selects vias for refinement while keeping others fixed, significantly accelerating convergence.
• Our method outperforms state-of-the-art works by achieving about speedup with only 0.1% cost increase on 7 nm synthetic benchmarks, while generalizing well to other 7 nm designs and 5 nm industrial layouts.

(a)
(b)
(c)
(d)
Figure 3: (a) Original layout. (b) Decomposition with triple patterning. (c) Decomposition with DSA-MP (The red solid line shows the lithography simulation result from S-litho). (d) Another decomposition with DSA-MP.
ILP instance
Bipartite graph

Figure 4: Transforming an ILP instance to a bipartite graph.
2.1 Brief Introduction to DSA
Directed self-assembly (DSA) utilizes block copolymers (BCPs) guided by lithographically defined templates for sub-lithographic patterning, as shown in Figure 2(a). The process involves template definition, BCP deposition, annealing, and pattern transfer, enabling the formation of dense and uniform vias [12].
As illustrated in Figure 2(b), we restrict feasible configurations to 1-D templates ( holes, ) to ensure high yield and robustness, since templates with fewer holes generally provide more stable and reliable patterning [6]. The spacing of vias/contacts formed by the DSA process within a template is governed by the natural pitch of the BCP, which limits the grouping distance to a specific range (52–63 nm in this work). In addition, sufficient edge-to-edge spacing between adjacent templates must also be reserved. Without sufficient spacing, OPC and other correction techniques lack the room to counteract proximity effects, making it impossible to ensure stable and accurate template profiles. However, the edge-to-edge spacing constraints of templates were often neglected in previous studies. For example, in Figure 3(c) and Figure 3(d), previous work considered both assignments feasible, but in reality only Figure 3(d) satisfies manufacturability, as the simulated contour in Figure 3(c) fails to match the required template profile. The contours are obtained using the rigorous lithography simulator S-Litho [13].
2.2 Problem Formulation
Definition 1. (Groupable vias): Two vias are defined as groupable if their center-to-center distance falls within the feasible DSA grouping range and they are aligned either horizontally or vertically. Such vias can be manufactured together by a two-hole guiding template.

(a)
(b)
Figure 5: (a) Our graph model. It unifies lithography spacing and template-related conflicts as edge-to-edge constraints between templates. Each via can be manufactured by a single-hole template, while vias connected by a two-hole template edge may alternatively use the two-hole template. Template conflict hyperedges represent all possible template conflicts. (b) An example of a feasible mask and template assignment.
Problem 1. (Guiding template and mask assignment (TMA)): Given a via layout with vias, a minimum edge-to-edge template spacing , K available masks, and a set of feasible guiding templates with associated template costs, a template spacing conflict occurs if the edge-to-edge distance between two templates on the same mask is smaller than . The problem is to assign each via to a guiding template and each template to one of the K masks, such that the total number of template spacing conflicts and the total template cost are minimized.
2.3 Bipartite Graph Representation
The bipartite graph representation of integer linear programs (ILPs) was proposed by [14], which losslessly transforms the ILP instance into a bipartite graph (see Figure 4). In this graph, the left part contains variable nodes corresponding to the decision variables, and the right part contains constraint nodes corresponding to the linear constraints. An edge between variable node and constraint node exists whenever the -th variable appears in the -th constraint, with the edge weight storing the coefficient . This representation preserves the original problem structure and provides a natural input for GNN models.
3 Proposed Graph Model and ILP Formulation
To better capture lithography spacing and template-related conflicts in a given layout, we unify them as edge-to-edge constraints between templates and introduce a hybrid grouping/conflict graph, as shown in Figure 5. In this graph, each vertex represents a via, template edges indicate that a via can be fabricated by a single-hole template alone or paired with another via to form a feasible two-hole template, and template conflict hyperedges denote cases where the edge-to-edge distance between templates is less than . Built on this compact graph model, we develop a novel and concise ILP formulation that explicitly accounts for edge-to-edge template spacing constraints to optimally solve the TMA problem. The notations used in our ILP formulation are listed as follows.
- SC, STC, TTC: sets of edge-to-edge spacing conflict candidates, as illustrated in Figure 6. Specifically, SC represents conflicts between two single-hole templates, STC represents

(a)
(b)
(c)
Figure 6: Illustration of three types of edge-to-edge template spacing conflicts, each with a representative highlighted by the black dashed arrow. (a) SC: taking as an example, a conflict between two single-hole templates. (b) STC: taking as an example, a conflict between single-hole template and two-hole template . (c) TTC: taking as an example, a conflict between two-hole templates and .
conflicts between a single-hole and a two-hole template, and TTC represents conflicts where both templates are two-hole.
-
: index sets corresponding to SC, STC, and TTC.
-
: Conflict , .
-
: The i-th via.
-
: Template , with two vias in a template edge.
-
Boolean variable. if the two templates involved in conflict conflict at mask .
-
Boolean variable. if via is assigned to a single-hole template on mask .
-
Boolean variable. if a two-hole template is chosen, and is assigned to mask .
-
: Conflict cost. : Two-hole template cost.
The ILP formulation is given as follows:
min
s.t.
Objective (1). The objective minimizes the number of unresolved conflicts and the number of selected two-hole templates. To give priority to conflict minimization, is set much larger than .
Constraint (2). Each via must be covered by exactly one template on exactly one mask: either assigned to a single-hole template on some mask (i.e., ), or covered by a two-hole template assigned to mask (i.e., ), with the two cases being mutually exclusive.

Figure 7: Our proposed framework. (A) Synthetic layouts are generated based on design rules extracted from the ASAP7 PDK. A time-limited ILP solver produces an initial solution, and a constraint on the count of via changes is added to identify the minimal set of vias requiring reassignment, forming the Vias-to-Refine dataset. (B) The ILP formulation is represented as a bipartite graph, and solver-derived features initialize a GNN trained on the dataset from (A) to predict vias requiring reassignment. (C) For a test layout, a time-limited ILP solver provides an initial solution. Based on GNN-predicted probabilities, a subset of vias is sampled for reassignment, while others are fixed, and only the selected vias are re-optimized.
Constraint (3). For each SC conflict candidate with and each mask , the summation runs over the two vias involved in , each fabricated by a single-hole template. If both are assigned to mask , the sum equals 2, forcing and incurring a conflict penalty in the objective. If they are assigned to different masks, the sum is at most 1 and can remain 0.
Constraint (4). For each STC conflict candidate with and each mask , the constraint jointly considers both template types involved in : accounts for the single-hole template, and accounts for the two-hole template. If both templates are assigned to the same mask , the left-hand side equals 2, forcing . Otherwise, can remain 0.
Constraint (5). For each TTC conflict candidate with and each mask , involves two templates, both of which are two-hole templates. The summation counts how many of them are assigned to mask . If both are selected and assigned to the same mask, the sum equals 2, forcing and incurring a conflict penalty. Otherwise, can remain 0.
4 Algorithms
4.1 Overview
To accelerate the TMA problem, we propose a GNN-based local refinement framework. As illustrated in Figure 7, our framework is divided into three main components. First, we construct the Vias-to-Refine Dataset (Figure 7A), which labels the vias that need reassignment compared to the initial solution to achieve optimal results. Second, we train a GNN model using the dataset (Figure 7B), encoding ILP-derived features into a graph to learn which vias need reassignment. Third, during inference (Figure 7C), vias requiring reassignment are sampled according to the probabilities predicted by the GNN, and only the variables associated with the sampled vias are re-optimized, yielding a high-quality solution with significantly reduced runtime compared to solving the full ILP from scratch.
4.2 Vias-to-Refine Dataset Preparation
Training a GNN model to predict vias requiring reassignment demands layouts with sufficient diversity in conflict graph topologies to ensure good generalization, but most real-world designs are proprietary and not publicly available. Following [15], we generate synthetic layouts track-by-track based on design rules extracted from the open-source ASAP7 process design kit (PDK) [16], including wire width w and track pitch p. Candidate vias are placed at intersections of adjacent metal layers, with enclosure and pitch constraints enforced via an assist wire layer. Wire lengths, spacings, and via placements are randomized within design-rule constraints, resulting in layouts with diverse yet design-rule-compliant conflict graph topologies. This produces a diverse set of layouts covering a wide range of local conflict structures for GNN training.
For each layout , the ILP formulation from Section 3 is solved with a time-limited early stop to obtain the initial ILP-solve features. Exploiting the inherent bipartite structure of the ILP, each layout is modeled as a bipartite graph as introduced in Figure 4. The feature sets of G are grouped as follows:
• Variable features : feature vectors for decision variables (left side of the bipartite graph in Figure 4), including (1) objective coefficient of the variable (coef); (2) frequency with which the variable appears in the solution pool (sol_pool_freq); and (3) index of the via (point num).
• Constraint features : feature vectors for the constraints (right side of the bipartite graph), including (1) bias value (bias), normalized with respect to the constraint coefficients.
• Edge features : feature vectors for edges, including (1) coefficient of the decision variable in the corresponding constraint (cons_coef).
All features are normalized. These node and edge features are encoded into the bipartite graph G and form the input to the dataset.
To generate labels for the dataset, the ILP formulation in Section 3 is modified to include a penalty term that counts the number of vias whose mask assignment changes from the initial solution:
where is a small penalty weight (empirically set to ) to preserve the optimality of the original cost. We introduce a binary variable for via to capture whether its assignment changes between the initial and current solutions:
with indicating whether via is assigned to mask in the current solution and denoting its assignment in the initial solution, which is a known constant. Solving this ILP yields the optimal solution and the minimal set of vias that require reassignment.
The resulting dataset consists of a bipartite graph G initialized with ILP-derived features together with node-level labels. Each via variable in G is assigned the label True if reassignment of is required and False if no reassignment is needed. All remaining variables are assigned the label None, indicating that they are excluded from the computation of the training loss.
4.3 GNN Training for Via Selection
Based on the Vias-to-Refine Dataset described in Section 4.2, we train a GNN model to predict which vias need reassignment. The model takes as input three types of tensors: variable features , constraint features , and edge features . Here corresponds to the number of ILP-derived features for each variable (objective coefficient, solution-pool frequency, and via index, giving in our implementation), denotes the number of features per constraint (bias value, hence ), and represents the number of features per edge (constraint coefficient, hence ). All features are normalized and then projected into a latent space of dimension 64.
Following the input projection, message passing is performed over the bipartite graph in the form of two interleaved half-convolutions , which alternately propagate messages between the variable and constraint nodes. Due to the inherent bipartite structure, our graph convolution can be decomposed into two successive passes: one propagating messages from variable nodes to constraint nodes, and the other from constraint nodes back to variable nodes. Formally, let represent the set of variable nodes and the set of constraint nodes. The embeddings of variable node and constraint node at layer are denoted by and , respectively. The update rules are defined as:
where , , , and are implemented as 2-layer perceptrons with ReLU activations, and denotes the feature tensor of the edge connecting and .
After the half-convolutions, the variable node embeddings are passed through a 2-layer perceptron followed by a sigmoid activation, which outputs a probability for each via variable , indicating whether it requires reassignment.
The model is trained using a binary cross-entropy loss , computed over all via variables , where denotes the ground-truth label indicating whether on mask requires reassignment. During inference, only vias predicted as positive are refined, thereby significantly reducing computation compared to solving the full ILP.
4.4 Inference Procedure
During inference, the trained GNN assigns to each via variable a probability of requiring reassignment. A hard threshold is typically applied to reassign only those variables whose probability exceeds it. However, a hard threshold cannot adapt well to diverse layouts. Thus, we adopt a sampling-based strategy to adaptively select reassignment candidates. Specifically, for each via , we aggregate probabilities over masks and apply temperature scaling to obtain its sampling probability:
where , denotes the set of all via indices in the current input layout, and controls the sharpness of the probability distribution. We use a small to obtain a sharper distribution, making high-confidence vias more likely to be selected. According to , we sample two-thirds of all vias from the layout without replacement and identify the remaining vias in each layout as fixed. For each layout , the index set of fixed vias is denoted by . The ILP formulation in Section 3 is then extended by adding the following constraint to fix the variables associated with vias in :
where denotes the mask index assigned to via in the initial solution. This effectively reduces the search space of the ILP solver, thereby accelerating its convergence.
Table 1: Comparison results of DSA with TPL on 7 nm synthetic layouts.
| Benchmark | Original | EILP[6] | DLXplus[6] | Ours | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| via | edge | cn | tn | cost | time (s) | cn | tn | cost | time (s) | cn | tn | cost | time (s) | |
| test1 | 3977 | 7140 | 103 | 137 | 104.37 | 268.63 | 261 | 128 | 262.28 | 104.44 | 103 | 145 | 104.45 | 105.94 |
| test2 | 3807 | 6570 | 91 | 117 | 92.17 | 6655.68 | 220 | 98 | 220.98 | 85.18 | 91 | 120 | 92.20 | 50.09 |
| test3 | 3795 | 6170 | 81 | 99 | 81.99 | 446.88 | 195 | 79 | 195.79 | 80.31 | 81 | 102 | 82.02 | 31.90 |
| test4 | 12025 | 19882 | 265 | 314 | 268.14 | 11528.07 | 542 | 114 | 243.14 | 612.33 | 265 | 324 | 268.24 | 193.88 |
| test5 | 5180 | 8587 | 127 | 110 | 128.10 | 76.65 | 265 | 112 | 266.12 | 189.71 | 127 | 113 | 128.13 | 84.02 |
| test6 | 6236 | 10149 | 129 | 143 | 130.43 | 333.97 | 282 | 105 | 283.05 | 189.50 | 129 | 147 | 130.47 | 86.40 |
| test7 | 6303 | 10472 | 151 | 158 | 152.58 | 12658.32 | 325 | 196 | 326.96 | 173.73 | 151 | 163 | 152.63 | 60.13 |
| test8 | 5761 | 9402 | 114 | 135 | 115.35 | 141.16 | 339 | 159 | 340.59 | 152.93 | 114 | 146 | 115.46 | 44.99 |
| test9 | 4048 | 6699 | 98 | 94 | 98.94 | 1166.54 | 198 | 120 | 199.20 | 57.23 | 98 | 96 | 98.96 | 41.38 |
| test10 | 5157 | 8441 | 104 | 123 | 105.23 | 160.51 | 243 | 149 | 244.49 | 99.16 | 105 | 131 | 106.31 | 39.57 |
| Average | 127.73 | 3343.64 | 258.26 | 174.45 | 127.89 | 73.83 | ||||||||
| Ratio | 1.000 | 1.000 | 2.022 | 0.052 | 1.001 | 0.022 | ||||||||
Table 2: Comparison results of DSA with TPL on 7 nm BOOM core layouts
| Benchmark | Original | EILP[6] | DLXplus[6] | Ours | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| via | edge | cn | tn | cost | time (s) | cn | tn | cost | time (s) | cn | tn | cost | time (s) | |
| BOOM_test1 | 15608 | 24758 | 273 | 210 | 275.10 | 634.57 | 900 | 774 | 907.74 | 706.67 | 273 | 439 | 277.39 | 121.29 |
| BOOM_test2 | 16729 | 26325 | 430 | 209 | 432.09 | 1551.12 | 1133 | 1003 | 1143.03 | 1012.96 | 432 | 598 | 437.98 | 96.59 |
| BOOM_test3 | 11586 | 18492 | 266 | 116 | 267.16 | 305.98 | 747 | 522 | 752.22 | 107.73 | 268 | 360 | 271.60 | 58.88 |
| BOOM_test4 | 31486 | 50113 | 918 | 377 | 921.77 | 4920.61 | 2177 | 1899 | 2195.99 | 2051.60 | 922 | 938 | 931.38 | 330.97 |
| BOOM_test5 | 13540 | 21320 | 285 | 156 | 286.56 | 1176.25 | 881 | 782 | 888.82 | 538.01 | 285 | 427 | 289.27 | 76.72 |
| BOOM_test6 | 29442 | 46670 | 875 | 344 | 878.44 | 2235.45 | 1997 | 1719 | 2014.19 | 1665.30 | 877 | 781 | 884.81 | 324.96 |
| BOOM_test7 | 16504 | 25903 | 424 | 198 | 425.98 | 1027.32 | 1061 | 940 | 1070.40 | 906.98 | 424 | 494 | 428.94 | 117.41 |
| BOOM_test8 | 19691 | 30939 | 349 | 269 | 351.69 | 1121.64 | 1241 | 1124 | 1252.24 | 494.09 | 350 | 586 | 355.86 | 141.22 |
| BOOM_test9 | 29672 | 46414 | 743 | 410 | 747.10 | 9929.41 | 2065 | 1741 | 2082.41 | 1780.18 | 746 | 885 | 754.85 | 296.56 |
| BOOM_test10 | 23495 | 37210 | 665 | 290 | 667.90 | 2244.34 | 1660 | 1431 | 1674.31 | 896.68 | 666 | 844 | 674.44 | 154.30 |
| Average | 525.38 | 2514.67 | 1398.14 | 1016.02 | 530.65 | 171.89 | ||||||||
| Ratio | 1.000 | 1.000 | 2.661 | 0.404 | 1.010 | 0.068 | ||||||||
5 Experimental Results
5.1 Experimental Setting
We implement our algorithm in Python, using Gurobi as the ILP solver [17], and conduct all experiments on a machine equipped with an Intel Xeon Gold 5220 CPU @ 2.20 GHz. The number of available masks is set to for the 7 nm node and for the 5 nm node. The minimum edge-to-edge template spacing is nm. The feasible templates include 1-hole and 2-hole 1-D straight templates. The weights in the ILP objective are set to and , following [6].
The GNN model comprises 2 interleaved half-convolutions [14] with all embeddings projected to dimension 64, followed by a 2-layer MLP with sigmoid activation. It is trained on a single NVIDIA A100 GPU using the Adam optimizer with a learning rate of for 200 epochs, completing in approximately 46 s. Details of the training and test sets are provided in Section 5.2.
5.2 Benchmark Details
Training Set. Following [15], we generate 20 synthetic layouts at the 7 nm node using design rules extracted from the open-source ASAP7 process design kit (PDK). Each layout contains approximately 3,000 vias, yielding a training set of roughly 60,000 vias in total. Label generation follows the procedure in Section 4.2, taking approximately 1 hour.
Test Set. To evaluate the generalizability of our method across different designs within the same technology node as well as across different technology nodes, we construct a diverse test set as follows.
-
7 nm Node (Synthetic): 12 synthetic layouts generated following [15] using design rules from the ASAP7 PDK.
-
7 nm Node (Open-source Processor Design): 12 layouts extracted from a RISC-V BOOM core design [18] generated by Chipyard [19] using the ASAP7 PDK, reflecting realistic design patterns from an open-source processor.
-
5 nm Node (Industrial): 11 clips from industrial logic SoC designs to evaluate cross-node generalization.
The full test datasets and layout generation scripts are available at https://github.com/fengyu-neu/DSA-MP-Benchmark.
5.3 Result Analysis
We evaluate our method against state-of-the-art decomposition approaches on two configurations: DSA with triple patterning lithography (DSA-TPL) at the 7 nm node, and DSA with quadruple patterning lithography (DSA-QPL) at the 5 nm node. In all tables, “via” denotes the number of vias, “edge” the number of spacing conflict edges, “cn” the number of unresolved conflicts, “tn” the number of two-hole templates, “cost” the total cost defined in Equation (1), and “time” the runtime in seconds. The reported time for our method includes initial ILP solving, GNN inference, and final re-optimization.
Table 3: Comparison results of DSA with QPL on 5 nm industrial layouts.
| Benchmark | Original | EILP[6] | DLXplus[6] | Ours | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| via | edge | cn | tn | cost | time (s) | cn | tn | cost | time (s) | cn | tn | cost | time (s) | |
| N5_test1 | 4328 | 8244 | 27 | 288 | 29.88 | 299.25 | 115 | 255 | 117.55 | 50.26 | 27 | 294 | 29.94 | 44.51 |
| N5_test2 | 7829 | 14772 | 40 | 540 | 45.40 | 2035.96 | 181 | 515 | 186.15 | 409.49 | 41 | 545 | 46.45 | 55.33 |
| N5_test3 | 7006 | 12840 | 40 | 442 | 44.42 | 1230.44 | 151 | 435 | 155.35 | 196.12 | 40 | 453 | 44.53 | 58.89 |
| N5_test4 | 10268 | 19226 | 55 | 741 | 62.41 | 541.88 | 247 | 703 | 254.03 | 549.43 | 55 | 749 | 62.49 | 88.20 |
| N5_test5 | 6671 | 12262 | 25 | 436 | 29.36 | 653.43 | 134 | 408 | 138.08 | 147.88 | 25 | 441 | 29.41 | 48.95 |
| N5_test6 | 9986 | 18539 | 39 | 684 | 45.84 | 1690.79 | 216 | 622 | 222.22 | 474.95 | 39 | 694 | 45.94 | 164.20 |
| N5_test7 | 10432 | 19543 | 61 | 691 | 67.91 | 2246.64 | 242 | 654 | 248.54 | 565.55 | 62 | 703 | 69.03 | 142.48 |
| N5_test8 | 8082 | 15044 | 39 | 509 | 44.09 | 600.20 | 174 | 480 | 178.80 | 249.38 | 41 | 515 | 46.15 | 276.02 |
| N5_test9 | 7284 | 13316 | 27 | 442 | 31.42 | 2158.09 | 142 | 418 | 146.18 | 181.39 | 28 | 447 | 32.47 | 52.36 |
| N5_test10 | 7637 | 13373 | 34 | 410 | 38.10 | 227.93 | 145 | 414 | 149.14 | 175.29 | 37 | 437 | 41.37 | 99.91 |
| Average | 43.883 | 1168.460 | 179.604 | 299.973 | 44.778 | 103.085 | ||||||||
| Ratio | 1.000 | 1.000 | 4.093 | 0.257 | 1.020 | 0.088 | ||||||||
Table 4: Cases where some algorithms exceed the 20-hour time limit (“TLE”).
| Benchmark | Original | EILP[6] | DLXplus[6] | Ours | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| via | edge | cn | tn | cost | time (s) | cn | tn | cost | time (s) | cn | tn | cost | time (s) | |
| N5_test_11 | 5551 | 11120 | TLE | TLE | TLE | TLE | 161 | 403 | 165.03 | 122.05 | 34 | 526 | 39.26 | 57.51 |
| test11 | 116215 | 206000 | TLE | TLE | TLE | TLE | TLE | TLE | TLE | TLE | 3622 | 3895 | 3660.95 | 4636.34 |
| test12 | 206659 | 366628 | TLE | TLE | TLE | TLE | TLE | TLE | TLE | TLE | 6287 | 6421 | 6351.21 | 17265.78 |
| BOOM_test11 | 221696 | 352602 | TLE | TLE | TLE | TLE | TLE | TLE | TLE | TLE | 6054 | 5572 | 6109.72 | 5856.67 |
| BOOM_test12 | 667477 | 1056475 | TLE | TLE | TLE | TLE | TLE | TLE | TLE | TLE | 18315 | 18787 | 18502.87 | 49369.75 |
We compare against the EILP method proposed in [6], which guarantees optimal cost but is often prohibitively slow, and its heuristic acceleration “DLXplus,” which improves runtime at the expense of solution quality. The results and analysis are as follows.
DSA-TPL (7 nm). To evaluate generalization across different design styles within the same technology node, we test on 7 nm layouts from two sources as described in Section 5.2: synthetic layouts and layouts extracted from a RISC-V BOOM core design. Results are reported in Table 1 and Table 2, respectively. In these benchmarks, the ratio of conflict edges to vias is close to 2:1, significantly higher than the 1:2 ratio reported in prior work [6], reflecting the denser conflict relationships typical of advanced-node designs.
As shown in Table 1, on synthetic layouts our method achieves about speedup over EILP with only increase in cost. On the BOOM layouts (Table 2), our method still provides about acceleration with around cost increase. These results demonstrate that our approach maintains substantial runtime advantages while preserving near-optimal solution quality across different design styles at the node.
DSA-QPL (5 nm). To evaluate cross-node generalization, we test our method on 5 nm industrial layouts using DSA-QPL. The results are summarized in Table 3. The GNN model employed shares identical weights with that used in Tables 1 and 2, without any retraining or fine-tuning on 5 nm data. Despite the domain shift in both technology node and number of masks, our method still achieves approximately speedup over EILP with only increase in cost, further validating the cross-node transferability of the learned GNN model.
Performance on Challenging Layouts. Table 4 reports cases across all test sets where existing methods exceed the 20-hour time limit. Our method remains tractable on these challenging instances, whereas EILP or DLXplus exceed the time limit without producing feasible solutions. Even for the instance where DLXplus produces a feasible solution (N5_test_11), our method still achieves a lower cost within less than half the runtime. The experimental results demonstrate the robustness and effectiveness of our proposed method on layouts that are challenging due to either large scale or complex conflict structures.
Generalization Analysis. Our GNN model is trained on 20 synthetic layouts containing about 60,000 vias at the 7 nm node. The model generalizes well across multiple dimensions: (1) to larger layouts, e.g., layouts with over 200K vias, (2) to unseen layouts from diverse origins, including the BOOM core and industrial designs, (3) to a different technology node (5 nm), and (4) to a different mask count ().
This strong generalization mainly stems from our model operating on ILP representations rather than layout-specific geometric features. The input features are derived from the ILP formulation and the solver, including objective coefficients, constraint biases, constraint coefficients, and solution-pool frequencies. These features reflect how variables influence the objective and constraints during optimization, providing solver-level information that is largely independent of the specific layout topology or design style.
In addition, the bipartite graph representation of the ILP together with message passing allows the GNN to operate on graphs of varying sizes, enabling the model to transfer to larger layouts. Finally, our framework adopts a GNN-guided local refinement strategy, where the GNN predicts vias that are likely to require reassignment, while the remaining variables are fixed to their initial assignments. The ILP solver then determines the final mask assignments by optimizing only over the selected subset of variables. Since the actual mask assignment is still decided by the ILP solver, the solution quality is preserved while the search space is significantly reduced, which further contributes to the robustness of our framework.

Figure 8: Ablation study on solver-derived features.
Table 5: GNN performance on 5 nm industrial layouts with different training sets.
| Training Data | cn | tn | cost | time (s) |
|---|---|---|---|---|
| the BOOM core layouts | 44.4 | 556.7 | 49.967 | 97.218 |
| Synthetic layouts | 39.5 | 527.8 | 44.778 | 103.085 |
5.4 Ablation Study
Solver-Derived Features. To assess the impact of each solver-derived feature in , we conduct an ablation study by removing each feature in turn and evaluating on all layouts listed in Table 1, with all metrics averaged across the test layouts. The results are shown in Figure 8. We report recall and cost as the primary metrics: recall measures the fraction of vias requiring reassignment that are correctly identified by the GNN model. High recall is essential to avoid missing vias that require reassignment, which is critical for achieving optimal solutions. Cost reflects the final solution quality after our local refinement strategy.
Removing any single feature degrades both cost and recall, confirming that all features contribute to model performance. Excluding sol_pool_freq results in the largest degradation in both metrics, reducing recall from 0.979 to 0.933 and increasing cost from 127.89 to 129.05, indicating that solution-pool frequency is the most informative feature for capturing solver behavior. Excluding coef and point_num results in smaller but consistent degradation across both metrics. Overall, the full feature set achieves the best performance.
Training Set. To study the impact of training data source, we construct an alternative training set from the BOOM core layouts described in Section 5.2, extracting a comparable scale of 60,000 vias. Apart from the training data source, all model architectures and training settings remain identical. Both models are evaluated on the 5 nm industrial benchmark under the DSA-QPL configuration, and results are summarized in Table 5.
The model trained on synthetic layouts achieves lower cost than the one trained on the BOOM core layouts. This advantage likely stems from the diversity introduced during synthetic generation: randomized wire lengths, spacings, and via placements under design-rule constraints produce conflict graphs with diverse local structures, which in turn yield ILP formulations with varied constraint interaction patterns. Such diversity helps the model learn


Figure 9: Manufacturability comparison among no DSA (MPL only), prior conflict graph model, and our proposed conflict graph model.

(a)
(b)
Figure 10: Post-OPC lithography simulation results. Gray rectangles denote targets and colored contours represent simulated printed patterns on different masks. (a) Results obtained using the prior conflict graph model. (b) Results obtained using our proposed conflict graph model.
solver-level behaviors that generalize better to unseen layouts. Furthermore, synthetic layouts can be generated efficiently without relying on proprietary design data, making our approach practical for settings where real-world layouts are unavailable.
Conflict Graph Model. We evaluate manufacturability under three settings shown in Figure 9. For each setting, we perform OPC and lithography simulation using a commercial tool, measuring average Edge Placement Error (EPE) [20] and loss across layouts in Table 1. EPE counts the number of sampled edge points where the deviation between target and printed pattern exceeds a threshold (5 nm in our experiments). loss measures the squared difference between the printed and target images. Our proposed conflict graph model (based on edge-to-edge template spacing) achieves the lowest EPE and loss among all settings. Figure 10 further shows post-OPC simulation results. The proposed conflict graph model produces more accurate contours for DSA templates, enabling higher-quality via formation through directed self-assembly.
6 Conclusion
We propose a new conflict graph model that explicitly accounts for edge-to-edge spacing constraints between DSA templates, which were neglected in prior work. We also present a GNN-guided local refinement framework for DSA-MP layout decomposition, achieving significant speedup over state-of-the-art methods with high-quality solutions. Our framework is general and has the potential to be applied to other ILP-based optimization problems in physical design.
References
[1] Wei Li, Yuzhe Ma, Qi Sun, Lu Zhang, Yibo Lin, Iris Hui-Ru Jiang, Bei Yu, and David Z Pan. 2020. Openmpl: An open-source layout decomposer. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 40, 11 (2020), 2331–2344.
[2] Wynand Lambrechts, Saurabh Sinha, Jassem Ahmed Abdallah, and Jaco Prinsloo. 2018. Extending Moore's law through advanced semiconductor design and processing techniques. CRC Press.
[3] Kuei-Lin Wu and Shao-Yun Fang. 2023. Lamellar DSA-aware detailed routing considering double patterning and short template minimization. In 2023 60th ACM/IEEE Design Automation Conference (DAC). IEEE, 1–6.
[4] Bei Yu, Kun Yuan, Duo Ding, and David Z Pan. 2015. Layout decomposition for triple patterning lithography. tcad 34, 3 (2015), 433–446.
[5] Yasmine Badr, Andres Torres, and Puneet Gupta. 2016. Mask assignment and DSA grouping for DSA-MP hybrid lithography for sub-7 nm contact/via holes. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 36, 6 (2016), 913–926.
[6] Yi-Ting Lin and Iris Hui-Ru Jiang. 2019. Novel guiding template and mask assignment for DSA-MP hybrid lithography using multiple BCP materials. In Proceedings of the 56th Annual Design Automation Conference 2019. 1–6.
[7] Yunfeng Yang, Wai-Shing Luk, Hai Zhou, David Z Pan, Dian Zhou, Changhao Yan, and Xuan Zeng. 2017. An effective layout decomposition method for DSA with multiple patterning in contact-hole generation. ACM Transactions on Design Automation of Electronic Systems 23, 1 (2017), 1–27.
[8] Jian Kuang, Junjie Ye, and Evangeline FY Young. 2016. Simultaneous template optimization and mask assignment for DSA with multiple patterning. In 2016 21st Asia and South Pacific Design Automation Conference. 75–82.
[9] Donald E Knuth. 2000. Dancing links. arXiv preprint cs/0011047 (2000).
[10] TN Kipf. 2016. Semi-supervised classification with graph convolutional networks. arXiv preprint arXiv:1609.02907 (2016).
[11] Jiaojiao Ou, Bei Yu, and David Z Pan. 2016. Concurrent guiding template assignment and redundant via insertion for DSA-MP hybrid lithography. In Proceedings of the 2016 on International Symposium on Physical Design. 39–46.
[12] Joost Bekaert, Jan Doise, Roel Gronheid, Julien Ryckaert, Geert Vandenberghe, Germain Fenger, YoungJun Her, and Yi Cao. 2015. N7 logic via patterning using templated DSA: implementation aspects. In Photomask Japan 2015: Photomask and Next-Generation Lithography Mask Technology XXII, Vol. 9658. SPIE, 13–23.
[13] Inc. Synopsys. [Online]. S-Litho: Predictive Lithography Simulation. https://www.synopsys.com/manufacturing/mask-solutions/s-litho.html.
[14] Maxime Gasse, Didier Chételat, Nicola Ferroni, Laurent Charlin, and Andrea Lodi. 2019. Exact combinatorial optimization with graph convolutional neural networks. Advances in neural information processing systems 32 (2019).
[15] Haoyu Yang, Wen Chen, Piyush Pathak, Frank Gennari, Ya-Chieh Lai, and Bei Yu. 2019. Automatic layout generation with applications in machine learning engine evaluation. In 2019 ACM/IEEE 1st Workshop on Machine Learning for CAD (MLCAD). IEEE, 1–6.
[16] Lawrence T Clark, Vinay Vashishtha, Lucian Shifren, Aditya Gujja, Saurabh Sinha, Brian Cline, Chandarasekaran Ramamurthy, and Greg Yeric. 2016. ASAP7: A 7-nm finFET predictive process design kit. Microelectronics Journal 53 (2016), 105–115.
[17] LLC Gurobi Optimization et al. 2020. Gurobi optimizer reference manual, 2020. URL http://www.gurobi.com 12 (2020).
[18] Christopher Celio, Pi-Feng Chiu, Borivoje Nikolic, David A Patterson, and Krste Asanovic. 2017. BOOMv2: an open-source out-of-order RISC-V core. In First Workshop on Computer Architecture Research with RISC-V (CARRV).
[19] Alon Amid, David Biancolin, Abraham Gonzalez, Daniel Grubb, Sagar Karandikar, Harrison Liew, Albert Magyar, Howard Mao, Albert Ou, Nathan Pemberton, et al. 2020. Chipyard: Integrated design, simulation, and implementation framework for custom socs. Ieee Micro 40, 4 (2020), 10–21.
[20] Shayak Banerjee, Zhuo Li, and Sani R Nassif. 2013. ICCAD-2013 CAD contest in mask optimization and benchmark suite. In 2013 IEEE/ACM International Conference on Computer-Aided Design (ICCAD). IEEE, 271–274.