A chip layout extraction method based on neural architecture search
By employing neural architecture search and multi-threaded block processing, the problems of robustness to contamination artifacts and model redundancy in chip layout extraction are solved, achieving efficient and accurate layout extraction that is suitable for chip reverse engineering.
Patent Information
- Application Number
- CN202611267741.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-20
- Publication Date
- 2026-12-01
AI Technical Summary
Existing chip layout extraction methods are not robust enough to the contamination artifacts introduced by chemical mechanical polishing. The general detector models are redundant and have slow inference speed, making it difficult to meet the accuracy and efficiency requirements of chip reverse engineering. Block processing is slow and prone to missed detections or duplicate detections.
A neural architecture search-based approach is employed, which automatically discovers compact, task-specific detectors through contamination-sensing data augmentation and a two-level neural architecture search algorithm. Combined with a multi-threaded block and merging strategy, it processes ultra-large scanning electron microscope images.
It significantly improves the accuracy and robustness of layout extraction, reduces misclassification and manual correction workload, and achieves efficient ultra-large image processing to meet the actual needs of chip reverse engineering.
Smart Images

Figure CN123200529A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the fields of chip reverse engineering and deep learning technology, specifically to a chip layout extraction method based on neural architecture search, which is used to automatically extract standard cell layouts from chip scanning electron microscope images, providing technical support for hardware assurance, intellectual property protection, and chip trust verification. Background Technology
[0002] Chip reverse engineering is a key technology for hardware assurance. By extracting and analyzing chip layouts, it's possible to detect the presence of malicious hardware malware, verify whether a chip was manufactured according to its design, and identify potential intellectual property infringements. Layout extraction is a fundamental and crucial step in the reverse engineering process, and its accuracy directly impacts the reliability of subsequent analysis results. However, existing layout extraction frameworks face numerous challenges in practical applications, failing to meet the precision and efficiency requirements of industrial-grade applications.
[0003] First, chemical mechanical polishing (CMP) processes introduce contamination artifacts during chip manufacturing, including stains and scratches. These artifacts severely interfere with layout extraction algorithms' identification of standard cells, leading to frequent misclassifications and requiring extensive manual correction. Manual correction is not only time-consuming and labor-intensive but can also introduce human error, affecting the accuracy and reliability of reverse engineering. Most existing methods lack specific handling for CMP contamination, resulting in insufficient robustness of models in contaminated environments.
[0004] Secondly, most existing layout extraction methods employ general-purpose object detectors, such as Faster R-CNN and YOLO. While these detectors perform well on large-scale general datasets, they suffer from model redundancy issues for the specific task of chip layout. General-purpose detectors typically contain a large number of parameters, resulting in slow inference speed and high memory consumption, making it difficult to meet the real-time processing requirements of ultra-large scanning electron microscope (SEM) images. Furthermore, the network structure of general-purpose detectors is not optimized for the features of standard cell layouts, failing to fully utilize the structural regularity of the layout.
[0005] Furthermore, chip SEM images typically have extremely high resolution, such as 54000×54000 pixels, with a single image containing over 2.9 billion pixels. Such large images cannot be directly input into deep learning models for processing and must be processed in blocks. However, most existing block processing methods employ single-threaded serial processing, resulting in slow processing speeds that fail to meet the efficiency requirements of practical applications. Simultaneously, during block processing, standard units at the boundaries of adjacent sub-blocks may be truncated, leading to missed or duplicate detections, necessitating appropriate merging strategies.
[0006] Therefore, there is an urgent need for a chip layout extraction method that can cope with CMP contamination, has a compact model, and supports parallel processing of ultra-large images, so as to improve the accuracy, efficiency and robustness of layout extraction and meet the practical application needs of chip reverse engineering. Summary of the Invention
[0007] The purpose of this invention is to overcome the shortcomings of the existing technology by providing a chip layout extraction method based on neural architecture search, which can effectively deal with chemical mechanical polishing (CMP) contamination, automatically discover compact mission-specific detectors, and support parallel processing of ultra-large scanning electron microscope (SEM) images, thereby improving the accuracy, efficiency and robustness of layout extraction.
[0008] The objective of this invention can be achieved through the following technical solutions: A chip layout extraction method based on neural architecture search includes the following steps: The scanning electron microscope image to be detected is acquired, the scanning electron microscope image is divided into multiple overlapping sub-blocks, and each sub-block is independently inferred using a pre-searched compact dedicated detector to obtain the standard unit detection result within each sub-block. The standard cell detection results within each sub-block are merged to obtain the final layout extraction result; The structure of the compact dedicated detector is obtained by searching using a gradient-based two-level neural architecture search algorithm and trained using a dataset augmented with pollution-sensing data.
[0009] Furthermore, a sliding window strategy is used to segment the scanning electron microscope image into multiple overlapping sub-blocks.
[0010] Furthermore, the window size and step size of the sliding window strategy are adaptively adjusted according to the graphics processor's video memory capacity.
[0011] Furthermore, a global nonmaximum suppression strategy is employed for the merging process.
[0012] Furthermore, the two-level neural architecture search algorithm includes a macro-level search stage and a micro-level search stage. The macro-level search stage is used to find the optimal unit structure in the search space, and the micro-level search stage is used to refine the search for the number of channels of each node within the unit structure obtained by the macro-level search.
[0013] Furthermore, the search space of the macro-level search stage includes the following candidate operations: ordinary convolution, depthwise separable convolution, dilated convolution, max pooling, average pooling, identity mapping, and zero operation.
[0014] Furthermore, the pollution perception data enhancement includes one or more of dynamically selected pollution corrosion enhancement and scratch corrosion enhancement.
[0015] Furthermore, the enhanced corrosion due to contamination specifically includes: Construct a stain mask library, which contains multiple pixel-level stain masks obtained from real stain scanning electron microscope images annotated in a semantic segmentation format; For each original map image, a stain pasting operation is triggered with a preset probability. A stain mask is sampled from the stain mask library, and a random affine transformation and scaling process is applied to the stain mask. Using the same area as the transformed stain mask, the corresponding stain texture blocks are extracted from real stain scanning electron microscope images; By using element-wise alpha blending, the stain texture is overlaid onto the original map image with a preset transparency, forming an enhanced image with stain corrosion. Among them, stain pasting only changes the appearance of the image without changing the underlying geometric structure of the map, and the standard unit bounding box annotation of the original map image remains unchanged; The scratch corrosion enhancement specifically includes: Randomly obtain the starting and ending coordinates of the scratch; Randomly obtain the line segment width and color parameters of the scratch; Based on the start point, end point, line segment width, and color parameters, a scratch erosion of the line segment shape is synthesized, and the pixels covered by the scratch are colored. The synthesized scratch erosion is superimposed on the original map image to form an enhanced image with scratch erosion.
[0016] Furthermore, when training the compact dedicated detector, a two-layer optimization strategy is adopted to alternately update the network structure parameters and network weight parameters.
[0017] Furthermore, when using the two-level neural architecture search algorithm, a floating-point operation frequency regularization term is introduced as a constraint condition during the search.
[0018] Compared with the prior art, the present invention has the following beneficial effects: First, by enhancing the pollution perception data pipeline, this invention can synthesize realistic CMP pollution artifacts, significantly improving the robustness of the model in polluted environments and reducing misclassification and manual correction workload. Second, through a two-level neural architecture search, this invention can automatically discover compact, task-specific detectors with significantly fewer model parameters than mainstream general detectors, resulting in fast inference speed and low memory usage. Third, through a multi-threaded block and merging strategy, this invention can efficiently process ultra-large SEM images and complete the extraction of a 54000×54000 pixel ARM9 polysilicon layout in 76.09 seconds, meeting the needs of practical applications. Fourth, on the ISCAS89 benchmark test, the present invention achieves a recall rate of greater than or equal to 98%, and the number of model parameters is significantly less than that of mainstream detectors. On a real ARM9 polysilicon layout, it achieves a recall rate of 94.5% and a precision of 91.0%. Attached Figure Description
[0019] Figure 1 This is an overall flowchart of the method of the present invention; Figure 2 A schematic diagram of a pipeline for enhancing pollution sensing data; Figure 3 This is a schematic diagram of the stain corrosion formation process; Figure 4 This is a schematic diagram of the scratch corrosion formation process; Figure 5 A schematic diagram of the search space for a two-level neural architecture search; Figure 6 A flowchart for the macro-level search phase; Figure 7 A flowchart for the micro-level search phase; Figure 8 This is a schematic diagram of the structure for mixed operations; Figure 9 This is a schematic diagram of a two-layer optimization strategy; Figure 10 This is a schematic diagram illustrating a multi-threaded block and merge strategy. Figure 11 A schematic diagram of the sliding window block strategy; Figure 12 This is a schematic diagram of a global nonmaximum suppression merging strategy; Figure 13 A comparison chart of recall rates on the ISCAS89 benchmark test; Figure 14 A comparison chart of model parameter quantities; Figure 15 This is a schematic diagram of the detection results on a real ARM9 polysilicon layout. Figure 16 This is a comparison chart of inference time. Detailed Implementation
[0020] The present invention will now be described in detail with reference to the accompanying drawings and specific embodiments. These embodiments are based on the technical solution of the present invention and provide detailed implementation methods and specific operating procedures. However, the scope of protection of the present invention is not limited to the following embodiments.
[0021] Example 1 This embodiment provides a chip layout extraction method based on neural architecture search. The method includes: acquiring a scanning electron microscope image to be detected; segmenting the scanning electron microscope image into multiple overlapping sub-blocks; using a pre-searched compact dedicated detector to perform independent inference on each sub-block to obtain standard cell detection results within each sub-block; and merging the standard cell detection results within each sub-block to obtain the final layout extraction result. This method employs a compact, task-specific standard cell detector, enabling high-precision standard cell detection with a relatively small number of model parameters.
[0022] like Figure 1 As shown, the above method mainly includes the following steps: Step 1: Build a data augmentation pipeline for pollution perception.
[0023] In this embodiment, a dataset for training is established through a pollution-aware data augmentation pipeline. By randomly generating stains and scratches, realistic CMP pollution artifacts are synthesized and added to the training data to improve the robustness of the model in polluted environments.
[0024] like Figure 2 As shown, the pollution perception data augmentation pipeline in this embodiment includes two parts: a stain pasting module and a scratch generation module. During model (i.e., detector) training, this pipeline randomly augments the original map image to synthesize realistic CMP pollution artifacts, thereby improving the model's robustness in polluted environments. By introducing diverse pollution artifacts during the training phase, the model can learn pollution-invariant map features, reducing misclassification of pollution artifacts in practical applications.
[0025] like Figure 3 As shown, the stain pasting module generates stain erosion through the following steps: First, constructing a stain mask library. From real SEM images with CMP contamination, multiple pixel-level stain masks are manually annotated using semantic segmentation format to form a stain mask library. Each mask corresponds to the shape and distribution of the real stain. Second, random triggering and mask transformation. For each original training image, with probability p... s=0.6 triggers the stain pasting operation; after triggering, a stain mask is randomly sampled from the stain mask library, and a random affine transformation including rotation, scaling, and translation is applied to it to obtain the transformed stain mask. The third step is to extract the real stain texture. Using the same area as the transformed stain mask, the corresponding stain texture block is extracted from the real polluted SEM image to ensure that the stain texture reproduces the texture of a real industrial scene. The fourth step is local alpha blending and overlay. The transformed stain mask, the original map image, and the stain texture block are element-wise alpha blended to synthesize an enhanced image with stain erosion.
[0026] The formula for generating an enhanced image with eroded stains can be expressed as: in, m To mask the stains, S For the texture of stains, This is the mixing coefficient.
[0027] like Figure 4 As shown, the scratch generation module generates scratch erosion through the following steps: First, it randomly selects the start and end coordinates of the scratch, which determine the direction and length of the scratch; second, it randomly selects the line segment width and color parameters of the scratch, where the line segment width determines the thickness of the scratch and the color parameters determine the color distribution of the scratch; third, based on the start, end, line segment width, and color parameters, it synthesizes line segment-shaped scratch erosion on the map image and colors the pixels covered by the scratch; fourth, it overlays the synthesized scratch erosion onto the original map image to form an enhanced image with scratch erosion.
[0028] The formula for generating an enhanced image with scratch erosion can be expressed as: in, Elastic deformation, For luma mask, This represents the displacement field.
[0029] In the pollution perception data enhancement pipeline, the aforementioned random stain pasting and scratch generation are dynamically selected independently and with probabilities, and mixed to construct the training set. The data enhancement formula can be expressed as: in, To enhance the image, This indicates random stain pasting. This indicates that a scratch has been generated. This represents the original image.
[0030] Through the aforementioned stain pasting module and scratch generation module, this invention can synthesize diverse pollution artifacts, covering common stain and scratch corrosion types in CMP processes. During training, each iteration randomly selects whether to apply stain enhancement, scratch enhancement, or both simultaneously, and randomly selects the intensity and location of the enhancement, thereby generating rich training samples and effectively improving the model's robustness in polluted environments.
[0031] Step 2: Gradient-based two-level neural architecture search In this embodiment, a gradient-based two-level neural architecture search algorithm is used to search for the structure of a compact dedicated detector, and the detector is trained using a dataset augmented with pollution-sensing data.
[0032] Furthermore, such as Figure 5 As shown, the two-level neural architecture search in this embodiment includes two stages: macro-level search and micro-level search. The macro-level search stage is used to find the optimal cell structure in the search space, including input resolution, backbone network depth, and FPN layers. The optimal macro configuration is obtained by training within a combination space with multiple macro configurations. The micro-level search stage is used to refine the search for the number of channels in each node within the cell structure obtained from the macro-level search, ultimately obtaining the minimum channel width while ensuring performance. This search algorithm utilizes the structural regularity of standard cell layouts to automatically discover compact, task-specific standard cell detectors. Unlike general detectors that use fixed network structures, this invention automatically finds the network structure most suitable for the layout extraction task through the search process, thereby reducing the number of model parameters while ensuring performance.
[0033] The macro-level search phase seeks the optimal unit structure within the search space. This search space includes multiple candidate operations, such as ordinary convolution, depthwise separable convolution, dilated convolution, max pooling, average pooling, identity mapping, and zero operations. Each candidate operation has a different receptive field and parameter count, adaptable to different feature distributions. For example, ordinary convolution has a large receptive field, suitable for extracting global features; depthwise separable convolution has few parameters, suitable for lightweight designs; and dilated convolution can expand the receptive field without increasing the number of parameters.
[0034] like Figure 6As shown, the macro-level search phase includes: initializing the search space; generating macro configuration combinations; training and evaluating configuration by configuration, with Faster R-CNN as the baseline detector, and evaluating the detector using the mAP metric; selecting the configuration with the highest mAP and satisfying the floating-point operation count (FLOPs) regularization term as the optimal macro configuration. In this embodiment, a floating-point operation count (FLOPs) regularization term is introduced to constrain model complexity and prevent the search process from favoring operations with excessively large parameter counts. The FLOPs regularization term incorporates the computational cost of the model into the optimization objective, achieving a balance between performance and efficiency in the searched network structure. The micro-level search stage refines the search for the number of channels at each node within the unit structure obtained from the macro-level search. By adjusting the number of channels, the number of parameters can be further reduced while maintaining model performance. The micro-level search employs a gradient descent method similar to the macro-level search, but the search space is limited to the channel number dimension, resulting in higher search efficiency.
[0035] like Figure 7 As shown, the micro-level search phase includes: constructing a supernetwork using MixedOp based on the optimal macro configuration; and obtaining the optimal number of channels using the Two-Level Optimization Strategy (DARTS).
[0036] Furthermore, such as Figure 8 As shown, a MixedOp operation is used to combine multiple candidate operations using a softmax weighted combination. Specifically, for each node, MixedOp calculates a weighted sum of all candidate operations, with the weights normalized using the softmax function. The weights of each candidate operation are optimized using gradient descent, gradually converging to a few effective operations during the search process. After the search is complete, the operation with the largest weight is selected as the final network structure, resulting in a compact, task-specific detector.
[0037] The formula for mixed operations can be expressed as: ,in, As learnable weights, they are optimized using gradient descent. These are the weighting coefficients.
[0038] like Figure 9 As shown, a two-layer optimization strategy is employed, alternately updating the network structure parameters (denoted as α) and network weight parameters (denoted as w). In each iteration, the network weight parameters w are first updated on the training set using SGD as the optimizer, and then the network structure parameters α are updated on the validation set using Adam as the optimizer. This two-layer optimization allows for simultaneous optimization of both the network structure and network weights, preventing mutual interference between them.
[0039] In this embodiment, the lower-level optimization in the two-level optimization strategy can be expressed as: in, Represents the training set loss function. Denotes the validation set loss function. This is the regularization parameter.
[0040] Step 3: Multi-threaded segmentation and merging strategy.
[0041] like Figure 10 As shown, the multi-threaded block-based and merging strategy includes three steps: block-based processing, parallel inference, and merging. This strategy can efficiently process ultra-large SEM images, meeting the efficiency requirements of practical applications. Chip SEM images typically have extremely high resolution, and a single image cannot be directly input into a deep learning model; a block-based processing strategy must be adopted. This invention achieves efficient processing of ultra-large images through multi-threaded parallel inference and a global merging strategy.
[0042] like Figure 11 As shown, the segmentation step employs a sliding window strategy to divide the ultra-large SEM image into multiple overlapping sub-blocks. The window size and stride are adaptively adjusted based on the GPU's memory capacity to ensure that each sub-block can be processed independently on the GPU. There are overlapping regions between adjacent sub-blocks, the size of which is determined by the maximum size of the standard cell to ensure that standard cells at the boundaries can be completely detected, avoiding missed detections due to segmentation. Simultaneously, white pixels are used to fill the boundaries to achieve boundary alignment.
[0043] Specifically, the total number of sub-blocks obtained by the block division step can be represented as nH×nW= [(HK) / S]+1×[(WK) / S]+1, where K represents the window side length, S represents the step size, and H and W are the length and width of the original scanning electron microscope image.
[0044] During the parallel inference phase, multiple threads are used to perform independent inference on each sub-block. Each thread loads one sub-block onto the GPU, runs the detector model, and outputs the standard unit detection results within that sub-block. Multi-threaded parallel inference fully leverages the parallel computing power of multi-core CPUs and multi-GPUs, significantly improving processing speed. The number of threads is dynamically adjusted based on the number of available GPUs and video memory capacity to maximize resource utilization.
[0045] like Figure 12As shown, the merging step employs a global non-maximum suppression (NMS) strategy to remove duplicate detection boxes in overlapping regions. Specifically, for detection boxes within overlapping regions, the intersection-over-union (IoU) ratio between them is calculated. If the IoU exceeds a preset threshold, detection boxes with higher confidence are retained, while those with lower confidence are deleted. Global NMS is performed on the detection results of all sub-blocks to ensure that the merged detection results are free of duplication and retain the best detection box for each standard unit.
[0046] To verify the effectiveness of this invention, experiments were conducted on the ISCAS89 benchmark and a real ARM9 polysilicon layout. ISCAS89 is an internationally recognized circuit benchmark set that includes various types of standard circuits, enabling a comprehensive evaluation of the performance of layout extraction methods. The real ARM9 polysilicon layout is a 54000×54000 pixel SEM image, representing an application scenario in actual chip reverse engineering.
[0047] like Figure 13 As shown, on the ISCAS89 benchmark, this invention achieves a recall rate of ≥98%, significantly outperforming mainstream general-purpose detectors. This indicates that the neural architecture search of this invention can discover network structures suitable for layout extraction tasks, improving the detection recall rate of standard units. High recall means that this invention can detect the vast majority of standard units, reducing missed detections and providing a complete data foundation for subsequent reverse engineering analysis.
[0048] like Figure 14 As shown, the model parameters of this invention are significantly fewer than those of mainstream general-purpose detectors, demonstrating that neural architecture search can discover compact, task-specific detectors. Through two-level search and FLOPs regularization, this invention significantly reduces the number of model parameters, memory usage, and inference overhead while maintaining performance, enabling the model to run in resource-constrained environments.
[0049] like Figure 15 As shown, on a real ARM9 polysilicon layout of 54000×54000 pixels, this invention achieves a recall rate of 94.5% and a precision of 91.0%, accurately identifying standard cells in the layout. This demonstrates that this invention has good generalization ability in real-world application scenarios and can address various challenges in actual chip SEM images, including CMP contamination, image noise, and the diversity of standard cells.
[0050] like Figure 16As shown, this invention completes the extraction of a 54000×54000 pixel ARM9 polysilicon layout in 76.09 seconds, demonstrating the efficiency of the multi-threaded block partitioning and merging strategy. Compared to single-threaded serial processing, multi-threaded parallel inference significantly shortens the processing time, enabling this invention to meet the efficiency requirements of practical applications. The experimental data above show that this invention outperforms existing technologies in terms of recall, accuracy, number of model parameters, and inference time, effectively addressing the challenges of layout extraction in chip reverse engineering.
[0051] If the above methods are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0052] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0053] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0054] Although preferred embodiments of the invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including both the preferred embodiments and all changes and modifications falling within the scope of the invention.
[0055] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.
Claims
1. A chip layout extraction method based on neural architecture search, characterized in that, Includes the following steps: The scanning electron microscope image to be detected is acquired, the scanning electron microscope image is divided into multiple overlapping sub-blocks, and each sub-block is independently inferred using a pre-searched compact dedicated detector to obtain the standard unit detection result within each sub-block. The standard cell detection results within each sub-block are merged to obtain the final layout extraction result; The structure of the compact dedicated detector is obtained by searching using a gradient-based two-level neural architecture search algorithm and trained using a dataset augmented with pollution-sensing data.
2. The chip layout extraction method based on neural architecture search according to claim 1, characterized in that, The scanning electron microscope image is segmented into multiple overlapping sub-blocks using a sliding window strategy.
3. The chip layout extraction method based on neural architecture search according to claim 2, characterized in that, The sliding window strategy adaptively adjusts the window size and step size based on the graphics processor's video memory capacity.
4. The chip layout extraction method based on neural architecture search according to claim 1, characterized in that, The merging process is performed using a global nonmaximum suppression strategy.
5. The chip layout extraction method based on neural architecture search according to claim 1, characterized in that, The two-level neural architecture search algorithm includes a macro-level search stage and a micro-level search stage. The macro-level search stage is used to find the optimal unit structure in the search space, and the micro-level search stage is used to refine the search for the number of channels of each node within the unit structure obtained by the macro-level search.
6. The chip layout extraction method based on neural architecture search according to claim 5, characterized in that, The search space of the macro-level search stage includes the following candidate operations: ordinary convolution, depthwise separable convolution, dilated convolution, max pooling, average pooling, identity mapping, and zero operation.
7. The chip layout extraction method based on neural architecture search according to claim 1, characterized in that, The pollution perception data enhancement includes one or more of dynamically selected pollution corrosion enhancement and scratch corrosion enhancement.
8. The chip layout extraction method based on neural architecture search according to claim 7, characterized in that, The enhanced corrosion caused by the pollution specifically includes: Construct a stain mask library, which contains multiple pixel-level stain masks obtained from real stain scanning electron microscope images annotated in a semantic segmentation format; For each original map image, a stain pasting operation is triggered with a preset probability. A stain mask is sampled from the stain mask library, and a random affine transformation and scaling process is applied to the stain mask. Using the same area as the transformed stain mask, the corresponding stain texture blocks are extracted from real stain scanning electron microscope images; By using element-wise alpha blending, the stain texture is overlaid onto the original map image with a preset transparency, forming an enhanced image with stain corrosion. Among them, stain pasting only changes the appearance of the image without changing the underlying geometric structure of the map, and the standard unit bounding box annotation of the original map image remains unchanged; The scratch corrosion enhancement specifically includes: Randomly obtain the starting and ending coordinates of the scratch; Randomly obtain the line segment width and color parameters of the scratch; Based on the start point, end point, line segment width, and color parameters, a scratch erosion of the line segment shape is synthesized, and the pixels covered by the scratch are colored. The synthesized scratch erosion is superimposed on the original map image to form an enhanced image with scratch erosion.
9. The chip layout extraction method based on neural architecture search according to claim 1, characterized in that, When training the compact dedicated detector, a two-layer optimization strategy is adopted to alternately update the network structure parameters and network weight parameters.
10. The chip layout extraction method based on neural architecture search according to claim 1, characterized in that, When performing the search using the two-level neural architecture search algorithm, a floating-point operation frequency regularization term is introduced as a constraint.
