원시데이터 수집 시스템
선정목록으로

Data Efficient Lithography Modeling With Transfer Learning and Active Data Selection

간접 관련 필름·전자재료 · (14) 드라이 필름(포토레지스트) (21) 에폭시수지

기본 정보

저자
  1. Yibo Lin — Department of Electrical and Computer Engineering, University of Texas at Austin, Austin, TX, USA
  2. Meng Li — Department of Electrical and Computer Engineering, University of Texas at Austin, Austin, TX, USA
  3. Yuki Watanabe — Memory Lithography Group, Toshiba Memory Corporation, Yokohama, Japan
  4. Taiki Kimura — Memory Lithography Group, Toshiba Memory Corporation, Yokohama, Japan
  5. Tetsuaki Matsunawa — Memory Lithography Group, Toshiba Memory Corporation, Yokohama, Japan
  6. Shigeki Nojima — Memory Lithography Group, Toshiba Memory Corporation, Yokohama, Japan
  7. David Z. Pan — Department of Electrical and Computer Engineering, University of Texas at Austin, Austin, TX, USA
DOI
10.1109/tcad.2018.2864251
저널
IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
발행년도
2018
발행기관
Institute of Electrical and Electronics Engineers
피인용수
51
라이선스
publisher-specific-oa
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/tcad.2018.2864251
토픽
Advancements in Photolithography Techniques
OpenAlex ID
W2964309037

평가 내용

관련도
간접 관련
사업분야
필름·전자재료 · (14) 드라이 필름(포토레지스트)
부 분야
(21) 에폭시수지
R&D 측면
분석·모델링
확신도
0.80
근거 용어
Lithography modeling, Resist modeling, Photoresist, Transfer learning, Machine learning
판단 근거
이 논문은 반도체 리소그래피 공정에서 감광액(Photoresist)의 거동을 예측하기 위한 머신러닝 기반의 모델링 기술을 다루고 있습니다. 코오롱인더스트리의 직접적인 제품은 아니나, 드라이 필름(포토레지스트) 및 관련 화학 수지 분야의 공정 최적화 및 시뮬레이션 모델링에 응용 가능한 기술입니다.
R&D 활용 포인트
드라이 필름(포토레지스트)의 감광 특성 및 노광 공정 시뮬레이션 정확도를 높이기 위한 데이터 효율적 모델링 기법으로 활용 가능합니다.
평가 입력
본문 77,401자 중 30,032자 발췌

초록

Lithography simulation is one of the key steps in physical verification, enabled by the substantial optical and resist models. A resist model bridges the aerial image simulation to printed patterns. While the effectiveness of learning-based solutions for resist modeling has been demonstrated, they are considerably data-demanding. Meanwhile, a set of manufactured data for a specific lithography configuration is only valid for the training of one single model, indicating low data efficiency. Due to the complexity of the manufacturing process, obtaining enough data for acceptable accuracy becomes very expensive in terms of both time and cost, especially during the evolution of technology generations when the design space is intensively explored. In this paper, we propose a new resist modeling framework for contact layers, utilizing existing data from old technology nodes and active selection of data in a target technology node, to reduce the amount of data required from the target lithography configuration. Our framework based on transfer learning and active learning techniques is effective within a competitive range of accuracy, i.e., $3 \times -10 \times $ reduction on the amount of training data with comparable accuracy to the state-of-the-art learning approach.

본문 77,401자

