Abstract
Deep generative models have demonstrated effectiveness in learning compact and expressive design representations that significantly improve geometric design optimization. However, these models do not consider the uncertainty introduced by manufacturing or fabrication. The past work that quantifies such uncertainty often makes simplifying assumptions on geometric variations, while the “real-world,” “free-form” uncertainty and its impact on design performance are difficult to quantify due to the high dimensionality. To address this issue, we propose a generative adversarial network-based design under uncertainty framework (GAN-DUF), which contains a deep generative model that simultaneously learns a compact representation of nominal (ideal) designs and the conditional distribution of fabricated designs given any nominal design. This opens up new possibilities of (1) building a universal uncertainty quantification model compatible with both shape and topological designs, (2) modeling free-form geometric uncertainties without the need to make any assumptions on the distribution of geometric variability, and (3) allowing fast prediction of uncertainties for new nominal designs. We can combine the proposed deep generative model with robust design optimization or reliability-based design optimization for design under uncertainty. We demonstrated the framework on two real-world engineering design examples and showed its capability of finding the solution that possesses better performance after fabrication.
1 Introduction
Many engineering design problems boil down to geometric optimization. However, geometric optimization remains a grand challenge because of its extreme dimensional complexity and often hard-to-achieve performance objective. Recent work has shown that deep generative models can learn a compact2 and expressive design representation that remarkably improves geometric design optimization performances (indicated by both the quality of optimal solutions and the computational cost) [1–3]. However, the past work based on deep generative models only considers the ideal scenario where manufacturing or fabrication imperfections do not occur, which is unrealistic due to the existence of uncertainties in reality, such as limited tool precision or wear. Such imperfections sometimes have a high impact on a design’s performance or properties. Consequently, the originally optimal solution (obtained by only considering the ideal scenario) might not possess high performance or desired properties after fabrication.
The past work has developed task-specific robust optimization techniques to identify geometric design solutions that are insensitive to variations of load, materials, and geometry [4–6]. However, due to the lack of generalizable uncertainty representation that is compatible with different geometric representations, the previous work often makes simplifying assumptions on geometric variations (e.g., the distribution or the upper/lower bound of uncertain parameters), while the “real-world”, “free-form” geometric uncertainty and its impact on design performance are difficult to quantify due to the high dimensionality.3 In this article, we propose a generative adversarial network-based design under uncertainty framework (GAN-DUF) to allow uncertainty quantification (UQ) of free-form geometric variability under real-world scenarios. The term “free-form” refers to two aspects: (1) the geometric variability has no shape or topological restrictions and (2) no assumption on the form of uncertainty is needed. Therefore, this framework is generalizable to any shape or topological designs. It improves existing geometric design under uncertainty from four aspects: (1) The generative adversarial network (GAN) uses a compact representation to reparameterize geometric designs, allowing accelerated optimization. (2) The GAN associates real-world, free-form fabrication uncertainty with ideal designs (i.e., nominal designs) by learning a conditional distribution of fabricated designs given any nominal design. (3) The optimization process accounts for the distribution of geometric variability underlying any manufacturing processes and allows UQ for robust design optimization or reliability-based design optimization (RBDO). (4) The compact representation of nominal designs allows gradient-free global optimization due to the representation’s low-dimensionality.
We list the contributions of this work as follows:
We propose a hierarchical deep generative model to simultaneously learn a compact representation of designs and quantify their real-world, free-form geometric uncertainties.
We combine the proposed model with a robust design optimization framework and demonstrate its effectiveness on two realistic robust design examples.
We build two benchmark datasets, containing nominal and fabricated designs, which will facilitate future studies on data-driven design under manufacturing uncertainty.
2 Background
In this section, we introduce generative adversarial networks and design under uncertainty.
2.1 Generative Adversarial Networks.
Previous works studied how the maximization of LI in InfoGAN affects the latent representation of designs [1,9]. Specifically, Ref. [1] shows that by maximizing the mutual information lower bound between the latent vector and the generated designs, the latent vector c encoded major geometric variation in the data, while the noise vector z encoded minor geometric variation. Reference [9] showed that without maximizing LI, the latent vector c either failed to capture major geometric variation or led to inconsistent geometric variation along latent space bases. The ability to capture major geometric variation is necessary, since the generator needs to cover the complete range of both the nominal and the fabricated designs. The property of consistent geometric variation is also essential for designers to explore the latent space in an intuitive way and disentangle the objective function of a design problem.
Since InfoGAN provides an interpretable and disentangled latent representation that is also compact and low dimensional, searching for design solutions in this latent space is much more efficient than searching in the original high-dimensional design space [1–3,9]. Building on the InfoGAN model, this work proposes a new deep generative model that constructs a hierarchical latent representation—the parent latent representation encodes nominal design variation and the child latent representation encodes fabricated design variation. In this way, we can simultaneously model (1) the compact latent representation of nominal designs and (2) the distribution of fabricated designs conditioned on any nominal design. We will elaborate on our proposed hierarchical generative model in Sec. 3.1.
2.2 Design Under Uncertainty.
Design under uncertainty aims to identify optimal designs that are robust and/or reliable under the variations associated with various sources of uncertainties (e.g., material, geometry, and operating conditions) [10,11]. Two common approaches are robust design optimization (RDO) [12] and RBDO [13,14].
Both approaches have been developed for design optimization under geometric uncertainty at various levels of geometric complexity (i.e., size, shape, and topology). Unlike parametric uncertainty that only considers the uncertainties of a few independent design parameters representing the design [18,19], geometric uncertainty can account for the uncertainties at every point on the boundary of a geometry as well as its topological changes. Due to the high dimensionality of variables to be considered in geometric uncertainty quantification, previous work either assumes uniform boundary variation [6,16,17] (Fig. 1(a)) or imposes predefined distribution/correlation on boundary points [5,20–23] (Fig. 1(b)). Specifically, Ref. [5] models geometric uncertainty by perturbing the boundary using a random normal velocity field; Refs. [20–23] model geometric uncertainty by applying a predefined random field as the threshold of a level-set design representation; Refs. [24–27] build shape deviation models and use Bayesian approaches to estimate the posterior of model parameters. While those methods can simplify geometric uncertainty quantification by making assumptions on the form of shape deviations, the modeled uncertainties do not necessarily conform to realistic scenarios, which usually involve much more complicated geometric variability. For example, in real applications, the boundary variation does not necessarily follow canonical distributions (Fig. 1(c)), and manufacturing defects do not only happen on the boundary [28] (Fig. 1(d)). Therefore, how to model “real-world,” “free-from” geometric uncertainty without making any simplifying assumptions is still an open challenge.
In this work, we overcome this challenge by using a hierarchical deep generative model to learn (1) the underlying distribution of free-form nominal designs and (2) the conditional distribution of fabricated design given any nominal design, under free-form geometric uncertainty (Figs. 1(c) and 1(d)). We demonstrate the efficacy using two real-world design examples. The ability to model free-form geometry and uncertainties allows us to address topological uncertainties.
3 Methodology
In this section, we introduce our GAN-DUF. It consists of two parts: (1) a generative adversarial network to learn a hierarchical latent representation that compactly captures both the variability of nominal designs and the uncertainty of any given nominal design4 (Sec. 3.1). (2) A design under uncertainty module that uses the trained generator to perform robust design optimization or reliability-based design optimization (Sec. 3.2).
3.1 Quantifying Uncertainty Using Generative Adversarial Networks.
To achieve these two goals, we propose a generative adversarial network (Fig. 2(a)) that enables the hierarchical modeling of nominal designs and fabricated designs. Its generator G generates fabricated designs when feeding in the parent latent vector cp, the child latent vector cc, and the noise z, whereas it generates nominal designs simply by using the same generator G but setting cc = 0. By doing this, we can control the generated nominal designs through cp and the generated fabricated designs through cc. Note that the noise z represents the portion of geometric variation that cannot be captured by either the parent latent vector or the child latent vector. This is useful to be included as one of the inputs to the generator because sometimes the data contain noise (e.g., noisy or blurred images of fabricated samples) that is irrelevant to either the variation of nominal geometries or the fabrication imperfection. When using the trained model to generate nominal or fabricated designs, z is set to 0 to eliminate the effect of noise.
Compared to existing uncertainty quantification methods, this GAN-based model opens up possibilities of (1) building a universal UQ model compatible with both shape and topological designs, (2) modeling free-form geometric uncertainties without the need to make any assumptions on the distribution of geometric variability, and (3) allowing fast prediction of uncertainties for new nominal designs.
The trained generator allows us to sample fabricated designs given any nominal design, simply by sampling the low-dimensional cc with a fixed cp representing the nominal design (Fig. 2(b)). We can then evaluate the quantities of interest (QoIs) of these generated fabricated designs using computational (e.g., physics simulation such as finite element methods, wave analysis, and computational fluid dynamics) or experimental methods. The QoIs may include performance, quality, properties, and/or cost. The resulted QoI distribution (i.e., postfabrication QoI distribution) allows us to quantify the uncertainty of QoIs for the nominal design. Note that the proposed framework is agnostic to both the type of designs (e.g., how designs are represented or what geometric variability is presented) and downstream tasks like design evaluation and design optimization.
3.2 Design Optimization Under Uncertainty Using Trained Generator.
We can integrate the evaluated uncertainty into optimization frameworks such as robust optimization, where we simultaneously optimize the mean QoIs and minimize the influence of uncertainty [12] (Fig. 2(c)), as well as reliability-based optimization, where we optimize QoIs subject to constraints such as the probability of failure or reliability index [14]. The solution is expected to maintain high real-world performance/quality, desired properties, or a lower chance of failure even under fabrication imperfection.
In both formulations, we only need to optimize cp, which has a much lower dimensionality than the original design representation. The functionality of cc is to introduce stochasticity, and it reflects the sources of uncertainty.
4 Results
We use two real-world robust design examples to demonstrate the effectiveness of our proposed framework. Ideally, to obtain fabricated design data , we can take the nominal designs from , fabricate them, and use the actual fabricated designs as data. However, in this study, we simulate the fabrication effects by deforming the geometry of nominal designs based on the following approaches, as a way to save time and cost. Note that how well the simulated manufacturing uncertainty resembles the real-world uncertainty is not central to this proof of concept study. We treat the simulated uncertainty as the real uncertainty only to demonstrate our design under uncertainty framework. In the ideal scenario, we can directly use the real-world fabricated designs to build , and our proposed framework can still model the fabricated design distribution since the framework is agnostic to the form of uncertainty. Also note that the required amount of data and latent vector dimensions will depend on the complexity level of geometric variation in data. For example, if the fabricated designs have a higher variation, we may need more fabricated design data and a higher-dimensional child latent vector to maintain the same level of accuracy for modeling the uncertainty.
4.1 Case Study: Airfoil Design.
An airfoil is the cross-sectional shape of an airplane wing or a propeller/rotor/turbine blade. The shape of the airfoil determines the aerodynamic performance of a wing or a blade. By optimizing the airfoil shapes, we can improve their aerodynamic performance, minimize fuel consumption, and reduce greenhouse gas emissions.
4.1.1 Dataset Construction.
We use the UIUC airfoil database5 as our nominal design dataset . The preprocessing of and the creation of the fabricated design dataset are described as follows:
Nominal design data. The original UIUC database contains invalid airfoil shapes and the number of surface coordinates representing each airfoil is inconsistent. Therefore, we used the preprocessed data from Chen et al. [1] so that outliers are removed and each airfoil is consistently represented by 192 surface points (i.e., ).
The final dataset contains 1528 nominal designs and 10 fabricated designs per nominal design. Note that since similar nominal designs also have similar fabricated designs, we may need even fewer fabricated designs as training data. Please see Appendix A for the study on how the sample size of fabricated design data affects uncertainty quantification using the proposed deep generative model.
4.1.2 Generative Model Training and Evaluation.
We trained the proposed GAN on and . We set the parent latent vector to have a uniform prior distribution (so that we can search in a bounded space during the design optimization stage), whereas both the child latent vector and the noise have normal prior distributions . The generator/discriminator architecture and the training configurations were set according to Chen et al. [1]. During training, we set both the generator’s and the discriminator’s learning rate to 0.0001. We trained the model for 20,000 steps with a batch size of 32.
We conducted parametric studies over parent and child latent dimensions to investigate their effects on the generative performances (we fix the dimension of the noise z to 10).6 Particularly, we care about two performances: (1) how well the parent latent representation can cover nominal designs and (2) how well the performance distributions of fabricated designs are approximated. The experimental settings and results are described as follows.
We evaluated the first performance (i.e., nominal design coverage) via a fitting test, where we found the parent latent vector that minimizes the Euclidean distance between the generated nominal design and a target nominal design sampled from the dataset (i.e., fitting error). We use sequential least squares programming (SLSQP) [30] as the optimizer and set the number of random restarts to three times the parent latent dimension. We repeated this fitting test for 100 randomly sampled target designs under each parent latent dimension setting. A parent latent representation with good coverage of the nominal design data will result in low fitting errors for most target designs. Figure 4(a) shows that a parent latent dimension of 7 achieves relatively large design coverage (i.e., low fitting errors).
We evaluated the second performance (i.e., fabricated design performance approximation) by measuring the Wasserstein distance between two conditional distributions—P(f(xfab)|xnom) and P(f(G(cp, cc, z))|xnom), where f denotes the objective function. In this example, f is the simulation that computes the lift-to-drag ratio CL/CD. For each generated nominal design xnom, we created 100 “simulated” fabricated designs as xfab, the same way as we create training data, to be used as the “ground truth” fabricated designs. Note that compared to the number of fabricated designs per nominal design in the training data, we created a much larger number of “ground truth” fabricated designs for evaluation purposes. We also generated the same number of fabricated designs using the trained generator. We compute the aforementioned Wasserstein distance by using these two sets of samples. We repeated this test for 30 randomly generated nominal designs under each child latent dimension setting. Figure 4(b) shows that when the child latent dimension is 5, we have relatively low Wasserstein distances with the smallest variation (the parent latent dimension was fixed to 7). When the child latent dimension further increases to 10, the uncertainty of the Wasserstein distances increase, possibly due to the higher dimensionality. Note that the training data only contain ten fabricated designs per nominal design, while in the test phase, we use many more samples per nominal design to faithfully approximate the conditional distributions. We do not need that many samples in the training phase because the generative model does not learn independent conditional distributions for each nominal design, but can extract information across all nominal designs.
4.1.3 Design Optimization.
The objective of the design optimization is to maximize the lift-to-drag ratio CL/CD, which is computed by using the computational fluid dynamics solver SU2 [31].
We compared two optimization scenarios:
Standard optimization, where we only consider the deterministic performance of the nominal design. The objective is expressed as .
Robust design optimization, which accounts for the performance variation caused by manufacturing uncertainty. The objective is expressed as , where Qτ denotes the conditional τ-quantile. We set τ = 0.05 in this example.
Under both scenarios, we fixed the parent and the child latent dimensions to 7 and 5, respectively, based on the aforementioned parametric study. In each scenario, we performed Bayesian optimization (BO) to optimize cp. We evaluate 21 initial samples of cp selected by Latin hypercube sampling (LHS) [32] and 119 sequentially selected samples based on BO’s acquisition function of expected improvement (EI) [33].7 In standard optimization, we evaluate the nominal design performance f(G(cp, 0, 0)) at each sampled point. In robust design optimization, we estimate the quantile of fabricated design performances f(G(cp, cc, 0)) by Monte Carlo (MC) sampling using 100 randomly sampled cc ∼ P(cc) at each cp. Figure 5 shows the design solutions and the distributions of ground truth fabricated design performances8 (i.e., postfabrication performance distributions) of these solutions. We also performed permutation tests [34] to evaluate the difference between the postfabrication performances of the standard and the robust design solutions (Table 1). The results show that, by accounting for manufacturing uncertainty, the postfabrication performances of the robust design solution x*robust are significantly improved (indicated by small p-values), compared to the standard design solution x*std, even though the nominal performance of x*robust is worse than x*std. This result illustrates the possibility that the solution discovered by standard optimization can have high nominal performance but is likely to possess low performance when it is fabricated. The robust design optimization enabled by GAN-DUF can substantially mitigate this risk.
Measures of location | p-Value |
---|---|
5% quantile | 1e − 5 |
25% quantile | 8e − 5 |
Median | 0.0397 |
Mean | 1e − 5 |
Measures of location | p-Value |
---|---|
5% quantile | 1e − 5 |
25% quantile | 8e − 5 |
Median | 0.0397 |
Mean | 1e − 5 |
Note: The test statistics are the improvement of the quantiles and the mean. A lower p-value indicates a more significant improvement of the robust design solution over the standard design solution in terms of the postfabrication performances.
4.2 Case Study: Optical Metasurface Absorber Design.
Optical metasurfaces are artificially engineered structures that can support exotic light propagation building on subwavelength inclusions [35,36]. Among many, metasurface absorbers [37] have been intensely studied for engineering applications such as medical imaging, sensing, and wireless communications. In this work, the functionality of interest is large energy absorbance at a range of incident frequencies in the terahertz regime. Figure 6 shows a schematic of wave analysis. A free-form unit cell made of Au is placed on top of a dielectric substrate whose relative permittivity is set as 2.88-0.09i, where the imaginary term is associated with energy loss. The periodic boundary condition on electromagnetic fields is imposed on the lateral surfaces of the analysis domain. The energy absorbance performance at a single-frequency ω is quantified as A(ω) = 1 − |S11(ω)|2, where ω is the excitation frequency of the incident wave and Sij is the component of the S-parameter matrix that characterizes an electrical field intensity from port i to port j in a complex network. This absorbance behavior largely depends on the cross-sectional topology of the unit cell and, by extension, is subject to deviation under fabrication uncertainty.
4.2.1 Dataset Construction.
We created 1000 nominal designs and 10 fabricated designs per nominal design (Fig. 7(a)) by using the following method:
Nominal design data. The nominal design dataset builds on three topological motifs (i.e., I-beam, cross, and square ring) [38,39]. We create nominal designs by randomly interpolating the signed distance fields of these baselines [40]. As a result, each design is stored as 64 × 64 level-set values (i.e., ). We can obtain final designs by thresholding the signed distance fields. Building on a given set of baselines, this shape generation scheme allows a unit cell population that is topologically diverse.
Fabricated design data. Similar to the airfoil design example, we randomly perturb a set of 12 × 12 FFD control points in both x and y directions with white Gaussian noise that has a standard deviation of 1 pixel. This leads to the distortion of the 64 × 64 grid coordinates at all the pixels, together with the level-set value at each pixel. We then interpolate a new signed distance field as the fabricated (distorted) design. To account for the limited precision of fabrication, we further apply a Gaussian filter with a standard deviation of 2 to smooth out sharp, nonmanufacturable features. The Gaussian filter can also change the topology by, e.g., removing small holes. To demonstrate that our proposed deep generative model is flexible in addressing more complicated uncertainties, we also construct a scenario where fabrication errors contain nonsmooth boundary variation and random hole nucleation. We show that our proposed model can also address this more complicated scenario. Please refer to Appendix B for details.
4.2.2 Generative Model Training and Evaluation.
As mentioned in Sec. 2, optimizing designs with varying topology under geometric uncertainty hosts a great challenge. GAN-DUF can handle this problem by modeling the uncertainty using the proposed generative adversarial network. Same as the airfoil example, we set the parent latent vector to have a uniform prior distribution, while both the child latent vector and the noise have normal prior distributions. Again, we fixed the noise dimension to 10. The generator and the discriminator architectures are shown in Fig. 8. The discriminator predicts both the discriminative distribution D(xnom, xfab) and the auxiliary distribution Q(cp, cc|xnom, xfab). During training, we set both the generator’s and the discriminator’s learning rate to 0.0001. We trained the model for 50,000 steps with a batch size of 32.
Similar to the airfoil design example, we want to investigate the effect of the parent and the child latent dimensions on the trained GAN’s capability of covering the design space and approximating the fabricated design performance distributions. To evaluate the design space coverage, we performed a fitting test as described in Sec. 4.1.2. Specifically, we use SLSQP as the optimizer and set the number of random restarts to three times the parent latent dimension. Here, the fitting error is the Euclidean distance between the signed distance fields of the generated nominal design and a target nominal design sampled from the dataset. Under each parent latent dimension setting, we randomly select 100 target designs. Figure 9(a) indicates that a parent latent dimension of 5 achieves sufficiently large design coverage, while further increasing the parent latent dimension cannot improve the coverage.
To evaluate the trained GAN’s performance on approximating the fabricated design performance distributions, we use the Wasserstein distance to measure the distributional difference between P(f(xfab)|xnom) and P(f(G(cp, cc, z))|xnom) (see Sec. 4.1.2). Under each child latent dimension setting, we compute the Wasserstein distance between the energy absorbance distributions of “ground truth” fabricated designs and generated fabricated designs. We performed fewer design evaluations than the airfoil design example due to the higher cost of wave analysis. Under each child latent dimension setting, we computed Wasserstein distances for 10 nominal designs, each with 30 “ground truth” fabricated designs and 30 generated fabricated designs. Figure 9(b) indicates that a child latent dimension of 10 achieves the lowest median and 25%/75% quantiles.
Figure 7(b) shows nominal and fabricated designs randomly generated from the trained generator with a parent and a child latent dimensions of 5 and 10, respectively.
4.2.3 Design Optimization.
During the design optimization stage, we fixed the parent and the child latent dimensions to be 5 and 10, respectively, based on the aforementioned parametric study. The objective is to maximize the mean energy absorbance over the given range of frequencies, 8-9 THz. To achieve broadband functionality, we formulate the objective function as the sum of energy absorbance at individual frequencies (i.e., , where is the number of frequencies at which absorbance is to be observed). The RF module of comsol multiphysics® [41] is used for evaluation of metasurfaces.
To account for this uniform boundary variation as the uncertainty in robust design optimization, we set the objective to be , where and denote the eroded and the dilated patterns, respectively, and f computes the overall energy absorbance for a given metasurface pattern. Due to the prohibitive cost of optimizing a high-dimensional design () without analytical gradient, we perform the robust design optimization in the latent space instead, i.e., based on xnom = G(cp, 0, 0). We will use “robust (uniform)” to refer to this optimization scenario.
In each optimization scenario, we performed BO with 15 initial LHS samples and 85 sequentially selected samples based on the acquisition strategy of EI.9 The quantile of fabricated design performances at each cp was estimated from 30 MC samples. We used fewer MC samples than those in the airfoil design case due to the higher cost of evaluating the objective (i.e., performing wave analysis to compute the energy absorbance).
Figure 11 shows the design solutions and the distributions of ground-truth fabricated design performances for these solutions. We observe similar trends as in the airfoil design case, where the standard optimization finds the solution with the highest nominal performance, while the two solutions obtained from robust optimization have higher performances (in general) after fabrication (Fig. 11(b)). Particularly, by considering free-form uncertainty enabled by GAN-DUF, the robust design solution further improves upon the solution obtained under uniform uncertainty, in terms of their actual postfabrication performances. The low p-values in Table 2 indicate the statistical significance of this improvement. This demonstrates that making simplifying assumptions on the form of uncertainty can lead to suboptimal solutions. The proposed GAN-DUF does not suffer from this issue since it has the flexibility of learning and considering any form of uncertainty. This result is expected because the ability to accurately model the uncertainties is a prerequisite for finding the true robust design solution that performs better than others when considering uncertainties.
Measures of location | p-Value | |
---|---|---|
Standard | Robust (uniform) | |
5% quantile | 1e − 5 | 0.0031 |
25% quantile | 3e − 5 | 0.00024 |
Median | 1e − 5 | 0.0118 |
Mean | 1e − 5 | 0.0028 |
Measures of location | p-Value | |
---|---|---|
Standard | Robust (uniform) | |
5% quantile | 1e − 5 | 0.0031 |
25% quantile | 3e − 5 | 0.00024 |
Median | 1e − 5 | 0.0118 |
Mean | 1e − 5 | 0.0028 |
Note: The test statistics are the improvement of the quantiles and the mean. For example, a low value in row “Median” and column “Standard” indicates that there is a significant improvement of the free-form uncertainty-enabled robust design solution over the standard design solution in terms of the medians of their postfabrication performance distributions.
5 Conclusion
We proposed GAN-DUF to facilitate design under free-form geometric uncertainty. It contains a novel deep generative model that simultaneously learns a compact representation of nominal designs and the conditional distribution of fabricated designs given any nominal design. The proposed framework is generalizable to any geometric design representations (i.e., both shape and topological designs) and can address free-form uncertainties without resorting to any simplifying assumption on the type of uncertainty. We applied GAN-DUF to two real-world engineering design examples (namely aerodynamic shape optimization and metasurface absorber topology optimization) and showed its capability in finding the design solution that is more likely to possess a better performance after fabrication or manufacturing.
In this work, we assume that fabricated designs are independent. In the case where the distribution of fabricated designs depends on the varying fabrication tool condition due to, e.g., tool wear, we can introduce an additional latent vector ct that encodes the variation of the fabrication tool. In this way, the proposed generative model can estimate the conditional distribution of fabricated designs given the tool condition. We can also continuously calibrate ct using new fabrication data.
Although we only considered fabrication/manufacturing uncertainty when demonstrating the proposed framework, it is also applicable to other sources of geometric uncertainties such as those caused by operational wear or erosion. In addition to robust design optimization demonstrated in this study, we can also combine the proposed hierarchical generative model with reliability-based design optimization to find designs that are less likely to fail after fabrication or under operational wear/erosion.
GAN-DUF is generalizable to 3D designs with certain adjustments to neural network architectures, on top of the 2D cases demonstrated in this work. For example, if the 3D designs are represented as point clouds, one can adopt the generator/discriminator architecture from Ref. [42]. Since 3D data may contain more complex geometric variation, it is likely that we need more layers, higher latent dimensions, and a larger dataset to accommodate the extra complexity.
Although in this work we used synthetic fabrication data, for future work, we will collect real fabricated designs as training and test data to validate the effectiveness of GAN-DUF in a completely realistic scenario.
Footnotes
Here, “compact” means (1) the learned design representation has a much lower dimensionality than the original representation and (2) the learned representation contains mostly valid designs.
Due to the free-form nature of the geometry and its uncertainty, there is no easy way to parameterize them using low-dimensional parameters. This is the reason for their high dimensionality.
Code and data are available at https://github.com/wchen459/GAN-DUF
Compared to parent and child latent dimensions, the noise dimension has a relatively small effect on the results as long as it is sufficiently large to capture the noise in training data [1].
The settings of the initial and the total evaluation times in BO are based on the parent latent dimension dp. Specifically, we performed 3dp initial LHS evaluations and 20dp total evaluations, where dp = 7 as mentioned earlier.
“Ground-truth fabricated design” refers to designs created by the same means by which the designs from were created.
We performed 3dp initial LHS evaluations and 30dp total evaluations in BO, where dp = 5 is the parent latent dimension.
The hole will not show if its location is sampled outside the metasurface pattern.
Acknowledgment
This work was supported by the NSF CSSI program (Grant No. OAC 1835782) and the Northwestern McCormick Catalyst Award. We thank the anonymous reviewers for their comments.
Conflict of Interest
There are no conflicts of interest.
Data Availability Statement
The datasets generated and supporting the findings of this article are obtainable from the corresponding author upon reasonable request.
Appendix A: A Sample Size Study
In the main text, we fixed the number of fabricated designs per nominal design in the training data. In practice, the sample size of fabricated designs may differ across use cases. There is a trade-off between the cost of acquiring fabrication data and the accuracy of quantifying fabrication uncertainties. To investigate how the sample size affects uncertainty quantification and draw insights into the minimum fabrication data requirement, we perform a sample size study on the fabrication data. We vary the number of fabricated designs per nominal design in the training data while fixing other hyperparameters. After training the deep generative model, we evaluate how well the performance distributions of fabricated designs are approximated by the trained generator. We measure this in the same way as the parametric study over child latent dimensions described in Secs. 4.1.2 and 4.2.2—i.e., using the Wasserstein distance to measure the distributional difference between P(f(xfab)|xnom) and P(f(G(cp, cc, z))|xnom). Results in Fig. 12 show a general trend of decreased Wasserstein distance or improved performance distribution approximation, as the sample size of the fabricated designs increases. Among the tested cases, we observe the most accurate approximation, in both the airfoil and the metasurface design examples, when there are seven fabricated designs per nominal design in the training data. Further increasing the number of fabricated designs per nominal design to 10 does not lead to a significant improvement in the approximation accuracy. Our future work will study how GAN-DUF will perform in design under uncertainty under sparse samples of fabricated designs.
Appendix B: More Complicated Uncertainties
Due to the flexibility of deep neural networks, our proposed GAN does not assume any specific forms of uncertainties. To help demonstrate this point, we create a scenario for the metasurface design example where fabrication uncertainties include defects of random hole nucleation and non-smooth boundary deviations.
Specifically, compared to the fabricated design data construction mentioned in Sec. 4.2.1, we remove the Gaussian filter, increase the FFD lattice resolution (i.e., the number of FFD control points), and double the random perturbation scale of FFD control points, to create nonsmooth boundary deviations. We also create a hole with a random shape and size at a random location of each fabricated design.10 The nominal design data remain unchanged. Examples of fabricated design data are shown in the upper part of Fig. 13.
We show that by some minor adjustments of hyperparameters, our proposed GAN can capture these more complicated uncertainties, as shown in the lower part of Fig. 13. To adapt to the more complicated fabrication data, we decrease the convolutional/deconvolutional kernel size to (3, 3), increase the child latent dimension to 20, and double the number of filters in the generator’s deconvolutional layers. The visual comparison shows that GAN-DUF can generate fabricated designs with random hole nucleation and nonsmooth boundary variation as occurred in the data, indicating its ability to capture these more complicated uncertainties.