Next Article in Journal
Case Study on Analysis of Soil Compression Index Prediction Performance Using Linear and Regularized Linear Machine Learning Models (In Korea)
Next Article in Special Issue
Automated Design and Parametric Modeling of Excavator Buckets
Previous Article in Journal
A Benchmark for Water Surface Jet Segmentation with MobileHDC Method
Previous Article in Special Issue
Topology Optimization and Testing of Connecting Rod Based on Static and Dynamic Analyses
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Sketch-Guided Topology Optimization with Enhanced Diversity for Innovative Structural Design

1
School of Mechanical Engineering, Shanghai Jiaotong University, Shanghai 200240, China
2
School of Design, Shanghai Jiaotong University, Shanghai 200240, China
3
School of Electric Engineering, Shanghai Jiaotong University, Shanghai 200240, China
4
Academy for Engineering and Technology, Fudan University, Shanghai 200433, China
*
Authors to whom correspondence should be addressed.
These authors contributed equally to this work.
Appl. Sci. 2025, 15(5), 2753; https://doi.org/10.3390/app15052753
Submission received: 9 February 2025 / Revised: 28 February 2025 / Accepted: 1 March 2025 / Published: 4 March 2025
(This article belongs to the Special Issue Computer-Aided Design in Mechanical Engineering)

Abstract

:
Topology optimization (TO) is a powerful generative design tool for innovative structural design, capable of optimizing material distribution to generate structures with superior performance. However, current topology optimization algorithms mostly target a single objective and are highly dependent on the problem definition parameters, causing two critical issues: limited human controllability and solution diversity. These issues often lead to burdensome design iterations and insufficient design exploration. This paper proposes a multi-solution TO framework to address them. Human designers express their stylistic preferences for structures through sketches which are decomposed into stroke and closed-shape elements to flexibly guide each TO process. Sketch-based constraints are integrated with Fourier mapping-based length-scale control to enhance human controllability. Solution diversity is achieved by perturbing Fourier mapping frequencies and load conditions in the neural implicit TO framework. Adaptive parallel scale adjustment is incorporated to reduce the computational cost for design exploration. Using the structural design of a wheel spoke as a case study, the mechanical performance and diversity of the generated TO solutions as well as the effectiveness of human control are analyzed both qualitatively and quantitatively. The results reveal that the sketch-based constraints and length-scale control have distinct control effects on structural features and have different impacts on the mechanical performance and diversity, thereby enabling fine-grained and flexible human controllability to better balance conflicting objectives.

1. Introduction

Topology optimization (TO) is a powerful tool for innovative structural design. By optimizing material distribution within a given design domain, it can generate conceptual designs that meet specified objectives and constraints, offering novel structures with superior engineering performance [1,2,3,4,5]. It has been widely applied in tasks like lightweight optimization and also shows great potential in other fields including heat transfer [6,7], fluid dynamics [8], photonics [9,10], etc.
An important feature of TO is that it eliminates the need for parameterization, avoiding the limitations of manually defined design parameters, and offering a broad, unconstrained design space. As such, it is an ideal generative design algorithm for the early conceptual design phase. Currently, TO algorithms for structural design can generate highly complex and optimized structural features, surpassing parametric design solutions in both mechanical strength and material efficiency [11]. However, they have two key limitations that hinder their broader application: a lack of efficient human control over the generated structural features and a limited diversity of solutions [12,13]. Since design exploration involves multiple complex and hard-to-quantify factors, a practical approach is to search for a diverse set of good solutions rather than a single optimized one, with cross-domain experts analyzing, filtering, and determining the final optimal design through iterations. In the collaboration between design experts and TO algorithms, enabling a human to directly and precisely control some structural features, such as making the minimal length scale of structures equal to a preset value, is crucial to reducing iterative processes. Meanwhile, solution diversity is key to exploring high-quality and novel designs.
Recently, studies focusing on enhancing human controllability and solution diversity for TO algorithms have attracted increasing attention. To address the first challenge, some studies [14,15,16,17,18] have focused on controlling the length scale of generated geometric features, as the length scale is critical for issues like local stress concentration, structural complexity, and manufacturability. Other approaches focus on guiding the TO process using specific geometric patterns, such as periodic cells [19,20,21,22], image content [23], or a reference design [24]. Among these, sketch-based TO guidance methods [12,25] demonstrate efficient controllability and are particularly intuitive for designers accustomed to expressing ideas through sketches. However, existing studies only provide a single way to achieve human control, limiting the flexibility in managing the fine-grained features and hindering the achievement of proper balance among conflicting design factors. Furthermore, though human control inevitably impacts design exploration freedom and reduces solution diversity, there are no existing studies that have tried to quantify this effect or explored methods to address it.
To address the second challenge, existing studies typically enhance solution diversity by perturbing the load condition parameters or adjusting the multi-objective weights [12,26]. Some studies [13,26,27,28] also propose data-driven approaches to enhance diversity by learning implicit representations from existing TO datasets, followed by random sampling in the learned latent feature space. However, studies on TO solution diversity remain lacking, and to our knowledge, no studies have quantitatively analyzed TO solution diversity or compared different diversifying approaches. Existing qualitative results indicate insufficient diversity, and show that diversifying solutions by merely perturbing hyper-parameters has a significant negative impact on the mechanical performances of structures.
To address the aforementioned challenges in enhancing collaboration between human designers and generative algorithms in innovative structural design, this paper proposes a novel multi-solution TO framework. This framework integrates two approaches to achieve human controllability: sketch-based constraints and length-scale control of geometric features. Free-hand sketches are decomposed into stroke elements and closed-shape elements, with two distinct constraints introduced for them accordingly: a stroke-based undirected structural boundary constraint and a closed-shape-based regional constraint. They are further integrated with length-scale control of geometric features to provide multifaceted control strategies. Each control strategy, with unique control characteristics for structural features, has a different impact on design quality and diversity, thereby enabling fine-grained and flexible human controllability. Additionally, the framework enhances solution diversity by introducing randomness through the perturbation of Fourier mapping frequencies and load condition parameters in the density-based neural implicit TO process. To reduce the computing cost caused by having multiple TO processes, this framework implements an adaptive parallel computing scale adjustment method. A case study of an innovative design of automobile wheel spokes is conducted, and comprehensive studies on human controllability and its impact on both design quality and diversity are carried out qualitatively and quantitatively.
The main contributions of this paper are summarized as follows:
  • Novel sketch-based constraints, including a stroke-based undirected structural boundary constraint and a closed-shape-based regional constraint, are proposed to enable sketch-based TO control.
  • Sketch-based constraints and length-scale control of geometric features are integrated, providing multifaceted control strategies to enable fine-grained and flexible control.
  • A diversifying method based on random sampling of Fourier mapping frequencies in a neural implicit TO process is proposed, and quantitative studies on different diversifying methods as well as the effects of human control strategies on design quality and diversity are conducted.
  • An adaptive parallel computing scale adjustment method is incorporated to improve the efficiency of multiple TO processes.

2. Related Works

2.1. Human Control in Topology Optimization