본문 펼치기
# Data Efficient Lithography Modeling with Transfer Learning and Active Data Selection Yibo Lin _Student_ _Member,_ _IEEE_, Meng Li _Student_ _Member,_ _IEEE_, Yuki Watanabe, Taiki Kimura, Tetsuaki Matsunawa, Shigeki Nojima, David Z. Pan _Fellow,_ _IEEE_ Slicing <u>threshold</u> Simulated CD (b) _Abstract_ —Lithography simulation is one of the key steps in physical verification, enabled by the substantial optical and resist models. A resist model bridges the aerial image simulation to printed patterns. While the effectiveness of learning-based solutions for resist modeling has been demonstrated, they are considerably data-demanding. Meanwhile, a set of manufactured data for a specific lithography configuration is only valid for the training of one single model, indicating low data efficiency. Due to the complexity of the manufacturing process, obtaining enough data for acceptable accuracy becomes very expensive in terms of both time and cost, especially during the evolution of technology generations when the design space is intensively explored. In this work, we propose a new resist modeling framework for contact layers, utilizing existing data from old technology nodes and active selection of data in a target technology node, to reduce the amount of data required from the target lithography configuration. Our framework based on transfer learning and active learning techniques is effective within a competitive range of accuracy, i.e., 3-10X reduction on the amount of training data with comparable accuracy to the state-of-the-art learning approach. _Index_ _Terms_ —Lithography modeling, Machine learning, Transfer learning, Active learning, Convolutional neural networks, Residual neural networks I. INTRODUCTION Due to the continuous semiconductor scaling from 10 _nm_ technology node (N10) to 7 _nm_ node (N7) [1], [2], the prediction of printed pattern sizes is becoming increasingly difficult and complicated due to the complexity of manufacturing process and variations. However, complex designs demand accurate simulations to guarantee functionality and yield. Resist modeling, as a key component in lithography simulation, is critical to bridge the aerial image simulation to manufactured wafer data. Rigorous simulations that perform physics-level modeling suffer from large computational overhead, which are not suitable when used extensively. Thus compact resist models are widely used in practice. Figure 1(a) shows the process of lithography simulations where the aerial image is computed from the input mask patterns and the optical model, and the output pattern is computed from the aerial image and the resist model. As the aerial image contains the light intensity map, the resist model needs to determine the slicing thresholds for the output patterns as shown in Figure 1(b). With the thresholds, the critical dimensions (CDs) of printed patterns can be computed, which need to match CDs measured from manufactured patterns. In practice, various factors may impact a resist model such as the physical properties of photoresist, design rules of patterns, process variations. Critical dimension usually refers to the smallest dimension on a lithography level that must be accurately controlled when fabricating a device. Here critical dimensions refer to the sizes of printed patterns. Accurate lithography simulation like rigorous physics-based simulation is notorious for its long computational time, while simulation with compact models suffers from accuracy issues [3], [4]. On the Y. Lin, M. Li and D. Z. Pan are with The Department of Electrical and Computer Engineering, The University of Texas at Austin, TX, USA. Y. Watanabe, T. Kimura, T. Matsunawa, and S. Nojima are with Toshiba Memory Corporation, Yokohama, Japan. Fig. 1: (a) Process of lithography simulation with optical and resist models. (b) Thresholds for aerial image determine simulated CD, which should match manufactured CD. other hand, machine learning techniques are able to construct accurate models and then make efficient predictions. These approaches first take training data to calibrate a model and then use this model to make predictions on testing data for validation. The effectiveness of learning-based solutions has been studied in various lithography related areas including aerial image simulation [5], hotspot detection [6]–[11], optical proximity correction (OPC) [12]–[15], subresolution assist features (SRAF) [16], [17], resist modeling [3], [4], etc. In resist modeling, a convolutional neural network (CNN) that predicts slicing thresholds in aerial images is proposed [4]. The neural network consists of three convolution layers and two fully connected layers. Since the slicing threshold is a continuous value, learning a resist model is a regression task rather than a classification task. Around 70% improvement in accuracy is reported compared with calibrated compact models from Mentor Calibre [18]. Shim et al. [3] propose an artificial neural network (ANN) with five hidden layers to predict the height of resist after exposure. Significant speedup is reported with high accuracy compared with a rigorous simulation. Although the learning-based approaches are able to achieve high accuracy, they are generally data-demanding in model training. In other words, big data is assumed to guarantee accuracy and generality. Furthermore, one data sample can only be used to train the corresponding model under the same lithography configuration, indicating a low data efficiency. Here data efficiency evaluates the accuracy a model can achieve given a specific amount of data, or the amount of data samples are required to achieve target accuracy. Nevertheless, obtaining a large amount of data is often expensive and time-consuming, especially when the technology node switches from one to another and the design space is under active exploration, e.g., from N10 to N7. The lithography configurations including optical sources, resist materials, etc., are frequently changed for experiments. Therefore, a fast preparation of models with high accuracy is urgently desired. In addition, it remains to be a question that what are the best designs for building a model. Typical practice of regular array patterns or random patterns may not be representative enough to calibrate accurate and generic models. Thus effective techniques to recognize representative designs will also be beneficial to improving data efficiency. Optical model Resist model Mask pattern Aerial image Resist pattern (a) Different from previous approaches, in this work, we assume the availability of large amounts of data from the previous technology generation with old lithography configurations and small amounts of data from a target lithography configuration. We focus on increasing the data efficiency by 1) reusing those from other lithography configurations and transfer the knowledge between different configurations; 2) active selection of data samples in the target configuration, also known as active learning. The objective is to achieve accurate resist models with significantly fewer data to a target configuration. The major contributions are summarized as follows. _•_ We propose a high performance resist modeling technique based on the residual neural network (ResNet). _•_ We propose a transfer learning scheme for ResNet that can reduce the amount of data with a target accuracy by utilizing the data from other configurations. _•_ We propose an active learning scheme based on K-Medoids algorithm with theoretical insights for both CNN and ResNet. _•_ The experimental results demonstrate 3-10X reduction in the amount of training data to achieve accuracy comparable to the state-of-the-art learning approach [4]. The rest of the paper is organized as follows. Section II illustrates the problem formulation. Section III explains the details of our approach. The effectiveness of our approach is verified in Section IV and the conclusion is drawn in Section V. II. PRELIMINARIES In this section, we will briefly introduce the background knowledge on lithography simulation and resist modeling. Then the problem formulation is explained. We mainly focus on contact layers in this work, but our methodology shall be applicable to other layers. For simplicity, we use the word _label_ to represent the target value for prediction, e.g,. threshold, given a data sample; we also use the phrase _unlabelled_ data to denote data samples whose labels are unknown. _A._ _Lithography_ _Simulation_ Lithography simulation is generally composed of two stages, i.e., optical simulation and resist simulation, where optical and resist models are required, respectively. In the optical simulation, an optical model, characterized by the illumination tool, takes mask patterns to compute aerial images, i.e., light intensity maps. Then in the resist simulation, a resist model finalizes the resist patterns with the aerial images from the optical simulation. Generally, there are two types of resist models. One is a variable threshold resist (VTR) model in which the thresholds vary according to aerial images, and the other is a constant threshold resist (CTR) model in which the light intensity is modulated in an aerial image. We adopt the former since it is suitable to learning-based approaches [4]. Figure 2 shows an example of lithography simulation for a clip with three contacts. We assume that proper resolution enhancement techniques (RETs) such as OPC and SRAF have been applied before the computation of the aerial image [19]. The optical simulation generates the aerial image, as shown in Figure 2(b). Resist simulation then computes the thresholds in the aerial image to predict printed patterns. If we want to measure the widths of contacts along the dotted line in Figure 2(c), the light intensity profiling can be extracted from the aerial image along the line and calculates the CDs for each contact with the thresholds. _B._ _Historical_ _Data_ _and_ _Transfer_ _Learning_ Since the lithography configurations evolve from one generation to another with the advancement of technology nodes, there are plenty Fig. 2: (a) Design target of 3 contacts and (b) the light intensity plot of aerial image. Assume that RETs such as SRAF and OPC have been already applied to the contacts before optical simulation. (c) A dotted line horizontally crosses the centers at _y_ = _yc_ and the circles denote the contours of printed patterns. (d) Light intensity profiling along the dotted line at _y_ = _yc_ extracted from the aerial image and different slicing thresholds for each contact. TABLE I: Lithography Configurations for N10 and N7 <u>N7</u> N10 <u>N7</u> _<u>a</u>_ <u>N7</u> _<u>b</u>_ <u>Design</u> <u>Rule</u> _<u>A</u>_ _<u>B</u>_ _<u>B</u>_ <u>Optical</u> <u>Source</u> _<u>A</u>_ _<u>B</u>_ _<u>B</u>_ <u>Resist</u> <u>Material</u> _<u>A</u>_ _<u>A</u>_ _<u>B</u>_ of historical data available for the old generation. As mentioned in Section I, accurate models require a large amount of data for training or calibration, which are expensive to obtain during the exploration of a new generation. If the lithography configurations have no fundamental changes, the knowledge learned from the historical data may still be applicable to the new configuration, which can eventually help to reduce the amount of new data required. Transfer learning represents a set of techniques to transfer the knowledge from one or multiple source domains to a target domain, utilizing the underlying similarity between the data from these domains. Various studies have explored the effectiveness of knowledge transfer in image recognition and robotics [20]–[22], while it is not clear whether the knowledge between different resist models is transferable or not. In this work, we consider the evolution of the contact layer from the cutting edge technology node N10 to N7 [1], [2]. A large amount of available N10 data are assumed. During the evolution to N7, different design rules for mask patterns, optical sources and resist materials for lithography are explored. Table I shows the lithography configurations considered for N10 and N7. Differences in letters _A, B_ represent different configurations of design rules, optical sources, or resist materials. One configuration for N10 is considered, while two configurations are considered for N7, i.e., N7 _a_, N7 _b_, with two kinds of resist materials (about 20% difference in the slopes of dissolution curves). From N10 to N7, both the design rules and optical sources are changed. For N10, we consider a pitch of 64 _nm_ with double patterning lithography, while for N7, the pitch is set to 45 _nm_ with triple patterning lithography [1]. The width of each contact is set to half pitch. The lithography target of each contact is set to 60 _nm_ for both N10 and N7. Optical sources calibrated with industrial strength for N10 and N7 are shown in Figure 3, with the same type of illumination shapes. Various combinations of knowledge transfer can be explored from Table I, such as N10 _→_ N7, N7 _i→_ N7 _j_, and N10+N7 _i→_ N7 _j_, where _i̸_ = _j, i, j_ _∈{a, b}_ . _x_ (b) _x, y_ = _yc_ (d) Intensity Intensity _y_ _x_ (a) (c) _y_ _yc_ (a) (b) Fig. 3: Optical sources (yellow) for (a) N10 and (b) N7. _C._ _Active_ _Learning_ _for_ _Regression_ Active learning assumes unlabelled data samples exist in a pool or can be generated. Querying for data labels is very expensive and the amount of queries should be minimized. Thus selecting the proper and limited portion of data samples for querying is essential to modeling accuracy. We define the problem of pool-based active learning as: given a pool of unlabelled data samples, select _k_ samples to query for labels and train a model to maximize the accuracy across the entire dataset. Be aware that the selection of data samples should not depend on data labels since labels are unknown before querying. Hence, active learning is very effective in improving data efficiency without the requirement of any additional labelled data. There are extensive studies for active learning in classification for CNN and SVM [23]–[26]. A few studies have explored active learning for support vector regression (SVR) and multi-layer perception (MLP) [27], [28]. Most techniques are categorized into confidence level or clustering approaches. Confidence level approaches tend to choose data samples with low prediction confidence, and clustering approaches choose representative subset of data samples among an entire dataset. There are also successful applications of active learning in VLSI CAD related areas [29]–[31]. However, practical studies on active learning techniques for regression tasks with CNN or ResNet are lacking, and its performance when combined with transfer learning is unclear. It is often difficult to evaluate the confidence level with large and complicated models like CNN or ResNet, while clustering approaches only rely on the general properties of data samples and models. Therefore, we explore effective clustering strategies for active selection of data samples, which are suitable to regression tasks with CNN and ResNet. _D._ _Learning-based_ _Resist_ _Modeling_ The thresholds of positions near the contacts are of significant importance since they usually determine the boundaries of printed contacts. Hence we consider the middle of the left, right, bottom and top edges for each contact, as shown in Figure 4(a), where the positions for prediction are highlighted with black dots. As the threshold is mainly influenced by the surrounding mask patterns, resist models typically compute the threshold using a clip of mask patterns centered by a target position. To measure the thresholds in Figure 4(a), we select a clip where the target position lies in its center, as shown in Figure 4(b) to Figure 4(e). The task of a resist model is to compute the thresholds for these positions of each contact [4]. Learning-based resist modeling consists of two phases, i.e., training and testing. In the training phase, training dataset with both aerial images and thresholds are used to calibrate the model, while in the testing phase, the model predicts thresholds for the aerial images from the testing dataset. (a) (b) (c) (d) (e) Fig. 4: (a) The thresholds for the middle of the 4 edges of the center contact are predicted. (b) (c) (d) (e) The clip window is shifted such that the target position lies in the center of the clip. _E._ _Problem_ _Formulation_ The accuracy <sup>1</sup> of a model is evaluated with root mean square (RMS) error defined as follows, _N_ �(ˆ _y −_ _y_ ) <sup>2</sup> _,_ (1) _i_ =1 _ϵ_ = ~~�~~ <u>�</u> - <sup><u>1</u></sup> _N_ where _N_ denotes the amount of samples, _y_ denotes the golden values and _y_ ˆ denotes the predicted values. We further define relative RMS error, _N_ _i_ =1 <sup>_<u>y</u>_</sup> ) <sup>2</sup> _,_ (2) _y_ _ϵr_ = ~~�~~ <u>�</u> - <sup><u>1</u></sup> _N_ ( <sup>_<u>y</u>_</sup> <sup><u>ˆ</u></sup> <sup>_<u>−</u>_</sup> <sup>_<u>y</u>_</sup> where a relative ratio of error from the golden values can be represented. Both metrics can refer to errors in either CD or threshold. Although during model training, the RMS error of threshold is generally minimized due to easier computation, the eventual model is often evaluated with the RMS error of CD for its physical meaning to the patterns. The RMS errors in threshold and CD essentially have almost the same fidelity, and usually yield consistent comparison. For convenience, we report relative RMS error in threshold ( _ϵ_ <sup>_th_</sup> _r_ <sup>) for</sup> comparison of different models since it removes the dependency to the scale of thresholds, and use RMS error in CD ( _ϵ_ <sup>_CD_</sup> ) for data efficiency related comparison. Definition II.1 (Data Efficiency) . _The amount of target domain data_ _required_ _to_ _learn_ _a_ _model_ _with_ _a_ _given_ _accuracy._ Given a specific amount of data from a target domain, if one can learn a model with a higher accuracy than another, it also indicates higher data efficiency. Thus improving model accuracy benefits data efficiency as well. The resist modeling problem is defined as follows. Problem II.2 (Learning-based Resist Modeling) . _Given_ _a_ _dataset_ _containing_ _information_ _of_ _aerial_ _images_ _and_ _thresholds_ _at_ _their_ _centers,_ _train_ _a_ _resist_ _model_ _that_ _can_ _maximize_ _the_ _accuracy_ _for_ _the_ _prediction_ _of_ _thresholds._ In practice, accuracy is not the only objective. The amount of training data should be minimized as well due to the high cost of data preparation. Therefore, we propose the problem of data efficient resist modeling as follows. Problem II.3 (Data Efficient Resist Modeling) . _Given_ _a_ _labelled_ _N10_ _dataset_ _containing_ _aerial_ _images_ _and_ _thresholds,_ _and_ _an_ _un-_ _labelled_ _N7_ _dataset_ _containing_ _aerial_ _images_ _only,_ _train_ _a_ _resist_ _model_ _for_ _target_ _dataset_ _N7i_ _that_ _can_ _achieve_ _high_ _accuracy_ _and_ _meanwhile_ _query_ _labels_ _for_ _as_ _few_ _N7i_ _data_ _samples_ _as_ _possible,_ _where_ _i ∈{a, b}._ Minimizing the times of label querying is equivalent to minimizing the cost of data preparation, since the most expensive part is to 1Note that the accuracy we talk about in this paper refers to the accuracy at end of lithography flow including all RETs. Labelled Source Domain Data Data Augmentation Unlabelled Target Domain Data <mark>Active</mark> <mark>Data</mark> <mark>Selection</mark> Label Querying Data Augmentation Target Model Training Source Model Training <u>Knowledge</u> Transfer Fig. 5: Training flow with transfer learning and active learning. Optical Simulation Clip Generation SRAF and OPC Aerial Images Data Samples Thresholds Rigorous Simulation Golden Threshold Manufactured Data Fig. 6: Flow of data preparation. obtain the labels, i.e., thresholds, through either manufactured wafer data or rigorous simulation. III. ALGORITHMS In this section, we will explain the structure of our models and then the details regarding the transfer learning and active learning schemes. Figure 5 shows the overall training flow. We first leverage labelled source domain data to train a source domain model. Then before training the target domain model, active learning is applied for active selection of data samples for label querying. The target domain model is eventually trained with selected data samples and knowledge transferred from the source domain model. Data augmentation in Section III-A2 is applied before training of both source and target models. _A._ _Data_ _Preparation_ Figure 6 gives the flow of data preparation. We first generate clips and perform SRAF insertion and OPC. The aerial images are then computed from the optical simulation, and at the same time, the golden thresholds need to be computed from either the rigorous simulation or the manufactured data. Each data sample consists of an aerial image and the threshold at its center. _1)_ _Clip Generation:_ Following the design rules such as minimum pitch of contacts, we generate three types of 2 _×_ 2 _µm_ clips. It is necessary to ensure that there is a contact in the center of each clip since that is the target contact for threshold computation. Contact Array . All possible _m_ _×_ _n_ arrays of contacts within the dimensions of clips are enumerated. The steps of the arrays can be multiple times of the minimum pitch _p_, i.e., _p,_ 2 _p,_ 3 _p, . . .,_ in horizontal or vertical directions. An example of 3 _×_ 3 contact array with a certain pitch is shown in Figure 7(a). It needs to mention that the same 3 _×_ 3 contact array with different steps should be regarded as different clips due to discrepant spacing. Randomized Contact Array . The aforementioned contact arrays essentially distribute contacts on grids and fill all the slots in the grid maps. The randomization of contact arrays is implemented by a random distribution of contacts in those grid maps. Figure 7(b) (a) (b) (c) Fig. 7: (a) A clip of 3 _×_ 3 contact array. (b) A clip of 3 _×_ 3 randomized contact array. (c) A clip of contacts with random positions. (a) (b) (c) (d) (e) (f) (g) (h) Fig. 8: Combinations of rotation and flipping. (a) Original. (b) Rotate 90 <sup>_◦_</sup> . (c) Rotate 180 <sup>_◦_</sup> . (d) Rotate 270 <sup>_◦_</sup> . (a) Flip. (b) Flip and rotate 90 <sup>_◦_</sup> . (c) Flip and rotate 180 <sup>_◦_</sup> . (d) Flip and rotate 270 <sup>_◦_</sup> . shows an example of randomized contact array from the 3 _×_ 3 contact array in Figure 7(a). Various distribution of contacts can be generated even from the same grid maps. Contacts with Random Positions . Contacts in this type of clips do not necessarily align to any grid map, as their positions are randomly generated, while the design rules are still guaranteed. An example is shown in Figure 7(c). No matter how the surrounding contacts change, the contact in the center of the clip should remain the same. _2)_ _Data_ _Augmentation:_ Due to the symmetry of optical sources in Figure 3, data can be augmented with rotation and flipping, improving the data efficiency [32]. Eight combinations of rotation and flipping are shown in Figure 8, where new data samples are obtained without new thresholds. Data augmentation inflates datasets to obtain models with better generalization. _B._ _Convolutional_ _Neural_ _Networks_ Convolutional neural networks (CNN) have demonstrated impressive performance on mask related applications in lithography such as hotspot detection, and resist modeling [4], [9]. The structure of CNN mainly includes convolution layers and fully connected layers. Features are extracted from convolution layers and then classification or regression is performed by fully connected layers. Figure 11(a) illustrates a CNN structure with three convolution layers and two fully connected layers [4]. The first convolution layer has 64 filters with dimensions of 7 _×_ 7. Although not explicitly shown most of the time, a rectified linear unit (ReLU) layer for activation is applied immediately after the convolution layer, where the ReLU function is defined as, _f_ ( _x_ <sup>_l−_</sup> <sup>1</sup> ) = - _x_ <sup>_l−_</sup> <sup>1</sup> _,_ if _x_ <sup>_l−_</sup> <sup>1</sup> _≥_ 0 _,_ (3) 0 _,_ otherwise _._ Then the max-pooling layer performs down-sampling with a factor of 2 to reduce the feature dimensions and improve the invariance to translation [32]. After three convolution layers, two fully connected layers are applied where the first one has 256 hidden units followed with a ReLU layer and a 50% dropout layer, and second one connects to the output. _C._ _Residual_ _Neural_ _Networks_ One way to improve the performance of CNN is to increase the depth for a larger capacity of the neural networks. However, the counterintuitive degradation of training accuracy in CNN is observed when stacking more layers, preventing the neural networks from 5-layer 10-layer Input 7 _×_ 7 conv, 64 pool, /2 3 _×_ 3 conv, 128 pool, /2 3 _×_ 3 conv, 128 pool, /2 <mark>fc</mark> <mark>256</mark> dropout, 50% <mark>fc</mark> <mark>1</mark> Output (a) Input 7 _×_ 7 conv, 64 broadcast pool, /2 3 _×_ 3 conv, 128 3 _×_ 3 conv, 128 3 _×_ 3 conv, 128 pool, /2 3 _×_ 3 conv, 128 3 _×_ 3 conv, 128 pool, /2 3 _×_ 3 conv, 128 3 _×_ 3 conv, 128 pool, /2 <mark>fc</mark> <mark>1024</mark> dropout, 50% <mark>fc</mark> <mark>1</mark> Output (b) 4 2 4 2 _<u>·</u>_ 10 <sup>_−_</sup> <sup>2</sup> _<u>·</u>_ 10 <sup>_−_</sup> <sup>2</sup> 0 4 _,_ 000 6 _,_ 000 Iterations (a) 0 4 _,_ 000 6 _,_ 000 Iterations (b) Fig. 9: Counterintuitive (a) training and (b) testing errors for different depth of CNN with epochs. _x_ <mark>conv</mark> Tensor Dimensions 64 _×_ 64 _×_ 1 32 _×_ 32 _×_ 64 16 _×_ 16 _×_ 128 8 _×_ 8 _×_ 128 _F_ ( _x_ ) _F_ ( _x_ ) + _x_ ReLU <mark>conv</mark> + ReLU Fig. 10: Building block of ResNet. better performance [33]. An example of CNNs with 5 and 10 layers is shown in Figure 9, where the deeper CNN fails to converge to a smaller training error than the shallow one due to gradient vanishing [34], [35], eventually resulting in the failure to achieve a better testing error either. The study from He et al. [33] reveals that the underlying reason comes from the difficulty of identity mapping. In other words, fitting a hypothesis _H_ ( _x_ ) = _x_ is considerably difficult for solvers to find optimal solutions. To overcome this issue, residual neural networks (ResNet), which utilizes shortcut connections, are adopted to assist the convergence of training accuracy. The building block of ResNet is illustrated in Figure 10, where a shortcut connection is inserted between the input and output of two convolution layers. Let the function _F_ ( _x_ ) be the mapping defined by the two convolution layers. Then the entire function for the building block becomes _F_ ( _x_ ) + _x_ . Suppose the building block targets to fit the hypothesis _H_ ( _x_ ). The residual networks train _F_ ( _x_ ) = _H_ ( _x_ ) _−x_, while the convolution layers without shortcut connections like that in CNN try to directly fit _F_ ( _x_ ) = _H_ ( _x_ ). Theoretically, if _H_ ( _x_ ) can be approximated with _F_ ( _x_ ), then it can also be approximated with _F_ ( _x_ )+ _x_ . Despite the same nature, comprehensive experiments have demonstrated a better convergence of ResNet than that of CNN for deep neural networks [33]. We also observe a better performance of ResNet with the transfer learning schemes than that of CNN in our problem, which has never been explored before. The ResNet is shown in Figure 11(b) with 8 convolution layers and 2 fully connected layers. Different from the original setting [33], we add a shortcut connection to the first convolution layer by broadcasting the input tensor of 64 _×_ 64 _×_ 1 to 64 _×_ 64 _×_ 64. This minor change enables better empirical results in our problem. For the rest of the networks, 3 building blocks for ResNet are utilized. _D._ _Transfer_ _Learning_ Transfer learning aims at adapting the knowledge learned from data in source domains to a target domain. The transferred knowledge will benefit the learning in the target domain with a faster convergence and better generalization [32]. Suppose the data in the source domain has a distribution _Ps_ and that in the target domain has a distribution _Pt_ . The underlying assumption of transfer learning lies in the common factors that need to be captured for learning the Fig. 11: (a) CNN and (b) ResNet structure. variations of _Ps_ and _Pt_, so that the knowledge for _Ps_ is also useful for _Pt_ . An intuitive example is that learning to recognize cats and dogs in the source task helps the recognition of ants and wasps in the target task, especially when the source task has significantly larger dataset than that of the target task. The reason comes from the lowlevel notions of edges, shapes, etc., shared by many visual categories [32]. In resist modeling, different lithography configurations can be viewed as separate tasks with different distributions. Typical transfer learning scheme for neural networks fixes the first several layers of the model trained for another domain and finetune the successive layers with data from the target domain. The first several layers usually extract general features, which are considered to be similar between the source and the target domains, while the successive layers are classifiers or regressors that need to be adjusted. Figure 12 shows an example of the transfer learning scheme. We first train a model with source domain data and then use the source domain model as the starting point for the training of the target domain. During the training for the target domain, the first _k_ layers are fixed, while the rest layers are finetuned. We denote this scheme as _TFk_, shortened from “Transfer and Fix”, where _k_ is the parameter for the number of fixed layers. In this work, we focus on the impacts of transfer learning and do not consider various preprocessing steps like scaling and Source Domain Input <mark>conv</mark> Target Domain Input <mark>conv</mark> <mark>conv</mark> <mark>conv</mark> _· · ·_ <mark>conv</mark> <mark>fc</mark> <mark>fc</mark> Knowledge _· · ·_ <mark>conv</mark> <mark>fc</mark> <mark>fc</mark> Knowledge <mark>conv</mark> Fix _k_ layers Transfer Finetune Source Domain Output Target Domain Output Fig. 12: Transfer learning scheme with the first _k_ layers fixed when training for target domain, denoted as TF _k_ . normalization. In other words, raw aerial images are fed to the neural networks. The benefits of scaling and normalization are left to future work. _E._ _Active_ _Learning_ _with_ _Clustering_ Although transfer learning is potentially able to improve the accuracy of the target dataset using knowledge from a source dataset, selection of representative target data samples may further improve the accuracy. Let _D_ be the unlabeled dataset in the target domain and _s_ be the set of selected data samples for label querying, where _|_ _s_ _| ≤_ _k_ and _k_ is the maximum number of data samples for querying. For any ( _x_ _i, yi_ ) _∈_ _D_, _x_ _i_ is the feature, e.g., aerial image, and _yi_ is the label, e.g., threshold, where _yi_ is unknown for _D_ . Consider a loss function _l_ ( _x_ _i, yi_ ; _w_ ) parameterized over the hypothesis class ( _w_ ), e.g., parameters of a learning algorithm. The objective of active learning is to minimize the average loss of dataset _D_ with a model trained from _s_, (a) (b) Fig. 13: Example of (a) bad data selection and (b) K-Medoids clustering selection in 2D space. Three selected points are highlighted. Circles denote three clusters centered by selected points. Theorem III.3. _Given_ _n_ _independent_ _and_ _identically_ _distributed_ _(i.i.d.)_ _random_ _samples_ _as_ _D_ = _{_ _x_ _i, yi}i∈{_ 1 _,_ 2 _,...,n},_ _and_ _a_ _set_ _of_ _selected_ _points_ _s_ _._ _If_ _the_ _following_ _properties_ _hold,_ 1) _loss function l_ ( _x_ _, y_ ; _w_ ) _is λ_ <sup>_l_</sup> _-Lipschitz continuous w.r.t_ ( _x_ _, y_ ) _;_ 2) _the_ _ground_ _truth_ _of_ _label_ _y_ = _f_ ( _x_ ) + _ϵ_ _has_ _the_ _property_ _that_ _f_ ( _·_ ) _is_ _λ_ <sup>_f_</sup> _-Lipschitz_ _continuous_ _and_ _random_ _noise_ _ϵ_ _∼_ _N_ (0 _, σ_ <sup>2</sup> ) _;_ ˆ 3) _f_ _-Lipschitz;_ _f_ ˆ( _·_ ) _in_ _the_ _prediction_ _function_ _y_ ˆ = _f_ ˆ( _x_ ) _is_ _λ_ 4) _l_ ( _x_ _j, yj_ ; _ws_ ) = 0 _, ∀j_ _∈_ _s_ _,_ _where_ _ws_ _is_ _the_ _weights_ _of_ _the_ _trained_ _model_ _with_ _samples_ _s_ _;_ _then_ _we_ _have_ _the_ _following_ _inequality,_ _j∈_ _s_ _j_ �� _x_ _i −_ _x_ _c_ <u>1</u> _n_ _i∈D_ _l_ ( _x_ _i, yi_ ; _ws_ ) _≤_ <sup>_<u>λl</u>_</sup> <sup><u>(</u></sup> <sup>_<u>λf</u>_</sup> _n_ <sup><u>+ 1)</u></sup> _kj_ _i_ =1 ��+2 _λl_ <sup>�</sup> _i∈D_ _|ϵi|,_ (5) _where_ _kj_ _is_ _the_ _number_ _of_ _samples_ _whose_ _closest_ _sample_ _in_ _s_ _is_ _x_ _distribution_ <sup>_c_</sup> _j_ <sup>_;_</sup> _|ϵi|_ _iswitha_ _samplemean_ <sup>_<u>σ</u>_</sup> _~~√~~_ _fr√πom_ <u>2</u> _andan_ _varianceindependentσ_ <sup>2</sup> (1 _random −_ _π_ <sup><u>2</u></sup> <sup>)</sup> <sup>_._</sup> _half-normal_ The left-hand side of the inequality is the average loss across the entire dataset. The right-hand side, i.e., the upper bound of the average loss, is correlated to the objective of a _K-Medoids Clustering_ problem [36], where K is the number of labeled data samples for training ( _K_ = _|_ _s_ _|_ ). K-Medoids clustering problem is required to return K clusters from a set of points as well as K centers for each cluster. Therefore, minimizing <sup>�</sup> - _kj_ _j∈_ _s_ _i_ =1 <sup>_∥_</sup> <sup>_x_</sup> <sup>_i −_</sup> <sup>_x_</sup> <sup>_j∥_</sup> <sup>helps</sup> _fr√_ _π_ <sup><u>2</u></sup> <sup>)</sup> <sup>_._</sup> <sup>_<u>σ</u>_</sup> _~~√~~_ _<u>√π</u>_ <u>2</u> _and_ _variance_ _σ_ <sup>2</sup> (1 _−_ _π_ <sup><u>2</u></sup> _j∈_ _s_ _n_ _i_ =1 min _s_ : _|_ _s_ _|≤k,_ _s_ _∈D_ <u>1</u> _n_ _l_ ( _x_ _i, yi_ ; _ws_ ) _,_ (4) each cluster. Therefore, minimizing <sup>�</sup> - _kj_ to bound the left-hand side. _j∈_ _s_ _i_ =1 <sup>_∥_</sup> <sup>_x_</sup> <sup>_i −_</sup> <sup>_x_</sup> <sup>_j∥_</sup> <sup>helps</sup> Figure 13 provides an intuition for the K-Medoids clustering in a 2D space. Random selection may result in biased coverage of the entire dataset, causing significant overfitting of model training. KMedoids clustering is able to select medoids (data) evenly from the space for training such that most unselected data samples are close to their nearest medoids. Theorem III.3 requires both the loss function and the estimator to be Lipschitz continuous. Lemma III.4. _If_ _the_ _following_ _conditions_ _hold,_ where _n_ = _|D|_, and _ws_ represents the parameters of a model trained from _s_ . We present an upper bound of Eq. (4) for any Lipschitz loss function and Lipschitz estimator. Then we show that both CNN and ResNet with non-linear ReLU activations are actually Lipschitz continuous. We also assume the training loss can drop to zero, which is likely to be achieved with large enough models. Definition III.1. _Let g_ ( _·_ ; _·_ ) : R <sup>_d_</sup> _×_ R <sup>_d_</sup> _→_ R _, we say g is L_ 1 _-Lipschitz_ _continuous_ _with_ _respect_ _to_ _g_ ( _∗_ ; _·_ ) _if_ _|g_ ( _x_ ; _w_ ) _−_ _g_ ( _x_ <sup>_′_</sup> ; _w_ ) _| ≤_ _L_ 1 _· ∥_ _x_ _−_ _x_ <sup>_′_</sup> _∥._ We also write _g_ ( _x_ ; _w_ ) as _g_ _w_ ( _x_ ). We use Frobenius norm for norm of a matrix here, i.e., _∥·∥_ . Definition III.2. _Let_ _f_ ( _·, ·_ ; _·_ ) : R <sup>_d_</sup> <sup>1</sup> _×_ R _×_ R <sup>_d_</sup> <sup>2</sup> _→_ R _≥_ 0 _,_ _we_ _say_ _f_ _is_ _L_ 2 _-Lipschitz_ _continuous_ _with_ _respect_ _to_ _f_ ( _∗, ∗_ ; _·_ ) _if_ 1) _∀i ∈_ _D,_ ( _x_ _i, y_ ˆ _i_ ) _satisfies_ _∥_ _x_ _i∥≤_ _b_ 1 _, |yi|_ _≤_ _b_ 2 _;_ 2) _f_ ˆ _ws_ ( _x_ ) _is_ _λf_ _-Lipschitz_ _continuous_ _w.r.t_ _x_ _;_ 2) _f_ ˆ _ws_ ( _x_ ) _is_ _λf_ ˆ _-Lipschitz_ _continuous_ _w.r.t_ _x_ _;_ 3) _∃_ ( _x_ 0 _, y_ 0) _such_ _that_ _f_ <sup>ˆ</sup> _ws_ ( _x_ 0) = _y_ 0 + _δ,_ _where_ _δ_ _is_ _a_ _bounded_ _constant;_ _then square loss function l_ _ws_ ( _x_ _, y_ ) = ( _y_ _−f_ <sup>ˆ</sup> _ws_ ( _x_ )) <sup>2</sup> _is λ_ <sup>_l_</sup> _-Lipschitz_ _continuous,_ _where_ _y_ _is_ _the_ _label_ _and_ _f_ <sup>ˆ</sup> _ws_ ( _∗_ ) _is_ _the_ _learned_ _function_ _with_ _parameter_ _ws_ _(also_ _denoted_ _as_ _f_ <sup>ˆ</sup> ( _∗_ ) _for_ _brevity),_ _λ_ <sup>_l_</sup> = (4 _λ_ ˆ _f_ ) _._ (6) _f_ ˆ _b_ 1 + 4 _b_ 2 + 2 _|δ|_ ) _·_ max(1 _, λ_ _|f_ ( _x_ _, y_ ; _w_ ) _−_ _f_ ( _x_ <sup>_′_</sup> _, y_ <sup>_′_</sup> ; _w_ ) _| ≤_ _L_ 2 _·_ ( _∥_ _x_ _−_ _x_ <sup>_′_</sup> _∥_ + _|y −_ _y_ <sup>_′_</sup> _|_ ) _,_ _∀_ _x_ _∈_ R <sup>_d_</sup> <sup>1</sup> _, ∀y, y_ <sup>_′_</sup> _∈_ R _, ∀_ _w_ _∈_ R <sup>_d_</sup> <sup>2</sup> _._ In practice, the three assumptions are not difficult to hold. Consider the physical meaning of _x_ and _y_, both _∥_ _x_ _∥_ and _|y|_ are numerically small in this work. Lemma III.5 proves that CNN/ResNet is Lipschitz continuous. If the training error for CNN/ResNet is small, We also write _f_ ( _x_ _, y_ ; _w_ ) as _f_ _w_ ( _x_ _, y_ ). We state the following theorem: which is mostly true, ( _x_ 0 _, y_ 0) can be selected from the training dataset and then _|δ|_ is also small. Lemma III.5. _A_ _CNN/ResNet_ _for_ _regression_ _with_ _nc_ _convolution_ _layers (with max-pooling and ReLU) and nfc_ _fully connected layers_ _is_ (1 + _α_ _~~√~~_ _N_ ) <sup>_nc_</sup> <sup>+</sup> <sup>_nfc_</sup> _-Lipschitz._ Detailed proofs for Theorem III.3, Lemma III.4, and Lemma III.5 can be found in Appendix. IV. EXPERIMENTAL RESULTS Our framework is implemented with Tensorflow [37] and validated on a Linux server with 3.4GHz Intel i7 CPU and Nvidia GTX 1080 GPU. The K-Medoids clustering is approximated by K-Means clustering in scikit-learn [38] and assigning the data points that are closest to centroids as medoids. We observe that this approach provides better and more stable objectives of K-Medoids clustering than does dedicated K-Medoids clustering solver in PyClust package in our experiments. Around 980 mask clips are generated according to Section III-A for N10 and N7 separately following the design rules in Section II-B, respectively. N7 _a_ and N7 _b_ use the same set of clips, but different lithography configurations. SRAF, OPC and aerial image simulation are performed with Mentor Calibre [18]. The golden CD values are obtained from rigorous simulation using Synopsys Sentaurus Lithography models [39] calibrated from manufactured data for N10, N7 _a_, and N7 _b_ according to Table I. Then golden thresholds are extracted. Each clip has four thresholds as shown in Figure 4. Hence the N10 dataset contains 3928 samples and each N7 dataset contains 3916 samples, respectively. The data augmentation technique in Section III-A2 is applied, so the training set and the testing set will be augmented by a factor of 8 independently. For example, if 50% of the data for N10 are used for training, then there are 3928 _×_ 50% _×_ 8 = 15712 samples. It needs to mention that always the same 50% portions are used during the validation of a dataset for fair comparison of different techniques. The batch size is set to 32 for training accommodating to the large variability in the sizes of training datasets. Adam [40] is used as the stochastic optimizer and maximum epoch is set to 200 for training. The training time for one model takes 10 to 40 minutes according to the portions of a dataset used for training, and prediction time for an entire N10 or N7 dataset takes less than 10 seconds, while the rigorous simulation takes more than 15 hours for each N10 or N7 dataset. Thus we no longer report the prediction time which is negligible compared with that of the rigorous simulation. Each experiment runs 10 different random seeds and averages the numbers. _A._ _CNN_ _and_ _ResNet_ We first compare CNN and ResNet in Figure 14(a). Column “CNN-5” denotes the network with 5 layers shown in Figure 11(a). Column “CNN-10” denotes the one with 10 layers that has the same structure as that in Figure 11(b) but without shortcut connections. Column “ResNet” denotes the one with 10 layers shown in Figure 11(b). When using 1% to 20% training data, ResNet shows better average relative RMS error _ϵ_ <sup>_th_</sup> _r_ than CNN-10, but CNN-5 provides the best error. We will show later that ResNet on the contrary outperforms CNN-5 when transfer learning is incorporated. We then show the performance of active learning for CNN and ResNet in Figure 14(b) and Figure 14(c), denoted as “CNN-5+AL” and “ResNet+AL”, respectively. The beneficial amount of training data for active data selection is from 10% to 40%. For example, for 20% training data, it provides 11.6% accuracy improvement for _·_ 10 <sup>_−_</sup> <sup>2</sup> CNN-5 CNN-10 ResNet CNN-5+AL <sup>2</sup> ResNet+AL <sup>2</sup> _·_ 10 <sup>_−_</sup> <sup>2</sup> 4 2 _~~√~~_ _N_ ) <sup>_nc_</sup> <sup>+</sup> <sup>_nfc_</sup> _-Lipschitz._ 4 2 1 10 20 30 40 50 N10 _a_ Training Set Size (%) (a) _·_ 10 <sup>_−_</sup> <sup>2</sup> 4 2 1 10 20 30 40 50 N10 _a_ Training Set Size (%) (c) 1 10 20 30 40 50 N10 _a_ Training Set Size (%) (b) _·_ 10 <sup>_−_</sup> <sup>2</sup> 1 _._ 4 1 _._ 2 1 4 6 8 10 12 14 # Layers (d) Fig. 14: (a) Comparison on testing accuracy of CNN-5, CNN-10, and ResNet on N10. (b) Testing accuracy of CNN with active learning on N10. (c) Testing accuracy of ResNet with active learning on N10. (d) Impact of depth on the testing accuracy of ResNet. CNN and 12.5% for ResNet; for 30% training data, it provides 11.4% improvement for CNN and 11.3% for ResNet [41]. The benefit of active learning is not significant for extremely small training dataset, e.g., 1% and 5%. When there are very few training data, it is more likely for randomly selected data samples to distribute quite some distance away than to squeeze as small clusters. Although active selection of data can avoid corner cases of extremely poor sampling, e.g., all data samples squeezing as a small cluster, while it is difficult to demonstrate the benefit of active learning in ordinary cases. On the other hand, when the amount of training data increases, the benefit from active learning drops due to sufficient coverage. The rightmost points take all 50% training data and thus show the same accuracy as that without active learning. The impacts of depth on the performance of ResNet are further explored in Figure 14(d), where we gradually stack more building blocks in Figure 10 before fully connected layers. The x-axis denotes total number of convolution and fully connected layers corresponding to different numbers of building blocks. For instance, 0 building block leads to 4 layers and 3 building blocks result in 10 layers (Figure 11(b)). The testing error decreases to lowest value at 10 layers and then starts to increase, indicating potential overfitting afterwards [32]. Therefore, we use 10 layers for the ResNet in the experiment. _B._ _Knowledge_ _Transfer_ _From_ _N10_ _to_ _N7_ We then compare the testing accuracy between knowledge transfer from N10 to N7 and directly training from N7 datasets in Figure 15(a). In this example, the x-axis represents the percentage of training dataset for the target domain N7 _a_, while the percentage of data from the source domain N10 is always 50%. Similar trends are also observed for N7 _b_ . Curve “CNN” denotes training the CNN of 5 layers in Figure 11(a) with data from target domain only, i.e., no 2Results for active learning extended from [41] CNN CNN TF0 ResNet TF0 ResNet TF4 ResNet TF6 ResNet TF8 ResNet TF0+AL <sup>2</sup> CNN CNN TF0 ResNet TF0 ResNet TF4 ResNet TF6 ResNet TF8 2 <sup>_<u>·</u>_</sup> <sup>10</sup> <sup>_−_</sup> <sup>2</sup> 1 _._ 8 1 _._ 6 1 _._ 4 1 _._ 2 1 1 5 10 15 20 N7 _b_ Training Set Size (%) (b) _·_ 10 <sup>_−_</sup> <sup>2</sup> 4 3 2 1 1 10 20 30 40 50 N7 _a_ Training Set Size (%) (a) _·_ 10 <sup>_−_</sup> <sup>2</sup> 2 2 _._ 5 <sup>_<u>·</u>_</sup> <sup>10</sup> <sup>_−_</sup> <sup>2</sup> 2 1 _._ 5 1 1 5 10 15 20 N7 _a_ Training Set Size (%) _·_ 10 <sup>_−_</sup> <sup>2</sup> 4 3 2 1 1 10 20 30 40 50 N7 _b_ Training Set Size (%) (a) (b) 1 _._ 5 1 1 10 20 30 40 50 N7 _a_ Training Set Size (%) (c) Fig. 15: Testing accuracy of transfer learning from N10 to N7 _a_ . (a) Comparison between CNN and transfer learning. (b) Comparison between transfer learning schemes where different numbers of layers are fixed. (c) Comparison between transfer learning only and transfer learning plus active learning for ResNet. transfer learning involved. Curve “CNN TF0” denotes the transfer learning scheme in Section III-D for the same CNN with zero layer fixed. Curve “ResNet TF0” denotes applying the same scheme to ResNet. The most significant benefit of transfer learning comes from small training dataset with a range of 1% to 20%, where there are around 52% to 18% improvement in the accuracy from CNN. Meanwhile, ResNet TF0 can achieve an average of 13% smaller error than CNN TF0. Figure 15(b) further compares the results of fixing different numbers of layers during transfer learning. In this case, ResNet TF0 and ResNet TF4 have the best accuracy, while the error increases with more layers fixed. It is indicated that the tasks N10 and N7 are quite different and both feature extraction layers and regression layers need finetuning. In Figure 15(c), we enable transfer learning plus active learning, which provides 7% to 11% additional accuracy improvement for 10% to 40% amount of training data from the target domain. _C._ _Knowledge_ _Transfer_ _within_ _N7_ The transfer learning between different N7 datasets, e.g., from N7 _a_ to N7 _b_, is also explored in Figure 16. The x-axis represents the percentage of training dataset for the target domain N7 _b_, while the percentage of data from the source domain N7 _a_ is always 50%. Compared with the knowledge transfer from N10 to N7, we achieve even higher accuracy between 1% and 20% training datasets in Figure 16(a). For example, with 1% training dataset, there is around 65% improvement in accuracy from CNN, and with 20% training dataset, the improvement is around 23%. ResNet TF0 keeps having lower errors than that of CNN TF0 as well, with an average benefit around 15%. The curves in Figure 16(b) show different insights from that of the knowledge transfer from N10 to N7. The accuracy of ResNet Fig. 16: Testing accuracy of transfer learning from N7 _a_ to N7 _b_ . (a) Comparison between CNN and transfer learning. (b) Comparison between transfer learning schemes where different numbers of layers are fixed. TF0 can be further improved with more layers fixed, e.g., ResNet TF8, by around 28% to 14%. This is reasonable since N7 _a_ and N7 _b_ have the same design rules and illumination shapes, and the only difference lies in the resist materials. Therefore, the feature extraction layers are supposed to remain almost the same. With the sizes of the training dataset increasing to 15% and 20%, the differences in the accuracy become smaller, because there are enough data to find good configurations for the networks. Since knowledge transfer is remarkably effective with ResNet TF8, we do not see the room for further improvement with active learning. Thus we did not plot the curves for that. _D._ _Impact_ _of_ _Various_ _Source_ _Domains_ In transfer learning, the correlation between the datasets of source and target domains is critical to the effectiveness of knowledge transfer. Thus, we explore the impacts of source domain datasets on the accuracy of modeling for the target domain. Figure 17 plots the testing errors of learning N7 _b_ using ResNet TF0 with various source domain datasets. Curves “N10 <sup>50%</sup> ” and “N7 <sup>50%</sup> _a_ ” indicate that 50% of the N10 or the N7 _a_ dataset is used to train source domain models, respectively. Curve “N10 <sup>50%</sup> + N7 <sup>1%</sup> _a_ <sup>”</sup> <sup>describes</sup> the situation where we have 50% of the N10 dataset and 1% of the N7 _a_ dataset for training. In this case, as shown in Figure 18, we first use the 50% N10 data to train the first source domain model; then train the second source domain model using the first model as the starting point with the 1% N7 _a_ data; in the end, the target domain model for N7 _b_ is trained using the second model as the starting point with N7 _b_ data. Curves “N10 <sup>50%</sup> + N7 <sup>5%</sup> _a_ <sup>”</sup> <sup>and</sup> <sup>“N1050% + N7</sup> _a_ <sup>10%</sup> ” are similar, simply with different amounts of N7 _a_ data for training. The knowledge from N7 <sup>50%</sup> _a_ is the most effective for N7 _b_ due to the minor difference in resist materials between two datasets. For the rest curves, the accuracy of N10 <sup>50%</sup> +N7 <sup>5%</sup> _a_ and N10 <sup>50%</sup> +N7 <sup>10%</sup> _a_ is in general better than or at least comparable to that of N10 <sup>50%</sup> . This indicates that having more data from closer datasets to the target dataset, e.g., N7 _a_, is still helpful. error ( _ϵ_ <sup>_th_</sup> _r_ <sup>) and CD RMS error (</sup> <sup>_ϵCD_</sup> <sup>), for learning N7</sup> _b_ <sup>from various</sup> source domain datasets. Since we consider the data efficiency of different learning schemes, we focus on the small training dataset for N7 _b_, from 1% to 20%. Situations such as no source domain data ( _∅_ ), only source domain data from N10 (N10 <sup>50%</sup> ), only source domain data from N7 _a_ (N7 <sup>50%</sup> _a_ ), and combined source domain datasets, are <sup>50%</sup> _a_ ), and combined source domain datasets, are <sup>5%</sup> _a_ <sup>”</sup> <sup>and</sup> <sup>“N1050% + N7</sup> _a_ <sup>10%</sup> The knowledge from N7 <sup>50%</sup> _a_ <sup>5%</sup> _a_ and N10 <sup>50%</sup> +N7 <sup>10%</sup> _a_ _E._ _Improvement_ _in_ _Data_ _Efficiency_ Table II presents the accuracy metrics, i.e., relative threshold RMS error ( _ϵ_ <sup>_th_</sup> _r_ <sup>) and CD RMS error (</sup> <sup>_ϵCD_</sup> <sup>), for learning N7</sup> _b_ <sup>from various</sup> _·_ 10 <sup>_−_</sup> <sup>2</sup> 2 _._ 5 2 1 _._ 5 1 5 10 15 20 N7 _b_ Training Set Size (%) N10 <sup>50%</sup> N7 <sup>50%</sup> _a_ CNN CNN TF0 ResNet TF0 ResNet TF0+AL <sup>2</sup> 40 % 20 % 0 % _a_ N10 <sup>50%</sup> + N7 <sup>1%</sup> _a_ N10 <sup>50%</sup> + N7 <sup>5%</sup> _a_ N10 <sup>50%</sup> + N7 <sup>10%</sup> _a_ 40 % 20 % 0 % _a_ CD RMS Error (nm) (b) Fig. 17: Testing accuracy of ResNet TF0 for N7 _b_ from different source domain datasets. CD RMS Error (nm) (a) Transfer N10 <sup>50%</sup> <mark>N10</mark> <mark>Model</mark> Learning N7 <sup>1%</sup> _a_ N7 _a_ Model Transfer Learning N7 _b_ Model ~~N~~ 7 <sup>_x_</sup> _b_ <sup>%</sup> Fig. 18: Transfer learning from 50% of N10 dataset and 1% of N7 _a_ dataset (i.e., N10 <sup>50%</sup> + N7 <sup>1%</sup> _a_ <sup>)</sup> <sup>to</sup> <sup>N7</sup> _b_ <sup>with</sup> <sup>_x_</sup> <sup>%</sup> <sup>of</sup> <sup>N7</sup> _b_ <sup>dataset.</sup> examined. As mentioned in Section II, the fidelity between relative threshold RMS error and CD RMS error is very consistent, so they share almost the same trends. Transfer learning with any source domain dataset enables an average improvement of 23% to 40% from that without knowledge transfer. In small training datasets of N7 _b_, ResNet also achieves around 8% better performance on average than CNN in the transfer learning scheme. Enabling active learning together with transfer learning allows additional 5% accuracy improvement on average compared with transfer learning only for ResNet. At 1% of N7 _b_, combined source domain datasets have better performance compared with N10 <sup>50%</sup> only, but the benefits vanish with the increase of the N7 _b_ dataset. In real manufacturing, models are usually calibrated to satisfy a target accuracy or target CD RMS error. Figure 19 demonstrates the amount of training data required in the target domain for learning the N7 _b_ model. Curve “CNN” does not involve any knowledge transfer, while curves “CNN TF0” and “ResNet TF0” utilize transfer learning in CNN and ResNet, respectively. The curves in Figure 19(a) assume the availability of N10 data. Consider the CD RMS error from 1.5 _nm_ to 2.5 _nm_, which is around 10% of the half pitch for N7 contacts. This range of accuracy is also comparable to that of the state-of-the-art CNN [4]. ResNet TF0 requires significantly fewer data than both CNN and CNN TF0. For instance, when the target CD error is 1.75 _nm_, ResNet TF0 demands 5% training data from N7 _b_, while CNN requires 20% and CNN TF0 requires 15%. By enabling active learning, ResNet TF0+AL further reduces data requirement from ResNet TF0, e.g., 1.5X and 4X fewer training data than ResNet TF0 and CNN for 1.5 _nm_, respectively. Figure 19(b) considers the transfer from N7 _a_ to N7 _b_ . Both ResNet TF0 and CNN TF0 only require 1% training data from N7 _b_ for most target CD RMS errors, where CNN TF0 cannot achieve the accuracy unless given 30% data. Overall, ResNet TF0 can achieve 3-10X reduction of training data within this range compared with CNN. It needs to mention that 1% of dataset only correspond to fewer than 40 samples owing to the data augmentation, indicating only thresholds of 40 clips are required. V. CONCLUSION A transfer learning framework with a clustering based active data selection on residual neural networks is proposed for resist modeling. The combination of transfer learning and active learning Fig. 19: Amount of training data required for N7 _b_ given target CD RMS errors when (a) 50% N10 dataset is available or (b) 50% N7 _a_ dataset is available. for ResNet is able to achieve high accuracy with very few data from the target domain, under various situations for knowledge transfer, indicating high data efficiency. Extensive experiments demonstrate that the proposed techniques can achieve 3-10X reduction according to various requirements of accuracy comparable to the state-of-theart learning approach. It is shown that the performance of transfer learning differs from dataset to dataset and is worth exploring to see the correlation between datasets. Active selection of data samples is also useful to guide the generation of mask designs for model calibration in manufacturing. Examining the quantitative relation between the correlation of datasets and performance of transfer learning is valuable in the future. There is still room to improve the effectiveness of knowledge transfer from N10 to N7 datasets. Therefore, in the future, we will actively explore other learning techniques to further improve the accuracy, such as preprocessing steps like scaling and normalization, various regularization techniques, and semi-supervised learning. ACKNOWLEDGE This project is supported in part by Toshiba Memory Corporation, NSF, and the University Graduate Continuing Fellowship from the University of Texas at Austin. The authors would like to thank Memory Lithography Group from Toshiba Memory Corporation and Dr. Kai Zhong from the Computer Science Department of UT Austin for helpful discussions and feedback. REFERENCES [1] L. Liebmann, A. Chu, and P. Gutwin, “The daunting complexity of scaling to 7nm without EUV: Pushing DTCO to the extreme,” in _Proceedings_ _of_ _SPIE_, vol. 9427, 2015. [2] L. Liebmann, J. Zeng, X. Zhu, L. Yuan, G. Bouche, and J. Kye, “Over coming scaling barriers through design technology cooptimization,” in _VLSI_ _Technology,_ _2016_ _IEEE_ _Symposium_ _on_ . IEEE, 2016, pp. 1–2. [3] S. Shim, S. Choi, and Y. Shin, “Machine learning-based resist 3d model,” in _Proc._ _of_ _SPIE_ _Vol_, vol. 10147, pp. 101 471D–1. [4] Y. Watanabe, T. Kimura, T. Matsunawa, and S. Nojima, “Accurate lithography simulation model based on convolutional neural networks,” in _SPIE_ _Advanced_ _Lithography_ . International Society for Optics and Photonics, 2017, pp. 101 470K–101 470K. [5] X. Ma, X. Zhao, Z. Wang, Y. Li, S. Zhao, and L. Zhang, “Fast lithog raphy aerial image calculation method based on machine learning,” _Applied_ _Optics_, vol. 56, no. 23, pp. 6485–6495, 2017. [6] J.-Y. Wuu, F. G. Pikus, and M. Marek-Sadowska, “Efficient approach to early detection of lithographic hotspots using machine learning systems and pattern matching,” in _SPIE_ _Advanced_ _Lithography_ . International Society for Optics and Photonics, 2011, pp. 79 740U–79 740U. [7] T. Matsunawa, S. Nojima, and T. Kotani, “Automatic layout feature extraction for lithography hotspot detection based on deep neural network,” in _Proceedings_ _of_ _SPIE_, 2016. TABLE II: Relative Threshold RMS Error and CD RMS Error for N7 _b_ with Different Source Domain Datasets Source <u>Datasets</u> _∅_ N10 <sup>50%</sup> N7 <sup>50%</sup> _a_ <sup>50%</sup> _a_ N10 <sup>50%</sup> + N7 <sup>5%</sup> _a_ <sup>5%</sup> _a_ N10 <sup>50%</sup> + N7 <sup>10%</sup> _a_ <u>Datasets</u> _a_ _a_ _a_ Neural <u>Networks</u> CNN CNN TF0 ResNet TF0 ResNet TF0+AL <sup>2</sup> CNN TF0 ResNet TF0 ResNet TF0 ResNet TF0 _ϵ_ <sup>_<u>th</u>_</sup> _r_ _ϵ_ <sup>_CD_</sup> _ϵ_ <sup>_<u>th</u>_</sup> _r_ <u>(10</u> <sup>_<u>−</u>_</sup> <sup>2</sup> <u>)</u> <u>(10</u> <sup>_<u>−</u>_</sup> _ϵ_ <sup>_<u>th</u>_</sup> _r_ _ϵ_ <sup>_<u>th</u>_</sup> _r_ _ϵ_ <sup>_CD_</sup> _ϵ_ <sup>_<u>th</u>_</sup> _r_ <u>(10</u> <sup>_<u>−</u>_</sup> <sup>2</sup> <u>)</u> <u>(10</u> <sup>_<u>−</u>_</sup> _ϵ_ <sup>_<u>th</u>_</sup> _r_ _ϵ_ <sup>_CD_</sup> _ϵ_ <sup>_<u>th</u>_</sup> _r_ <u>(10</u> <sup>_<u>−</u>_</sup> <sup>2</sup> <u>)</u> <u>(10</u> <sup>_<u>−</u>_</sup> _ϵ_ <sup>_<u>th</u>_</sup> _r_ _ϵ_ <sup>_CD_</sup> _ϵ_ <sup>_<u>th</u>_</sup> _r_ <u>(10</u> <sup>_<u>−</u>_</sup> <sup>2</sup> <u>)</u> <u>(10</u> <sup>_<u>−</u>_</sup> _ϵ_ <sup>_<u>th</u>_</sup> _r_ _ϵ_ <sup>_CD_</sup> _ϵ_ <sup>_<u>th</u>_</sup> _r_ <u>(10</u> <sup>_<u>−</u>_</sup> <sup>2</sup> <u>)</u> <u>(10</u> <sup>_<u>−</u>_</sup> _ϵ_ <sup>_<u>th</u>_</sup> _r_ _ϵ_ <sup>_CD_</sup> _ϵ_ <sup>_<u>th</u>_</sup> _r_ <u>(10</u> <sup>_<u>−</u>_</sup> <sup>2</sup> <u>)</u> <u>(10</u> <sup>_<u>−</u>_</sup> _ϵ_ <sup>_<u>th</u>_</sup> _r_ _ϵ_ <sup>_CD_</sup> _ϵ_ <sup>_<u>th</u>_</sup> _r_ <u>(10</u> <sup>_<u>−</u>_</sup> <sup>2</sup> <u>)</u> <u>(10</u> <sup>_<u>−</u>_</sup> _r_ _ϵ_ <sup>_CD_</sup> <u>(10</u> <sup>_<u>−</u>_</sup> <sup>2</sup> <u>)</u> <u>1%</u> <u>4.44</u> <u>4.76</u> <u>2.34</u> <u>2.48</u> <u>2.29</u> <u>2.39</u> <u>1.95</u> <u>2.09</u> <u>1.69</u> <u>1.79</u> <u>1.52</u> <u>1.60</u> <u>1.94</u> <u>2.03</u> <u>1.82</u> <u>1.91</u> <u>5%</u> <u>2.78</u> <u>2.96</u> <u>1.73</u> <u>1.86</u> <u>1.60</u> <u>1.70</u> <u>1.58</u> <u>1.70</u> <u>1.53</u> <u>1.64</u> <u>1.34</u> <u>1.43</u> <u>1.67</u> <u>1.78</u> <u>1.57</u> <u>1.67</u> N7 _b_ <u>10%</u> <u>1.92</u> <u>2.04</u> <u>1.63</u> <u>1.76</u> <u>1.47</u> <u>1.57</u> <u>1.36</u> <u>1.48</u> <u>1.50</u> <u>1.60</u> <u>1.30</u> <u>1.38</u> <u>1.50</u> <u>1.60</u> <u>1.51</u> <u>1.61</u> <u>15%</u> <u>1.72</u> <u>1.84</u> <u>1.56</u> <u>1.68</u> <u>1.39</u> <u>1.47</u> <u>1.23</u> <u>1.32</u> <u>1.48</u> <u>1.55</u> <u>1.27</u> <u>1.35</u> <u>1.41</u> <u>1.50</u> <u>1.43</u> <u>1.52</u> <u>20%</u> <u>1.60</u> <u>1.71</u> <u>1.50</u> <u>1.61</u> <u>1.31</u> <u>1.39</u> <u>1.16</u> <u>1.24</u> <u>1.44</u> <u>1.55</u> <u>1.23</u> <u>1.31</u> <u>1.32</u> <u>1.41</u> <u>1.34</u> <u>1.43</u> <u>ratio</u> <u>1.00</u> <u>1.00</u> <u>0.77</u> <u>0.77</u> <u>0.70</u> <u>0.69</u> <u>0.63</u> <u>0.64</u> <u>0.69</u> <u>0.69</u> <u>0.60</u> <u>0.60</u> <u>0.69</u> <u>0.69</u> <u>0.69</u> <u>0.68</u> [8] M. Shin and J.-H. Lee, “Accurate lithography hotspot detection using deep convolutional neural networks,” in _Journal_ _of_ _Mi-_ _cro/Nanolithography,_ _MEMS,_ _and_ _MOEMS_ _(JM3)_, 2016. [9] H. Yang, J. Su, Y. Zou, B. Yu, and F. E. Young, “Layout hotspot detection with feature tensor generation and deep biased learning,” in _ACM/IEEE_ _Design_ _Automation_ _Conference_ _(DAC)_, 2017. [10] H. Yang, Y. Lin, B. Yu, and F. E. Young, “Lithography hotspot detection: From shallow to deep learning,” in _IEEE_ _International_ _System-on-Chip_ _Conference_ _(SOCC)_, 2017. [11] Y. Lin, X. Xu, J. Ou, and D. Z. Pan, “Machine learning for mask/wafer hotspot detection and mask synthesis,” in _Photomask_ _Technology_, vol. 10451. International Society for Optics and Photonics, 2017, p. 104510A. [12] A. Gu and A. Zakhor, “Optical proximity correction with linear re gression,” _IEEE_ _Transactions_ _on_ _Semiconductor_ _Manufacturing_ _(TSM)_, vol. 21, no. 2, pp. 263–271, 2008. [13] N. Jia and E. Y. Lam, “Machine learning for inverse lithography: using stochastic gradient descent for robust photomask synthesis,” _Journal_ _of_ _Optics_, vol. 12, no. 4, p. 045601, 2010. [14] R. Luo, “Optical proximity correction using a multilayer perceptron neural network,” _Journal_ _of_ _Optics_, vol. 15, no. 7, p. 075708, 2013. [15] T. Matsunawa, B. Yu, and D. Z. Pan, “Optical proximity correction with hierarchical bayes model,” _Journal_ _of_ _Micro/Nanolithography,_ _MEMS,_ _and_ _MOEMS_, vol. 15, no. 2, pp. 021 009–021 009, 2016. [16] X. Xu, Y. Lin, M. Li, T. Matsunawa, S. Nojima, C. Kodama, T. Kotani, and D. Z. Pan, “Sub-Resolution Assist Feature Generation with Supervised Data Learning,” _IEEE_ _Transactions_ _on_ _Computer-Aided_ _Design_ _of_ _Integrated_ _Circuits_ _and_ _Systems_ _(TCAD)_, vol. PP, no. 99, 2017. [17] C. B. Tan, K. K. Koh, D. Zhang, and Y. M. Foong, “Sub-resolution assist feature (sraf) printing prediction using logistic regression,” in _Proceedings_ _of_ _SPIE_, 2015, pp. 94 261Y–94 261Y. [18] Mentor Graphics, “Calibre verification user’s manual,” 2008. [19] L. W. Liebmann, S. M. Mansfield, A. K. Wong, M. A. Lavin, W. C. Leipold, and T. G. Dunham, “Tcad development for lithography resolution enhancement,” _IBM Journal of Research and Development_, vol. 45, no. 5, pp. 651–665, 2001. [20] J. P. Hanna and P. Stone, “Grounded action transformation for robot learning in simulation.” in _AAAI_, 2017, pp. 3834–3840. [21] A. A. Rusu, N. C. Rabinowitz, G. Desjardins, H. Soyer, J. Kirkpatrick, K. Kavukcuoglu, R. Pascanu, and R. Hadsell, “Progressive neural networks,” _arXiv_ _preprint_ _arXiv:1606.04671_, 2016. [22] S. J. Pan and Q. Yang, “A survey on transfer learning,” _IEEE_ _Transac-_ _tions_ _on_ _knowledge_ _and_ _data_ _engineering_, vol. 22, no. 10, pp. 1345– 1359, 2010. [23] O. Sener and S. Savarese, “Active learning for convolutional neural networks: Acore-set approach,” _stat_, vol. 1050, p. 27, 2017. [24] S. Tong and D. Koller, “Support vector machine active learning with ap plications to text classification,” _Journal_ _of_ _machine_ _learning_ _research_, vol. 2, no. Nov, pp. 45–66, 2001. [25] C. Berlind and R. Urner, “Active nearest neighbors in changing en vironments,” in _International_ _Conference_ _on_ _Machine_ _Learning_, 2015, pp. 1870–1879. [26] J. Donahue, P. Kr¨ahenb¨uhl, and T. Darrell, “Adversarial feature learn ing,” _arXiv_ _preprint_ _arXiv:1605.09782_, 2016. [27] B. Demir and L. Bruzzone, “A multiple criteria active learning method for support vector regression,” _Pattern_ _recognition_, vol. 47, no. 7, pp. 2558–2567, 2014. [28] K. Fukumizu, “Statistical active learning in multilayer perceptrons,” _IEEE Transactions on Neural Networks_, vol. 11, no. 1, pp. 17–26, 2000. [29] C. Zhuo, K. Agarwal, D. Blaauw, and D. Sylvester, “Active learning framework for post-silicon variation extraction and test cost reduction,” in _Proceedings_ _of_ _the_ _International_ _Conference_ _on_ _Computer-Aided_ _Design_ . IEEE Press, 2010, pp. 508–515. [30] H. Lin and P. Li, “Classifying circuit performance using active-learning guided support vector machines,” in _Proceedings_ _of_ _the_ _International_ _Conference_ _on_ _Computer-Aided_ _Design_ . ACM, 2012, pp. 187–194. [31] M. Li, K. Shamsi, T. Meade, Z. Zhao, B. Yu, Y. Jin, and D. Z. Pan, “Provably secure camouflaging strategy for ic protection,” _IEEE_ _Transactions_ _on_ _Computer-Aided_ _Design_ _of_ _Integrated_ _Circuits_ _and_ _Systems_, 2017. [32] I. Goodfellow, Y. Bengio, and A. Courville, _Deep learning_ . MIT press, 2016. [33] K. He, X. Zhang, S. Ren, and J. Sun, “Deep residual learning for image recognition,” in _Proceedings of the IEEE conference on computer vision_ _and_ _pattern_ _recognition_, 2016, pp. 770–778. [34] Y. Bengio, P. Simard, and P. Frasconi, “Learning long-term dependen cies with gradient descent is difficult,” _IEEE_ _transactions_ _on_ _neural_ _networks_, vol. 5, no. 2, pp. 157–166, 1994. [35] X. Glorot and Y. Bengio, “Understanding the difficulty of training deep feedforward neural networks,” in _Proceedings_ _of_ _the_ _Thirteenth_ _International_ _Conference_ _on_ _Artificial_ _Intelligence_ _and_ _Statistics_, 2010, pp. 249–256. [36] X. Jin and J. Han, _K-Medoids_ _Clustering_ . Boston, MA: Springer US, 2010, pp. 564–565. [Online]. Available: [https://doi.org/10.1007/](https://doi.org/10.1007/978-0-387-30164-8_426) [978-0-387-30164-8](https://doi.org/10.1007/978-0-387-30164-8_426) 426 [37] M. Abadi, A. Agarwal, P. Barham, E. Brevdo, Z. Chen _et_ _al._, “TensorFlow: Large-scale machine learning on heterogeneous systems,” 2015. [Online]. Available: [https://www.tensorflow.org](https://www.tensorflow.org) [38] F. Pedregosa, G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O. Grisel, M. Blondel, P. Prettenhofer, R. Weiss, V. Dubourg _et_ _al._, “Scikit-learn: Machine learning in Python,” _Journal_ _of_ _Machine_ _Learn-_ _ing_ _Research_, vol. 12, pp. 2825–2830, 2011. [39] [Synopsys, “Sentaurus Lithography,” https://www.synopsys.com/silicon/](https://www.synopsys.com/silicon/mask-synthesis/sentaurus-lithography.html) [mask-synthesis/sentaurus-lithography.html,](https://www.synopsys.com/silicon/mask-synthesis/sentaurus-lithography.html) 2016. [40] D. Kingma and J. Ba, “Adam: A method for stochastic optimization,” _arXiv_ _preprint_ _arXiv:1412.6980_, 2014. [41] Y. Lin, Y. Watanabe, T. Kimura, T. Matsunawa, S. Nojima, M. Li, and D. Z. Pan, “Data efficient lithography modeling with residual neural networks and transfer learning,” in _ACM_ _International_ _Symposium_ _on_ _Physical_ _Design_ _(ISPD)_, Monterey, CA, March 2018. APPENDIX Proof of Lemma III.5. _Proof._ We assume the output after a series of convolution and fully connected layers is the prediction of the CNN for regression. Consider two inputs _x_ and _x_ <sup>_′_</sup>, with their representation _x_ <sup>(</sup> <sup>_d_</sup> <sup>)</sup> and _x_ <sup>_′_</sup> <sup>(</sup> <sup>_d_</sup> <sup>)</sup> . We first show the Lipschitz property of convolution layers and fully connected state,layers. Any convolution or fully connected layer can be denoted as _x_ <sup>(</sup> _j_ <sup>_d_</sup> <sup>)</sup> = <sup>�</sup> _i_ <sup>_w_</sup> _i,j_ <sup>(</sup> <sup>_d_</sup> <sup>)</sup> <sup>_x_</sup> _i_ <sup>(</sup> <sup>_d−_</sup> <sup>1)</sup> . By assuming <sup>�</sup> _i_ <sup>_|w_</sup> _i,j_ <sup>(</sup> <sup>_d_</sup> <sup>)</sup> <sup>_|_</sup> <sup>_≤_</sup> <sup>_α, ∀i, j, d_</sup> <sup>,</sup> <sup>we</sup> <sup>can</sup> ��� _x_ _j_ ( _d_ ) _−_ _x_ _j_ <sup>_′_</sup> <sup>(</sup> <sup>_d_</sup> <sup>)</sup> ��� _≤_ _α_ ��� _x_ ( _d−_ 1) _−_ _x_ _′_ ( _d−_ 1)��� _._ (7) _i_ <sup>_|w_</sup> _i,j_ <sup>(</sup> <sup>_d_</sup> <sup>)</sup> _i_ <sup>_w_</sup> _i,j_ <sup>(</sup> <sup>_d_</sup> <sup>)</sup> _i_ <sup>(</sup> <sup>_d−_</sup> <sup>1)</sup> . By assuming <sup>�</sup> <sup>(</sup> _j_ <sup>_d_</sup> <sup>)</sup> = <sup>�</sup> _i,j_ <sup>(</sup> <sup>_d_</sup> <sup>)</sup> <sup>_x_</sup> _i_ <sup>(</sup> <sup>_d−_</sup> <sup>1)</sup> _j_ (7) ��� _≤_ _α_ ��� _x_ ( _d−_ 1) _−_ _x_ _′_ ( _d−_ 1)��� _._ Let _n_ <sup>(</sup> <sup>_d_</sup> <sup>)</sup> be the dimension of _x_ <sup>(</sup> <sup>_d_</sup> <sup>)</sup>, which is bounded by _N_, ��� _x_ ( _d_ ) _−_ _x_ _′_ ( _d_ )��� = _≤_ _~~√~~_ ~~�~~ <u>�</u> _j_ 2 _,_ <u>���</u> <u>���</u> _x_ _j_ ( _d_ ) _<u>−</u>_ _x_ _j_ <sup>_′_</sup> <sup>(</sup> <sup>_d_</sup> <sup>)</sup> ~~�~~ _n_ <sup>(</sup> <sup>_d_</sup> <sup>)</sup> _α_ <sup>2</sup> _∥_ _x_ <sup>(</sup> <sup>_d−_</sup> <sup>1)</sup> _−_ _x_ <sup>_′_</sup> <sup>(</sup> <sup>_d−_</sup> <sup>1)</sup> _∥_ <sup>2</sup> _,_ (8) <u>���</u> _x_ ( _d−_ 1) _−_ _x_ _′_ ( _d−_ 1)��� _,_ _≤_ _α_ _≤_ _α_ _n_ <sup>(</sup> <sup>_d_</sup> <sup>)</sup> _~~√~~_ _N_ _~~√~~_ <u>���</u> _x_ ( _d−_ 1) _−_ _x_ _′_ ( _d−_ 1)��� _._ We then consider ReLU and max-pooling layers. For any ReLU layer, it is straightforward to verify the following inequality, _|_ max(0 _, a_ ) _−_ max(0 _, b_ ) _| ≤|a −_ _b|._ (9) Any max-pooling layer can be viewed as a convolution layer in which only one weight is 1 and others are 0. Thus, we can state for ReLU and max-pooling layers, (10) ��� _x_ ( _d_ ) _−_ _x_ _′_ ( _d_ )��� _≤_ ��� _x_ ( _d−_ 1) _−_ _x_ _′_ ( _d−_ 1)��� _._ Combining the Lipschitz property of all layers of CNN, _~~√~~_ �� _CNN_ ( _x_ ; _w_ ) _−_ _CNN_ ( _x_ _′_ ; _w_ )�� _≤_ ( _α_ _N_ ) <sup>_nc_</sup> <sup>+</sup> <sup>_nfc_</sup> <sup>��</sup> _x_ _−_ _x_ <sup>_′_</sup> <sup>��</sup> _,_ (11) where _w_ is the weights for CNN. For ResNet, a shortcut connection can be viewed as a layer _d_ which takes input from layer _d_ _−_ 1 and layer _d_ <sup>_′_</sup>, i.e., _x_ <sup>(</sup> <sup>_d_</sup> <sup>)</sup> = _x_ <sup>(</sup> <sup>_d−_</sup> <sup>1)</sup> + _x_ <sup>(</sup> <sup>_d′_</sup> <sup>)</sup>, where _d −_ 1 _> d_ <sup>_′_</sup> . Then we can state, ��� _x_ ( _d_ ) _−_ _x_ ( _d_ )��� = ��� _x_ ( _d−_ 1) + _x_ ( _d′_ ) _−_ _x_ _′_ ( _d−_ 1) _−_ _x_ _′_ ( _d′_ )��� _,_ (12) _≤_ _≤_ ��� _x_ ( _d−_ 1) _−_ _x_ _′_ ( _d−_ 1)��� + ��� _x_ ( _d′_ ) _−_ _x_ _′_ ( _d′_ )��� _,_ _~~√~~_ _~~√~~_ - <sup>�</sup> �� _x_ ( _d′_ ) _−_ _x_ _′_ ( _d′_ ) <sup>�</sup> �� _,_ �( _α_ _N_ ) <sup>_d−d′−_</sup> <sup>1</sup> + 1 _≤_ (1 + _α_ _N_ ) <sup>_d−d′−_</sup> <sup>1��</sup> - _x_ <sup>(</sup> <sup>_d′_</sup> <sup>)</sup> _−_ _x_ <sup>_′_</sup> <sup>(</sup> <sup>_d′_</sup> <sup>)��</sup> - _._ Therefore, combining all layers of ResNet, _~~√~~_ �� _ResNet_ ( _x_ ; _w_ ) _−_ _ResNet_ ( _x_ _′_ ; _w_ )�� _≤_ (1 + _α_ _N_ ) <sup>_nc_</sup> <sup>+</sup> <sup>_nfc_</sup> <sup>��</sup> _x_ _−_ _x_ <sup>_′_</sup> <sup>��</sup> _._ (13) We combine Eq. (11) and Eq. (13) for generalization to both CNN and ResNet. Proof of Lemma III.4. _Proof._ We first bound ��� _f_ ˆ( _x_ _i_ )���, ��� _f_ ˆ( _x_ _i_ )��� _≤_ ��� _f_ ˆ( _x_ 0)��� + ��� _f_ ˆ( _x_ _i_ ) _−_ _f_ ˆ( _x_ 0)��� _,_ _≤|y_ 0 _|_ + _|δ|_ + _λf_ _f_ ˆ( _∥_ _x_ _i∥_ + _∥_ _x_ 0 _∥_ ) _,_ _≤_ _b_ 2 + _|δ|_ + _λ_ _f_ ˆ _∥_ _x_ _i −_ _x_ 0 _∥,_ _f_ ˆ _b_ 1 _._ _≤_ _b_ 2 + _|δ|_ + 2 _λ_ Then prove the Lipschitz-continuity of square loss function, _|l_ _ws_ ( _x_ _i, yi_ ) _−_ _l_ _ws_ ( _x_ _j, yj_ ) _|_ = _≤_ ���( _yi −_ _f_ ˆ( _x_ _i_ ))2 _−_ ( _yj_ _−_ _f_ ˆ( _x_ _j_ ))2��� _,_ ��� _yi −_ _yj_ _−_ _f_ ˆ( _x_ _i_ ) + _f_ ˆ( _x_ _j_ )������ _yi_ + _yj_ _−_ _f_ ˆ( _x_ _i_ ) _−_ _f_ ˆ( _x_ _j_ )��� _,_ ��� _f_ ˆ( _x_ _i_ ) _−_ _f_ ˆ( _x_ _j_ )���)( _|yi|_ + _|yj|_ + ��� _f_ ˆ( _x_ _i_ )��� + ��� _f_ ˆ( _x_ _j_ )���) _,_ (14) (15) _≤_ ( _|yi −_ _yj|_ + _f_ ˆ _∥_ _x_ _i −_ _x_ _j∥_ )(4 _b_ 2 + 2ˆ _|δ|_ + 4 _λ_ _≤_ ( _|yi −_ ˆ _yj|_ + _λ_ _f_ ˆ)( _|yi −_ _yj|_ + _∥_ _x_ _i −_ _x_ _j∥_ ) _._ _f_ ˆ _b_ 1) _,_ _f_ ˆ _b_ 1 + 4 _b_ 2 + 2 _|δ|_ ) _·_ max(1 _, λ_ _≤_ (4 _λ_ Proof of Theorem III.3. _Proof._ _|l_ _ws_ ( _x_ _i, yi_ ) _−_ _l_ _ws_ ( _x_ _j, yj_ ) _|_ Inequality (a) uses the Lipschitz property of the loss function. ( _a_ ) _≤_ _λ_ <sup>_l_</sup> ( _|yi −_ _yj|_ + _∥_ _x_ _i −_ _x_ _j∥_ ) _._ (16) _|yi −_ _yj|_ = _|f_ ( _x_ _i_ ) + _ϵi −_ _f_ ( _x_ _j_ ) _−_ _ϵj|,_ _≤|f_ ( _x_ _i_ ) _−_ _f_ ( _x_ _j_ ) _|_ + _|ϵi|_ + _|ϵj|,_ ( _b_ ) _≤_ _λ_ <sup>_f_</sup> _∥_ _x_ _i −_ _x_ _j∥_ + _|ϵi|_ + _|ϵj|,_ Inequality (b) uses the Lipschitz property of the ground truth function _f_ . Combine previous two inequalities Eq. (16) and Eq. (17), we have, _|l_ _ws_ ( _x_ _i, yi_ ) _−_ _l_ _ws_ ( _x_ _j, yj_ ) _|_ _≤_ _λ_ <sup>_l_</sup> ( _λ_ <sup>_f_</sup> _∥_ _x_ _i −_ _x_ _j∥_ + _|ϵi|_ + _|ϵj|_ + _∥_ _x_ _i −_ _x_ _j∥_ ) _,_ (17) (18) Denote the selected data samples as ( _x_ <sup>_c_</sup> _j_ <sup>_c_</sup> _j_ <sup>_, y_</sup> _j_ <sup>_c_</sup> = _λ_ <sup>_l_</sup> ( _λ_ <sup>_f_</sup> + 1) _∥_ _x_ _i −_ _x_ _j∥_ + _λ_ <sup>_l_</sup> ( _|ϵi|_ + _|ϵj|_ ) _._ Denote the selected data samples as ( _x_ <sup>_c_</sup> _j_ <sup>_, y_</sup> _j_ <sup>_c_</sup> <sup>)</sup> <sup>_, ∀j_</sup> <sup>_∈_</sup> <sup>_s_</sup> <sup>.</sup> <sup>Then</sup> <sup>assign</sup> <sup>each</sup> <sup>point</sup> <sup>_i_</sup> <sup>of</sup> <sup>the</sup> <sup>entire</sup> <sup>dataset</sup> <sup>to</sup> <sup>a</sup> <sup>cluster</sup> <sup>centered</sup> <sup>by</sup> <sup>its</sup> <sup>nearest</sup> selected data sample _j_, and suppose that there are _kj_ points within the cluster. Then the average loss of all data points is bounded as follows, _kj_ _i_ =1 <u>1</u> _n_ _i∈D_ _l_ _ws_ ( _x_ _i, yi_ ) = <sup><u>1</u></sup> _n_ _l_ _ws_ ( _x_ _i, yi_ ) _,_ ( _c_ ) ( _c_ ) _≤_ _n_ <sup><u>1</u></sup> _j_ <sup>_c_</sup> <sup>) +</sup> �� _l_ _ws_ ( _x_ _i, yi_ ) _−_ _l_ _ws_ ( _x_ _jc_ <sup>_, y_</sup> _j_ <sup>_c_</sup> _j_ <sup>_c_</sup> <sup>)</sup> ��� _,_ _n_ - _l_ _ws_ ( _x_ <sup>_c_</sup> _j_ <sup>_c_</sup> _j_ <sup>_, y_</sup> _j_ <sup>_c_</sup> ( _d_ ) ( _d_ ) _≤_ _n_ <sup><u>1</u></sup> _n_ �0 + �� _l_ _ws_ ( _x_ _i, yi_ ) _−_ _l_ _ws_ ( _x_ _jc_ <sup>_, y_</sup> _j_ <sup>_c_</sup> _j_ <sup>_c_</sup> <sup>)</sup> <sup>)</sup> ��� _,_ ( _e_ ) ( _e_ ) _≤_ _n_ <sup><u>1</u></sup> �� + _λl_ ( _|ϵi|_ + �� _ϵjc_ ��)� _,_ _n_ _j∈_ _s_ _i_ _j∈_ _s_ _j∈_ _s_ _j∈_ _s_ _kj_ _i_ =1 _kj_ _i_ =1 _kj_ _i_ =1 _λ_ <sup>_l_</sup> ( _λ_ <sup>_f_</sup> + 1) _j_ �� _x_ _i −_ _x_ _c_ = <sup>_<u>λl</u>_</sup> <sup><u>(</u></sup> <sup>_<u>λf</u>_</sup> <sup><u>+ 1)</u></sup> _n_ = <sup>_<u>λl</u>_</sup> <sup><u>(</u></sup> <sup>_<u>λf</u>_</sup> <sup><u>+ 1)</u></sup> _kj_ _i_ =1 ( _|ϵi|_ + _j∈_ _s_ _j∈_ _s_ _j∈_ _s_ �� + _<u>λ</u>_ <sup>_l_</sup> _n_ �� + _<u>λ</u>_ <sup>_l_</sup> ��) _,_ _ki|ϵ_ <sup>_c_</sup> _i_ <sup>_|,_</sup> �� _ϵjc_ (19) = <sup>_<u>λl</u>_</sup> <sup><u>(</u></sup> <sup>_<u>λf</u>_</sup> <sup><u>+ 1)</u></sup> _n_ = <sup>_<u>λl</u>_</sup> <sup><u>(</u></sup> <sup>_<u>λf</u>_</sup> <sup><u>+ 1)</u></sup> �� + _<u>λ</u>_ <sup>_l_</sup> _n_ �� + _<u>λ</u>_ <sup>_l_</sup> _|ϵi|_ + <sup>_<u>λ</u>_</sup> _n_ <sup>_l_</sup> _i∈_ _s_ = <sup>_<u>λl</u>_</sup> <sup><u>(</u></sup> <sup>_<u>λf</u>_</sup> <sup><u>+ 1)</u></sup> _n_ = <sup>_<u>λl</u>_</sup> <sup><u>(</u></sup> <sup>_<u>λf</u>_</sup> <sup><u>+ 1)</u></sup> _kj_ _i_ =1 _kj_ _i_ =1 _kj_ _i_ =1 _j_ �� _x_ _i −_ _x_ _c_ _j_ �� _x_ _i −_ _x_ _c_ _j_ �� _x_ _i −_ _x_ _c_ �� + _<u>λ</u>_ <sup>_l_</sup> _n_ �� + _<u>λ</u>_ <sup>_l_</sup> _j∈_ _s_ _i∈D_ _i∈D_ _|ϵi|_ + <sup>_<u>λ</u>_</sup> _n_ <sup>_l_</sup> _αi|ϵi|,_ where _αi_ = �1 _,_ _i ∈_ _D \_ _s_ _,_ _ki_ + 1 _,_ _i ∈_ _s_ _,_ _jc_ �� + 2 _λl_ _i∈D_ ( _f_ ) _≤_ <sup>_<u>λl</u>_</sup> <sup><u>(</u></sup> <sup>_<u>λf</u>_</sup> _n_ <sup><u>+ 1)</u></sup> _i∈D_ ( _f_ ) _j_ �� + _<u>λ</u>_ <sup>_l_</sup> _c_ _n_ _j_ �� + _<u>λ</u>_ <sup>_l_</sup> _i∈D_ _|ϵi|,_ _n_ _αi_ ( _g_ ) _≤_ <sup>_<u>λl</u>_</sup> <sup><u>(</u></sup> <sup>_<u>λf</u>_</sup> _n_ <sup><u>+ 1)</u></sup> _kj_ _i_ =1 _kj_ _i_ =1 _j_ �� _x_ _i −_ _x_ _c_ _j_ �� _x_ _i −_ _x_ _c_ _|ϵi|,_ ( _g_ ) _n_ _j∈_ _s_ _j∈_ _s_ Inequality (c) utilizes the fact that _a −_ _b_ _≤∥a −_ _b∥_ . Inequality (d) uses the zero loss assumption. Inequality (e) embeds Eq. (18). We assume _ϵi_ and _ϵ_ <sup>_c_</sup> _j_ <sup>follow</sup> <sup>the</sup> <sup>same</sup> <sup>normal</sup> <sup>distribution,</sup> <sup>because</sup> <sup>they</sup> <sup>come</sup> <sup>from</sup> <sup>the</sup> <sup>same</sup> <sup>dataset.</sup> <sup>Inequality</sup> <sup>(f)</sup> <sup>leverages</sup> <sup>the</sup> <sup>fact</sup> <sup>that</sup> - _i_ <sup>_aibi_</sup> <sup>_≤_</sup> <sup>�</sup> _i_ <sup>_ai_</sup> _i_ <sup>_bi, ∀ai, bi_</sup> <sup>_≥_</sup> <sup>0.</sup> ~~�~~ <sup>Ineq</sup> <u>2</u> <sup>uality</sup> <sup>(g)</sup> <sup>cancels</sup> <sup>out</sup> <sup>_n_</sup> <sup>by</sup> <sup>�</sup> _i_ half-normal distribution with mean _σ_ ~~�~~ _π_ <u>2</u> <sup>and</sup> <sup>variance</sup> <sup>_σ_</sup> <sup>2(1</sup> <sup>_−_</sup> _π_ <sup><u>2</u></sup> _π_ <sup><u>2</u></sup> <sup>).</sup> _i∈D_ <sup>_αi_</sup> <sup>=</sup> <sup>2</sup> <sup>_n_</sup> <sup>,</sup> <sup>where</sup> <sup>_|ϵi|_</sup> <sup>is</sup> <sup>a</sup> <sup>sample</sup> <sup>from</sup> <sup>an</sup> <sup>independent</sup> <sup>random</sup>

