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

Multifidelity deep neural operators for efficient learning of partial differential equations with application to fast inverse design of nanoscale heat transport

간접 관련 필름·전자재료 · (11) 배리어 필름 (15) 디스플레이 패널재료(16) CPI(투명 폴리이미드)

기본 정보

저자
  1. Lu Lu — Department of Chemical and Biomolecular Engineering, University of Pennsylvania, Philadelphia, Pennsylvania 19104, USA
  2. Raphaël Pestourie — Department of Mathematics, Massachusetts Institute of Technology, Cambridge, Massachusetts 02139, USA
  3. Steven G. Johnson — Department of Mathematics, Massachusetts Institute of Technology, Cambridge, Massachusetts 02139, USA
  4. Giuseppe Romano — Institute for Soldier Nanotechnologies, Massachusetts Institute of Technology, Cambridge, Massachusetts 02139, USA
DOI
10.1103/physrevresearch.4.023210
저널
Physical Review Research
발행년도
2022
발행기관
American Physical Society
피인용수
139
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1103/physrevresearch.4.023210
토픽
Thermal properties of materials
OpenAlex ID
W4224089288

평가 내용

관련도
간접 관련
사업분야
필름·전자재료 · (11) 배리어 필름
부 분야
(15) 디스플레이 패널재료, (16) CPI(투명 폴리이미드)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
Deep neural operators, partial differential equations, nanoscale heat transport, inverse design, phonon Boltzmann transport equation
판단 근거
논문은 편미분 방정식(PDE)을 효율적으로 풀기 위한 딥러닝 모델링 기법을 다루며, 이를 나노 스케일 열전달 해석에 적용하고 있습니다.
R&D 활용 포인트
필름(배리어, CPI 등)이나 전자재료의 나노 구조 내 열전달 특성을 예측하고, 최적의 열 관리 성능을 갖는 소재 구조를 설계하는 시뮬레이션 모델링에 활용 가능합니다.
평가 입력
초록 1,140자

초록

Deep neural operators can learn operators mapping between infinite-dimensional function spaces via deep neural networks and have become an emerging paradigm of scientific machine learning. However, training neural operators usually requires a large amount of high-fidelity data, which is often difficult to obtain in real engineering problems. Here we address this challenge by using multifidelity learning, i.e., learning from multifidelity data sets. We develop a multifidelity neural operator based on a deep operator network (DeepONet). A multifidelity DeepONet includes two standard DeepONets coupled by residual learning and input augmentation. Multifidelity DeepONet significantly reduces the required amount of high-fidelity data and achieves one order of magnitude smaller error when using the same amount of high-fidelity data. We apply a multifidelity DeepONet to learn the phonon Boltzmann transport equation (BTE), a framework to compute nanoscale heat transport. By combining a trained multifidelity DeepONet with genetic algorithm or topology optimization, we demonstrate a fast solver for the inverse design of BTE problems.

본문 34,662자