The main advantage of TO is that designers only need to specify the design objectives, constraints, and load conditions within the design domain, without the need to provide prior knowledge for structural design parameterization. Most existing TO algorithms, particularly the earlier developed ones [29,30,31], provide an optimal solution of structural topology for a TO problem according to the design factor of mechanical performance. However, as numerous factors need to be considered in engineering practice, the TO algorithms fail to produce satisfactory solutions directly, leading to laborious iterations between human designers and the algorithms [32,33]. This problem became more pronounced due to the immature post-processing techniques of TO solutions. Effective human control over TO solutions is the key to this problem, which is becoming a highlight topic in this research field.
Recent studies on this problem have focused on controlling the length scale of geometric features [14,15,16,17,18], as the length scale is very important not only for mechanical performance but also other factors like manufacturability. Traditional TO algorithms tend to generate excessively fine-grained structures, which can incur problems in addictive manufacturing process such as local collapse or difficulty in support material removal. Ha et al. [15] and Schiffer et al. [16] achieved interactive control of the feature sizes within a region of interest through a proximity-based weighting function and three-phase projection scheme, respectively. The latter further enabled control of multi-phase maximum and minimum solid feature sizes and/or void feature sizes. Li et al. [34] explicitly derived the numerical formulation of minimum structural feature size constraints for density-based TO algorithms, offering broad applicability and low sensitivity to algorithm parameters. He et al. [35] introduced a hole-filling strategy in the bidirectional evolutionary structural optimization (BESO) framework to control structural complexity by filling internal cavities and tunnels, respectively, with preset structures whose size parameters were adjustable. Chandrasekhar et al. [14] introduced a Fourier mapping layer in a density-based neural implicit TO framework to control the maximal and minimal geometric feature size. Lazarov et al. [36] provided a detailed review and comparative analysis of studies on length-scale control for density-based TO algorithms.
Research on human controllability also includes using specific geometric patterns [19,20,21,22]. Zhang et al. [19] used predefined texture patterns to guide the optimization, dividing the design domain into multiple groups, where the repetition of the control pattern within each group was managed independently. Meng et al. [20] achieved similar controllability by arranging predefined patterns to determine the design domain. Li et al. [21] derived specific geometric constraints for the internal regions of shell structures to make the generated structures match the predefined patterns. Zhang et al. [25] proposed using free-hand sketches for TO guidance by extracting multi-level morphological features from design images using convolutional neural networks and introducing a similarity constraint between the extracted morphological features of TO solutions and the sketch. Their proposed method generates structural designs that embody the high-level morphological semantics of the sketch. Zhang et al. [23] used aesthetic images as guidance, employing independent feature extraction neural modules for the aesthetic style and form content of the images, respectively, which were then used to apply separate constraints. Zhong et al. [37] proposed exploiting the text–image priors embedded in the CLIP model [38] to enable text-based control over the aesthetic styling of the generated structures. Li et al. [12] proposed combining drawing guidance with manual scoring to modify TO solutions interactively. The sensitivity numbers of BESO within the affected regions of drawn strokes were adjusted, while the sensitivity numbers could also be globally adjusted according to manual scoring feedback.
Overall, length-scale control of geometric features has been enabled by several existing methods with its effectiveness and reliability validated, while guidance with specific geometric patterns is relatively immature. A proper length-scale control method can be selected according to customized design requirements for a specific TO framework, such as a density-based solid isotropic material, with penalization (SIMP) or BESO algorithms. The key challenge here is to properly determine the length-scale parameters [14,16]. For guidance with specific geometric patterns, existing studies can be divided into two categories: leveraging domain knowledge, or reference designs based on similarity constraints. Methods of the first category are sensitive to the application scenario and highly dependent on expertise, which limits their usability. Methods of the second category encounter inevitable conflicts between the similarity constraint and other objectives like mechanical performance optimization. Current methods tackle this only by a single weight coefficient of the similarity constraint, which is insufficient to reach a proper balance.
To enhance the flexibility of human control over TO solutions and better balance the various design factors, this paper combines sketch-based constraints with length-scale control. The sketches are decomposed into stroke elements and closed-shape elements, with different constraint terms and penalty weights assigned, respectively, to enable fine-grained control of different structural features. As studies on TO solution diversity and the impact of human controllability on diversity are lacking, this paper fills this gap as well.

2.2. Deep Learning-Enhanced Topology Optimization

Deep learning (DL) [39] has shown great potential in learning latent features from large datasets, facilitating tasks like new content exploration in latent spaces and prediction in decision-making tasks. In the field of TO, integrating DL methods has emerged as a promising solution to some of the field’s tough challenges. Such studies can be broadly categorized into three types: (1) developing black-box TO solver models that replace traditional iterative TO algorithms [27,40,41,42,43]; (2) fusing DL with traditional algorithms [13,44,45,46]; and (3) using DL models to replace the finite element analysis (FEA) process, thus accelerating the iterations [47,48,49].
Among the first type of study, Yu et al. [42] used an encoder–decoder framework based on convolutional neural networks (CNNs) to establish a mapping from boundary conditions and optimization settings to the solutions of traditional TO algorithms. They further integrated conditional generative adversarial networks (cGANs) to improve image resolution of the outputs. Nie et al. [40] proposed a cGAN-based TO solver model, and incorporated multi-physical field simulation results with the load and boundary conditions to improve the quality of the generated designs. Maze et al. [41] replaced cGANs with a diffusion model [50,51] as the TO solver, and introduced a surrogate model to ensure structural performance and manufacturability. Zheng et al. [43] employed a U-Net model [52] as a 3D TO solver. Yoo et al. [27] proposed learning low-dimensional latent space from existing TO designs with a convolutional auto-encoder, then generated diverse designs via a sampling strategy based on design of experiment (DOE) in latent space.
Another branch of studies focused on fusing DL methods with iterative TO algorithms. Chandrasekhar et al. [44] encoded the density function of the Solid Isotropic Material with Penalization (SIMP) method using neural networks (NNs), combining the sensitivity analysis through automatic back-propagation of the NNs and independent FEA module. Chen et al. [45] introduced the FEA results of the initial material distributions as conditional input to the neural-encoded density function. Their results showed improved structural performance and higher computing efficiency. Wang et al. [46] embedded TO within a cGAN framework with loss terms of structural compliance and volume constraints to guide the optimization. Jang et al. [13] used reinforcement learning in an iterative fusion pipeline to improve design diversity.
A significant challenge in TO is the computational cost associated with the FEA. To address this, Qian and Ye [48] proposed a dual-model artificial neural network for forward computation and sensitivity analysis of the FEA, with discrepancy loss between the predicted and true FEA results. Yin et al. [49] introduced physics-informed neural networks (PINNs) to simulate the forward and sensitivity analysis of the FEA instead. Li et al. [47] proposed using a structure-mapping neural network to refine coarse-grained TO solutions into fine-grained ones at each iteration, thereby enabling an FEA to be conducted on low-resolution grids.
Although DL-based TO solvers beat traditional iterative algorithms in inference efficiency and design diversity, the generated designs mostly fail in satisfying mechanical constraints and manufacturability, making the DL-based solvers invalid as direct solutions to design problems. Using DL-based methods to replace FEA is effective in accelerating iterations while having a small influence on final outputs. One of the obstacles to using data-driven methods is the difficulty in establishing large datasets. Despite current advancements in incorporating DL, traditional iterative TO algorithms continue to play a critical role in ensuring the reliability and quality of the final designs. Fusion of them to fully leverage their respective strengths has great potential for achieving more efficient, high-quality, and diverse topology optimization.

3. Method

Figure 1 shows the proposed multi-solution TO framework for solving the typical structural design problem of minimizing compliance under volume constraint. Multiple parallel TO processes for solving the same problem are employed with consistent algorithm hyper-parameters. In each process, a SIMP-based method with a neural network that implicitly encodes the density function over the continuous domain is implemented. The volume constraint and sketch-based constraints are transformed into penalty loss terms and combined with the compliance loss term through a weighted sum, serving as the total training loss for the neural-encoded density function. The neural input signals are Fourier frequency components of sampled grid points. The high- and low-frequency thresholds of the input signals determine the length scale of the spatial geometric features. The Fourier sampling frequencies and load force magnitudes are randomly perturbed across TO processes to produce diverse design solutions. The TO processes are synchronized, and have their solution set filtered by removing redundant solutions at regular optimization iteration intervals after the first several iterations, which adaptively adjusts the parallel scale. Filtering is according to the similarity metrics in terms of geometry and design objective values.
The remainder of this section gives details of the proposed framework and the application of it in an innovative structural design scenario.

3.1. TO Process with Neural-Encoded Density Function

The mathematical formulation of solving the aforementioned design problem with the SIMP method is given in Equation (1). The optimizable variables of the design problem are the material density values of the discrete elements, ρ = { ρ e } , where ρ e is the material density of the e-th element within the value range [0, 1]. ρ e = 1 represents that this element has solid material and ρ e = 0 represents that this element is void. The design objective is to minimize the total structural compliance C.
For a specific design problem to be solved, the user-defined hyper-parameters include the applied force F , the prescribed volume V * , the element stiffness matrix for solid material element K e 0 , the material’s Young’s modulus E 0 , the element volume v e , and the penalization exponent p. In Equation (1), the first constraint, K ( ρ ) u = F , is the static equilibrium equation, where K ( · ) is the finite element stiffness matrix as a function of the element densities ρ assembled from the element stiffness matrix K e ( ρ ) computed by Equation (2). u is the displacement field computed from the static equilibrium equation. The second constraint represents the volume constraint.
min ρ C = F u = u K ( ρ ) u subject to K ( ρ ) u = F e ρ e ν e V *
K ( ρ ) = [ K e ( ρ ) ] = [ K e 0 E 0 ρ e p ]
In the SIMP method, the element densities are continuous within the range [0, 1], and are pushed to 0 or 1 with increasing penalty value (typically initialized as p = 1 and gradually increased), thereby generating an approximately binary topology design solution. The element densities are optimized on the basis of an FEA of structural compliance conducted on fixed sample grids using domain-specific methods such as Optimality Criteria (OC) or Method of Moving Asymptotes (MMAs). This approach limits the resolution of the solution and requires an analytical sensitivity analysis. This study adopts the neural-encoded density function proposed by Chandrasekhar and Suresh [44], which leverages the high non-linearity of neural networks to represent a continuous density function over the design field in the SIMP method. This transforms the discrete element density optimization into continuous density function learning, alleviating the limitation of the solution resolution. This also allows different sample grids to be applied for various FEA objectives, for better balance between FEA accuracy and computation cost. Additionally, a sensitivity analysis can be automatically performed using the back-propagation of the neural network. The neural-encoded density function is denoted as ρ w ( · ) , where w is the neural weights.

