# US 2026/0093893 A1 · Unified deep reinforcement learning approach for constructing rectilinear and octilinear steiner minimum trees

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0093893 A1
- Document ID: US20260093893A1
- Status: Published application
- Kind: A1
- Application number: 19/037,338
- Filed: 2025-01-27
- Published: 2026-04-02
- Earliest claimed: 2024-09-27
- Assignees: Fuzhou University
- Applicants: Fuzhou University
- Inventors: Genggeng LIU; Zhenkun LIN; Wenzhong GUO
- Web page: https://patentgrep.com/patent/US20260093893A1

## CPC

- G06F 30/398: Design verification or optimisation, e.g. using design rule check [DRC], layout versus schematics [LVS] or finite element methods [FEM] (optical proximity correction [OPC] design processes G03F1/36)
- G06F 30/27: using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
- G06F 30/3953: detailed
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Disclosed is a unified deep reinforcement learning approach for constructing rectilinear and octilinear Steiner minimum trees in the technical field of computer-aided design of integrated circuits, the method including designing an edge point sequence (EPS) based on structural characteristics of a Steiner minimum tree (SMT) to bridge a gap between deep learning model output and an SMT structure; designing a deep learning model for the EPS, and using a negative wirelength of the SMT as a reward to train the deep learning model through the deep reinforcement learning (DRL); providing a corresponding fast and accurate wirelength computation algorithm for a quality assessment of construction solutions to accelerate training of the deep learning model; and constructing diversified construction solutions of SMTs utilizing the stochastic nature of machine learning. The method of the present invention can solve rectilinear Steiner minimum tree (RSMT) and octilinear Steiner minimum tree (OSMT) problems and generate diversified routing topologies.

## Claims

### Claim 1

A unified deep reinforcement learning approach for constructing rectilinear and octilinear Steiner minimum trees, comprising the following steps:
designing an edge point sequence (EPS) based on structural characteristics of a Steiner minimum tree (SMT);
designing a deep learning model for the EPS, and using a negative wirelength of the SMT as a reward to train the deep learning model through the deep reinforcement learning (DRL); and
constructing diversified construction solutions of SMTs utilizing the stochastic nature of machine learning (ML).

### Claim 2 (depends on 1)

The unified deep reinforcement learning approach for constructing rectilinear and octilinear Steiner minimum trees of claim 1, wherein during a training process of the deep learning model, a corresponding fast and accurate wirelength computation algorithm is provided for a quality assessment of the construction solutions to accelerate training of the deep learning model.

### Claim 3 (depends on 1)

The unified deep reinforcement learning approach for constructing rectilinear and octilinear Steiner minimum trees of claim 1, wherein during a training process of the deep learning model, an input of the deep learning model is a pin sequence in a form of two-dimensional coordinates in a given net, and an output of the deep learning model is converted into a structure of the SMT through the EPS.

### Claim 4 (depends on 1)

The unified deep reinforcement learning approach for constructing rectilinear and octilinear Steiner minimum trees of claim 1, wherein in the step of constructing diversified construction solutions of SMTs, a construction solution with the highest probability is selected through a greedy strategy, and random sampling is performed utilizing parallelizability of ML based on a probability generated by the deep learning model to generate the diversified construction solution of SMTs.

### Claim 5 (depends on 1)

The unified deep reinforcement learning approach for constructing rectilinear and octilinear Steiner minimum trees claim 1, wherein the step of designing an edge point sequence (EPS) based on structural characteristics of a Steiner minimum tree (SMT) is aimed at building a capability of encoding both rectilinear Steiner minimum tree (RSMT) and octilinear Steiner minimum tree (OSMT) structures as follows:
RSMT and OSMT construction problems are input as a set of nets P={p1, . . . , pn} wherein pins pi are composed of coordinate pairs (xi, yi); connection points other than the pins introduced during routing are called pseudo-Steiner points represented by white squares; and given two of the pins a and b, four routing modes between the pins are as follows: routing mode 1: lead a vertical edge from the pin a to a pseudo-Steiner point s first, and then lead a horizontal edge from the point s to the pin b; routing mode 2: lead a horizontal edge from the pin a to the point s first, and then lead a vertical edge from the point s to the pin b; routing mode 3: lead a vertical or horizontal edge from the pin a to the point s first, and then lead a 45° or 135° edge from the point s to the pin b; and routing mode 4: lead a 45° or 135° edge from the pin a to the point s first, and then lead a vertical or horizontal edge from the point s to the pin b;
the RSMT structure is constructed so as to use only the routing mode 1 or 2 to build a rectilinear tree T(R) that connects all the pins in the net P and has the shortest wirelength, i.e. R is a superset (P⊆R) of P, wherein newly introduced points in R are Steiner points, the Steiner points can automatically cause overlapping edges to merge to achieve an effect of wirelength reduction, and the pseudo-Steiner points only exist during a routing optimization process and do not exist in the built RSMT; compared with the RSMT structure, the OSMT structure is constructed by adding the routing mode 3 or 4; and diversified RSMTs and OSMTs are constructed so as to construct as many high-quality routing topologies as possible for a given net; and
for a given net P={(x1, y1), . . . , (xn, yn)}, one EPS of P has n−1 pairs {[a1, (b1, e1)], . . . , [an-1, (bn-1, en-1)]}, wherein at, bt∈{1, . . . , n}, et∈{1, . . . , m}, and for t=1, . . . , n−1, i.e. in a t-th pair, an at-th pin and a bt-th pin are connected by a routing mode et; and in RSMT problem, m=2, while in OSMT problem, m=4.