본문 펼치기
Deep neural operators can learn operators mapping between infinite-dimensional function spaces via deep neural networks and have become an emerging paradigm of scientific machine learning. However, training neural operators usually requires a large amount of high-fidelity data, which is often difficult to obtain in real engineering problems. Here, we address this challenge by using multifidelity learning, i.e., learning from multifidelity datasets. We develop a multifidelity neural operator based on a deep operator network (DeepONet). A multifidelity DeepONet includes two standard DeepONets coupled by residual learning and input augmentation. Multifidelity DeepONet significantly reduces the required amount of high-fidelity data and achieves one order of magnitude smaller error when using the same amount of high-fidelity data. We apply a multifidelity DeepONet to learn the phonon Boltzmann transport equation (BTE), a framework to compute nanoscale heat transport. By combining a trained multifidelity DeepONet with genetic algorithm or topology optimization, we demonstrate a fast solver for the inverse design of BTE problems. arXiv:2204.06684v1 [physics.comp-ph] 14 Apr 2022 terms to the PDE solution. Different architectures of deep neural operators have been developed, such as deep operator networks (DeepONet)[11,12,14], Fourier neural operators[13,14], nonlocal kernel networks[15], and several others[16,17,18]. Among these deep neural operators, DeepONet was the first one to be proposed (in 2019)[11], and many subsequent extensions and improvements have been developed, such as DeepONet with proper orthogonal decomposition (POD-DeepONet) [14], DeepONet for multiple-input operators (MIONet) [19], DeepONet for multi-physics problems via physics decomposition (DeepM&Mnet) [20, 21], DeepONet with uncertainty quantification [22, 23, 24], multiscale DeepONet [25], POD-DeepONet with causality [26], and physics-informed DeepONet [27, 28]. DeepONet and its extensions have demonstrated good performance in diverse applications, such as fractional-derivative operators [12], stochastic differential equations [12], high-speed boundarylayer problems [29], multiscale bubble growth dynamics [30, 31], solar-thermal systems [32], aortic dissection [33], multiphysics and multiscale problems of electroconvection [20] and hypersonics [21], power grids [23], and multiscale modeling of mechanics problems[34]. It has also been theoretically proved that DeepONet may break the curse of dimensionality in some PDEs[35,36,37].Despite this computational and theoretical progress, training DeepONet usually requires a large amount of data to achieve a good accuracy. However, in many engineering problems, it is often difficult to obtain necessary data of high accuracy. In these situations, it may be advantageous to complement the high-fidelity dataset (small and accurate) by employing a low-fidelity dataset (larger and less accurate), i.e., learning from multifidelity datasets[38,39,40]. Multifidelity learning can be used in diverse applications and scenarios. For example, the high-fidelity dataset might be obtained from simulations with fine mesh, while the low-fidelity dataset is from simulations with coarse mesh. In Ref.[40], the high-fidelity dataset is from experiments and 3D simulations, while the low-fidelity dataset is from 2D simulations and analytical solutions. Multifidelity learning by neural networks has been developed for function approximation in Refs.[39,40]. Another recent approach to data efficiency using a low-fidelity solver trains a combination of a generative neural network and a low-fidelity solver, end-to-end, to match the limited data of a high-fidelity solver[41].In this work, we aim to alleviate the challenge of large datasets required for training DeepONet. We propose new algorithms to significantly reduce the required number of high-fidelity data. Specifically, we develop a new version of DeepONet by using residual learning and input augmentation, that is capable of fusing together different sets of data with different fidelity levels, making the proposed multifidelity DeepONet very efficient for learning complex systems.As an application, we apply multifidelity DeepONet to learn heat transport in nanostructured materials, described by the phonon Boltzmann-transport equation (BTE)[42]. We first train a multifidelity DeepONet to predict the map of magnitude of thermal flux in a Si nanoporous system; then, the trained DeepONet is employed with genetic algorithms and topology optimization for inverse design of materials to maximize heat transport over prescribed points with a constrained number of pores. Our method is validated against numerical BTE simulations. We note that the same DeepONet can be used for multiple inverse design tasks without the need for retraining. Potential applications in this area include energy harvesting and heat management[43,44,45].The paper is organized as follows. In Section 2, after introducing the algorithm of DeepONet, we present the setup of multifidelity learning and a few different approaches of multifidelity DeepONet. Then we discuss how to apply the trained DeepONet for inverse design. In Section 3, we compare different approaches of multifidelity DeepONet and demonstrate the effectiveness on a Poisson equation and BTE problem. Subsequently, we solve several inverse design problems of BTE for different objective functions. Finally, we conclude the paper in Section 4. Introduction Scientific machine learning (SciML) has become an emerging research field, where deep learning in the form of deep neural networks (DNNs) is used to address challenging problems in computational science and engineering [1]. In the past a few years, different SciML methods have been proposed [1]. One notable method is physics-informed neural networks (PINNs) [2,3,1], which have been developed to solve both forward and inverse problems of ordinary and partial differential equations (ODEs and PDEs). PINNs and the extensions [4,5,6,7] have been applied to solve diverse scientific and engineering applications [1,8,9,10]. Introduction More recently, learning operators mapping between infinite-dimensional function spaces via DNNs has become a new and important paradigm of SciML [11,12,13]. DNNs of this type are called deep neural operators. A typical application of deep neural operators for PDEs is used as a surrogate solver of the PDE, mapping from initial conditions, boundary conditions, or forcing Methods We first introduce DeepONet and then present different approaches of multifidelity learning for DeepONet. We also discuss how to use the learned multifidelity DeepONet for inverse design. DeepONet DeepONet was proposed in Ref. [12] for learning nonlinear operators mapping from a function to another function, e.g., from the boundary/initial condition to the PDE solution. We denote the input function by v defined on the domain D ∈ R d : DeepONet v : D x → v(x) ∈ R, and the output function by u defined on the domain D ∈ R d : DeepONet Let V and U be the spaces of v and u, respectively, and then the operator is DeepONet DeepONet is used to learn the mapping G from a dataset of v and u. In a DeepONet, there are two sub-networks: a branch net and a trunk net (Fig. 1A). The branch net takes the evaluations of v at {x 1 , x 2 , . . . , x m } as its input, while the trunk net takes ξ as its input. Then the DeepONet output is an inner product of the branch and trunk outputs DeepONet where b 0 as a bias. Multifidelity DeepONet DeepONet can be used to learn diverse nonlinear operators, but it usually requires a large highfidelity dataset for training, which is generated by expensive numerical simulations. Here, we propose multifidelity DeepONet to reduce dramatically the required high-fidelity dataset by leveraging an additional low-fidelity dataset. Multifidelity learning The idea of multifidelity learning is that instead of generating a large dataset of high accuracy (i.e., high-fidelity), we only generate a small high-fidelity dataset, but in the meanwhile, we generate another dataset of low accuracy (i.e., low-fidelity). The low-fidelity dataset is much cheaper to generate, and thus it is easy to generate a large low-fidelity dataset. In short, in multifidelity learning, we have two datasets: Multifidelity learning • a high-fidelity dataset of size N H : Multifidelity learning • a low-fidelity dataset of size N L : where N H N L . G H (i.e., the original G) is the high-fidelity operator we aim to learn, and G L is the low-fidelity operator. Then we use both datasets to learn the operator. Multifidelity learning Because we have a large low-fidelity dataset, it is straightforward to use a DeepONet (DeepONet L ) to learn G L from T L . Here, we develop two methods to learn G H , including residual learning and input augmentation. Residual learning Although the low-fidelity solution is not accurate enough, it captures the basic trend or shape of the solution. Instead of directly learning the high-fidelity output, we learn the residual between the high-fidelity and low-fidelity outputs: Residual learning We use another DeepONet (DeepONet H ) to learn the residual operator R. Hence, we have two DeepONets (DeepONet L and DeepONet H ) (Fig. 1B). DeepONet L is trained using T L , and DeepONet H is trained using T H . During the preparation of this manuscript, a new paper [46] appeared, which also proposed a similar approach of residual learning for multifidelity DeepONets. Input augmentation For a same input function v, the low-fidelity solution G L (v) and high-fidelity solution G H (v) are usually highly correlated. In our residual learning above, therefore, we are exploiting the property that G H (v) and G L (v) exhibit similar behaviors, which should make their difference R is easy to learn. We can also learn this correlation directly from data. Specifically, we use the low-fidelity prediction as an additional input of DeepONet H . We can append the low-fidelity prediction to the input of the branch net and/or the trunk net (Fig. 1C). Input augmentation Approach I. We append the low-fidelity prediction G L (v) (the entire function) to the branch net inputs: Input augmentation i.e., the branch net has two functions v and G L (v) as the input. In this study, we directly concatenate the discretized v and G L (v). Input augmentation Approach II. Instead of using the entire function G L (v), we can also use only the evaluation of G L (v) at the location ξ to be predicted, i.e., G L (v)(ξ). In this case, we append G L (v)(ξ) in the trunk-net inputs: Input augmentation In our numerical experiments with the Poisson equation in Section 3.1, we find that Approach II achieves better accuracy than Approach I. Residual learning and input augmentation We also combine the methods of residual learning and input augmentation Approach II (Fig. 1D), where we have two DeepONets: DeepONet L and DeepONet H . DeepONet L learns the low-fidelity operator G L , and DeepONet H learns the residual operator R. DeepONet H also uses G L (v)(ξ) as one of its inputs of the trunk net. The final prediction of the high-fidelity solution is Residual learning and input augmentation We can decompose the error of the multifidelity DeepONet E G H by the triangle inequality as Residual learning and input augmentation where E G L and E R are the errors of DeepONet L and DeepONet H , respectively. Hence, in order to have an accurate multifidelity DeepONet surrogate for G H , both DeepONet L and DeepONet H should be trained well. Inverse design Once we have a surrogate model of the operator G, we can predict G(v) for any v within a fraction of second. One application is inverse design, which is formulated as an optimization problem: Inverse design We have the flexibility to choose the optimization algorithm. Genetic algorithm We can use derivative-free optimization algorithm such as genetic algorithm (GA). In this study, we consider the canonical genetic algorithm. The algorithm starts from a population of randomly generated candidate solutions (called individuals), and then the population is evolved toward better solutions. The population in each iteration is called a generation. In each generation, the individuals are selected and modified via the operations of mutation and crossover to form a new generation in the next iteration. The individuals with higher values of the objective function have higher chance to be selected. We terminate the algorithm until a maximum number of generations has been produced. For more details of the algorithm, see Ref. [47]. We implement the algorithm using the library DEAP [48]. In this work, we choose the population size as 100. Gradient-based topology optimization Because G is approximated by DeepONets in Eq. (1), we can compute the derivative of ∂u(ξ) ∂v(x i ) as Gradient-based topology optimization where the three partial derivatives in the right-hand side are computed by automatic differentiation (AD; also called "backpropagation"). Then we can compute ∂J ∂v(x i ) by the chain rule and use gradient-based topology optimization (TO) methods. Gradient-based topology optimization In TO, each pixel of the domain is a degree of freedom, where the material property is iteratively updated using a gradient-based optimization algorithm, such as the conservative convex separable approximations algorithm [49]. In contrast to genetic algorithm, TO uses a continuous relaxation optimization scheme, which takes full advantage of the extension from binary inputs to real inputs of neural networks. Even though the data only has binary inputs, the neural network defines a differentiable continuous function which can return function evaluations and gradient evaluations anywhere between the binary inputs. Despite the fact that this continuation is artificial, i.e., nonbinary values do not correspond to any physical materials, we can use this framework to perform optimization as long as the end design only contains binary values. Gradient-based topology optimization In order to converge to a binary-input result, TO uses a smoothed approximation of the Heaviside function as a thresholding function, which pushes the design values towards binary values [50]: Gradient-based topology optimization where η is a hyperparameter to be fixed in [0, 1], and β ∈ [1, ∞] controls how binary the resulting design will be. The larger the β, the stiffer the optimization becomes. In TO, β starts at 1, and is successively doubled after each round of optimization, using the optimal design of the last round of optimization as a starting point to the next, until the optimum converges to binary values. Although the thresholding function is usually sufficient to converge to binary design, it is not guaranteed. In the case when the thresholding function is not sufficient to converge to a binary design, a penalty functionξ(ξ) =ξ(1 −ξ) is added to the objective function to force the design to be binary. Results We apply the proposed multifidelity DeepONet to learn the Poisson equation and Boltzmann transport equation. We then use the learned multifidelity DeepONet for inverse design of thermal transport in nanostructures. All the multifidelity DeepONet codes in this study are implemented by using the library DeepXDE [3] and will be deposited in GitHub at https://github.com/lu-group/ multifidelity-deeponet. Poisson equation We first consider a 1D Poisson equation to compare the different multifidelity methods proposed in Section 2.2, and demonstrate the effectiveness of multifidelity DeepONet. Problem setup The 1D Poisson equation is described by Problem setup with the Dirichlet boundary condition u(0) = u(1) = 0. We aim to learn the operator from the forcing term f (x) to the PDE solution: Problem setup We sample f from a Gaussian random field (GRF) with mean zero: Problem setup is the Gaussian kernel with a length-scale parameter l = 0.05. An example of randomly sampled f is shown in Fig. 2A. We generate the high-fidelity and low-fidelity datasets by solving the Poisson equation via the finite difference method with different mesh size ∆x. For the high-fidelity solutions, we use ∆x = 1/99, and for the low-fidelity solutions, ∆x = 1/9. The low-and high-fidelity solutions for the randomly sample f above are shown in Fig. 2B, which shows that the low-fidelity solution has a large error. When testing on a large dataset, the mean squared error (m.s.e.) of the low-fidelity solver is 0.0233. High-fidelity only Instead of achieving high accuracy, we aim to compare the performance of different approaches of multifidelty DeepONet, and thus we generate an extremely small high-fidelity dataset. In the high-fidelity dataset, we have 500 different samples of f , but for each f , we do not have the full field observation of the corresponding solution u, and instead, we only know the value of u(x) at one location x randomly sampled in [0, 1]. High-fidelity only Because the dataset is small, we choose both the trunk net and the branch net as shallow fullyconnected neural networks with the SELU activation function [51]. All DeepONets are trained with Adam optimizer [52] with a learning rate 10 −4 for 50000 epochs. We test DeepONets with different width, and the DeepONet with the width 5 has the smallest test m.s.e. of 0.0157 ± 0.0069 (Fig. 3A). The mean and standard deviation of the error are obtained by 10 runs with randomly generated dataset and random network initialization. Larger DeepONets have the issue of overfitting. Because an extremely small dataset has been used, the best DeepONet has similar accuracy as the low-fidelity solution. Multifidelity We use the same set up (the same high-fidelity dataset and the same hyperparameters) to test different approaches of multifidelity DeepONet. Because a multifidelity DeepONet has a lowfidelity DeepONet (DeepONet L ) and a high-fidelity DeepONet (DeepONet H ), in order to remove the interference of DeepONet L , we directly use the low-fidelity solver to replace DeepONet L in Figs. 1B, C and D, i.e., we assume that the network DeepONet L is perfect. Because the low-fidelity solver can only predict the solution on the 10 locations as shown in Fig. 2B, we perform a linear interpolation to compute the low-fidelity solution for other locations (e.g., the dash line in Fig. 2B). Multifidelity Residual learning. We first test the residual learning in Section 2.2.2. By learning the residual, the error of DeepONet is always about one order of magnitude smaller than the DeepONet with high-fidelity only (Fig. 3B) no matter what the network width is. The smallest error (0.0021 ± 0.0007) is obtained for the width 4. Multifidelity Input augmentation. Similarly, we also test the two approaches of input augmentation in Section 2.2.3. We show that the approach I, i.e., using the entire low-fidelity solution as the branch net input, does not have any improvement (Fig. 3C). For the approach II of only using the low-fidelity solution of the target point as the trunk net input, the smallest test error is 0.0052 ± 0.0033, also obtained at the width 5. Input augmentation approach II is uniformly better than high-fidelity only (Fig. 3D). Multifidelity Residual and Input augmentation (Approach I). We further combine the residual learning and the input augmentation (Approach II). When the width is 5, the smallest test m.s.e. is 0.0031 ± 0.0006 (Fig. 3E). Multifidelity We show that in this Poisson equation, residual learning and input augmentation approach II improve the accuracy of DeepONet, but there is no improvement by combing them. However, as we show in the next section, by using both approaches together, we can achieve better accuracy. Boltzmann transport equation When the characteristic length of a semiconductor material approaches the mean-free-path (MFP) of heat carriers, i.e., phonons, Fourier's law breaks down [42]. Here, we learn the nondiffusive heat transport with the steady-state phonon Boltzmann transport equation (BTE) by multifidelity DeepONet. DeepONet with residual learning and input augmentation Approach II. The shaded regions represent the one standard deviation of 10 runs with randomly generated dataset and random network initialization. Problem setup Under the relaxation time approximation, BTE is given by [42] − Problem setup where v µ and τ µ are the phonon group velocity and intrinsic scattering time, respectively. The label µ indicates both the phonon wave vector and polarization. The unknown of Eq. (4) is the nonequilibrium phonon distribution f µ (r). Both the group velocities and the scattering times, computed with density functional theory (see Ref. [53] for its application to phonon transport), are obtained by AlmaBTE [54] using a wave-vector discretization of 24 × 24 × 24. The equilibrium distribution, f 0 µ (r), under the assumption of small temperature variation, is given by Problem setup ; the terms C µ and τ µ are the mode-resolved heat capacity and scattering time, respectively [54]. Problem setup We consider BTE defined on a rectangular domain (in nm) Ω = [−50, 50] × [−50, 50] with periodic boundary conditions in both x and y directions, and a temperature difference of 1K is applied along the x -axis. Inside the domain, we have a five by five equispaced arrays of small squares (the blue squares in Fig. 4A). Each square is of size (10, 10) and can be a pore without any material. Along the wall of the pores, we adopt the totally diffuse boundary conditions [55]. We solve Eq. (4) by the finite-volume method implemented in the free/open-source software OpenBTE [56], which adopts the source iteration scheme [55], i.e., Problem setup Here, we are interested in the heat flux J = 1 In DeepONet, the branch net input v = (v 1,1 , v 1,2 , . . . , v 5,5 ) represents the locations of pores. If v i,j = 1, then it is a pore, otherwise it is not a pore. We note that when training DeepONet, we scale the x and y coordinates from [−50, 50] to [−1, 1] and also normalize the network output to zero mean and unit variance. Effectiveness of multifidelity learning We use both the low-fidelity solver and DeepONet only trained with high-fidelity data as the two baselines. Compared to the high-fidelity solution, the low-fidelity solution has m.s.e. of 5.09 × 10 −3 (the horizontal dash line in Fig. 5). We train a DeepONet with only high-fidelity solutions, where the branch net and the trunk net use ReLU activation function and have 4 layers and 5 layers, respectively. DeepONet is trained with Adam optimizer [52] with a learning rate 10 −4 for 100000 epochs. The DeepONet needs about 150 training data to achieve similar accuracy of the low-fidelity solver (the solid black line in Fig. 5). We then compare different approaches of multifidelity DeepONet. As discussed in Section 3.1.3, for better comparison, here we still use the low-fidelity solver to replace DeepONet L . In the same setup, both residual learning and input augmentation approach II improve the accuracy by one order of magnitude (Fig. 5). When the dataset is very small (< 100), residual learning is better than input augmentation, otherwise input augmentation becomes better. When we use both approaches together, we have even better accuracy. Multifidelity DeepONet We have demonstrated the effectiveness of multifidelity DeepONet. As we mentioned above, we directly used the exact low-fidelity solver, and here we first train a low-fidelity DeepONet (DeepONet L ) and then combine it with DeepONet H to have the multifidelity DeepONet. Multifidelity DeepONet Low-fidelity DeepONet. DeepONet L is trained with a dataset of size 10000 solutions. We perform a hyperparameter tuning and choose the branch net as 3 layers and the trunk net as 5 layers. Both the branch net and the trunk net use ReLU activation function and have width 512. After training with Adam optimizer [52] with a learning rate 10 −4 for 500000 epochs, the testing m.s.e. is 4.61 ± 0.21 × 10 −5 , and the L 2 relative error is 1.91±0.02%. Multifidelity DeepONet The flux satisfies the periodic boundary conditions in x and y directions, and as proposed in Ref. [14], we can enforce the periodic BCs in DeepONet by adding a Fourier feature layer. Specifically, we use the basis functions of the Fourier series on a 2D square as the first layer of the trunk net. By enforcing PBC, test m.s.e. decreases to 3.90 ± 0.15 × 10 −5 , and L 2 relative error becomes 1.72±0.02%. Multifidelity DeepONet Multifidelity DeepONet. To train the high-fidelity DeepONet, we only use a dataset of size 1000. We use the same setup for DeepONet H as the DeepONet L , except that the branch net is chosen as a shallow network. Then the testing m.s.e. of the multifidelity DeepONet is 8.89 ± 0.07 × 10 −5 , and the L 2 relative error is 3.34±0.01%. Furthermore, to verify Eq. (2), we replace DeepONet L with the exact low-fidelity solver, then the testing m.s.e. of DeepONet H is 6.00 ± 0.04 × 10 −5 and L 2 relative error is 2.72±0.01%. Hence, we have 3.34 ± 0.01% Multifidelity DeepONet Two examples of the predictions and pointwise absolute errors of multifidelity DeepONet are shown in Fig. 6. Boltzmann transport equation for inverse design We have trained a multifidelity DeepONet as a surrogate model of BTE. Next we will use it for inverse design of thermal transport by optimizing an objective function J : Boltzmann transport equation for inverse design Because v i,j is a binary value, this is a discrete optimization problem, and thus we can use algorithms like genetic algorithm. Here, we also consider to optimize the continuous relaxation via topology optimization. In this section, we consider several different objective functions, and we note that the same surrogate model allows for using different objective functions and constraints without retraining. Rationality of multifidelity DeepONet for continuous optimization algorithms In topology optimization, we treat v ij as a continuous variable defined on [0, 1]. Our surrogate model has the capability to predict for any value of v i,j ∈ R, but we only trained the network with v i,j ∈ {0, 1}, and thus there is no guarantee that the trained network can predict reasonable values for v i,j ∈ (0, 1). Hence, in order to use it, we need to check whether the prediction of the trained multifidelity DeepONet for v i,j ∈ (0, 1) is reasonable. Rationality of multifidelity DeepONet for continuous optimization algorithms As an example, we take a random geometry shown in Fig. 7, and the value of v 2,3 changes from 0 to 1 gradually. When v 2,3 is closer to 1, the flux nearby becomes closer to 0. Hence, DeepONet makes reasonable predictions for intermediate value of v ij . However, we note that in general there is no guarantee for the prediction, because we do not have training data in this domain. Maximizing normalized heat flux at a given location In the first inverse design problem, we consider to maximize the normalized heat flux at a given grid location. Here, we consider the center location, i.e., Maximizing normalized heat flux at a given location is the average value of u. To compute the integral inū, we use the midpoint rule as Maximizing normalized heat flux at a given location are the mid-points of an equispaced mesh of N by N , and we choose N = 100. We note that we can also use other numerical integration methods such as Gaussian quadrature, which has a high convergence rate for smooth functions, but in this problem, Gaussian quadrature has a slow convergence, because we use ReLU activation and the network has a bad smoothness. Maximizing normalized heat flux at a given location We applied both GA and TO described in Section 2.3 to solve this problem. Three examples of the values of the objective function during the iterative process of GA and TO are shown in Figs. 8A and B, respectively, and they achieved similar final objective values of ∼2.4. The abrupt jumps in the optimization curves for TO correspond to the final evaluation of the fully binarized structure, which happens once the optimization has converged. Maximizing normalized heat flux at a given location Because the learned multifidelity DeepONet has an error of 3.34% as shown in Section 3.2.3, in general the best design based on the multifidelity DeepONet may not be the best design according to the high-fidelity numerical solver. Hence, instead of only using the best design from GA or TO, we need to output several top candidates and then verify them using the numerical solver. Here, we consider the top 6 candidate designs (Figs. 8C to H). Maximizing normalized heat flux at a given location For each design in Fig. 8, the objective values computed by the multifidelity DeepONet are listed in Table 1. We also verify the objective values by using the high-fidelity numerical solver. Among these designs, the best one is the design in Fig. 8E with the optimal objective J opt ≈ 2.343. We also compute the relative difference of other designs compared to this best design |J −Jopt| Jopt . The best design (Fig. 8E) is the third best based on the multifidelity DeepONet, but the best and second best designs (Figs. 8C and D) are only 1.58% and 2.18% worse, respectively, which is consistent with the error of the multifidelity DeepONet. Maximizing normalized heat flux on multiple points We have considered the objective for a single location, and here we consider the objective for multiple points. Specifically, we consider 2 point locations: x 1 = (−20, 20) and x 2 = (20, 0) (the red circles in Fig. 9A), and the objective function is Maximizing normalized heat flux on multiple points whereū is defined in Eq. (7). The objective values of the found designs (Fig. 8) computed by the multifidelity DeepONet and the numerical solver. Table 2. Among these designs, the best design (Fig. 9D) found by the multifidelity DeepONet is indeed the best with the optimal objective J opt ≈ 1.987. We also compute the relative difference of other designs compared to this design, and most of the relative differences are within 3% ( (Fig. 9) computed by the multifidelity DeepONet and the numerical solver. Maximizing normalized heat flux on multiple points with a constraint on the number of pores In Section 3.3.3, the best design is the one in Fig. 9D, and the results show that if we add additional pores, then the objective becomes smaller. Here, we aim to investigate the best design given an extra constraint on the number of pores. Specifically, we require that Maximizing normalized heat flux on multiple points with a constraint on the number of pores No. of pores ≤ N for a given integer N . Maximizing normalized heat flux on multiple points with a constraint on the number of pores To consider this constraint, for GA, we simply return 0 as the objective if the design does not satisfy the constraint. For TO, the implementation is less straighforward, because the objective function needs to stay differentiable. We discuss how to implement the constraint in TO as follows. We implemented the constraint by adding a differentiable non-linear constraint on the sum of the projected density. Note that since the constraint is on the projected function using Eq. (3), the density is not fully binarized. In practice, we constrained the sum to be less than N − 0.5, which resulted in designs with less than N pores most of the time. Maximizing normalized heat flux on multiple points with a constraint on the number of pores Here, we consider three cases (N = 11, N = 9, and N = 7) and follow the same procedure as in Section 3.3.3 to find the best design for each case. For N = 11, the best 6 designs and the corresponding objective values are in Fig. 11 and Table 4, respectively. For N = 9, the best 6 designs and the corresponding objective values are in Fig. 12 and Table 5, respectively. For N = 7, the best 6 designs and the corresponding objective values are in Fig. 13 and Table 6, respectively. Maximizing normalized heat flux on multiple points with a constraint on the number of pores The best designs for all the cases are listed in Fig. 10. It is interesting that the pore locations of the best design for N = 11 is a subset of the pore locations for the case without any constraint. This is also true for the pair of N = 11 and N = 9, and the pair of N = 9 and N = 7. For the value of the objective function, a stronger constraint on the number of pores makes the objective value smaller (Table 3). Fig. 10 computed by the multifidelity DeepONet and the numerical solver. Conclusion In this study, we developed a new version of DeepONet for learning efficiently from multifidelity datasets. A multifidelity DeepONet includes two independent DeepONets coupled by residual learning and input augmentation. We demonstrated that, compared to single-fidelity DeepONet, multifidelity DeepONet achieves one order of magnitude smaller error when using the same amount of high-fidelity data. By combining multifidelity DeepONet with genetic algorithms or topology optimization, we can reuse the trained network for fast inverse design of multiple objective functions. We have introduced two approaches of input augmentation, where Approach I uses the entire function of G L (v), and Approach II uses only the low-fidelity prediction at one point G L (v)(ξ). In this study, we find that Approach II is more accurate than Approach I, but there are also other possibilities that might be fruitful to explore: for example, using the low-fidelity solution in a local domain [ξ − ∆ξ, ξ + ∆ξ]. Moreover, the two sub-DeepONets used in the multifidelity DeepONet are "vanilla" DeepONets. Several extensions of DeepONet have been developed very recently, as discussed in the introduction, and these extensions may further improve the performance of multifidelity DeepONet. (Fig. 11) computed by the multifidelity DeepONet and the numerical solver. 1.810 1.760 0.17% Fig. 12C 1.798 1.747 0.91% Fig. 12D 1.798 1.759 0.23% Fig. 12E 1.797 1.711 2.95% Fig. 12F 1.788 1.758 0.28% Table 5: Maximize the normalized heat flux on multiple points with a constraint on the number of pores in Section 3.3.4. The objective values of the designs (Fig. 12) computed by the multifidelity DeepONet and the numerical solver. 1.680 1.572 4.087% Fig. 13C 1.678 1.639 Optimal Fig. 13D 1.677 1.568 4.331% Fig. 13E 1.677 1.556 5.064% Fig. 13F 1.666 1.572 4.087% Table 6: Maximize the normalized heat flux on multiple points with a constraint on the number of pores in Section 3.3.4. The objective values of the designs (Fig. 13) computed by the multifidelity DeepONet and the numerical solver.