3.2. Length-Scale Control

This study adopts the Fourier mapping method [14] to achieve structural feature length-scale control. The input coordinates of sample points are transformed into Fourier domain frequency signals, which are filtered using high- and low-frequency thresholds corresponding to the maximum and minimum allowable feature sizes, l m a x and l m i n , respectively. For each sample point p = ( x , y ) , the frequency signals are computed as shown in Equation (3), and are then passed through the leaky ReLU activation function and the sigmoid normalization function before being fed into the neural network. The relationships between the frequency thresholds and the allowable feature sizes are shown in Equation (4).
FT f ( p ) = cos π h f 1 x x + f 1 y v , sin π h f 1 x x + f 1 y v cos π h f 2 x x + f 2 y v , sin π h f 2 x x + f 2 y v cos π h f n f x x + f n f y v , sin π h f n f x x + f n f y v
f h l m a x , h l m i n
where f = { f 1 x , f 1 y , f 2 x , f 2 y , f n f x , f n f y } is the set of Fourier frequencies, n f is the number of frequencies, FT f ( p ) is a 2 n f -length vector after Fourier mapping, and h is the mesh edge length.
Structural compliance is evaluated by finite element analysis using a uniformly sampled grid. The forward computation of sample densities, static equilibrium equation, and computation of final compliance are given in Equations (5)–(7), respectively.
ρ e w , f , p p e = ρ w FT F ( p )
J e = u e K e u e
J = e ρ e p J e
where e is the analysis element, J e is the compliance of element e, and J is the total compliance.
In the experiment of this study, an FEA is conducted with one sample point located at the center of element. When higher FEA accuracy is required, it is straightforward to use multiple sample points within an element, taking advantage of a continuous density function. The number and distribution of Fourier frequencies have a significant influence on design solutions; this will be analyzed and used to enhance solution diversity in Section 4.

3.3. Sketch-Based Constraints

Free-hand sketches are intuitive for designers to express ideas. Some aspects of sketch images such as line thickness or shading variations are irrelevant to the desired structural topology, and the sketch can be simply decomposed into open-stroke elements and closed-shape elements. Corresponding constraint terms tailored to the unique characteristics of strokes and closed shapes are introduced. Strokes reflect the designer’s intended structural boundaries without imposing constraints on material distribution in adjacent regions. During the early design ideation, designers typically conceptualize characteristic lines that capture key stylistic or visual features rather than defining precise shapes. To accommodate this, a stroke-based constraint is introduced, ensuring that the structural boundaries of the generated design align with the sketched strokes while maintaining a degree of freedom in neighboring regions to facilitate further exploration of the design space. The proposed constraint is an undirected structural boundary constraint, where the loss is computed based on the similarity between current structural boundaries and the sketched strokes, as described in Equation (8).
L e d g e = i , j RI i , j E ¯ i , j 2 · I [ RI i . j > 0.5 ]
where RI represents the sketch image normalized to [0,1], E ¯ represents the current structural boundaries within the design domain, and  I [ · ] is the indicator function.
The structural boundaries are extracted by a differentiable convolution operator on the density distribution map, where the convolution kernel is the edge-detecting Sobel operator, as shown in Equations (9)–(11). The density distribution map is obtained by forward computation of the density function at uniformly sampled grid points. In experiments, the sample grid resolution is taken as the image resolution of the sketch for convenience.
E = I K x 2 + I K y 2 + ϵ
E * = E min ( E ) max ( E ) min ( E )
E ¯ = E * · I [ ( i , j ) P ]
where I is the density distribution map, ∗ is the convolution operator, K x and K y are the Sobel kernels along the x- and y-directions, respectively, ϵ is a small constant to avoid division by zero (in experiments, ϵ = 1  × 10 6 ), and P is the non-design field within the density distribution map.
The sketch-based constraint is transformed into a penalty loss term for the neural density function. Since the steps of structural boundary extraction and constraint loss computation are differentiable, sensitivity analysis for this constraint term can be automated through the back-propagation of the neural network. In experiments, morphological dilation is applied to preprocess the sketch image to improve the saliency of strokes, and the weight coefficient of this constraint is gradually increased as similar to the volume constraint.
The closed-shape elements not only contain contour lines, which reflect the intended structural boundaries, but also signify the visual integrity of the drawn shape by the closure of the contours. Based on this, a direct way to apply a constraint is to make the closed shape directly represent a cavity or a solid. This study presents a more flexible constraint that drives the material distribution within the closed-shape region to be nearly uniform while allowing some variation. It is transformed to a penalty loss term, thereby enforcing a soft constraint to achieve visual integrity. The calculation of this loss term is shown in Equation (12).
L a r e a = i , j RIF i , j I i , j 2 · I [ RIF i . j > 0.5 ]
where RIF is the preprocessed sketch image with the closed-shape region flood-filled and normalized to [0, 1].
The weight coefficient for this loss term is a useful control parameter to adjust the saliency of the drawn closed shapes in the generated structure. When it is set as small, the generated structure may have small branches within the closed shape which are not visually obvious but significantly reduce the total compliance. Also, the preserved freedom of exploration within the closed shapes promotes solution diversity. When it is set as large, the closed-shape-based constraint approximates the hard boundaries of the design field, which is suitable when local structural details have been determined.
In application, designers can first conceptualize key stylistic structural features, sketch them, and make the algorithm explore diverse designs by setting a small weight coefficient for the closed-shape-based constraint. In subsequent interactive iterations between designers and the TO algorithm, structural parts are gradually designed and the constraint weight coefficient can be set to be larger for structural shapes in those parts to preserve them, until the structural design is complete.
The total loss function for updating the neural-encoded density function is given in Equation (13).
L = J J 0 + α e ρ e v e V * 1 2 + β · L e d g e + γ · L a r e a
where J 0 is the initial total compliance value for normalization, α is the weight coefficient for the volume constraint, and β and γ are weight coefficients for the stroke-based constraint and closed-shape-based constraint, respectively.

3.4. Parallel Computing for Multi-Solution TO Framework

In the proposed TO process, perturbing the load force magnitudes, the initial weights of the neural network, as well as the Fourier sampling frequencies are all useful ways to generate multiple diverse designs. To account for the low interpretability of the neural network, this study perturbs the Fourier sampling frequencies f and the load force magnitudes F across multiple TO processes. As will be proved by the experiments in Section 4, this can provide sufficient design diversity.
A larger parallel scale increases the likelihood of discovering more innovative and high-performance designs, but it also increases the computing cost and produces more redundant solutions that are identical or highly similar to each other. To balance this conflict and remove redundant solutions, an adaptive parallel scale is employed. Multiple synchronized parallel TO processes are run, and a similarity measure for each pair of solutions within the current solution is set after a fixed number of iterations are conducted. A randomly selected solution is removed from pairs with high similarity to reduce the parallel scale before continuing the optimization iterations.
Similarity indexes include differences in compliance values and the image-based Structural Similarity Index Measure (SSIM) and pixel-wise mean absolute error (MAE), as computed by Equations (14) and (15). The SSIM index is better at capturing the structural characteristics that align with human visual perception, while the MAE index better reflects the data-level difference.
S S I M x , y = 2 μ x μ y + C 1 · 2 σ x y + C 2 μ x 2 + μ y 2 + C 1 · σ x 2 + σ y 2 + C 2 .
M A E x , y = 1 N i = 1 N x i y i
where x and y represent the density distribution maps of two solutions, μ x and μ y are the average density values, σ x 2 and σ y 2 are density variances, σ x y is the covariance of density distribution maps, C 1 and C 2 are small constants to avoid division by zero, and N is the number of pixels.
In early iterations of the TO process, the number of gray cells with intermediate density values is large, which makes the structural boundaries blurry. As the iterations progress and the SIMP penalty factor increases, the densities tend to binarize and structural boundaries become more clear and stable. As design diversity is mostly cultivated in the early iterations, a parallel scale is adapted only after the early iterations.
A conflict between human preferences expressed through sketches and the compliance minimization objective is very likely to occur. Guided by sketch-based constraints, some generated structural features may be detrimental to compliance minimization, thus are unreasonable for multi-objective optimization. Recognizing such structural features, i.e., the region of conflict, is important to ensure the quality of solutions.
To achieve this, we propose a sensitivity-based method to automatically recognize the region of conflict in structures. Given the TO framework’s total loss minimization, the elements with positive sensitivity values for the sum of compliance loss and sketch-based penalty loss, denoted as L t , should have their density values decreased under the virtual condition where sketch-based constraints are not applied. Therefore, among the solid elements in the generated structures, the ones with positive sensitivity values can be recognized as the region of conflict. The computation is expressed in Equation (16). The sensitivity can be conveniently computed via gradient back-propagation of neural networks, and the autograd function of PyTorch 1.5 is implemented in the experiment. During iterations of adaptive-scale parallel solving, solutions with large conflict regions are also removed.
F = { ρ e | L t ρ e , ρ e > 0.8 }
Algorithm 1 is the pseudo-code of the multi-solution TO framework with adaptive parallel scale.
Algorithm 1: Pseudo-code of multi-solution TO framework with human controllability and adaptive parallel scale.
  • Input: V , RI, l m i n , M
  • Parameter: ρ w
  • Output: { T O i }
  • Initialize E 0 , K e 0 , t S S I M , t M A E , t c o m p , t v o l , N , N 0 , n , α , β , γ , p = 1
  • Compute RIF from RI
  • For each of M individual TO process do:
  •    Randomly initialize neural weights w
  •    Sample f according to Equation (1); F b , grid points p F E A for FEA, p O P for
    output
  •    Compute J 0
  • For each iter of N iteration do:
  •    For each of n parallel steps do:
  •       For each i of M individual TO process do:
  •          NN forward for p w ( FT f ( p O P ) ) , generate current design T O i
  •          NN forward for p w ( FT f ( p F E A ) ) , compute J i , L i , V i = p e v e
  •          NN backward, update w
  •       Update p = min ( p max , p + p Inc ) ; α = min ( α max , α + α Inc )
  •           β = min ( β max , β + β Inc ) ; γ = min ( γ max , γ + γ Inc )
  •    If iter > N 0 then:
  •       For each pair ( T O i , T O j ) i j do:
  •          Compute S S I M ( i , j ) , M A E ( i , j )
  •          If S S I M ( i , j ) > t S S I M and M A E ( i , j ) < t M A E and | J i J j | < t comp and | V i V j | < t vol then:
  •             delete T O j
  • For each T O i do:
  •    If T O i has large region of conflict then:
  •       delete T O i
  • Return TO solutions { T O i }