섹션 본문 68문단 · 40,805자

(제목 없음)

1Lithography simulation is one of the key steps in physical verification, enabled by the substantial optical and resist models. A resist model bridges the aerial image simulation to printed patterns. While the effectiveness of learning-based solutions for resist modeling has been demonstrated, they are considerably data-demanding. Meanwhile, a set of manufactured data for a specific lithography configuration is only valid for the training of one single model, indicating low data efficiency. Due to the complexity of the manufacturing process, obtaining enough data for acceptable accuracy becomes very expensive in terms of both time and cost, especially during the evolution of technology generations when the design space is intensively explored. In this work, we propose a new resist modeling framework for contact layers, utilizing existing data from old technology nodes and active selection of data in a target technology node, to reduce the amount of data required from the target lithography configuration. Our framework based on transfer learning and active learning techniques is effective within a competitive range of accuracy, i.e., 3-10X reduction on the amount of training data with comparable accuracy to the state-of-the-art learning approach.

I. INTRODUCTION

2Due to the continuous semiconductor scaling from 10nm technology node (N10) to 7nm node (N7) [1], [2], the prediction of printed pattern sizes is becoming increasingly difficult and complicated due to the complexity of manufacturing process and variations. However, complex designs demand accurate simulations to guarantee functionality and yield. Resist modeling, as a key component in lithography simulation, is critical to bridge the aerial image simulation to manufactured wafer data. Rigorous simulations that perform physics-level modeling suffer from large computational overhead, which are not suitable when used extensively. Thus compact resist models are widely used in practice. Figure 1(a) shows the process of lithography simulations where the aerial image is computed from the input mask patterns and the optical model, and the output pattern is computed from the aerial image and the resist model. As the aerial image contains the light intensity map, the resist model needs to determine the slicing thresholds for the output patterns as shown in Figure 1(b). With the thresholds, the critical dimensions (CDs) of printed patterns can be computed, which need to match CDs measured from manufactured patterns. In practice, various factors may impact a resist model such as the physical properties of photoresist, design rules of patterns, process variations. Critical dimension usually refers to the smallest dimension on a lithography level that must be accurately controlled when fabricating a device. Here critical dimensions refer to the sizes of printed patterns.