섹션 본문 75문단 · 32,328자

(제목 없음)

1Deep neural operators can learn operators mapping between infinite-dimensional function spaces via deep neural networks and have become an emerging paradigm of scientific machine learning. However, training neural operators usually requires a large amount of high-fidelity data, which is often difficult to obtain in real engineering problems. Here, we address this challenge by using multifidelity learning, i.e., learning from multifidelity datasets. We develop a multifidelity neural operator based on a deep operator network (DeepONet). A multifidelity DeepONet includes two standard DeepONets coupled by residual learning and input augmentation. Multifidelity DeepONet significantly reduces the required amount of high-fidelity data and achieves one order of magnitude smaller error when using the same amount of high-fidelity data. We apply a multifidelity DeepONet to learn the phonon Boltzmann transport equation (BTE), a framework to compute nanoscale heat transport. By combining a trained multifidelity DeepONet with genetic algorithm or topology optimization, we demonstrate a fast solver for the inverse design of BTE problems. arXiv:2204.06684v1 [physics.comp-ph] 14 Apr 2022 terms to the PDE solution. Different architectures of deep neural operators have been developed, such as deep operator networks (DeepONet)[11,12,14], Fourier neural operators[13,14], nonlocal kernel networks[15], and several others[16,17,18]. Among these deep neural operators, DeepONet was the first one to be proposed (in 2019)[11], and many subsequent extensions and improvements have been developed, such as DeepONet with proper orthogonal decomposition (POD-DeepONet) [14], DeepONet for multiple-input operators (MIONet) [19], DeepONet for multi-physics problems via physics decomposition (DeepM&Mnet) [20, 21], DeepONet with uncertainty quantification [22, 23, 24], multiscale DeepONet [25], POD-DeepONet with causality [26], and physics-informed DeepONet [27, 28]. DeepONet and its extensions have demonstrated good performance in diverse applications, such as fractional-derivative operators [12], stochastic differential equations [12], high-speed boundarylayer problems [29], multiscale bubble growth dynamics [30, 31], solar-thermal systems [32], aortic dissection [33], multiphysics and multiscale problems of electroconvection [20] and hypersonics [21], power grids [23], and multiscale modeling of mechanics problems[34]. It has also been theoretically proved that DeepONet may break the curse of dimensionality in some PDEs[35,36,37].Despite this computational and theoretical progress, training DeepONet usually requires a large amount of data to achieve a good accuracy. However, in many engineering problems, it is often difficult to obtain necessary data of high accuracy. In these situations, it may be advantageous to complement the high-fidelity dataset (small and accurate) by employing a low-fidelity dataset (larger and less accurate), i.e., learning from multifidelity datasets[38,39,40]. Multifidelity learning can be used in diverse applications and scenarios. For example, the high-fidelity dataset might be obtained from simulations with fine mesh, while the low-fidelity dataset is from simulations with coarse mesh. In Ref.[40], the high-fidelity dataset is from experiments and 3D simulations, while the low-fidelity dataset is from 2D simulations and analytical solutions. Multifidelity learning by neural networks has been developed for function approximation in Refs.[39,40]. Another recent approach to data efficiency using a low-fidelity solver trains a combination of a generative neural network and a low-fidelity solver, end-to-end, to match the limited data of a high-fidelity solver[41].In this work, we aim to alleviate the challenge of large datasets required for training DeepONet. We propose new algorithms to significantly reduce the required number of high-fidelity data. Specifically, we develop a new version of DeepONet by using residual learning and input augmentation, that is capable of fusing together different sets of data with different fidelity levels, making the proposed multifidelity DeepONet very efficient for learning complex systems.As an application, we apply multifidelity DeepONet to learn heat transport in nanostructured materials, described by the phonon Boltzmann-transport equation (BTE)[42]. We first train a multifidelity DeepONet to predict the map of magnitude of thermal flux in a Si nanoporous system; then, the trained DeepONet is employed with genetic algorithms and topology optimization for inverse design of materials to maximize heat transport over prescribed points with a constrained number of pores. Our method is validated against numerical BTE simulations. We note that the same DeepONet can be used for multiple inverse design tasks without the need for retraining. Potential applications in this area include energy harvesting and heat management[43,44,45].The paper is organized as follows. In Section 2, after introducing the algorithm of DeepONet, we present the setup of multifidelity learning and a few different approaches of multifidelity DeepONet. Then we discuss how to apply the trained DeepONet for inverse design. In Section 3, we compare different approaches of multifidelity DeepONet and demonstrate the effectiveness on a Poisson equation and BTE problem. Subsequently, we solve several inverse design problems of BTE for different objective functions. Finally, we conclude the paper in Section 4.