4. Experiments

4.1. Experiment Settings

This paper uses the innovative design of automotive wheels as a case study to validate the proposed multi-solution TO framework. The focus of the design is the disk-view 2D structural pattern of the spokes, which can be solved as a 2D structural TO problem. Typical design requirements for wheel hubs include being lightweight and having a high stiffness, using the structural yield (compliance) under specific static loading conditions as the stiffness metric. Accordingly, the TO problem is to minimize compliance under the total material volume constraint. Since the design of automotive wheels also requires aesthetic considerations, a balance between structural performance and aesthetics is desired, making this case highly suitable for validating the TO framework, aiming at enhancing solution diversity and human controllability.
Specific definitions of the design field and boundary conditions are shown in Figure 2. Structural compliance under both normal force and shear force is used as the stiffness metric. The normal force simulates the weight of the vehicle and wheel hub itself. It distributes on the outer rim within a 30° central angle range. The shear force simulates the ground friction force on the wheel, acting at the midpoint of the normal force distribution. Within a square domain, density values are set as 1 (solid) for the wheel rim and axle regions, variable (actual design field) for the spoke region, and 0 (void) for the other region. A fixation constraint is applied at the center of the axle.
The rotational symmetry of the wheel spoke is handled explicitly: the annulus design field is evenly split into several fan units, with one (e.g., the topmost) designated as the reference unit. After sampling grid points for density computation, the points outside the reference unit are mapped to their central symmetric counterparts inside the reference unit, based on angular intervals defined by the fan angle. The counterparts are then taken as the actual input to the density function.
The content of this section illustrates the following: (1) an experiment for generating innovative structural designs by the TO framework; (2) an experiment for human controllability; (3) an analysis of the impacts of human control on both the design quality and diversity; (4) a comparative analysis with existing methods; and (5) an analysis of adaptive-scale parallel computing. The first experiment is used to verify the ability of the proposed method to enhance structural design exploration, and a qualitative evaluation of the generated results is conducted. The second experiment is used to verify that our method enables designers to control structural features precisely and flexibly. The third experiment is conducted to quantitatively analyze the impacts of human control parameters on design quality and diversity, in order to provide insights for designers to better fine-tune them. The fourth experiment is to verify the superiority of the proposed method over existing ones. The fifth experiment is to verify the usefulness of an adaptive scale in improving computing efficiency. Figure 3 gives a summary of the experiment design.

4.2. Experiment for Generating Innovative Structural Designs

The TO framework is tested using the hyper-parameters summarized in Table 1 to generate innovative structural designs of automobile wheels. α , β , and γ are initialized as 0. α I n c , β I n c , and γ I n c are the increment values in each TO iteration. n F E A is the grid sampling resolution for FEA computation. An adaptive parallel scale is not implemented by setting N 0 equal to N. Sketch images are preprocessed by applying a morphological dilation operator of kernel size (2,2). Figure 4 illustrates the loss curves and intermediate solutions during the iterative TO process. The two sketch-based constraint penalty losses take effect on the density distributions from the beginning of the iterations. As it iterates, the volume constraint has a stronger effect, with a decreased penalty loss value, the compliance gradually converges, while the sketch-based constraint penalty losses exhibit some degree of fluctuation. To ensure the comparability of results across multiple TO processes, a fixed number of iterations is set in the experiments. The convergence of each solving process is verified according to the relative changes in the loss terms for compliance and volume constraint. Over the last 30 iterations, if the relative changes in both losses remain below a threshold, the conversion of the process is validated.
Figure 5 and Figure 6 show the generated innovative structural designs constrained by two examples of free-hand sketches. Using a parallel scale of M = 20 without an adaptive scale, a total of 20 designs are generated for each sketch image; from them, 8 randomly selected designs are displayed.
The sketch in Figure 5 contains sharp, angular strokes, reflecting a bold and austere style, while the sketch in Figure 6 displays droplet-shaped forms, reflecting a soft and graceful style. Qualitatively, it is evident that the generated solutions embody the visual styling features of those sketches. Also, they exhibit large differences from each other in terms of structural topology and geometric features, verifying the effectiveness of the proposed TO framework in generating innovative structural designs that conform to free-hand sketches and are diverse.
In most of the generated structures, a cavity that closely matches the closed-shape contour is generated, though subtle differences between them appear in some solutions. This is due to the closed-shape-based constraint being assigned with a large weight coefficient ( γ I n c = 0.1 β I n c ). In a special case of solution 4 in Figure 6, the contour is matched by a solid structure rather than a cavity. This is caused by the undirected boundary constraint suppressing the closed-shape-based constraint. These experimental results show that the former constraint is beneficial for promoting solution diversity while achieving an effective sketch-based constraint. Also, the competition between two different constraint terms further facilitates the diverse design exploration.
Figure 7 presents more examples of generated solutions. Among them, two sketch images that only contain stroke elements also achieve effective human control. In solution 2 of Figure 7, the drawn strokes are implicitly reflected by several contour segments of different structural branches, demonstrating the flexibility of the undirected boundary constraints. Such flexibility benefits the generation of solutions with appealing visual effects. The compliance values vary by a large amount across the solution sets generated by different sketches, which indicates that the rationality of sketches has a decisive impact on the generated designs’ quality. The volume ratios have very small variance, which is due to the increment in the volume constraint weight being much greater than that of the sketch-based constraints.
When random perturbation is applied to more hyper-parameters of the TO algorithm, more diverse and innovative structural designs can be generated. Here, experiments generating more broadly diversified innovative structural designs of wheel hubs are conducted. The desired volume, load force magnitude, and Fourier sampling frequencies are all randomly perturbed. Meanwhile, the generated TO design images are further converted into 3D models to facilitate intuitive evaluation by designers and subsequent detailed simulation analysis. The 2D-to-3D conversion steps are illustrated in Figure 8.
The input image is first preprocessed by pixel inversion, hub region filling, denoising with Gaussian smoothing, and binarization based on Otsu’s method. Then, the contours within the design field are extracted and closed. After that, NURBS fitting is carried out on contour segments, which are split according to curvature. Finally, the NURBS curves are exported in the DXF format, and 3D models are obtained through extrusion and solid cutting operations.
Figure 9 showcases the innovative structural designs generated under the control of six different sketch examples, as well as the corresponding 3D design models. The obtained diverse innovative designs not only satisfy the sketch constraints but also have good performances in terms of the basic compliance metric. Their variance in shape is very useful to stimulate the creative thinking of designers. In practice, designers can first evaluate the generated solutions qualitatively in terms of aesthetic appeal, innovativeness, etc., then choose the ones with low compliance and human preference to further carry out a multi-criteria mechanical simulation analysis.

4.3. Experiment of Human Controllability