3Accurate lithography simulation like rigorous physics-based simulation is notorious for its long computational time, while simulation with compact models suffers from accuracy issues [3], [4]. On the Y. Lin other hand, machine learning techniques are able to construct accurate models and then make efficient predictions. These approaches first take training data to calibrate a model and then use this model to make predictions on testing data for validation. The effectiveness of learning-based solutions has been studied in various lithography related areas including aerial image simulation [5], hotspot detection [6]- [11], optical proximity correction (OPC) [12]- [15], subresolution assist features (SRAF) [16], [17], resist modeling [3], [4], etc. In resist modeling, a convolutional neural network (CNN) that predicts slicing thresholds in aerial images is proposed [4]. The neural network consists of three convolution layers and two fully connected layers. Since the slicing threshold is a continuous value, learning a resist model is a regression task rather than a classification task. Around 70% improvement in accuracy is reported compared with calibrated compact models from Mentor Calibre [18]. Shim et al. [3] propose an artificial neural network (ANN) with five hidden layers to predict the height of resist after exposure. Significant speedup is reported with high accuracy compared with a rigorous simulation.

4Although the learning-based approaches are able to achieve high accuracy, they are generally data-demanding in model training. In other words, big data is assumed to guarantee accuracy and generality. Furthermore, one data sample can only be used to train the corresponding model under the same lithography configuration, indicating a low data efficiency. Here data efficiency evaluates the accuracy a model can achieve given a specific amount of data, or the amount of data samples are required to achieve target accuracy. Nevertheless, obtaining a large amount of data is often expensive and time-consuming, especially when the technology node switches from one to another and the design space is under active exploration, e.g., from N10 to N7. The lithography configurations including optical sources, resist materials, etc., are frequently changed for experiments. Therefore, a fast preparation of models with high accuracy is urgently desired. In addition, it remains to be a question that what are the best designs for building a model. Typical practice of regular array patterns or random patterns may not be representative enough to calibrate accurate and generic models. Thus effective techniques to recognize representative designs will also be beneficial to improving data efficiency. Different from previous approaches, in this work, we assume the availability of large amounts of data from the previous technology generation with old lithography configurations and small amounts of data from a target lithography configuration. We focus on increasing the data efficiency by 1) reusing those from other lithography configurations and transfer the knowledge between different configurations; 2) active selection of data samples in the target configuration, also known as active learning. The objective is to achieve accurate resist models with significantly fewer data to a target configuration. The major contributions are summarized as follows.