Introduction

2Scientific machine learning (SciML) has become an emerging research field, where deep learning in the form of deep neural networks (DNNs) is used to address challenging problems in computational science and engineering [1]. In the past a few years, different SciML methods have been proposed [1]. One notable method is physics-informed neural networks (PINNs) [2,3,1], which have been developed to solve both forward and inverse problems of ordinary and partial differential equations (ODEs and PDEs). PINNs and the extensions [4,5,6,7] have been applied to solve diverse scientific and engineering applications [1,8,9,10].

3More recently, learning operators mapping between infinite-dimensional function spaces via DNNs has become a new and important paradigm of SciML [11,12,13]. DNNs of this type are called deep neural operators. A typical application of deep neural operators for PDEs is used as a surrogate solver of the PDE, mapping from initial conditions, boundary conditions, or forcing

Methods

4We first introduce DeepONet and then present different approaches of multifidelity learning for DeepONet. We also discuss how to use the learned multifidelity DeepONet for inverse design.

DeepONet

5DeepONet was proposed in Ref. [12] for learning nonlinear operators mapping from a function to another function, e.g., from the boundary/initial condition to the PDE solution. We denote the input function by v defined on the domain D ∈ R d :

6v : D x → v(x) ∈ R, and the output function by u defined on the domain D ∈ R d :