Figure 10 presents the experimental results of human controllability over the generated structural features by integrating the minimum allowed structural feature size l m i n and the relative weight coefficient of the closed-shape-based constraint over the stroke-based constraint λ ( γ I n c = γ · β I n c ). It is intuitive for designers to take control by simply fine-tuning these two hyper-parameters, as their control effects are precisely targeting at specific structural features and are independent from each other.
When the control parameter λ is set to be small, the drawn closed-shape region contains many branching structures. In this case, if the value of l m i n is also small, the generated structure is highly complex, with low manufacturability, the drawn shape is not visually prominent, though the compliance is small; if l m i n is larger, the structural complexity becomes lower, the hand-drawn shape is more prominent, but compliance increases significantly. When λ is set to be larger, there are fewer branching structures within the drawn shape region, leading to a result similar to a hard constraint on the design field boundary. The shape becomes more prominent, especially when the shape has a large area, which significantly affects the aesthetic styling. l m i n has a bigger impact on compliance than λ . These experimental results verify that the two control parameters have different effects on the structural compliance, and mechanical and aesthetic performance, enabling human designers to achieve a better balance between multiple factors in a flexible control manner.
The flexibility of human controllability is valuable for practical application, as solving conflicts between different design factors is the main challenge in conceptual structural design. Mechanical and aesthetic performances are conflicting in most cases. Meanwhile, increased structural complexity lowers the manufacturability, as overly narrow structural branches may be unfeasible to produce. Structural complexity also impacts aesthetic appeal, with simpler and regular forms generally considered more aligned with modern aesthetic standards.

4.4. Impacts of Human Control on Design Quality and Diversity

The qualitative analysis of the experimental results as above has verified the effectiveness of the proposed TO framework to generate conceptual structural designs while providing flexible human controllability. The results also indicate that human control may conflict with the compliance minimization objective of the TO algorithm, leading to an increase in the compliance minimization. In the following, an ablation study is presented that quantitatively analyzes the impact of the three human control approaches on both the solution quality and diversity.
The design quality metrics include the total structural compliance and volume. Although multiple aspects in mechanics, fatigue life, heat transfer, manufacturability, etc., are necessary to verify the engineering applicability of design, it is too costly and time-consuming to carry out a detailed analysis for all design in the conceptual stage. Thus, using compliance and volume criteria can effectively find the initial designs that meet the basic requirements.
Diversity metrics include the image-based average SSIM index and MAE index between pairs of solutions, denoted as S S I M ¯ and M A E ¯ , respectively, and the coefficients of variance for the compliance and volume ratio, denoted as C V c o m p and C V v o l . Their computation formulas are given in Equations (16)–(18).
S S I M ¯ = i j S S I M ( i , j ) M
M A E ¯ = i j M A E ( i , j ) M
C V = σ ( ) μ ( ) × 100 %
where σ ( ) is the standard deviation of the metrics’ values, and μ ( ) is the mean of the metrics’ values.
In the ablation experiment of the stroke-based constraint, parameter β I n c is selected from [0, 5 × 10 5 , 2 × 10 4 , 5 × 10 4 , 8 × 10 4 ]; a closed-shape-based constraint is not applied ( λ = 0). In the ablation experiment of the closed-shape-based constraint, as contour lines are essential to make the drawn shape visually prominent, β I n c is set to 5 × 10 4 , and λ is selected from [8 × 10 5 , 4 × 10 4 , 2 × 10 3 , 1 × 10 2 , 5 × 10 2 ]. In the ablation experiment of the minimal allowed feature size, l m i n is selected from [3, 6, 9, 12], β I n c is set to 5 × 10 4 , and λ is set 0.05. The other hyper-parameters are the same as in Table 1. The sketch images of Figure 5 and Figure 6 are utilized as case 1 and case 2.
The experimental results of the ablation study are shown in Figure 11, Figure 12, Figure 13 and Figure 14. Quantitative results of several TO algorithm runs are given in Table 2. An increase in β I n c leads to obviously larger compliance. The average compliance value is 2.62 when this constraint is not applied, but increases to 3.15 and 2.87 for case 1 and case 2, respectively, given β I n c = 5 × 10 4 . Importantly, an increase in β I n c does not reduce the solution diversity but slightly improves it. A possible reason is that this constraint makes it easier to escape local optima through interfering with the compliance minimization objective while avoiding limiting the material distribution in the regions surrounding the strokes, thereby exploring the design space more divergently. Therefore, the undirected structural boundary constraint is very beneficial to preserve freedom of design exploration under sketch-based human control.
In contrast, the experimental results reveal that the closed-shape-based constraint reduces the solution diversity but has no obvious impact on the compliance or volume ratio. From an analysis of the results in Figure 10, the main reason for the reduction in the solution diversity is that a large λ makes the drawn shape region approximate a non-design field. Stable compliance and volume ratio values indicate that the “remaining” design field is still sufficient for exploration. It is verified that by decomposing sketches into strokes and closed-shape-based elements with distinct control features, the solution quality and diversity can also be better balanced.
The experimental results also reveal that an increase in the minimal allowed feature size leads to larger compliance and reduced diversity, which aligns with the conclusions drawn from the qualitative analysis. Based on the control features of the three control parameters, a proper approach is to first focus on drawing strokes and simply rely on a stroke-based constraint to promote diverse exploration; subsequently, add closed shapes and increase this constraint weight incrementally to optimize compliance while restricting the material volume. The minimal allowed feature size should be preferably set to a large value according to multifactor requirements in practice.

4.5. Comparative Analysis with Existing Methods

The proposed TO framework is compared with the sketch-guided TO algorithm (baseline 1) by Oh et al. [26] and the interactive TO algorithm (baseline 2) by Li et al. [12]. Baseline 1 directly utilizes the entire reference sketch image and a similarity constraint between the TO solution and the sketch. In order to avoid using existing design datasets, to ensure comparability between methods, load condition parameter perturbation is adopted for baseline 1, replacing its data-driven approach of enhancing diversity. Baseline 2 combines the free-hand sketch and human scoring to achieve controllability, and achieves solution diversity by perturbing the sensitivity numbers of the soft-skilled BESO algorithm according to human input. To avoid the uncertainty of human input, the random perturbation of density values is employed as an approximate strategy, with three different perturbation magnitudes for analysis. The proposed TO framework without load condition parameter perturbation is also compared.
While traditional TO algorithms, such as SIMP or BESO, are unable to offer design diversity, existing multi-solution TO algorithms achieve this with three typical methods: simply perturbing the design parameters like load force magnitudes, data-driven feature learning, and adjusting the optimizable variables based on interactive human input. Data-driven methods offer strong design diversity, but both the diversity and quality of the solutions depend on the size and quality of the training dataset. As such, quantitative comparison between these two types of methods is unfeasible. Due to the uncertain effect of the subjectivity of human input, quantitative comparison between these types of methods and parameter perturbation-based ones is also unfeasible. Therefore, this paper only conducts quantitative comparative experiments using the two latest parameter perturbation-based methods, with the same optimizable parameters.
For each compared method, sketch example case 1 is used as the human input, and the perturbation range of the load force parameter F x is set as [0.3, 1.5]. The evaluation criteria for the methods are the same as above, with the average of 20 repeated runs for each method being the evaluation metric.
Table 3 presents the results of the comparative experiment. In terms of solution quality, the proposed TO framework, along with baseline 1, outperforms baseline 2 by a large margin, verifying that perturbations in the load condition or Fourier sampling frequencies have a very similar impact on the solution quality, but perturbing the density values significantly reduces the quality. The proposed method achieves the best performances, as indicated by the metrics in bold. In terms of diversity, the proposed framework outperforms baseline 1, as well as outperforming baseline 2 when it has a small perturbation amplitude (<0.4). It only slightly lags behind baseline 2 when the perturbation amplitude is large (=0.4) in terms of morphological diversity. For baseline 2, as the amplitude increases, the compliance and volume increase significantly, even violating the volume constraint, as indicated by the μ comp metric shown in bold. While baseline 2 can generate the most diverse solutions ( S S I M ¯ = 0.7358 , M A E ¯ = 0.0663 ), it excessively sacrifices solution quality and struggles to reasonably balance the conflict between solution quality and diversity by only adjusting the perturbation amplitude. The above comparative analysis verifies the contribution of the proposed framework in achieving both high design quality and diversity.

4.6. Analysis of Adaptive-Scale Parallel Computing