### Claim 6 (depends on 5)

The unified deep reinforcement learning approach for constructing rectilinear and octilinear Steiner minimum trees claim 5, wherein the deep learning model uses an encoder-decoder architecture as follows:
the encoder is similar to a Transformer structure that maps two-dimensional coordinates of a pin to a 128-dimensional feature space through a linear layer, thereby mapping the pin from a low-dimensional coordinate representation to a high-dimensional vector, and uses batch normalization to make training more stable; in the RSMT and OSMT construction problems, one linear layer is used to learn feature vectors U of visited pins; in the RSMT problem, two linear mappings are used to learn features of visited pins in a routing mode 0 and the routing mode 1 and then spliced into V; and in the OSMT problem, four linear mappings are used to learn the features of the visited pins in the 4 routing modes and then spliced into V; and
the decoder takes encoding results U=[u1, . . . , un]T and V=[v1, . . . , vm×n]T as inputs and outputs the EPS of the SMT construction solution; the deep learning model first selects a ua0 from U and marks a0 as a visited pin, i.e. the pin can be selected subsequently when visited pins are chosen from V but it cannot be selected when unvisited pins are chosen; then, when a pair is chosen from the n−1 pairs, selection rules for the t-th pair are as follows: the deep learning model first selects an unvisited pin uat each time, and then selects a vct from V, wherein bt=ct % n, ┌ct/n┐, and at is marked as a visited pin; pairs are added to the EPS in turn; and the deep learning model in the decoder uses an attention mechanism to select two pins in a pair and a routing mode between the pins.

### Claim 7 (depends on 6)

The unified deep reinforcement learning approach for constructing rectilinear and octilinear Steiner minimum trees claim 6, wherein the encoder uses a three-layer Transformer block, in which a multi-head attention mechanism uses 16 heads, a hidden layer of a feedforward neural network uses 512 dimensions, and layer normalization is replaced with the batch normalization.

### Claim 8 (depends on 5)

The unified deep reinforcement learning approach for constructing rectilinear and octilinear Steiner minimum trees claim 5, wherein during a training process of the deep learning model, a fast and accurate wirelength computation algorithm is provided as follows:
the algorithm takes as input the net P, a construction solution eps, and an SMT type indicator m; the construction solution eps is constructed for the RSMT structure when m=2 and for the OSMT structure when m=4; the horizontal edge Ex, the vertical edge Ey, and the 45° edge Ez or the 135° edge Ek are extracted based on eps, wherein Ez and Ek exist solely in a wirelength computation process of the OSMT structure; an extraction form is [left x-coordinate, right x-coordinate] for the horizontal edge, [lower y-coordinate, higher y-coordinate] for the vertical edge, and [starting x-coordinate, starting y-coordinate, ending x-coordinate, ending y-coordinate] for a hypotenuse; when a wirelength of the OSMT structure is computed, Ez and Ek are rotated by 45° counter-clockwise around an origin and transformed into the formats of the horizontal and vertical edges respectively to facilitate merging of the overlapping edges; and based on the edges extracted through pairwise traversal in eps, endpoint coordinates of each of the edges in the SMT are updated to merge overlapping line segments, and finally a total wirelength is computed.

### Claim 9 (depends on 6)

The unified deep reinforcement learning approach for constructing rectilinear and octilinear Steiner minimum trees claim 6, wherein the deep learning model comprises two components: Actor and Critic; the Actor is configured to generate the EPS for the given net through a neural network, i.e. the Actor selects pairs based on probabilities generated by the model at each time step, and when a state for a subsequent time step consists of an SMT subtree determined by current EPS pairs, takes a negative wirelength of the resulting SMT as a reward; and the Critic is configured to predict the wirelength of the SMT constructed by the Actor and take it as a baseline to aid the Actor in learning, thereby enhancing its performance.

### Claim 10 (depends on 9)

The unified deep reinforcement learning approach for constructing rectilinear and octilinear Steiner minimum trees claim 9, wherein a policy-gradient-based Actor-Critic algorithm is used to train parameters of the Actor and the Critic so as to improve a probability of the neural network generating an excellent EPS; the Critic uses the same encoder structure as the Actor, but does not use ProjectionU and ProjectionV; the net P is taken as an input to generate an encoding result E′ through the encoder; the attention mechanism is used to calculate a proportional weight of each vectorized pin distribution to an overall encoding result; and subsequently, the baseline is computed through two fully-connected layers and an ReLU activation function.