5• We propose a high performance resist modeling technique based on the residual neural network (ResNet). • We propose a transfer learning scheme for ResNet that can reduce the amount of data with a target accuracy by utilizing the data from other configurations. • We propose an active learning scheme based on K-Medoids algorithm with theoretical insights for both CNN and ResNet. • The experimental results demonstrate 3-10X reduction in the amount of training data to achieve accuracy comparable to the state-of-the-art learning approach [4]. The rest of the paper is organized as follows. Section II illustrates the problem formulation. Section III explains the details of our approach. The effectiveness of our approach is verified in Section IV and the conclusion is drawn in Section V.

II. PRELIMINARIES

6In this section, we will briefly introduce the background knowledge on lithography simulation and resist modeling. Then the problem formulation is explained. We mainly focus on contact layers in this work, but our methodology shall be applicable to other layers. For simplicity, we use the word label to represent the target value for prediction, e.g,. threshold, given a data sample; we also use the phrase unlabelled data to denote data samples whose labels are unknown.

A. Lithography Simulation

7Lithography simulation is generally composed of two stages, i.e., optical simulation and resist simulation, where optical and resist models are required, respectively. In the optical simulation, an optical model, characterized by the illumination tool, takes mask patterns to compute aerial images, i.e., light intensity maps. Then in the resist simulation, a resist model finalizes the resist patterns with the aerial images from the optical simulation. Generally, there are two types of resist models. One is a variable threshold resist (VTR) model in which the thresholds vary according to aerial images, and the other is a constant threshold resist (CTR) model in which the light intensity is modulated in an aerial image. We adopt the former since it is suitable to learning-based approaches [4]. Figure 2 shows an example of lithography simulation for a clip with three contacts. We assume that proper resolution enhancement techniques (RETs) such as OPC and SRAF have been applied before the computation of the aerial image [19]. The optical simulation generates the aerial image, as shown in Figure 2(b). Resist simulation then computes the thresholds in the aerial image to predict printed patterns. If we want to measure the widths of contacts along the dotted line in Figure 2(c), the light intensity profiling can be extracted from the aerial image along the line and calculates the CDs for each contact with the thresholds.