To test the effectiveness of the adaptive parallel scale strategy for the multi-solution TO framework, comparative experiments are conducted with and without this strategy. Hyper-parameters N 0 = 10 and N = 30 when they are implemented, and N 0 = N = 30 when they are not implemented, with solution set filtering only after the iteration ends. The initial parallel scale M is set to 50 with the adaptive parallel scale, and selected from [50, 40, 30] without it. The sketch example of case 2 is utilized as the human input for all cases. The threshold values for the similarity metrics are fixed during the iterations, which ensures that solution pairs are retained as long as their difference is large according to the absolute criteria. Those values are first empirically set to ensure that about 50% of the solutions from the initial solution set are retained, then adjusted to make each similarity metric effective for detecting similar pairs. We set t S S I M = 0.9, t M A E = 0.02, t c o m p = 0.1, and t v o l = 0.01.
A comparison of the experimental results is shown in Table 4. The number of retained solutions after filtering with the adaptive parallel scale is 16, the same as the number of obtained solutions without this strategy and a smaller initial parallel scale ( M = 30 ). We highlight the results obtained using the two experimental settings in bold in Table 4, as their comparison validates the superiority of adaptive-scale parallel computing. However, this strategy leads to a shorter computing time and improved solution diversity, due to divergent exploration primarily occurring in the early optimization iterations, making a larger initial parallel scale more beneficial.
As described in Section 3, due to the conflict between sketch-based constraints and the compliance minimization objective, the generated structures may include some unreasonable features. Figure 15 showcases two examples that include unreasonable features generated under the guidance of the sixth sketch example. In Figure 15a, a very thin protruding branch is generated guided by the stroke-based constraint, but it is not connected to the other side of the structure. From the von Mises stress map, which is useful to visualize the distribution of equivalent stress within the structural field and is computed by the finite element analysis steps as in the TO algorithm, it is clear that this branch is not contributing as a load path, which suggests that it is an unreasonable design. In Figure 15b, the protrusion part on the support structure also does not contribute as load-bearing and exists solely to conform to the drawn shape of the sketch.
Figure 16 shows examples of recognized regions of conflict using the sensitivity-based method. The regions of conflict are marked in red. The thin protruding branch in the second solution is recognized as unreasonable. It is clear that this feature would be the first to be removed if only compliance minimization and the volume constraint were applied. This solution is removed from the solution set, while the first solution with a smaller region of conflict is retained.

5. Conclusions

This paper proposes a novel sketch-constrained multi-solution topology optimization algorithm, designed for human–machine collaborative structural conceptual design exploration scenarios. It allows designers to express preliminary structural design features through hand-drawn sketches, which form constraints for the topology optimization algorithm. The algorithm divides the sketch content into open-line elements and closed-shape elements, and introduces line-based undirected structural boundary constraints and closed-shape-based regional material distribution constraints. The former imposes no material distribution restrictions on the areas on either side of the lines, enabling the exploration of many novel forms that integrate the sketch’s line elements into the topology, creating unique visual effects. Additionally, compared to unconstrained topology optimization, it does not reduce the morphological diversity of the design solutions. The latter drives uniform material distribution within the shape regions, which, while somewhat reducing the design exploration space and diversity, enhances the visual prominence of the sketch’s shape elements. Importantly, when line constraints are already in place, this approach does not reduce structural performance, allowing designers to gradually refine local structural designs while exploring other parts of the structure in a high-quality, divergent manner. Furthermore, the mutual suppression between the two sketch constraints can further enhance design diversity.
In contrast, existing sketch constraint methods only directly use the overall sketch similarity constraint to control the topology optimization results. The experiments show that the proposed method provides designers with a finer and more flexible approach to controlling algorithm results through hand-drawn sketches, allowing for better balancing of structural performance, lightweight, visual effects, design exploration diversity, and novelty. Additionally, the design diversity offered by the proposed method is significantly stronger.
This algorithm also integrates Fourier mapping-based feature size control, allowing designers to combine it with sketch constraints for flexible control over both the local features and overall complexity of the generated structure. By introducing randomness through perturbations in the Fourier sampling frequency and adopting a parallel optimization strategy based on adaptive scale adjustment, the algorithm generates diversified and innovative design solutions. The experiments show that the proposed Fourier sampling frequency perturbation method outperforms existing boundary condition parameter perturbation and design domain density perturbation methods both in terms of design solution quality and diversity. Based on the proposed parallel optimization strategy, the multi-solution topology optimization algorithm in this paper offers comprehensive advantages in manual controllability, design solution quality, diversity, and computational efficiency, providing an effective solution for current topology optimization algorithms that are unsuitable for structural innovation design exploration.
The research and experimental process also identified several issues that need further resolution. First, the conflict between the sketch constraints reflecting human preferences and the algorithm’s structural performance optimization objective has not been fully mitigated. Although the proposed algorithm uses sensitivity-based method to detect and remove unreasonable designs from the solution set, it is better to automatically generate solutions in which the material in each part of the structure not only satisfies the sketch constraints but also contributes to mechanical performance. Also, finite element calculations are the most time-consuming step in topology optimization algorithms, and exploring ways to avoid or accelerate the finite element computation process is also a valuable area for future research. Further, how to help designers quickly learn the basics of the control characteristics of hyper-parameters should be studied when the design structure becomes more complex and more hyper-parameters are included according to constraints like manufacturability. To improve the applicability of the proposed method in engineering design practice, future study will focus on involving the manufacturing constraints and consider the complex effects of material performance variance in different working conditions.

Author Contributions

