# US 2026/0093892 A1 · Universal routability prediction method based on few-shot learning

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

- Number: US 2026/0093892 A1
- Document ID: US20260093892A1
- Status: Published application
- Kind: A1
- Application number: 19/037,322
- 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/US20260093892A1

## 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/394: Routing (G06F30/396 takes precedence)
- G06F 30/3947: global
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present invention relates to a universal routability prediction method based on few-shot learning and belongs to the technical field of computer-aided design of integrated circuits. A universal routability prediction is converted into a meta learning scenario, and a prediction method based on the few-shot learning (FSL) is provided. The method only needs to provide a feature of a query chip and a label pair example set, to flexibly adapt to a new prediction task without additional training. For a data imbalance problem generally existing in the field of electronic design automation, the present invention further introduces a meta learning policy based on importance sampling for optimizing a training process of a model. To train the provided method, an FSL dataset based on CircuitNet and ISPD2015 datasets is constructed.

## Claims

### Claim 1

A universal routability prediction method based on few-shot learning, wherein a universal routability prediction is converted into a meta learning scenario, and a prediction method based on the few-shot learning (FSL) is provided, to implement a routability prediction of a query chip.

### Claim 2 (depends on 1)

The universal routability prediction method based on few-shot learning according to claim 1, wherein the method comprises:
defining a universal routability prediction task T of a chip layout divided into a W×H grid as T: X→∈, wherein X represents a used chip feature;
and the task comprises different routability metrics, technical nodes, chip types, and RTL designs;
modeling the universal routability prediction task as a meta learning scenario, constructing a universal few-shot learner F, and by using chip data (support set ST) with a same RTL design as an unseen chip design (query Xq), adapting to any routability prediction task T, to generate an accurate routability prediction Yq=F (Xq,ST), ST={(Xi, Yi)}i≤N; and by using a meta training dataset Dtrain comprising a plurality of routability prediction tasks, training a routability prediction model through meta learning, to enable the routability prediction model to acquire general knowledge during a plurality of times of FSL processes;
to fully use spatial correlation information between a chip feature and a label, modeling the universal routability prediction task as a dense prediction problem T: X∈→Y∈, and using four features widely used in the routability prediction task; and
for a routability prediction task t of a chip design, using, by the routability prediction model, a query
x
q
t
and a support set
S
t
=
{
(
x
i
t
,
y
i
t
)
}
i
≤
N
that is composed of a chip feature with the same RTL design and a label thereof as inputs; and in the support set, performing cascading by each chip feature and the label thereof in a channel dimension, and promoting information interaction between the support set and the query through a cross block, thereby accurately predicting a routability result
y
^
q
t
=
F
⁢
(
x
q
t
,
S
t
)
.

### Claim 3 (depends on 2)

The universal routability prediction method based on few-shot learning according to claim 2, wherein in the training the routability prediction model through meta learning, to enable the routability prediction model to acquire general knowledge during a plurality of times of FSL processes, an importance sampling technology is introduced for the meta learning, to optimize losses of the model on different tasks, and a target is to enable the model to self-adaptively perform task sampling =[Lt/pt], where ptμ √{square root over (E[Lt2])} and Σpt=1 according to dynamic changes of different task losses Lt in a training process; and each task retains 10 recent historical loss values and performs dynamic updating in the training process.

### Claim 4 (depends on 3)

The universal routability prediction method based on few-shot learning according to claim 3, wherein before the training is started, a batch B of tasks t are selected through random sampling, and after 10 samples are collected for each task, a meta learning policy based on importance sampling is initiated: in a task sampling phase, to introduce randomness and prevent the model from forgetting past knowledge, a constant γ=0.01 is added when a probability pt of task sampling is calculated, and a quantity of tasks in the meta training dataset Dtrain is n; a batch B of tasks tB are sampled based on pt; a query
Q
b
t
←
(
x
b
t
,
y
b
t
)
and a support set
S
b
t
←
{
(
x
i
t
,
y
i
t
)
}
i
≤
N
are sampled from each task tb∈B; to prevent overfitting of the model on a specific task and improve data diversity, data enhancement is performed on the query
Q
b
t
and the support set
S
b
t
separately; and finally, the training improves accuracy of the routability prediction of the model for a given query under a condition that St is the support set, to enable the model to acquire general knowledge related to the FSL through the meta learning.

### Claim 5 (depends on 2)

The universal routability prediction method based on few-shot learning according to claim 2, wherein the four features widely used in the routability prediction task are: Rectangular Uniform Wire Density (RUDY), RUDY pin, macro region, and unit density.

### Claim 6 (depends on 2)

The universal routability prediction method based on few-shot learning according to claim 2, wherein in a process of accurately predicting the routability result
y
^
q
t
=
F
⁢
(
x
q
t
,
S
t
)
for the routability prediction task t of the chip design, UniverSeg is used as a backbone, to adapt to different sizes of support sets.

### Claim 7 (depends on 2)

The universal routability prediction method based on few-shot learning according to claim 2, wherein the meta training dataset Dtrain is constructed based on CircuitNet and ISPD2015 datasets.

### Claim 8 (depends on 7)

The universal routability prediction method based on few-shot learning according to claim 7, wherein a dataset corresponding to each routability prediction task of the chip design constructs three disjoint splits d={ds,dv,dt}, respectively containing 60%, 20%, and 20% of data; and the model uses a support split ds and a test split dt in a training set to train the model and uses a verification split dv to perform model selection and hyperparameter tuning.

### Claim 9 (depends on 1)

A universal routability prediction system based on few-shot learning, comprising a memory, a processor, and a computer program instruction that is stored on the memory and can be executed by the processor, wherein when the processor executes the computer program instruction, the method steps according to claim 1 can be implemented.

### Claim 10 (depends on 1)

A computer-readable storage medium storing a computer program instruction that can be executed by a processor, wherein when the processor executes the computer program instruction, the method steps according to claim 1 can be implemented.