B. Historical Data and Transfer Learning

8Since the lithography configurations evolve from one generation to another with the advancement of technology nodes, there are plenty of historical data available for the old generation. As mentioned in Section I, accurate models require a large amount of data for training or calibration, which are expensive to obtain during the exploration of a new generation. If the lithography configurations have no fundamental changes, the knowledge learned from the historical data may still be applicable to the new configuration, which can eventually help to reduce the amount of new data required. Transfer learning represents a set of techniques to transfer the knowledge from one or multiple source domains to a target domain, utilizing the underlying similarity between the data from these domains. Various studies have explored the effectiveness of knowledge transfer in image recognition and robotics [20]- [22], while it is not clear whether the knowledge between different resist models is transferable or not.

9In this work, we consider the evolution of the contact layer from the cutting edge technology node N10 to N7 [1], [2]. A large amount of available N10 data are assumed. During the evolution to N7, different design rules for mask patterns, optical sources and resist materials for lithography are explored. Table I shows the lithography configurations considered for N10 and N7. Differences in letters A, B represent different configurations of design rules, optical sources, or resist materials. One configuration for N10 is considered, while two configurations are considered for N7, i.e., N7a, N7 b , with two kinds of resist materials (about 20% difference in the slopes of dissolution curves). From N10 to N7, both the design rules and optical sources are changed. For N10, we consider a pitch of 64nm with double patterning lithography, while for N7, the pitch is set to 45nm with triple patterning lithography [1]. The width of each contact is set to half pitch. The lithography target of each contact is set to 60nm for both N10 and N7. Optical sources calibrated with industrial strength for N10 and N7 are shown in Figure 3, with the same type of illumination shapes.

10Various combinations of knowledge transfer can be explored from Table I, such as N10→N7, N7i→N7j, and N10+N7i→N7j, where i = j, i, j ∈ {a, b}.

C. Active Learning for Regression

11Active learning assumes unlabelled data samples exist in a pool or can be generated. Querying for data labels is very expensive and the amount of queries should be minimized. Thus selecting the proper and limited portion of data samples for querying is essential to modeling accuracy.

12We define the problem of pool-based active learning as: given a pool of unlabelled data samples, select k samples to query for labels and train a model to maximize the accuracy across the entire dataset. Be aware that the selection of data samples should not depend on data labels since labels are unknown before querying. Hence, active learning is very effective in improving data efficiency without the requirement of any additional labelled data.

13There are extensive studies for active learning in classification for CNN and SVM [23]- [26]. A few studies have explored active learning for support vector regression (SVR) and multi-layer perception (MLP) [27], [28]. Most techniques are categorized into confidence level or clustering approaches. Confidence level approaches tend to choose data samples with low prediction confidence, and clustering approaches choose representative subset of data samples among an entire dataset. There are also successful applications of active learning in VLSI CAD related areas [29]- [31].

14However, practical studies on active learning techniques for regression tasks with CNN or ResNet are lacking, and its performance when combined with transfer learning is unclear. It is often difficult to evaluate the confidence level with large and complicated models like CNN or ResNet, while clustering approaches only rely on the general properties of data samples and models. Therefore, we explore effective clustering strategies for active selection of data samples, which are suitable to regression tasks with CNN and ResNet.

D. Learning-based Resist Modeling

15The thresholds of positions near the contacts are of significant importance since they usually determine the boundaries of printed contacts. Hence we consider the middle of the left, right, bottom and top edges for each contact, as shown in Figure 4(a), where the positions for prediction are highlighted with black dots. As the threshold is mainly influenced by the surrounding mask patterns, resist models typically compute the threshold using a clip of mask patterns centered by a target position. To measure the thresholds in Figure 4(a), we select a clip where the target position lies in its center, as shown in Figure 4(b) to Figure 4(e). The task of a resist model is to compute the thresholds for these positions of each contact [4].

16Learning-based resist modeling consists of two phases, i.e., training and testing. In the training phase, training dataset with both aerial images and thresholds are used to calibrate the model, while in the testing phase, the model predicts thresholds for the aerial images from the testing dataset.

E. Problem Formulation

17The accuracy 1 of a model is evaluated with root mean square (RMS) error defined as follows,

18where N denotes the amount of samples, y denotes the golden values andŷ denotes the predicted values. We further define relative RMS error,

19where a relative ratio of error from the golden values can be represented. Both metrics can refer to errors in either CD or threshold.

20Although during model training, the RMS error of threshold is generally minimized due to easier computation, the eventual model is often evaluated with the RMS error of CD for its physical meaning to the patterns. The RMS errors in threshold and CD essentially have almost the same fidelity, and usually yield consistent comparison. For convenience, we report relative RMS error in threshold ( th r ) for comparison of different models since it removes the dependency to the scale of thresholds, and use RMS error in CD ( CD ) for data efficiency related comparison.

21Definition II.1 (Data Efficiency). The amount of target domain data required to learn a model with a given accuracy.

22Given a specific amount of data from a target domain, if one can learn a model with a higher accuracy than another, it also indicates higher data efficiency. Thus improving model accuracy benefits data efficiency as well.

23The resist modeling problem is defined as follows.

24Problem II.2 (Learning-based Resist Modeling). Given a dataset containing information of aerial images and thresholds at their centers, train a resist model that can maximize the accuracy for the prediction of thresholds.

25In practice, accuracy is not the only objective. The amount of training data should be minimized as well due to the high cost of data preparation. Therefore, we propose the problem of data efficient resist modeling as follows.

26Problem II.3 (Data Efficient Resist Modeling). Given a labelled N10 dataset containing aerial images and thresholds, and an unlabelled N7 dataset containing aerial images only, train a resist model for target dataset N7i that can achieve high accuracy and meanwhile query labels for as few N7i data samples as possible, where i ∈ {a, b}.

27Minimizing the times of label querying is equivalent to minimizing the cost of data preparation, since the most expensive part is to obtain the labels, i.e., thresholds, through either manufactured wafer data or rigorous simulation.

III. ALGORITHMS

28In this section, we will explain the structure of our models and then the details regarding the transfer learning and active learning schemes. Figure 5 shows the overall training flow. We first leverage labelled source domain data to train a source domain model. Then before training the target domain model, active learning is applied for active selection of data samples for label querying. The target domain model is eventually trained with selected data samples and knowledge transferred from the source domain model. Data augmentation in Section III-A2 is applied before training of both source and target models. Figure 6 gives the flow of data preparation. We first generate clips and perform SRAF insertion and OPC. The aerial images are then computed from the optical simulation, and at the same time, the golden thresholds need to be computed from either the rigorous simulation or the manufactured data. Each data sample consists of an aerial image and the threshold at its center.

A. Data Preparation

291) Clip Generation: Following the design rules such as minimum pitch of contacts, we generate three types of 2 × 2µm clips. It is necessary to ensure that there is a contact in the center of each clip since that is the target contact for threshold computation.

30Contact Array. All possible m × n arrays of contacts within the dimensions of clips are enumerated. The steps of the arrays can be multiple times of the minimum pitch p, i.e., p, 2p, 3p, . . . , in horizontal or vertical directions. An example of 3 × 3 contact array with a certain pitch is shown in Figure 7(a). It needs to mention that the same 3 × 3 contact array with different steps should be regarded as different clips due to discrepant spacing.

31Randomized Contact Array. The aforementioned contact arrays essentially distribute contacts on grids and fill all the slots in the grid maps. The randomization of contact arrays is implemented by a random distribution of contacts in those grid maps. Figure 7 shows an example of randomized contact array from the 3×3 contact array in Figure 7(a). Various distribution of contacts can be generated even from the same grid maps.

32Contacts with Random Positions. Contacts in this type of clips do not necessarily align to any grid map, as their positions are randomly generated, while the design rules are still guaranteed. An example is shown in Figure 7(c). No matter how the surrounding contacts change, the contact in the center of the clip should remain the same.

332) Data Augmentation: Due to the symmetry of optical sources in Figure 3, data can be augmented with rotation and flipping, improving the data efficiency [32]. Eight combinations of rotation and flipping are shown in Figure 8, where new data samples are obtained without new thresholds. Data augmentation inflates datasets to obtain models with better generalization.

B. Convolutional Neural Networks

34Convolutional neural networks (CNN) have demonstrated impressive performance on mask related applications in lithography such as hotspot detection, and resist modeling [4], [9]. The structure of CNN mainly includes convolution layers and fully connected layers. Features are extracted from convolution layers and then classification or regression is performed by fully connected layers. Figure 11(a) illustrates a CNN structure with three convolution layers and two fully connected layers [4]. The first convolution layer has 64 filters with dimensions of 7 × 7. Although not explicitly shown most of the time, a rectified linear unit (ReLU) layer for activation is applied immediately after the convolution layer, where the ReLU function is defined as,

35Then the max-pooling layer performs down-sampling with a factor of 2 to reduce the feature dimensions and improve the invariance to translation [32]. After three convolution layers, two fully connected layers are applied where the first one has 256 hidden units followed with a ReLU layer and a 50% dropout layer, and second one connects to the output.

C. Residual Neural Networks

36One way to improve the performance of CNN is to increase the depth for a larger capacity of the neural networks. However, the counterintuitive degradation of training accuracy in CNN is observed when stacking more layers, preventing the neural networks from better performance [33]. An example of CNNs with 5 and 10 layers is shown in Figure 9, where the deeper CNN fails to converge to a smaller training error than the shallow one due to gradient vanishing [34], [35], eventually resulting in the failure to achieve a better testing error either. The study from He et al. [33] reveals that the underlying reason comes from the difficulty of identity mapping. In other words, fitting a hypothesis H(x) = x is considerably difficult for solvers to find optimal solutions. To overcome this issue, residual neural networks (ResNet), which utilizes shortcut connections, are adopted to assist the convergence of training accuracy.

37The building block of ResNet is illustrated in Figure 10, where a shortcut connection is inserted between the input and output of two convolution layers. Let the function F(x) be the mapping defined by the two convolution layers. Then the entire function for the building block becomes F(x) + x. Suppose the building block targets to fit the hypothesis H(x). The residual networks train F(x) = H(x)−x, while the convolution layers without shortcut connections like that in CNN try to directly fit F(x) = H(x). Theoretically, if H(x) can be approximated with F(x), then it can also be approximated with F(x)+x. Despite the same nature, comprehensive experiments have demonstrated a better convergence of ResNet than that of CNN for deep neural networks [33]. We also observe a better performance of ResNet with the transfer learning schemes than that of CNN in our problem, which has never been explored before.

38The ResNet is shown in Figure 11(b) with 8 convolution layers and 2 fully connected layers. Different from the original setting [33], we add a shortcut connection to the first convolution layer by broadcasting the input tensor of 64 × 64 × 1 to 64 × 64 × 64. This minor change enables better empirical results in our problem. For the rest of the networks, 3 building blocks for ResNet are utilized.

D. Transfer Learning

39Transfer learning aims at adapting the knowledge learned from data in source domains to a target domain. The transferred knowledge will benefit the learning in the target domain with a faster convergence and better generalization [32]. Suppose the data in the source domain has a distribution Ps and that in the target domain has a distribution Pt. The underlying assumption of transfer learning lies in the common factors that need to be captured for learning the variations of Ps and Pt, so that the knowledge for Ps is also useful for Pt. An intuitive example is that learning to recognize cats and dogs in the source task helps the recognition of ants and wasps in the target task, especially when the source task has significantly larger dataset than that of the target task. The reason comes from the lowlevel notions of edges, shapes, etc., shared by many visual categories [32]. In resist modeling, different lithography configurations can be viewed as separate tasks with different distributions.

40Typical transfer learning scheme for neural networks fixes the first several layers of the model trained for another domain and finetune the successive layers with data from the target domain. The first several layers usually extract general features, which are considered to be similar between the source and the target domains, while the successive layers are classifiers or regressors that need to be adjusted. Figure 12 shows an example of the transfer learning scheme. We first train a model with source domain data and then use the source domain model as the starting point for the training of the target domain. During the training for the target domain, the first k layers are fixed, while the rest layers are finetuned. We denote this scheme as TF k , shortened from "Transfer and Fix", where k is the parameter for the number of fixed layers.

41In this work, we focus on the impacts of transfer learning and do not consider various preprocessing steps like scaling and normalization. In other words, raw aerial images are fed to the neural networks. The benefits of scaling and normalization are left to future work.

E. Active Learning with Clustering

42Although transfer learning is potentially able to improve the accuracy of the target dataset using knowledge from a source dataset, selection of representative target data samples may further improve the accuracy. Let D be the unlabeled dataset in the target domain and s be the set of selected data samples for label querying, where |s| ≤ k and k is the maximum number of data samples for querying. For any (xi, yi) ∈ D, xi is the feature, e.g., aerial image, and yi is the label, e.g., threshold, where yi is unknown for D. Consider a loss function l(xi, yi; w) parameterized over the hypothesis class (w), e.g., parameters of a learning algorithm. The objective of active learning is to minimize the average loss of dataset D with a model trained from s,

43where n = |D|, and ws represents the parameters of a model trained from s. We present an upper bound of Eq. (4) for any Lipschitz loss function and Lipschitz estimator. Then we show that both CNN and ResNet with non-linear ReLU activations are actually Lipschitz continuous. We also assume the training loss can drop to zero, which is likely to be achieved with large enough models.

44We also write g(x; w) as gw(x). We use Frobenius norm for norm of a matrix here, i.e., · .

45Definition III.2. Let f (·, ·; ·) :

46We also write f (x, y; w) as fw(x, y). We state the following theorem:

47where kj is the number of samples whose closest sample in s is x c j ; | i| is a sample from an independent random half-normal distribution with mean σ √ 2 √ π and variance σ 2 (1 − 2 π ). The left-hand side of the inequality is the average loss across the entire dataset. The right-hand side, i.e., the upper bound of the average loss, is correlated to the objective of a K-Medoids Clustering problem [36], where K is the number of labeled data samples for training (K = |s|). K-Medoids clustering problem is required to return K clusters from a set of points as well as K centers for each cluster. Therefore, minimizing j∈s k j i=1 xi − xj helps to bound the left-hand side. Figure 13 provides an intuition for the K-Medoids clustering in a 2D space. Random selection may result in biased coverage of the entire dataset, causing significant overfitting of model training. K-Medoids clustering is able to select medoids (data) evenly from the space for training such that most unselected data samples are close to their nearest medoids.

48Theorem III.3 requires both the loss function and the estimator to be Lipschitz continuous.

49Lemma III.4. If the following conditions hold,

503) ∃(x0, y0) such thatfw s (x0) = y0 + δ, where δ is a bounded constant; then square loss function lw s (x, y) = (y −fw s (x)) 2 is λ l -Lipschitz continuous, where y is the label andfw s ( * ) is the learned function with parameter ws (also denoted asf ( * ) for brevity),

51In practice, the three assumptions are not difficult to hold. Consider the physical meaning of x and y, both x and |y| are numerically small in this work. Lemma III.5 proves that CNN/ResNet is Lipschitz continuous. If the training error for CNN/ResNet is small, which is mostly true, (x0, y0) can be selected from the training dataset and then |δ| is also small.

52Lemma III.5. A CNN/ResNet for regression with nc convolution layers (with max-pooling and ReLU) and n f c fully connected layers

53Detailed proofs for Theorem III.3, Lemma III.4, and Lemma III.5 can be found in Appendix.

IV. EXPERIMENTAL RESULTS

54Our framework is implemented with Tensorflow [37] and validated on a Linux server with 3.4GHz Intel i7 CPU and Nvidia GTX 1080 GPU. The K-Medoids clustering is approximated by K-Means clustering in scikit-learn [38] and assigning the data points that are closest to centroids as medoids. We observe that this approach provides better and more stable objectives of K-Medoids clustering than does dedicated K-Medoids clustering solver in PyClust package in our experiments.

55Around 980 mask clips are generated according to Section III-A for N10 and N7 separately following the design rules in Section II-B, respectively. N7a and N7 b use the same set of clips, but different lithography configurations. SRAF, OPC and aerial image simulation are performed with Mentor Calibre [18]. The golden CD values are obtained from rigorous simulation using Synopsys Sentaurus Lithography models [39] calibrated from manufactured data for N10, N7a, and N7 b according to Table I. Then golden thresholds are extracted. Each clip has four thresholds as shown in Figure 4. Hence the N10 dataset contains 3928 samples and each N7 dataset contains 3916 samples, respectively. The data augmentation technique in Section III-A2 is applied, so the training set and the testing set will be augmented by a factor of 8 independently. For example, if 50% of the data for N10 are used for training, then there are 3928 × 50% × 8 = 15712 samples. It needs to mention that always the same 50% portions are used during the validation of a dataset for fair comparison of different techniques. The batch size is set to 32 for training accommodating to the large variability in the sizes of training datasets. Adam [40] is used as the stochastic optimizer and maximum epoch is set to 200 for training.