Conceptualization, S.Z., J.H. and J.Q.; methodology, investigation, data, and writing, S.Z.; supervision, project administration, J.H. and J.Q.; funding acquisition, L.W., J.G., J.M. and G.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research is supported by National Natural Science Foundation of China (52475270, 52035007, U23B20102), and Xie Youbai Design Scientific Research Foundation (XYB-DS-202401).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Code, data and the user interface for creating sketch image is publicly available at https://github.com/Sheeryer/SketchTO.git (accessed on 28 February 2025).

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Amir, O.; Sigmund, O. Reinforcement layout design for concrete structures based on continuum damage and truss topology optimization. Struct. Multidiscip. Optim. 2013, 47, 157–174. [Google Scholar] [CrossRef]
  2. Sigmund, O.; Maute, K. Topology optimization approaches: A comparative review. Struct. Multidiscip. Optim. 2013, 48, 1031–1055. [Google Scholar] [CrossRef]
  3. Oh, S.; Jung, Y.; Lee, I.; Kang, N. Design automation by integrating generative adversarial networks and topology optimization. In Proceedings of the ASME International Design Engineering Technical Conferences and Computers and Information in Engineering Conference, Quebec City, QC, Canada, 26–29 August 2018; Volume 2A, p. V02AT03A008. [Google Scholar]
  4. Wu, J.; Clausen, A.; Sigmund, O. Minimum compliance topology optimization of shell-infill composites for additive manufacturing. Comput. Methods Appl. Mech. Eng. 2017, 326, 358–375. [Google Scholar] [CrossRef]
  5. Zhu, J.-H.; Zhang, W.-H.; Xia, L. Topology Optimization in Aircraft and Aerospace Structures Design. Arch. Comput. Methods Eng. 2016, 23, 595–622. [Google Scholar] [CrossRef]
  6. Alexandersen, J.; Sigmund, O.; Aage, N. Large scale three-dimensional topology optimisation of heat sinks cooled by natural convection. Int. J. Heat Mass Transf. 2016, 100, 876–891. [Google Scholar] [CrossRef]
  7. Dilgen, S.B.; Dilgen, C.B.; Fuhrman, D.R.; Sigmund, O.; Lazarov, B.S. Density based topology optimization of turbulent flow heat transfer systems. Struct. Multidiscip. Optim. 2018, 57, 1905–1918. [Google Scholar] [CrossRef]
  8. Dilgen, C.B.; Dilgen, S.B.; Fuhrman, D.R.; Sigmund, O.; Lazarov, B.S. Topology optimization of turbulent flows. Comput. Methods Appl. Mech. Eng. 2018, 331, 363–393. [Google Scholar] [CrossRef]
  9. Albrechtsen, M.; Lahijani, B.V.; Christiansen, R.E.; Nguyen, V.T.H.; Casses, L.N.; Hansen, S.E.; Stenger, N.; Sigmund, O.; Jansen, H.; Mørk, J.; et al. Nanometer-scale photon confinement in topology-optimized dielectric cavities. Nat. Commun. 2022, 13, 6281. [Google Scholar] [CrossRef]
  10. Christiansen, R.E.; Sigmund, O. Inverse design in photonics by topology optimization: Tutorial. J. Opt. Soc. Am. B-Opt. Phys. 2021, 38, 496–509. [Google Scholar] [CrossRef]
  11. Sotiropoulos, S.; Kazakis, G.; Lagaros, N.D. Conceptual design of structural systems based on topology optimization and prefabricated components. Comput. Struct. 2020, 226, 106136. [Google Scholar] [CrossRef]
  12. Li, Z.; Lee, T.-U.; Xie, Y.M. Interactive Structural Topology Optimization with Subjective Scoring and Drawing Systems. Comput.-Aided Des. 2023, 160, 103532. [Google Scholar] [CrossRef]
  13. Jang, S.; Yoo, S.; Kang, N. Generative Design by Reinforcement Learning: Enhancing the Diversity of Topology Optimization Designs. Comput.-Aided Des. 2022, 146, 103225. [Google Scholar] [CrossRef]
  14. Chandrasekhar, A.; Suresh, K. Approximate Length Scale Filter in Topology Optimization using Fourier Enhanced Neural Networks. Comput.-Aided Des. 2022, 150, 103277. [Google Scholar] [CrossRef]
  15. Ha, D.Q.; Carstensen, J.V. Human-Informed Topology Optimization: Interactive application of feature size controls. Struct. Multidiscip. Optim. 2023, 66, 59. [Google Scholar] [CrossRef]
  16. Schiffer, G.; Ha, D.Q.; Carstensen, J.V. HiTop 2.0: Combining topology optimisation with multiple feature size controls and human preferences. Virtual Phys. Prototyp. 2023, 18, e2268603. [Google Scholar] [CrossRef]
  17. Zhou, M.; Lazarov, B.S.; Wang, F.; Sigmund, O. Minimum length scale in topology optimization by geometric constraints. Comput. Methods Appl. Mech. Eng. 2015, 293, 266–282. [Google Scholar] [CrossRef]
  18. Pellens, J.; Lombaert, G.; Lazarov, B.; Schevenels, M. Combined length scale and overhang angle control in minimum compliance topology optimization for additive manufacturing. Struct. Multidiscip. Optim. 2019, 59, 2005–2022. [Google Scholar] [CrossRef]
  19. Zhang, Z.; Jiang, L.; Yarlagadda, T.; Zheng, Y.; Usmani, A. A novel multi-pattern control for topology optimization to balance form and performance needs. Eng. Struct. 2024, 303, 117581. [Google Scholar] [CrossRef]
  20. Meng, X.; Zhang, L.-Y.; Zhao, Z.-L.; Xie, Y.M. A direct approach to achieving efficient free-form shells with embedded geometrical patterns. Thin-Walled Struct. 2023, 185, 110559. [Google Scholar] [CrossRef]
  21. Li, Y.; Zhang, Z.; Luo, J.; Peng, W.; Zhou, W.; Yao, W. Concurrent topology optimization of shells with pattern-guided infills for intuitive design and additive manufacturing. Comput. Methods Appl. Mech. Eng. 2024, 418, 116485. [Google Scholar] [CrossRef]
  22. Zhang, J.; Zhang, H.; Chen, J.; Liu, T.; Peng, J.; Zhang, D.; Yin, S. Topology optimization of periodic mechanical structures with orthotropic materials based on the element-free Galerkin method. Eng. Anal. Bound. Elem. 2022, 143, 383–396. [Google Scholar] [CrossRef]
  23. Zhang, W.; Wang, Y.; Du, Z.; Liu, C.; Youn, S.-K.; Guo, X. Machine-learning assisted topology optimization for architectural design with artistic flavor. Comput. Methods Appl. Mech. Eng. 2023, 413, 116041. [Google Scholar] [CrossRef]
  24. Vulimiri, P.S.; Deng, H.; Dugast, F.; Zhang, X.; To, A.C. Integrating Geometric Data into Topology Optimization via Neural Style Transfer. Materials 2021, 14, 4551. [Google Scholar] [CrossRef] [PubMed]
  25. Zhang, W.; Wang, Y.; Youn, S.-K.; Guo, X. Machine learning powered sketch aided design via topology optimization. Comput. Methods Appl. Mech. Eng. 2024, 419, 116651. [Google Scholar] [CrossRef]
  26. Oh, S.; Jung, Y.; Kim, S.; Lee, I.; Kang, N. Deep Generative Design: Integration of Topology Optimization and Generative Models. J. Mech. Des. 2019, 141, 111405. [Google Scholar] [CrossRef]
  27. Yoo, S.; Lee, S.; Kim, S.; Hwang, K.H.; Park, J.H.; Kang, N. Integrating deep learning into CAD/CAE system: Generative design and evaluation of 3D conceptual wheel. Struct. Multidiscip. Optim. 2021, 64, 2725–2747. [Google Scholar] [CrossRef]
  28. Xia, Z.; Wang, J.; Li, Y.; Zhang, L.; Liu, C. Intelligent design of key joints in aerial building machine using topology optimization and generative adversarial network. Autom. Constr. 2024, 168, 105747. [Google Scholar] [CrossRef]
  29. Wang, M.Y.; Wang, X.M.; Guo, D.M. A level set method for structural topology optimization. Comput. Methods Appl. Mech. Eng. 2003, 192, 227–246. [Google Scholar] [CrossRef]
  30. Bendsoe, M.P.; Sigmund, O. Material interpolation schemes in topology optimization. Arch. Appl. Mech. 1999, 69, 635–654. [Google Scholar] [CrossRef]
  31. Bruns, T.E.; Tortorelli, D.A. Topology optimization of non-linear elastic structures and compliant mechanisms. Comput. Methods Appl. Mech. Eng. 2001, 190, 3443–3459. [Google Scholar] [CrossRef]
  32. Zegard, T.; Paulino, G.H. Bridging topology optimization and additive manufacturing. Struct. Multidiscip. Optim. 2016, 53, 175–192. [Google Scholar] [CrossRef]
  33. Vantyghem, G.; De Corte, W.; Shakour, E.; Amir, O. 3D printing of a post-tensioned concrete girder designed by topology optimization. Autom. Constr. 2020, 112, 103084. [Google Scholar] [CrossRef]
  34. Li, Q.; Liang, G.; Luo, Y.; Zhang, F.; Liu, S. An explicit formulation for minimum length scale control in density-based topology optimization. Comput. Methods Appl. Mech. Eng. 2023, 404, 115761. [Google Scholar] [CrossRef]
  35. He, Y.; Zhao, Z.-L.; Lin, X.; Xie, Y.M. A hole-filling based approach to controlling structural complexity in topology optimization. Comput. Methods Appl. Mech. Eng. 2023, 416, 116391. [Google Scholar] [CrossRef]
  36. Lazarov, B.S.; Wang, F.; Sigmund, O. Length scale and manufacturability in density-based topology optimization. Arch. Appl. Mech. 2016, 86, 189–218. [Google Scholar] [CrossRef]
  37. Zhong, S.; Punpongsanon, P.; Iwai, D.; Sato, K. Topology optimization with text-guided stylization. Struct. Multidiscip. Optim. 2023, 66, 256. [Google Scholar] [CrossRef]
  38. Radford, A.; Kim, J.W.; Hallacy, C.; Ramesh, A.; Goh, G.; Agarwal, S.; Sastry, G.; Askell, A.; Mishkin, P.; Clark, J. Learning transferable visual models from natural language supervision. In Proceedings of the 38th International Conference on Machine Learning, Virtual, 18–24 July 2021; pp. 8748–8763. [Google Scholar]
  39. Pouyanfar, S.; Sadiq, S.; Yan, Y.; Tian, H.; Tao, Y.; Reyes, M.P.; Shyu, M.-L.; Chen, S.-C.; Iyengar, S.S. A Survey on Deep Learning: Algorithms, Techniques, and Applications. ACM Comput. Surv. 2019, 51, 92. [Google Scholar] [CrossRef]
  40. Nie, Z.; Lin, T.; Jiang, H.; Kara, L.B. TopologyGAN: Topology Optimization Using Generative Adversarial Networks Based on Physical Fields Over the Initial Domain. J. Mech. Des. 2021, 143, 031715. [Google Scholar] [CrossRef]
  41. Maze, F.; Ahmed, F. Diffusion Models Beat GANs on Topology Optimization. In Proceedings of the Thirty-Seventh AAAI Conference on Artificial Intelligence, Washington, DC, USA, 7–14 February 2023; Volume 37, pp. 9108–9116. [Google Scholar]
  42. Yu, Y.; Hur, T.; Jung, J.; Jang, I.G. Deep learning for determining a near-optimal topological design without any iteration. Struct. Multidiscip. Optim. 2019, 59, 787–799. [Google Scholar] [CrossRef]
  43. Zheng, S.; He, Z.; Liu, H. Generating three-dimensional structural topologies via a U-Net convolutional neural network. Thin-Walled Struct. 2021, 159, 107263. [Google Scholar] [CrossRef]
  44. Chandrasekhar, A.; Suresh, K. TOuNN: Topology Optimization using Neural Networks. Struct. Multidiscip. Optim. 2021, 63, 1135–1149. [Google Scholar] [CrossRef]
  45. Chen, H.; Joglekar, A.; Kara, L.B. Topology Optimization Using Neural Networks With Conditioning Field Initialization for Improved Efficiency. J. Mech. Des. 2024, 146, 061702. [Google Scholar] [CrossRef]
  46. Wang, Z.; Melkote, S.; Rosen, D.W. Generative Design by Embedding Topology Optimization into Conditional Generative Adversarial Network. J. Mech. Des. 2023, 145, 111702. [Google Scholar] [CrossRef]
  47. Li, K.; Ye, W.; Gao, Y. A 3D Structure Mapping-Based Efficient Topology Optimization Framework. J. Mech. Des. 2023, 145, 081703. [Google Scholar] [CrossRef]
  48. Qian, C.; Ye, W. Accelerating gradient-based topology optimization design with dual-model artificial neural networks. Struct. Multidiscip. Optim. 2021, 63, 1687–1707. [Google Scholar] [CrossRef]
  49. Yin, J.; Wen, Z.; Li, S.; Zhang, Y.; Wang, H. Dynamically configured physics-informed neural network in topology optimization applications. Comput. Methods Appl. Mech. Eng. 2024, 426, 117004. [Google Scholar] [CrossRef]
  50. Ho, J.; Jain, A.; Abbeel, P. Denoising diffusion probabilistic models. Adv. Neural Inf. Process. Syst. 2020, 33, 6840–6851. [Google Scholar]
  51. Nichol, A.; Dhariwal, P. Improved Denoising Diffusion Probabilistic Models. Int. Conf. Mach. Learn. 2021, 139, 116041. [Google Scholar]
  52. Ronneberger, O.; Fischer, P.; Brox, T. U-Net: Convolutional Networks for Biomedical Image Segmentation. Med. Image Comput. Comput.-Assist. Interv. 2015, 9351, 234–241. [Google Scholar]