7Let V and U be the spaces of v and u, respectively, and then the operator is

8DeepONet is used to learn the mapping G from a dataset of v and u. In a DeepONet, there are two sub-networks: a branch net and a trunk net (Fig. 1A). The branch net takes the evaluations of v at {x 1 , x 2 , . . . , x m } as its input, while the trunk net takes ξ as its input. Then the DeepONet output is an inner product of the branch and trunk outputs

9where b 0 as a bias.

Multifidelity DeepONet

10DeepONet can be used to learn diverse nonlinear operators, but it usually requires a large highfidelity dataset for training, which is generated by expensive numerical simulations. Here, we propose multifidelity DeepONet to reduce dramatically the required high-fidelity dataset by leveraging an additional low-fidelity dataset.

Multifidelity learning

11The idea of multifidelity learning is that instead of generating a large dataset of high accuracy (i.e., high-fidelity), we only generate a small high-fidelity dataset, but in the meanwhile, we generate another dataset of low accuracy (i.e., low-fidelity). The low-fidelity dataset is much cheaper to generate, and thus it is easy to generate a large low-fidelity dataset. In short, in multifidelity learning, we have two datasets:

12• a high-fidelity dataset of size N H :

13• a low-fidelity dataset of size N L : where N H N L . G H (i.e., the original G) is the high-fidelity operator we aim to learn, and G L is the low-fidelity operator. Then we use both datasets to learn the operator.

14Because we have a large low-fidelity dataset, it is straightforward to use a DeepONet (DeepONet L ) to learn G L from T L . Here, we develop two methods to learn G H , including residual learning and input augmentation.

Residual learning

15Although the low-fidelity solution is not accurate enough, it captures the basic trend or shape of the solution. Instead of directly learning the high-fidelity output, we learn the residual between the high-fidelity and low-fidelity outputs:

16We use another DeepONet (DeepONet H ) to learn the residual operator R. Hence, we have two DeepONets (DeepONet L and DeepONet H ) (Fig. 1B). DeepONet L is trained using T L , and DeepONet H is trained using T H . During the preparation of this manuscript, a new paper [46] appeared, which also proposed a similar approach of residual learning for multifidelity DeepONets.

Input augmentation

17For a same input function v, the low-fidelity solution G L (v) and high-fidelity solution G H (v) are usually highly correlated. In our residual learning above, therefore, we are exploiting the property that G H (v) and G L (v) exhibit similar behaviors, which should make their difference R is easy to learn. We can also learn this correlation directly from data. Specifically, we use the low-fidelity prediction as an additional input of DeepONet H . We can append the low-fidelity prediction to the input of the branch net and/or the trunk net (Fig. 1C).

18Approach I. We append the low-fidelity prediction G L (v) (the entire function) to the branch net inputs:

19i.e., the branch net has two functions v and G L (v) as the input. In this study, we directly concatenate the discretized v and G L (v).

20Approach II. Instead of using the entire function G L (v), we can also use only the evaluation of G L (v) at the location ξ to be predicted, i.e., G L (v)(ξ). In this case, we append G L (v)(ξ) in the trunk-net inputs:

21In our numerical experiments with the Poisson equation in Section 3.1, we find that Approach II achieves better accuracy than Approach I.

Residual learning and input augmentation

22We also combine the methods of residual learning and input augmentation Approach II (Fig. 1D), where we have two DeepONets: DeepONet L and DeepONet H . DeepONet L learns the low-fidelity operator G L , and DeepONet H learns the residual operator R. DeepONet H also uses G L (v)(ξ) as one of its inputs of the trunk net. The final prediction of the high-fidelity solution is

23We can decompose the error of the multifidelity DeepONet E G H by the triangle inequality as

24where E G L and E R are the errors of DeepONet L and DeepONet H , respectively. Hence, in order to have an accurate multifidelity DeepONet surrogate for G H , both DeepONet L and DeepONet H should be trained well.

Inverse design

25Once we have a surrogate model of the operator G, we can predict G(v) for any v within a fraction of second. One application is inverse design, which is formulated as an optimization problem:

26We have the flexibility to choose the optimization algorithm.

Genetic algorithm

27We can use derivative-free optimization algorithm such as genetic algorithm (GA). In this study, we consider the canonical genetic algorithm. The algorithm starts from a population of randomly generated candidate solutions (called individuals), and then the population is evolved toward better solutions. The population in each iteration is called a generation. In each generation, the individuals are selected and modified via the operations of mutation and crossover to form a new generation in the next iteration. The individuals with higher values of the objective function have higher chance to be selected. We terminate the algorithm until a maximum number of generations has been produced. For more details of the algorithm, see Ref. [47]. We implement the algorithm using the library DEAP [48]. In this work, we choose the population size as 100.

Gradient-based topology optimization

28Because G is approximated by DeepONets in Eq. (1), we can compute the derivative of ∂u(ξ) ∂v(x i ) as

29where the three partial derivatives in the right-hand side are computed by automatic differentiation (AD; also called "backpropagation"). Then we can compute ∂J ∂v(x i ) by the chain rule and use gradient-based topology optimization (TO) methods.

30In TO, each pixel of the domain is a degree of freedom, where the material property is iteratively updated using a gradient-based optimization algorithm, such as the conservative convex separable approximations algorithm [49]. In contrast to genetic algorithm, TO uses a continuous relaxation optimization scheme, which takes full advantage of the extension from binary inputs to real inputs of neural networks. Even though the data only has binary inputs, the neural network defines a differentiable continuous function which can return function evaluations and gradient evaluations anywhere between the binary inputs. Despite the fact that this continuation is artificial, i.e., nonbinary values do not correspond to any physical materials, we can use this framework to perform optimization as long as the end design only contains binary values.

31In order to converge to a binary-input result, TO uses a smoothed approximation of the Heaviside function as a thresholding function, which pushes the design values towards binary values [50]:

32where η is a hyperparameter to be fixed in [0, 1], and β ∈ [1, ∞] controls how binary the resulting design will be. The larger the β, the stiffer the optimization becomes. In TO, β starts at 1, and is successively doubled after each round of optimization, using the optimal design of the last round of optimization as a starting point to the next, until the optimum converges to binary values. Although the thresholding function is usually sufficient to converge to binary design, it is not guaranteed. In the case when the thresholding function is not sufficient to converge to a binary design, a penalty functionξ(ξ) =ξ(1 −ξ) is added to the objective function to force the design to be binary.

Results

33We apply the proposed multifidelity DeepONet to learn the Poisson equation and Boltzmann transport equation. We then use the learned multifidelity DeepONet for inverse design of thermal transport in nanostructures. All the multifidelity DeepONet codes in this study are implemented by using the library DeepXDE [3] and will be deposited in GitHub at https://github.com/lu-group/ multifidelity-deeponet.

Poisson equation

34We first consider a 1D Poisson equation to compare the different multifidelity methods proposed in Section 2.2, and demonstrate the effectiveness of multifidelity DeepONet.

Problem setup

35The 1D Poisson equation is described by

36with the Dirichlet boundary condition u(0) = u(1) = 0. We aim to learn the operator from the forcing term f (x) to the PDE solution:

37We sample f from a Gaussian random field (GRF) with mean zero:

38is the Gaussian kernel with a length-scale parameter l = 0.05. An example of randomly sampled f is shown in Fig. 2A. We generate the high-fidelity and low-fidelity datasets by solving the Poisson equation via the finite difference method with different mesh size ∆x. For the high-fidelity solutions, we use ∆x = 1/99, and for the low-fidelity solutions, ∆x = 1/9. The low-and high-fidelity solutions for the randomly sample f above are shown in Fig. 2B, which shows that the low-fidelity solution has a large error. When testing on a large dataset, the mean squared error (m.s.e.) of the low-fidelity solver is 0.0233.

High-fidelity only

39Instead of achieving high accuracy, we aim to compare the performance of different approaches of multifidelty DeepONet, and thus we generate an extremely small high-fidelity dataset. In the high-fidelity dataset, we have 500 different samples of f , but for each f , we do not have the full field observation of the corresponding solution u, and instead, we only know the value of u(x) at one location x randomly sampled in [0, 1].

40Because the dataset is small, we choose both the trunk net and the branch net as shallow fullyconnected neural networks with the SELU activation function [51]. All DeepONets are trained with Adam optimizer [52] with a learning rate 10 −4 for 50000 epochs. We test DeepONets with different width, and the DeepONet with the width 5 has the smallest test m.s.e. of 0.0157 ± 0.0069 (Fig. 3A). The mean and standard deviation of the error are obtained by 10 runs with randomly generated dataset and random network initialization. Larger DeepONets have the issue of overfitting. Because an extremely small dataset has been used, the best DeepONet has similar accuracy as the low-fidelity solution.

Multifidelity

41We use the same set up (the same high-fidelity dataset and the same hyperparameters) to test different approaches of multifidelity DeepONet. Because a multifidelity DeepONet has a lowfidelity DeepONet (DeepONet L ) and a high-fidelity DeepONet (DeepONet H ), in order to remove the interference of DeepONet L , we directly use the low-fidelity solver to replace DeepONet L in Figs. 1B, C and D, i.e., we assume that the network DeepONet L is perfect. Because the low-fidelity solver can only predict the solution on the 10 locations as shown in Fig. 2B, we perform a linear interpolation to compute the low-fidelity solution for other locations (e.g., the dash line in Fig. 2B).

42Residual learning. We first test the residual learning in Section 2.2.2. By learning the residual, the error of DeepONet is always about one order of magnitude smaller than the DeepONet with high-fidelity only (Fig. 3B) no matter what the network width is. The smallest error (0.0021 ± 0.0007) is obtained for the width 4.

43Input augmentation. Similarly, we also test the two approaches of input augmentation in Section 2.2.3. We show that the approach I, i.e., using the entire low-fidelity solution as the branch net input, does not have any improvement (Fig. 3C). For the approach II of only using the low-fidelity solution of the target point as the trunk net input, the smallest test error is 0.0052 ± 0.0033, also obtained at the width 5. Input augmentation approach II is uniformly better than high-fidelity only (Fig. 3D).

44Residual and Input augmentation (Approach I). We further combine the residual learning and the input augmentation (Approach II). When the width is 5, the smallest test m.s.e. is 0.0031 ± 0.0006 (Fig. 3E).

45We show that in this Poisson equation, residual learning and input augmentation approach II improve the accuracy of DeepONet, but there is no improvement by combing them. However, as we show in the next section, by using both approaches together, we can achieve better accuracy.

Boltzmann transport equation

46When the characteristic length of a semiconductor material approaches the mean-free-path (MFP) of heat carriers, i.e., phonons, Fourier's law breaks down [42]. Here, we learn the nondiffusive heat transport with the steady-state phonon Boltzmann transport equation (BTE) by multifidelity DeepONet. DeepONet with residual learning and input augmentation Approach II. The shaded regions represent the one standard deviation of 10 runs with randomly generated dataset and random network initialization.

Problem setup

47Under the relaxation time approximation, BTE is given by [42] −

48where v µ and τ µ are the phonon group velocity and intrinsic scattering time, respectively. The label µ indicates both the phonon wave vector and polarization. The unknown of Eq. (4) is the nonequilibrium phonon distribution f µ (r). Both the group velocities and the scattering times, computed with density functional theory (see Ref. [53] for its application to phonon transport), are obtained by AlmaBTE [54] using a wave-vector discretization of 24 × 24 × 24. The equilibrium distribution, f 0 µ (r), under the assumption of small temperature variation, is given by

49; the terms C µ and τ µ are the mode-resolved heat capacity and scattering time, respectively [54].

50We consider BTE defined on a rectangular domain (in nm) Ω = [−50, 50] × [−50, 50] with periodic boundary conditions in both x and y directions, and a temperature difference of 1K is applied along the x -axis. Inside the domain, we have a five by five equispaced arrays of small squares (the blue squares in Fig. 4A). Each square is of size (10, 10) and can be a pore without any material. Along the wall of the pores, we adopt the totally diffuse boundary conditions [55]. We solve Eq. (4) by the finite-volume method implemented in the free/open-source software OpenBTE [56], which adopts the source iteration scheme [55], i.e.,

51Here, we are interested in the heat flux J = 1 In DeepONet, the branch net input v = (v 1,1 , v 1,2 , . . . , v 5,5 ) represents the locations of pores. If v i,j = 1, then it is a pore, otherwise it is not a pore. We note that when training DeepONet, we scale the x and y coordinates from [−50, 50] to [−1, 1] and also normalize the network output to zero mean and unit variance.

Effectiveness of multifidelity learning

52We use both the low-fidelity solver and DeepONet only trained with high-fidelity data as the two baselines. Compared to the high-fidelity solution, the low-fidelity solution has m.s.e. of 5.09 × 10 −3 (the horizontal dash line in Fig. 5). We train a DeepONet with only high-fidelity solutions, where the branch net and the trunk net use ReLU activation function and have 4 layers and 5 layers, respectively. DeepONet is trained with Adam optimizer [52] with a learning rate 10 −4 for 100000 epochs. The DeepONet needs about 150 training data to achieve similar accuracy of the low-fidelity solver (the solid black line in Fig. 5). We then compare different approaches of multifidelity DeepONet. As discussed in Section 3.1.3, for better comparison, here we still use the low-fidelity solver to replace DeepONet L . In the same setup, both residual learning and input augmentation approach II improve the accuracy by one order of magnitude (Fig. 5). When the dataset is very small (< 100), residual learning is better than input augmentation, otherwise input augmentation becomes better. When we use both approaches together, we have even better accuracy.

Multifidelity DeepONet

53We have demonstrated the effectiveness of multifidelity DeepONet. As we mentioned above, we directly used the exact low-fidelity solver, and here we first train a low-fidelity DeepONet (DeepONet L ) and then combine it with DeepONet H to have the multifidelity DeepONet.

54Low-fidelity DeepONet. DeepONet L is trained with a dataset of size 10000 solutions. We perform a hyperparameter tuning and choose the branch net as 3 layers and the trunk net as 5 layers. Both the branch net and the trunk net use ReLU activation function and have width 512. After training with Adam optimizer [52] with a learning rate 10 −4 for 500000 epochs, the testing m.s.e. is 4.61 ± 0.21 × 10 −5 , and the L 2 relative error is 1.91±0.02%.

55The flux satisfies the periodic boundary conditions in x and y directions, and as proposed in Ref. [14], we can enforce the periodic BCs in DeepONet by adding a Fourier feature layer. Specifically, we use the basis functions of the Fourier series on a 2D square as the first layer of the trunk net. By enforcing PBC, test m.s.e. decreases to 3.90 ± 0.15 × 10 −5 , and L 2 relative error becomes 1.72±0.02%.

56Multifidelity DeepONet. To train the high-fidelity DeepONet, we only use a dataset of size 1000. We use the same setup for DeepONet H as the DeepONet L , except that the branch net is chosen as a shallow network. Then the testing m.s.e. of the multifidelity DeepONet is 8.89 ± 0.07 × 10 −5 , and the L 2 relative error is 3.34±0.01%. Furthermore, to verify Eq. (2), we replace DeepONet L with the exact low-fidelity solver, then the testing m.s.e. of DeepONet H is 6.00 ± 0.04 × 10 −5 and L 2 relative error is 2.72±0.01%. Hence, we have 3.34 ± 0.01%

57Two examples of the predictions and pointwise absolute errors of multifidelity DeepONet are shown in Fig. 6.

Boltzmann transport equation for inverse design

58We have trained a multifidelity DeepONet as a surrogate model of BTE. Next we will use it for inverse design of thermal transport by optimizing an objective function J :

59Because v i,j is a binary value, this is a discrete optimization problem, and thus we can use algorithms like genetic algorithm. Here, we also consider to optimize the continuous relaxation via topology optimization. In this section, we consider several different objective functions, and we note that the same surrogate model allows for using different objective functions and constraints without retraining.

Rationality of multifidelity DeepONet for continuous optimization algorithms

60In topology optimization, we treat v ij as a continuous variable defined on [0, 1]. Our surrogate model has the capability to predict for any value of v i,j ∈ R, but we only trained the network with v i,j ∈ {0, 1}, and thus there is no guarantee that the trained network can predict reasonable values for v i,j ∈ (0, 1). Hence, in order to use it, we need to check whether the prediction of the trained multifidelity DeepONet for v i,j ∈ (0, 1) is reasonable.

61As an example, we take a random geometry shown in Fig. 7, and the value of v 2,3 changes from 0 to 1 gradually. When v 2,3 is closer to 1, the flux nearby becomes closer to 0. Hence, DeepONet makes reasonable predictions for intermediate value of v ij . However, we note that in general there is no guarantee for the prediction, because we do not have training data in this domain.

Maximizing normalized heat flux at a given location

62In the first inverse design problem, we consider to maximize the normalized heat flux at a given grid location. Here, we consider the center location, i.e.,

63is the average value of u. To compute the integral inū, we use the midpoint rule as

64are the mid-points of an equispaced mesh of N by N , and we choose N = 100. We note that we can also use other numerical integration methods such as Gaussian quadrature, which has a high convergence rate for smooth functions, but in this problem, Gaussian quadrature has a slow convergence, because we use ReLU activation and the network has a bad smoothness.

65We applied both GA and TO described in Section 2.3 to solve this problem. Three examples of the values of the objective function during the iterative process of GA and TO are shown in Figs. 8A and B, respectively, and they achieved similar final objective values of ∼2.4. The abrupt jumps in the optimization curves for TO correspond to the final evaluation of the fully binarized structure, which happens once the optimization has converged.

66Because the learned multifidelity DeepONet has an error of 3.34% as shown in Section 3.2.3, in general the best design based on the multifidelity DeepONet may not be the best design according to the high-fidelity numerical solver. Hence, instead of only using the best design from GA or TO, we need to output several top candidates and then verify them using the numerical solver. Here, we consider the top 6 candidate designs (Figs. 8C to H).

67For each design in Fig. 8, the objective values computed by the multifidelity DeepONet are listed in Table 1. We also verify the objective values by using the high-fidelity numerical solver. Among these designs, the best one is the design in Fig. 8E with the optimal objective J opt ≈ 2.343. We also compute the relative difference of other designs compared to this best design |J −Jopt| Jopt . The best design (Fig. 8E) is the third best based on the multifidelity DeepONet, but the best and second best designs (Figs. 8C and D) are only 1.58% and 2.18% worse, respectively, which is consistent with the error of the multifidelity DeepONet.

Maximizing normalized heat flux on multiple points

68We have considered the objective for a single location, and here we consider the objective for multiple points. Specifically, we consider 2 point locations: x 1 = (−20, 20) and x 2 = (20, 0) (the red circles in Fig. 9A), and the objective function is

69whereū is defined in Eq. (7). The objective values of the found designs (Fig. 8) computed by the multifidelity DeepONet and the numerical solver. Table 2. Among these designs, the best design (Fig. 9D) found by the multifidelity DeepONet is indeed the best with the optimal objective J opt ≈ 1.987. We also compute the relative difference of other designs compared to this design, and most of the relative differences are within 3% ( (Fig. 9) computed by the multifidelity DeepONet and the numerical solver.

Maximizing normalized heat flux on multiple points with a constraint on the number of pores

70In Section 3.3.3, the best design is the one in Fig. 9D, and the results show that if we add additional pores, then the objective becomes smaller. Here, we aim to investigate the best design given an extra constraint on the number of pores. Specifically, we require that

71No. of pores ≤ N for a given integer N .

72To consider this constraint, for GA, we simply return 0 as the objective if the design does not satisfy the constraint. For TO, the implementation is less straighforward, because the objective function needs to stay differentiable. We discuss how to implement the constraint in TO as follows. We implemented the constraint by adding a differentiable non-linear constraint on the sum of the projected density. Note that since the constraint is on the projected function using Eq. (3), the density is not fully binarized. In practice, we constrained the sum to be less than N − 0.5, which resulted in designs with less than N pores most of the time.

73Here, we consider three cases (N = 11, N = 9, and N = 7) and follow the same procedure as in Section 3.3.3 to find the best design for each case. For N = 11, the best 6 designs and the corresponding objective values are in Fig. 11 and Table 4, respectively. For N = 9, the best 6 designs and the corresponding objective values are in Fig. 12 and Table 5, respectively. For N = 7, the best 6 designs and the corresponding objective values are in Fig. 13 and Table 6, respectively.

74The best designs for all the cases are listed in Fig. 10. It is interesting that the pore locations of the best design for N = 11 is a subset of the pore locations for the case without any constraint. This is also true for the pair of N = 11 and N = 9, and the pair of N = 9 and N = 7. For the value of the objective function, a stronger constraint on the number of pores makes the objective value smaller (Table 3). Fig. 10 computed by the multifidelity DeepONet and the numerical solver.

Conclusion

75In this study, we developed a new version of DeepONet for learning efficiently from multifidelity datasets. A multifidelity DeepONet includes two independent DeepONets coupled by residual learning and input augmentation. We demonstrated that, compared to single-fidelity DeepONet, multifidelity DeepONet achieves one order of magnitude smaller error when using the same amount of high-fidelity data. By combining multifidelity DeepONet with genetic algorithms or topology optimization, we can reuse the trained network for fast inverse design of multiple objective functions. We have introduced two approaches of input augmentation, where Approach I uses the entire function of G L (v), and Approach II uses only the low-fidelity prediction at one point G L (v)(ξ). In this study, we find that Approach II is more accurate than Approach I, but there are also other possibilities that might be fruitful to explore: for example, using the low-fidelity solution in a local domain [ξ − ∆ξ, ξ + ∆ξ]. Moreover, the two sub-DeepONets used in the multifidelity DeepONet are "vanilla" DeepONets. Several extensions of DeepONet have been developed very recently, as discussed in the introduction, and these extensions may further improve the performance of multifidelity DeepONet. (Fig. 11) computed by the multifidelity DeepONet and the numerical solver. 1.810 1.760 0.17% Fig. 12C 1.798 1.747 0.91% Fig. 12D 1.798 1.759 0.23% Fig. 12E 1.797 1.711 2.95% Fig. 12F 1.788 1.758 0.28% Table 5: Maximize the normalized heat flux on multiple points with a constraint on the number of pores in Section 3.3.4. The objective values of the designs (Fig. 12) computed by the multifidelity DeepONet and the numerical solver. 1.680 1.572 4.087% Fig. 13C 1.678 1.639 Optimal Fig. 13D 1.677 1.568 4.331% Fig. 13E 1.677 1.556 5.064% Fig. 13F 1.666 1.572 4.087% Table 6: Maximize the normalized heat flux on multiple points with a constraint on the number of pores in Section 3.3.4. The objective values of the designs (Fig. 13) computed by the multifidelity DeepONet and the numerical solver.

참고문헌 36건

  1. <i>Colloquium</i>: Phononics: Manipulating heat flow with electronic analogs and beyond Reviews of Modern Physics · American Physical Society · 2012 10.1103/revmodphys.84.1045
  2. Metamaterials beyond electromagnetism Reports on Progress in Physics · IOP Publishing · 2013 10.1088/0034-4885/76/12/126501
  3. Universal approximation to nonlinear operators by neural networks with arbitrary activation functions and its application to dynamical systems IEEE Transactions on Neural Networks · Institute of Electrical and Electronics Engineers · 1995 10.1109/72.392253
  4. A Class of Globally Convergent Optimization Methods Based on Conservative Convex Separable Approximations SIAM Journal on Optimization · Society for Industrial and Applied Mathematics · 2002 10.1137/s1052623499362822
  5. Heat Flux Manipulation with Engineered Thermal Materials Physical Review Letters · American Physical Society · 2012 10.1103/physrevlett.108.214303
  6. almaBTE : A solver of the space–time dependent Boltzmann transport equation for phonons in structured materials Computer Physics Communications · Elsevier BV · 2017 10.1016/j.cpc.2017.06.023
  7. Advances in Neural Information Processing Systems 29 2016
  8. Quantifying total uncertainty in physics-informed neural networks for solving forward and inverse stochastic problems Journal of Computational Physics · Elsevier BV · 2019 10.1016/j.jcp.2019.07.048
  9. Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations Journal of Computational Physics · Elsevier BV · 2018 10.1016/j.jcp.2018.10.045
  10. Evolutionary Computation 1 CRC Press eBooks · Informa · 2018 10.1201/9781482268713
  11. A composite neural network that learns from multi-fidelity data: Application to function approximation and inverse PDE problems Journal of Computational Physics · Elsevier BV · 2019 10.1016/j.jcp.2019.109020
  12. Perspective on <i>ab initio</i> phonon thermal transport Journal of Applied Physics · American Institute of Physics · 2019 10.1063/1.5108651
  13. fPINNs: Fractional Physics-Informed Neural Networks SIAM Journal on Scientific Computing · Society for Industrial and Applied Mathematics · 2019 10.1137/18m1229845
  14. Learning nonlinear operators via DeepONet based on the universal approximation theorem of operators Nature Machine Intelligence · Nature Portfolio · 2021 10.1038/s42256-021-00302-5
  15. Physics-informed neural networks for inverse problems in nano-optics and metamaterials Optics Express · Optica Publishing Group · 2020 10.1364/oe.384875
  16. Extraction of mechanical properties of materials through deep learning from instrumented indentation Proceedings of the National Academy of Sciences · National Academy of Sciences · 2020 10.1073/pnas.1922210117
  17. DeepXDE: A Deep Learning Library for Solving Differential Equations SIAM Review · Society for Industrial and Applied Mathematics · 2021 10.1137/19m1274067
  18. A physics-informed operator regression framework for extracting data-driven continuum models Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2020 10.1016/j.cma.2020.113500
  19. Physics-informed neural networks for inverse problems in nano-optics and metamaterials Optics Express · Optica Publishing Group · 2020 10.1364/oe.384875
  20. Systems biology informed deep learning for inferring parameters and hidden dynamics PLoS Computational Biology · Public Library of Science · 2020 10.1371/journal.pcbi.1007575
  21. Issues in Deciding Whether to Use Multifidelity Surrogates AIAA Journal · American Institute of Aeronautics and Astronautics · 2019 10.2514/1.j057750
  22. Inverse design in photonics by topology optimization: tutorial Journal of the Optical Society of America B · Optica Publishing Group · 2020 10.1364/josab.406048
  23. Operator learning for predicting multiscale bubble growth dynamics The Journal of Chemical Physics · American Institute of Physics · 2021 10.1063/5.0041203
  24. Physics-Informed Neural Networks with Hard Constraints for Inverse Design SIAM Journal on Scientific Computing · Society for Industrial and Applied Mathematics · 2021 10.1137/21m1397908
  25. Operator learning for predicting multiscale bubble growth dynamics The Journal of Chemical Physics · American Institute of Physics · 2021 10.1063/5.0041203
  26. DeepM&amp;Mnet: Inferring the electroconvection multiphysics fields based on operator approximation by neural networks Journal of Computational Physics · Elsevier BV · 2021 10.1016/j.jcp.2021.110296
  27. Physics-informed machine learning Nature Reviews Physics · Nature Portfolio · 2021 10.1038/s42254-021-00314-5
  28. DeepM&amp;Mnet for hypersonics: Predicting the coupled flow and finite-rate chemistry behind a normal shock using neural-network approximation of operators Journal of Computational Physics · Elsevier BV · 2021 10.1016/j.jcp.2021.110698
  29. Learning the solution operator of parametric partial differential equations with physics-informed DeepONets Science Advances · American Association for the Advancement of Science · 2021 10.1126/sciadv.abi8605
  30. A seamless multiscale operator neural network for inferring bubble dynamics Journal of Fluid Mechanics · Cambridge University Press · 2021 10.1017/jfm.2021.866
  31. Gradient-enhanced physics-informed neural networks for forward and inverse PDE problems Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2022 10.1016/j.cma.2022.114823
  32. Forecasting solar-thermal systems performance under transient operation using a data-driven machine learning approach based on the deep operator network architecture Energy Conversion and Management · Elsevier BV · 2021 10.1016/j.enconman.2021.115063
  33. A physics-informed variational DeepONet for predicting crack path in quasi-brittle materials Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2022 10.1016/j.cma.2022.114587
  34. Simulating progressive intramural damage leading to aortic dissection using DeepONet: an operator–regression neural network Journal of The Royal Society Interface · Royal Society · 2022 10.1098/rsif.2021.0670
  35. A comprehensive and fair comparison of two neural operators (with practical extensions) based on FAIR data arXiv (Cornell University) · Cornell University · 2021 10.1016/j.cma.2022.114778
  36. Electrons and Phonons 2001 10.1093/acprof:oso/9780198507796.001.0001