56The training time for one model takes 10 to 40 minutes according to the portions of a dataset used for training, and prediction time for an entire N10 or N7 dataset takes less than 10 seconds, while the rigorous simulation takes more than 15 hours for each N10 or N7 dataset. Thus we no longer report the prediction time which is negligible compared with that of the rigorous simulation. Each experiment runs 10 different random seeds and averages the numbers.

A. CNN and ResNet

57We first compare CNN and ResNet in Figure 14(a). Column "CNN-5" denotes the network with 5 layers shown in Figure 11(a). Column "CNN-10" denotes the one with 10 layers that has the same structure as that in Figure 11(b) but without shortcut connections. Column "ResNet" denotes the one with 10 layers shown in Figure 11(b). When using 1% to 20% training data, ResNet shows better average relative RMS error th r than CNN-10, but CNN-5 provides the best error. We will show later that ResNet on the contrary outperforms CNN-5 when transfer learning is incorporated.

58We then show the performance of active learning for CNN and ResNet in Figure 14(b) and Figure 14(c), denoted as "CNN-5+AL" and "ResNet+AL", respectively. The beneficial amount of training data for active data selection is from 10% to 40%. For example, for 20% training data, it provides 11.6% accuracy improvement for CNN and 12.5% for ResNet; for 30% training data, it provides 11.4% improvement for CNN and 11.3% for ResNet [41]. The benefit of active learning is not significant for extremely small training dataset, e.g., 1% and 5%. When there are very few training data, it is more likely for randomly selected data samples to distribute quite some distance away than to squeeze as small clusters. Although active selection of data can avoid corner cases of extremely poor sampling, e.g., all data samples squeezing as a small cluster, while it is difficult to demonstrate the benefit of active learning in ordinary cases. On the other hand, when the amount of training data increases, the benefit from active learning drops due to sufficient coverage. The rightmost points take all 50% training data and thus show the same accuracy as that without active learning.

59The impacts of depth on the performance of ResNet are further explored in Figure 14(d), where we gradually stack more building blocks in Figure 10 before fully connected layers. The x-axis denotes total number of convolution and fully connected layers corresponding to different numbers of building blocks. For instance, 0 building block leads to 4 layers and 3 building blocks result in 10 layers (Figure 11(b)). The testing error decreases to lowest value at 10 layers and then starts to increase, indicating potential overfitting afterwards [32]. Therefore, we use 10 layers for the ResNet in the experiment.

B. Knowledge Transfer From N10 to N7

60We then compare the testing accuracy between knowledge transfer from N10 to N7 and directly training from N7 datasets in Figure 15(a). In this example, the x-axis represents the percentage of training dataset for the target domain N7a, while the percentage of data from the source domain N10 is always 50%. Similar trends are also observed for N7 b . Curve "CNN" denotes training the CNN of 5 layers in Figure 11 transfer learning involved. Curve "CNN TF0" denotes the transfer learning scheme in Section III-D for the same CNN with zero layer fixed. Curve "ResNet TF0" denotes applying the same scheme to ResNet. The most significant benefit of transfer learning comes from small training dataset with a range of 1% to 20%, where there are around 52% to 18% improvement in the accuracy from CNN. Meanwhile, ResNet TF0 can achieve an average of 13% smaller error than CNN TF0. Figure 15(b) further compares the results of fixing different numbers of layers during transfer learning. In this case, ResNet TF0 and ResNet TF4 have the best accuracy, while the error increases with more layers fixed. It is indicated that the tasks N10 and N7 are quite different and both feature extraction layers and regression layers need finetuning.

61In Figure 15(c), we enable transfer learning plus active learning, which provides 7% to 11% additional accuracy improvement for 10% to 40% amount of training data from the target domain.

C. Knowledge Transfer within N7

62The transfer learning between different N7 datasets, e.g., from N7a to N7 b , is also explored in Figure 16. The x-axis represents the percentage of training dataset for the target domain N7 b , while the percentage of data from the source domain N7a is always 50%. Compared with the knowledge transfer from N10 to N7, we achieve even higher accuracy between 1% and 20% training datasets in Figure 16(a). For example, with 1% training dataset, there is around 65% improvement in accuracy from CNN, and with 20% training dataset, the improvement is around 23%. ResNet TF0 keeps having lower errors than that of CNN TF0 as well, with an average benefit around 15%.

63The curves in Figure 16 TF0 can be further improved with more layers fixed, e.g., ResNet TF8, by around 28% to 14%. This is reasonable since N7a and N7 b have the same design rules and illumination shapes, and the only difference lies in the resist materials. Therefore, the feature extraction layers are supposed to remain almost the same. With the sizes of the training dataset increasing to 15% and 20%, the differences in the accuracy become smaller, because there are enough data to find good configurations for the networks. Since knowledge transfer is remarkably effective with ResNet TF8, we do not see the room for further improvement with active learning. Thus we did not plot the curves for that.

D. Impact of Various Source Domains

64In transfer learning, the correlation between the datasets of source and target domains is critical to the effectiveness of knowledge transfer. Thus, we explore the impacts of source domain datasets on the accuracy of modeling for the target domain. Figure 17 plots the testing errors of learning N7 b using ResNet TF0 with various source domain datasets. Curves "N10 50% " and "N7 50% a " indicate that 50% of the N10 or the N7a dataset is used to train source domain models, respectively. Curve "N10 50% + N7 1% a " describes the situation where we have 50% of the N10 dataset and 1% of the N7a dataset for training. In this case, as shown in Figure 18, we first use the 50% N10 data to train the first source domain model; then train the second source domain model using the first model as the starting point with the 1% N7a data; in the end, the target domain model for N7 b is trained using the second model as the starting point with N7 b data. Curves "N10 50% + N7 5% a " and "N10 50% + N7 10% a " are similar, simply with different amounts of N7a data for training.

65The knowledge from N7 50% a is the most effective for N7 b due to the minor difference in resist materials between two datasets. For the rest curves, the accuracy of N10 50% +N7 5% a and N10 50% +N7 10% a is in general better than or at least comparable to that of N10 50% . This indicates that having more data from closer datasets to the target dataset, e.g., N7a, is still helpful. Fig. 18: Transfer learning from 50% of N10 dataset and 1% of N7a dataset (i.e., N10 50% + N7 1% a ) to N7 b with x% of N7 b dataset.

E. Improvement in Data Efficiency

66examined. As mentioned in Section II, the fidelity between relative threshold RMS error and CD RMS error is very consistent, so they share almost the same trends. Transfer learning with any source domain dataset enables an average improvement of 23% to 40% from that without knowledge transfer. In small training datasets of N7 b , ResNet also achieves around 8% better performance on average than CNN in the transfer learning scheme. Enabling active learning together with transfer learning allows additional 5% accuracy improvement on average compared with transfer learning only for ResNet. At 1% of N7 b , combined source domain datasets have better performance compared with N10 50% only, but the benefits vanish with the increase of the N7 b dataset. In real manufacturing, models are usually calibrated to satisfy a target accuracy or target CD RMS error. Figure 19 demonstrates the amount of training data required in the target domain for learning the N7 b model. Curve "CNN" does not involve any knowledge transfer, while curves "CNN TF0" and "ResNet TF0" utilize transfer learning in CNN and ResNet, respectively. The curves in Figure 19(a) assume the availability of N10 data. Consider the CD RMS error from 1.5nm to 2.5nm, which is around 10% of the half pitch for N7 contacts. This range of accuracy is also comparable to that of the state-of-the-art CNN [4]. ResNet TF0 requires significantly fewer data than both CNN and CNN TF0. For instance, when the target CD error is 1.75nm, ResNet TF0 demands 5% training data from N7 b , while CNN requires 20% and CNN TF0 requires 15%. By enabling active learning, ResNet TF0+AL further reduces data requirement from ResNet TF0, e.g., 1.5X and 4X fewer training data than ResNet TF0 and CNN for 1.5nm, respectively. Figure 19(b) considers the transfer from N7a to N7 b . Both ResNet TF0 and CNN TF0 only require 1% training data from N7 b for most target CD RMS errors, where CNN TF0 cannot achieve the accuracy unless given 30% data. Overall, ResNet TF0 can achieve 3-10X reduction of training data within this range compared with CNN. It needs to mention that 1% of dataset only correspond to fewer than 40 samples owing to the data augmentation, indicating only thresholds of 40 clips are required.

V. CONCLUSION

67A transfer learning framework with a clustering based active data selection on residual neural networks is proposed for resist modeling. The combination of transfer learning and active learning Fig. 19: Amount of training data required for N7 b given target CD RMS errors when (a) 50% N10 dataset is available or (b) 50% N7a dataset is available.

68for ResNet is able to achieve high accuracy with very few data from the target domain, under various situations for knowledge transfer, indicating high data efficiency. Extensive experiments demonstrate that the proposed techniques can achieve 3-10X reduction according to various requirements of accuracy comparable to the state-of-theart learning approach. It is shown that the performance of transfer learning differs from dataset to dataset and is worth exploring to see the correlation between datasets. Active selection of data samples is also useful to guide the generation of mask designs for model calibration in manufacturing. Examining the quantitative relation between the correlation of datasets and performance of transfer learning is valuable in the future. There is still room to improve the effectiveness of knowledge transfer from N10 to N7 datasets. Therefore, in the future, we will actively explore other learning techniques to further improve the accuracy, such as preprocessing steps like scaling and normalization, various regularization techniques, and semi-supervised learning.

참고문헌 52건

  1. Adam: A Method for Stochastic Optimization 2014
  2. Understanding the difficulty of training deep feedforward neural networks 2010
  3. Partitioning Around Medoids (Program PAM) Wiley series in probability and statistics · Wiley · 1990 10.1002/9780470316801.ch2
  4. K -Medoids Clustering. Encyclopedia of Machine Learning · 2010
  5. Active Nearest Neighbors in Changing Environments International Conference on Machine Learning · 2015
  6. Sub-resolution assist feature (SRAF) printing prediction using logistic regression Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2015 10.1117/12.2085712
  7. A multiple criteria active learning method for support vector regression Pattern Recognition · Elsevier BV · 2014 10.1016/j.patcog.2014.02.001
  8. Machine learning for inverse lithography: using stochastic gradient descent for robust photomask synthesis Journal of Optics · IOP Publishing · 2010 10.1088/2040-8978/12/4/045601
  9. Active learning framework for post-silicon variation extraction and test cost reduction International Conference on Computer Aided Design · 2010 10.5555/2133429.2133538
  10. Efficient approach to early detection of lithographic hotspots using machine learning systems and pattern matching Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2011 10.1117/12.879546
  11. Optical proximity correction using a multilayer perceptron neural network Journal of Optics · IOP Publishing · 2013 10.1088/2040-8978/15/7/075708
  12. The daunting complexity of scaling to 7NM without EUV: pushing DTCO to the extreme Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2015 10.1117/12.2175509
  13. TCAD development for lithography resolution enhancement IBM Journal of Research and Development · IBM · 2001 10.1147/rd.455.0651
  14. Classifying circuit performance using active-learning guided support vector machines 2012 10.1145/2429384.2429420
  15. k-means++: the advantages of careful seeding Symposium on Discrete Algorithms · 2007 10.5555/1283383.1283494
  16. A simple and fast algorithm for K-medoids clustering Expert Systems with Applications · Elsevier BV · 2008 10.1016/j.eswa.2008.01.039
  17. Scikit-learn: Machine Learning in Python arXiv (Cornell University) · Cornell University · 2012 10.48550/arxiv.1201.0490
  18. Learning long-term dependencies with gradient descent is difficult IEEE Transactions on Neural Networks · Institute of Electrical and Electronics Engineers · 1994 10.1109/72.279181
  19. Optical Proximity Correction With Linear Regression IEEE Transactions on Semiconductor Manufacturing · IEEE Computer Society · 2008 10.1109/tsm.2008.2000283
  20. Statistical active learning in multilayer perceptrons IEEE Transactions on Neural Networks · Institute of Electrical and Electronics Engineers · 2000 10.1109/72.822506
  21. A Survey on Transfer Learning IEEE Transactions on Knowledge and Data Engineering · IEEE Computer Society · 2009 10.1109/tkde.2009.191
  22. Deep Residual Learning for Image Recognition 2016 10.1109/cvpr.2016.90
  23. Optical proximity correction with hierarchical Bayes model Journal of Micro/Nanolithography MEMS and MOEMS · SPIE · 2016 10.1117/1.jmm.15.2.021009
  24. Automatic layout feature extraction for lithography hotspot detection based on deep neural network Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2016 10.1117/12.2217746
  25. Overcoming scaling barriers through design technology CoOptimization 2016 10.1109/vlsit.2016.7573398
  26. Provably secure camouflaging strategy for IC protection 2016 10.1145/2966986.2967065
  27. Laplacian eigenmaps- and Bayesian clustering-based layout pattern sampling and its applications to hotspot detection and optical proximity correction Journal of Micro/Nanolithography MEMS and MOEMS · SPIE · 2016 10.1117/1.jmm.15.4.043504
  28. Enabling online learning in lithography hotspot detection with information-theoretic feature optimization 2016 10.1145/2966986.2967032
  29. Accurate lithography hotspot detection using deep convolutional neural networks Journal of Micro/Nanolithography MEMS and MOEMS · SPIE · 2016 10.1117/1.jmm.15.4.043507
  30. Machine learning-based 3D resist model Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2017 10.1117/12.2257904
  31. Grounded Action Transformation for Robot Learning in Simulation Proceedings of the AAAI Conference on Artificial Intelligence · Association for the Advancement of Artificial Intelligence · 2017 10.1609/aaai.v31i1.11044
  32. Bilinear Lithography Hotspot Detection 2017 10.1145/3036669.3036673
  33. Layout Hotspot Detection with Feature Tensor Generation and Deep Biased Learning 2017 10.1145/3061639.3062270
  34. Accurate lithography simulation model based on convolutional neural networks Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2017 10.1117/12.2257871
  35. Fast lithography aerial image calculation method based on machine learning Applied Optics · Optica Publishing Group · 2017 10.1364/ao.56.006485
  36. Imbalance aware lithography hotspot detection: a deep learning approach Journal of Micro/Nanolithography MEMS and MOEMS · SPIE · 2017 10.1117/1.jmm.16.3.033504
  37. Subresolution Assist Feature Generation With Supervised Data Learning IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems · Institute of Electrical and Electronics Engineers · 2017 10.1109/tcad.2017.2748029
  38. Machine learning for mask/wafer hotspot detection and mask synthesis 2017 10.1117/12.2282943
  39. Active Learning for Convolutional Neural Networks: A Core-Set Approach arXiv (Cornell University) · Cornell University · 2017 10.48550/arxiv.1708.00489
  40. Lithography hotspot detection: From shallow to deep learning 2017 10.1109/socc.2017.8226047
  41. Data Efficient Lithography Modeling with Residual Neural Networks and Transfer Learning 2018 10.1145/3177540.3178242
  42. Layout Hotspot Detection With Feature Tensor Generation and Deep Biased Learning IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems · Institute of Electrical and Electronics Engineers · 2018 10.1109/tcad.2018.2837078
  43. Bridging the Gap Between Layout Pattern Sampling and Hotspot Detection via Batch Active Learning arXiv (Cornell University) · Cornell University · 2018 10.48550/arxiv.1807.06446
  44. Adversarial Feature Learning arXiv (Cornell University) · Cornell University · 2016
  45. Active Learning for Convolutional Neural Networks: A Core-Set Approach International Conference on Learning Representations · 2018
  46. (제목 없음) DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) · Schloss Dagstuhl – Leibniz Center for Informatics · 2021 10.4230/lipics.cp.2021.42
  47. Bridging the Gap Between Layout Pattern Sampling and Hotspot Detection via Batch Active Learning IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems · Institute of Electrical and Electronics Engineers · 2020 10.1109/tcad.2020.3015903
  48. Active learning framework for post-silicon variation extraction and test cost reduction 2015 IEEE/ACM International Conference on Computer-Aided Design (ICCAD) · 2010 10.1109/iccad.2010.5653806
  49. Accurate lithography simulation model based on convolutional neural networks Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2017 10.1117/12.2279780
  50. Deleted Work 1955
  51. Adversarial Feature Learning arXiv (Cornell University) · Cornell University · 2016 10.48550/arxiv.1605.09782
  52. Progressive Neural Networks arXiv (Cornell University) · Cornell University · 2016 10.48550/arxiv.1606.04671