Figure 1. Overview of proposed multi-solution TO framework with human controllability.
Figure 1. Overview of proposed multi-solution TO framework with human controllability.
Applsci 15 02753 g001
Figure 2. Definition of design field, boundary, and load conditions.
Figure 2. Definition of design field, boundary, and load conditions.
Applsci 15 02753 g002
Figure 3. Summary of experiment design.
Figure 3. Summary of experiment design.
Applsci 15 02753 g003
Figure 4. Loss curves and intermediate solutions during the iterative TO process.
Figure 4. Loss curves and intermediate solutions during the iterative TO process.
Applsci 15 02753 g004
Figure 5. Generated innovative structural designs constrained by sketch image 1.
Figure 5. Generated innovative structural designs constrained by sketch image 1.
Applsci 15 02753 g005
Figure 6. Generated innovative structural designs constrained by sketch image 2.
Figure 6. Generated innovative structural designs constrained by sketch image 2.
Applsci 15 02753 g006
Figure 7. Generated innovative structural designs constrained by sketch images 3–6.
Figure 7. Generated innovative structural designs constrained by sketch images 3–6.
Applsci 15 02753 g007
Figure 8. Illustration of 2D-to-3D conversion steps.
Figure 8. Illustration of 2D-to-3D conversion steps.
Applsci 15 02753 g008
Figure 9. Innovative design exploration results for automobile wheel spokes under sketch-based constraints. Randomly perturbed hyper-parameters include d v , l min , and f . (a) Guided by sketch 1. (b) Guided by sketch 2. (c) Guided by sketch 3. (d) Guided by sketch 4.
Figure 9. Innovative design exploration results for automobile wheel spokes under sketch-based constraints. Randomly perturbed hyper-parameters include d v , l min , and f . (a) Guided by sketch 1. (b) Guided by sketch 2. (c) Guided by sketch 3. (d) Guided by sketch 4.
Applsci 15 02753 g009
Figure 10. Experimental results of human controllability by integrating l m i n and λ .
Figure 10. Experimental results of human controllability by integrating l m i n and λ .
Applsci 15 02753 g010
Figure 11. Ablation study of β I n c (a), λ (b), and l m i n (c) in terms of compliance.
Figure 11. Ablation study of β I n c (a), λ (b), and l m i n (c) in terms of compliance.
Applsci 15 02753 g011
Figure 12. Ablation study of β I n c (a), λ (b), and l m i n (c) in terms of volume.
Figure 12. Ablation study of β I n c (a), λ (b), and l m i n (c) in terms of volume.
Applsci 15 02753 g012
Figure 13. Ablation study of β I n c (a), λ (b), and l m i n (c) in terms of S S I M ¯ .
Figure 13. Ablation study of β I n c (a), λ (b), and l m i n (c) in terms of S S I M ¯ .
Applsci 15 02753 g013
Figure 14. Ablation study of β I n c (a), λ (b), and l m i n (c) in terms of M A E ¯ .
Figure 14. Ablation study of β I n c (a), λ (b), and l m i n (c) in terms of M A E ¯ .
Applsci 15 02753 g014
Figure 15. Unreasonable generated structures due to conflicts between sketch-based constraints, volume constraint, and compliance.
Figure 15. Unreasonable generated structures due to conflicts between sketch-based constraints, volume constraint, and compliance.
Applsci 15 02753 g015
Figure 16. Examples of recognized regions of conflict.
Figure 16. Examples of recognized regions of conflict.
Applsci 15 02753 g016
Table 1. Hyper-parameters of multi-solution TO framework.
Table 1. Hyper-parameters of multi-solution TO framework.
ParameterValueParameterValueParameterValue
Desired volume0.35 N 0 30 α max 100
NN layers1 × (100,)n5 β max 1
n E E A 180M20 γ max 0.1
l min 9 α I n c 0.3 p max 6
l max 80 β I n c 5 ×  10 4 E1
n f 1000 γ I n c 5 ×  10 5 Nu0.3
n f 30 p I n c 0.04
Table 2. Quantitative experimental results of ablation study.
Table 2. Quantitative experimental results of ablation study.
Case 1
Setting μ comp μ vol CV comp CV vol SSIM ¯ MAE ¯
β I n c = 02.58310.38920.02040.00740.64610.1385
β I n c = 5 × 10 4 3.16020.39700.06870.01110.60690.1634
β I n c = 5 × 10 4 , λ  = 0.053.12630.39480.05230.00730.75850.0841
β I n c = 5 × 10 4 , λ  = 0.05, l m i n = 123.41580.39520.07980.00680.71700.1058
Case 2
Setting μ comp μ vol CV comp CV vol SSIM ¯ MAE ¯
β I n c = 02.59790.38840.02300.00790.64570.1386
β I n c = 5 × 10 4 2.98960.39190.09390.00940.61990.1579
β I n c = 5 × 10 4 , λ  = 0.12.82070.38940.05580.00700.72350.1111
β I n c = 5 × 10 4 , λ  = 0.1, l m i n = 122.97870.39280.05650.01380.81380.0659
Table 3. Comparative experiment results for proposed TO framework and alternatives.
Table 3. Comparative experiment results for proposed TO framework and alternatives.
Setting μ comp μ vol CV comp CV vol SSIM ¯ MAE ¯
Density perturb (amp = 0)3.11640.39600.01510.00330.97310.0097
Density perturb (amp = 0.1)3.31170.40190.02040.00470.90840.0207
Density perturb (amp = 0.4)3.89910.43820.01920.00490.73580.0663
Load cond perturb3.03220.39550.02430.00670.87000.0399
Fourier freq perturb3.03220.39550.02980.00670.86410.0411
Proposed3.03220.39550.03170.00750.83390.0516
Table 4. Comparative experimental results for adaptive parallel scale method.
Table 4. Comparative experimental results for adaptive parallel scale method.
SettingTime (s)Num μ comp μ vol CV comp CV vol SSIM ¯ MAE ¯
N/Ad M = 503060.7502.71010.38870.02640.00580.84280.0488
filtered/232.73200.38950.03200.00630.81100.0601
N/A M = 402448.6402.71640.38880.02530.00600.84530.0477
filtered/192.73910.38970.03130.00650.81700.0578
N/Ad M = 301836.4302.71900.38880.02730.00580.84730.0472
filtered/162.74150.38940.03300.00650.82410.0555
Ad N = 501810.4162.72670.38910.02780.00540.80410.0617
filtered/16//////
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zhu, S.; Hu, J.; Qi, J.; Wang, L.; Guo, J.; Ma, J.; Zhu, G. Sketch-Guided Topology Optimization with Enhanced Diversity for Innovative Structural Design. Appl. Sci. 2025, 15, 2753. https://doi.org/10.3390/app15052753

AMA Style

Zhu S, Hu J, Qi J, Wang L, Guo J, Ma J, Zhu G. Sketch-Guided Topology Optimization with Enhanced Diversity for Innovative Structural Design. Applied Sciences. 2025; 15(5):2753. https://doi.org/10.3390/app15052753

Chicago/Turabian Style

Zhu, Siyu, Jie Hu, Jin Qi, Lingyu Wang, Jing Guo, Jin Ma, and Guoniu Zhu. 2025. "Sketch-Guided Topology Optimization with Enhanced Diversity for Innovative Structural Design" Applied Sciences 15, no. 5: 2753. https://doi.org/10.3390/app15052753

APA Style

Zhu, S., Hu, J., Qi, J., Wang, L., Guo, J., Ma, J., & Zhu, G. (2025). Sketch-Guided Topology Optimization with Enhanced Diversity for Innovative Structural Design. Applied Sciences, 15(5), 2753. https://doi.org/10.3390/app15052753

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop