Additive manufacturing (AM) has been extensively used in various industries to produce complex-shaped parts, enabling the application of advanced design methodologies for lightweight and mechanically optimized structures. Reinforcement learning (RL) has emerged as a powerful tool for optimizing complex structural designs in various mechanical systems. In this study, an RL-based strategy is proposed to optimize the design of three-dimensional lattice structures. RL is employed to optimize the shape variables of each unit cell in a lattice with the aim of maximizing the mechanical stiffness while retaining a lightweight design. The research object is a body-centered cubic (BCC) lattice with strut geometries adjusted through RL optimization to enhance structural performance. The RL environment, which incorporates the state, reward, and action, is integrated into a finite element method simulation, in which the actions derive a set of optimal design variables through the learning process. The feasibility and effectiveness of the RL-generated designs are validated by fabricating optimized structures using a vat photopolymerization AM process and experimentally testing them under three-point bending. The results demonstrate that the RL-optimized lattice structures exhibit superior performance compared to traditional BCC lattice designs. This study highlights the potential of RL for design optimization and its broad applicability in various engineering systems that require complex mechanical components.
Additive manufacturing (AM) is a process used to construct materials layer-by-layer using digital modeling data, thereby enabling the creation of complex structures that are often unattainable through conventional manufacturing methods [1]. This capability has made AM particularly valuable for producing lattice structures known for their unique functionalities, including high specific surface areas, lightweight designs, and superior energy absorption [2,3]. These advantages have driven the development of diverse design methodologies tailored to meet specific functional requirements [4].
The design optimization of lattice structures typically involves adjustments in design variables, such as the topology, volume fraction, and thickness of each unit cell [5]. However, the multitude and complexity of these variables pose significant challenges to traditional design methodologies, such as reliance on expert experience and trial-and-error experiments [6]. Recently, machine learning has demonstrated a remarkable performance in addressing the inherent challenges of engineering structural design using data-driven approaches [7], [8], [9]. Supervised learning algorithms, such as a deep neural network (DNN), convolutional neural network (CNN), and long short-term memory network (LSTM), have been extensively employed to predict the mechanical properties of engineering structures [10], [11], [12]. DNNs are particularly effective at handling numerical data, CNNs excel in processing image data, and LSTMs are well suited for modeling sequential data such as stress-strain data. These methodologies enable the indirect determination of optimal design configurations by establishing correlations between the structural design parameters and performance metrics. In addition to supervised learning, unsupervised learning algorithms, such as a generative adversarial network (GAN) and variational autoencoder (VAE), have emerged as powerful tools to generate optimal structural designs. Previous studies applied GAN and VAE models to predict stress-strain fields in structural designs and generated designs that incorporate mechanical properties and multi-physics considerations within topology optimization frameworks [13], [14], [15]. However, these algorithms rely heavily on predefined data sets for model training, emphasizing the necessity for human intervention in the selection of training data and appropriate design parameters to achieve the desired performance outcomes [16], [17], [18].
Reinforcement learning (RL), a subset of machine learning focused on sequential decision-making processes, operates without relying on labeled data. RL learns optimal behavior by interacting with a simulation-based environment through a trial-and-error method, mimicking the human learning approach [19]. This enables RL to optimize performance without prior domain knowledge and addresses a wide range of cases that are unattainable by conventional optimization algorithms. Several studies have applied RL-based topology optimization to determine material distribution in engineering systems, demonstrating its feasibility across various domains, including optical, electrical, and mechanical components [20], [21], [22], [23]. However, most RL applications in engineering structural design have been limited to constrained design spaces, such as primitive curves or grid shapes that constitute only filled or void areas. However, these simplified models lack the geometric specificity necessary to validate RL-based designs for practical engineering applications. Therefore, there is a need to develop methodologies that effectively extend RL to more realistic and complex designs, along with a comprehensive analysis of RL models and parameter configurations, to enhance learning efficiency and applicability.
In this study, a framework is presented for RL-based design optimization of lattice structures, which is validated through AM-based implementation and mechanical testing. Focusing on the practical application and validation of the RL-based design in real-world settings, a body-centered cubic (BCC) structure is employed to optimize the shape variables of each unit cell with the aim of maximizing the specific stiffness under three-point bending. The RL framework developed for designing the BCC lattices integrates the RL environment using a finite element method (FEM) simulation. The RL model is trained to control the position of the center node and the thickness of the struts in each unit cell of the lattice. The hyperparameters of the RL model are fine-tuned to ensure optimal performance. After training, the RL-generated designs are fabricated using a vat photopolymerization (VPP) process, and three-point bending tests are conducted on the as-manufactured lattices under conditions consistent with the FEM analysis. The results demonstrate that the RL-optimized lattice structures exhibit superior performance compared with conventional BCC lattice structures. This study demonstrates the effectiveness of RL technology as a virtual engineering approach for design optimization, paving the way for its broader application in the design and manufacture of complex mechanical systems with enhanced structural performance.
2. Materials and methods
2.1. Parametric design and FEM-based simulation for an RL environment
Lattice structures are known for their diverse range of characteristics, including high specific stiffness and lightweight design, which can be tuned by adjusting design variables, such as topology, volume fraction, and strut thickness [5]. However, the multitude of design variables makes the establishment of systematic design optimization challenging. To address this complexity, it is common to decompose the problem into manageable substructures and iteratively optimize each component rather than simultaneously managing the entire system [24,25]. In addition, RL is particularly advantageous in scenarios in which it is difficult to develop an exact mathematical formulation describing the environment, making simulation-based optimization an effective approach. From this perspective, lattice design optimization was formulated within the RL framework.
The lattice structures were designed using parametric scripted models and optimized within the RL framework. The parametric design process was conducted using ANSYS SpaceClaim software (2022 R2, Ansys, USA), which offers automated design generation tools based on IronPython scripts. The RL framework included four basic components: state, action, reward, and environment, in which actions generated a set of design variables according to their interactions with other components. The RL-generated design variables for each unit cell were used to create three-dimensional (3D) computer-aided design (CAD) models using the software. The actions in the RL model were defined using two types of variables: the coordinates of the center node and the strut thickness within each unit cell. For the center node coordinates, the action was constrained within a range of −5 and 5, corresponding to a unit cell length of 10 mm, with the center of the unit cell set at 0. The strut thickness was set to vary between 1.0 and 1.8 mm, with thickness variations occurring within the interior of the unit cell. The unit cells were designed with circular cross-sections for the inner struts and rectangular cross-sections for the outer struts. The 3D model of the lattice structure comprised a 4 × 12 array of unit cells, resulting in overall dimensions of 140 mm length and 42 mm height, with the upper and lower surface thicknesses set to 1 mm.
FEM simulations were conducted using ANSYS 2022 R2 software. A mesh convergence test was performed to determine the appropriate mesh size by evaluating the changes in mechanical responses. Based on this test, the mesh size was set to 0.45 mm because it exhibited nearly constant values with decreasing mesh size (Fig. S1 in Appendix A). A linear, elastic, and isotropic material model was employed for FEM simulations. The Young’s modulus and Poisson’s ratio were set to 2788 MPa and 0.3, respectively, as determined through tensile tests of dog-bone specimens referenced from ASTM D638 (ASTM International, USA) and the datasheet. The boundary conditions for the simulation were configured to replicate a three-point bending test in which a bending load was applied as a 1 mm displacement at the center of the top surface. The lines on the bottom surface were fixed 20 mm from the outer edges. The stiffness was measured from the force reaction at the center of the top surface, where a 1 mm displacement load was applied, and the strain energy was calculated by applying a force of 100 N to the center of the top surface.
2.2. Configuration of the RL model
RL addresses sequential decision-making problems within the framework of the Markov decision process (MDP). In this framework, the decision-maker, or agent, observes a state $ \left(s_{t}\right)$ from the environment and selects an action $ \left(a_{t}\right)$ according to a policy $ \pi\left(s_{t}\right)$, where the policy is a mapping function that defines the probability of taking an action given a state: $ \tilde{a_{t}} \pi\left(s_{t}\right)$. After executing the action, the environment transitions to the next state $ s_{t+1}$ and provides reward $ r_{t}$. The agent aims to learn a policy that maximizes the expected cumulative reward. The expected future rewards are represented using the state-value function V(st) and the action-value function $ Q\left(s_{t}, a_{t}\right)$, which estimate the expected return starting from state $ s_{t}$ and action $ a_{t}$ in state $ s_{t}$, respectively. These functions are expressed mathematically as follows:
Where $ \gamma, k, \mathbb{E}[\cdot] $ denote discount factor, look-ahead step, and expectation operator, respectively.
To estimate these functions, RL algorithms often use function approximators, such as neural networks, which enable the agent to determine the optimal actions corresponding to the states. RL algorithms can be broadly categorized into value-based methods (e.g., Q-learning), policy-gradient methods (e.g., REINFORCE), and actor-critic methods, which integrate value estimation and policy optimization to exploit their advantages. Among actor-critic algorithms, proximal policy optimization (PPO) is notable for addressing the computational complexities involved in solving objective functions more effectively than other algorithms. In this study, PPO was selected owing to its training stability, ease of implementation, and robustness to hyperparameter variations. Compared with other recent RL algorithms, such as deep deterministic policy gradient (DDPG) and soft actor-critic (SAC), PPO demonstrated more reliable convergence in high-dimensional design tasks [26]. PPO updates the policy by optimizing a surrogate objective function LCLIP(θ) with parameters θ determined from the policy gradient formula [27] as follows:
where $ \widehat{\mathbb{E}_{t}}[\cdot]$ denotes the empirical expectation over time steps, and $ r_{t}(\theta)$ is defined as the probability ratio between the current policy $ \pi_{\theta}\left(a_{t} \mid s_{t}\right)$ and the old policy $ \pi_{\theta \text {, old }}\left(a_{t} \mid s_{t}\right)$. Advantage $ \hat{A}_{t}$ is calculated as the difference between $ Q\left(s_{t}, a_{t}\right)$ and V(st). The clipping function clip $ \operatorname{clip}\left(r_{t}(\theta), 1-\epsilon, 1+\epsilon\right)$ restricts the range of rt(θ) within the interval $ [1-\epsilon, 1+\epsilon]$, where $ \epsilon$ is a hyperparameter that controls the clipping range. In the proposed model, the clipping parameter and discount factor were set to 0.2 and 0.99, respectively, based on previous studies [28], [29], [30]. Each policy and value network consisted of two hidden layers with 64 nodes. These networks were periodically updated based on a predefined number of steps (n). The RL model was tested by varying n in increments of 1, 5, 10, 20, and 40. PPO was implemented using stable-baselines3 (version 2.0.0), an open-source library for RL algorithms.
2.3. Mechanical test with AM specimens
The lattice structures were manufactured through a VPP-based 3D printer (Phenom Prime, Peopoly, USA) equipped with a 5 K (5120 × 2880 pixels) liquid crystal display panel, providing a resolution of 51 μm. A commercial resin (eResin-PLA Pro., eSun, China) was used, featuring a tensile strength of 37-48 MPa and a flexural strength of 36-49 MPa, as referenced from the datasheet provided by the manufacturer. The printing parameters were set as follows: layer height = 0.05 mm, exposure time = 4 s, rest time after retraction = 1 s, and bed platform movement speed = 50 mm·min−1. The 3D models of the lattice structures were sliced using CHITUBOX V1.9.4 (CHITUBOX, China) slicer software with specific printing parameters. The temperature of the resin in the vat was maintained at 25 °C using a temperature controller. Printing was conducted along the z-axis with a 5 mm support structure printed beneath the lattice structures. After printing, the parts were post-cured under 60 °C for 30 min.
The three-point bending test was conducted with a span length of 60 mm and a displacement rate of 6 mm⋅min−1, according to the ASTM C393 guidelines. The bending load was applied at the center of the top surface of the lattice specimen using a universal testing machine (MINOS-020, MTDI, Republic of Korea) equipped with a 2 tonne load cell. The three-point bending jig consisted of a cylindrical component in contact with the specimen at each loading point. Stiffness was calculated as the applied load at a displacement of 1 mm, representing the secant modulus. The ultimate load was defined as the maximum load attained during the test. The specific stiffness and strength were defined as the ratios of the Young’s modulus and strength per mass density, respectively [31]. The Young’s modulus and strength were calculated based on the three-point bending theory [32,33] as follows:
$ K_{\mathrm{s}}=\frac{E}{\rho}, E=\frac{l_{\mathrm{s}}}{4 w h^{3}} K$
where Ks,E, ρ, ls, w, h, and K are the specific stiffness, Young’s modulus, density, span length, width, height, and stiffness, respectively.
$ \sigma_{\mathrm{s}}=\frac{\sigma_{\mathrm{f}}}{\rho}, \sigma_{\mathrm{f}}=\frac{3 F l_{\mathrm{s}}}{2 w h^{2}}$
where σs,σf, and F are the specific strength, strength, and ultimate load, respectively.
3. Results and discussion
3.1. RL framework for the design optimization of BCC lattices
The BCC lattice is notable for its bending-dominant deformation, high compliance, and good manufacturability. However, the BCC lattice often suffers from reduced stiffness owing to stress concentration at the nodes between the struts [34,35]. To enhance the mechanical properties of the BCC lattice, an RL framework formulated as an MDP was applied, where the state, action, reward, and environment directly corresponded to design variable optimization (Fig. 1(a)).
The action was determined by a policy network based on the current state. In this context, the action involved modifying the geometric parameters of each unit cell within the BCC lattice, which affected the specific bending stiffness. The BCC lattice featured a centered node within each unit cell, from which the actions were defined as the adjusted location of the center node and the thickness of the struts, as detailed in 3.2 Tuning parameters of the RL model for enhanced learning efficiency, 3.3 Enhanced stiffness of the BCC lattice through variation of the center location, respectively. The state was defined as the index of unit cells sequentially assigned at each time step and the direction of node movement when adjusting the center node, with modifications applied to the 24 unit cells in the x-z plane. The agent moved to the next unit cell in a predefined order, resulting in a series of state-action pairs (Fig. 1(b)). The reward was characterized by the specific bending stiffness of the lattice structure, which served as a metric for evaluating the efficacy of the design proposed by the RL agent (Fig. 1(c)), acquired through the FEM simulation.
As described in Section 2.2, the PPO algorithm was employed to optimize the lattice design parameters through interactions with the simulation environment. Upon the termination of an episode, the newly designed lattice underwent 3D CAD modeling and FEM simulations in an RL environment to determine its stiffness. The RL agent predicted the expected cumulative rewards for all available actions to refine its policies. However, these predictions may lack precision because of the absence of prior knowledge in model-free RL algorithms. Consequently, the policy network was initialized randomly, leading the agent to select actions based on uncertain predictions, a process known as exploration. As the agent gained experience in the RL environment, these predictions became more accurate, enabling the RL agent to make decisions aimed at maximizing rewards, thereby entering the exploitation phase. This iterative process continued automatically until further improvements in the mean reward became negligible (Fig. 1(d)). The mean reward was calculated for each policy update, and the training results were presented in relation to the number of completed episodes.
The overall optimization process is summarized in the pseudocode shown in Algorithm 1 to illustrate the interaction between the proposed RL agent and the lattice design environment. The algorithm outlines the sequential modification of the geometry of each cell and the evaluation of the mechanical performance through FEM-based simulations, which effectively capture the MDP elements (state, action, and reward). While the presented RL framework primarily focuses on the establishment and validation of a foundational approach for lattice design optimization, it is readily extensible to other node-based lattice structures, such as face-centered cubic (FCC) and octet truss (OCT), which have been explored in previous studies [36], by expanding the state and action spaces to incorporate multiple node positions and thickness variations.
3.2. Tuning parameters of the RL model for enhanced learning efficiency
In addition to defining the state, action, and reward, it is crucial to carefully set the spaces of the state and action within manageable ranges to ensure that the RL model efficiently discovers the optimal policy while controlling the computation costs. In this study, an RL model was constructed to optimize the two design variables of the center node location and the strut thickness in each lattice cell. This section focuses on training the RL model to adjust the center node location and enhance the stiffness of the initial BCC lattice under three-point bending.
The action was defined as the coordinate of the center node within each unit cell. Although the coordinates of the center nodes were continuous, discretizing the action values was more appropriate for accounting for fabrication uncertainties and reducing computational costs. The state was defined as the index of the unit cells along the x- and z-axes; the odd-numbered indices represented the x-axis, and the even-numbered indices represented the z-axis. The modifications were applied to 24 unit cells along the x- and z-directions, resulting in 48 possible state values assigned sequentially at each time step. The reward was based on the stiffness ratio between the RL-derived lattice and standard BCC lattice. Two discrete action spaces with five and nine values were compared, corresponding to [−4, −2, 0, 2, 4] and [−4, −3, −2, −1, 0, 1, 2, 3, 4], respectively. These action spaces were defined considering that the VPP 3D printer used in this study had a resolution of 51 μm, which was significantly smaller than the minimum feature size of the designed lattices, set at 1 mm. The designs also included wide overhang angles that may be restricted to other AM processes, such as powder bed fusion (PBF) or material extrusion (MEX), owing to issues such as thermal distortion or unsupported geometry [37]. By contrast, a VPP can accommodate complex geometries with wide overhang angles owing to its high-resolution capability and minimal support requirements, thereby allowing for greater design flexibility within the defined action space [38,39]. The number of state-action pairs for these action spaces was calculated as (524)2 = 548 = 3.55 × 1033 and (548)2 = 596 = 1.26 × 1067 for the five- and nine-value action spaces, respectively (Fig. 2(a)). Given the vast number of possibilities, the nine-value action space significantly increased the computational costs. After training the PPO model with both action spaces, the five-value action space was found to be sufficient to achieve high rewards while minimizing the computational cost associated with the repetitive FEM simulations required in the RL environment (Fig. 2(b)).
Consequently, the action space size was set to five to balance learning efficiency and computational cost. Rather than exhaustively exploring all possible actions, RL algorithms gradually refine policies by adjusting their exploration to unexplored regions. The PPO includes a hyperparameter that controls the weight assigned to previous experiences when predicting the expected cumulative rewards during an episode, as well as the frequency of policy network updates (Fig. 3(a)). Proper tuning of the step parameter n is crucial for achieving optimal outcomes because it balances the exploration spaces. Based on the experiments, setting the step parameter n to 10 resulted in the most stable performance compared with the other configurations (Fig. 3(b)).
Fig. 4 illustrates the training procedure, showing how the agents adapted their policies over time. Initially, actions were randomly assigned to encourage exploration. However, as the episodes progressed, the variability in actions decreased, leading to a transition into the exploitation phase.
3.3. Enhanced stiffness of the BCC lattice through variation of the center location
Based on the results of the RL training described in the previous sections, three different lattice designs were compared, as shown in Fig. 5(a), which shows the strain energy distributions. Case (i) represents a design induced during the exploration phase of training, characterized by irregularly distributed center locations of the unit cells. Case (ii) is the standard BCC lattice, which serves as a baseline for performance evaluation. Case (iii) is the RL-optimized lattice structure that achieved the highest reward, with the RL agent adjusting the center locations of the lattice toward the loaded and supported regions. Fig. 5(a) shows that the maximum strain energy in cases (i) and (ii) occurred at the center of the vertical strut, where the bending load was directly applied in the same direction. However, in case (iii), the maximum strain energy shifted slightly away from the center vertical strut, with the residual strain energy distributed across the adjacent struts. As shown in Fig. 5(b), case (iii) exhibited the lowest total strain energy among the three designs, implying a reduced likelihood of stress concentration-related failure. Additionally, the stiffness, measured by the force reaction to the displacement under a bending load in the FEM simulation, was the highest for case (iii), which is consistent with the result of the reward tendency (Fig. 5(c)).
To validate these designs experimentally, three lattices were manufactured using the VPP. The as-fabricated structures were precisely produced with minimal geometric errors, ensuring that the mechanical performance of the printed lattices closely aligned with the FEM simulation results (Fig. S2 in Appendix A). The prepared lattice samples were subjected to three-point bending tests under conditions similar to those used in the FEM simulations (Fig. 6(a)). The experimental results consistently demonstrated that the optimized lattice exhibited a higher stiffness and ultimate load than the other designs (Figs. 6(b) and (c)). The failure region of the optimized lattice was also broader than those of the other designs, implying alleviation of the stress concentration. Inherently, the BCC lattice has a bending-dominant behavior, where stresses in the struts do not fully propagate but rather concentrate locally at the strut near the loading point. In contrast, the RL-optimized lattice effectively redistributed the load by shifting the center node locations of the unit cells toward the locally stress-concentrated points, thereby improving the bending stiffness and strength despite having the same number and thickness of struts as the BCC lattice. Additionally, the experimental results, which revealed fractured struts in the lattice, aligned with the redistribution of the strain energies from the loading point to the inner struts of the unit cells, as predicted by the FEM simulations. These findings demonstrate that the RL agent effectively learned the core load-structure mechanics of lattices without relevant domain knowledge, relying solely on simulation outcomes. Furthermore, despite minor deviations between the simulation and experiment, the preservation of the relative performance ordering among the design candidates enabled the agent to consistently converge toward high-performance solutions.
3.4. Lightweight lattice design through variation of the strut thickness
In the previous section, adjusting the center node locations of the unit cells based on the state-action pairs of the RL agent led to significant improvements in the bending stiffness and ultimate load of the BCC lattices. However, further enhancement of the mechanical performance typically requires the thickening of the struts, which naturally leads to an increase in the overall lattice weight. Considering the advantages of lightweight lattice structures in engineering applications, excessive weights must be avoided. To optimize the weight distribution within the unit cells, the thickness of each strut was set as an action for the RL agent. The goal was to maximize the stiffness while minimizing the total lattice weight, with thickness values ranging from 1.0 to 1.8 mm, resulting in an action space of five (Fig. 7). The state was defined by the index of the unit cells, resulting in a state space of 24. The reward function was defined as the ratio of stiffness to mass. As these two factors operate physically on different scales, discrepancies may arise in their relative importance to rewards.
To address this, different exponents were applied to the mass values of 1.0, 1.5, and 2.0 to adjust for the influence of weight on the reward calculation (Fig. 8(a)). Consistent with the previous experiments, a step parameter n of 10 episodes was used to balance the training speed and convergence toward the highest reward. The training of the RL model continued until the reward value began to decrease, indicating diminishing returns. Designs that achieved the maximum reward during RL training were selected for comparison and validation. The designs corresponding to mass exponents of 1.0, 1.5, and 2.0 in the reward function are referred to as cases (iv), (v), and (vi), respectively (Fig. 8(b)). In these designs, the unit cells with a strut thickness of 1.8 mm were positioned diagonally across the loaded and supported regions. As the mass exponent of the reward function increased, the thicker unit cells were more exploitatively aligned along the loaded and supported areas (Fig. 8(b)). In all three designs, the maximum strain energy consistently occurred in the region of the vertical strut where the bending load was directly applied. However, compared to the case (iii), which is the RL-optimized lattice with a center node adjustment and a strut thickness of 1.0 mm, the total strain energy decreased, and the stiffness increased in all cases (iv), (v), and (vi). An increase in the mass exponent of the reward function exhibited a trend of increasing total strain energy along with a decrease in stiffness. Specifically, case (v) exhibited the highest specific stiffness, whereas case (iv) exhibited the lowest total strain energy and the highest stiffness (Fig. 8(c)).
The experimental specimens manufactured through the VPP process were tested under three-point bending, revealing that all the specimens failed at the loaded point (Fig. 9(a)). With an increasing mass exponent in the reward function, a decrease in stiffness and a constant ultimate load were observed, as shown in Fig. 9(b). The specific stiffness and strength were the highest in cases (v) and (vi), respectively (Figs. 9(b) and (c)), which is consistent with the simulation results shown in Fig. 9. In terms of the specific stiffness, case (v) proved to be the preferred option, whereas case (vi) was the best choice when considering the specific strength. These findings stem from the bending-dominant nature of the BCC lattice, which results in consistent failure of the unit cells adjacent to the loaded region, with the manufactured lattices exhibiting brittle failure. Consequently, variations in the strut thickness did not sufficiently redistribute the stress across the unit cells under localized loading. Nevertheless, the specific stiffness and strength of the lattice structure improved solely by adjusting the strut thickness.
3.5. Simultaneous application of RL-optimized center node location and strut thickness
In 3.2 Tuning parameters of the RL model for enhanced learning efficiency, 3.3 Enhanced stiffness of the BCC lattice through variation of the center location, the RL agent was trained to independently optimize the center node location in the unit cells and the strut thickness to maximize the specific bending stiffness. The variation in the center node location primarily affects the stiffness of the lattice structure, whereas the strut thickness directly influences both the weight and stiffness of the unit cells. This distinction indicates a certain degree of independence between the two variables owing to their differing effects. The two design variables were combined to create an optimized lattice design by simultaneously adjusting the center node location and the strut thickness for each unit cell. The two RL-optimized designs were superimposed onto a single optimal lattice configuration, as shown in Fig. 10(a). This approach resulted in three proposed designs: cases (vii), (viii), and (ix), as shown in Fig. 10(b). The lattice design in case (vii) was generated by integrating the RL-optimized lattice design with a mass exponent of 1.0 (case (iv)) with the RL-optimized center node location design (case (iii)). Similarly, the designs of cases (viii) and (ix) were generated by combining case (iii) with cases (v) and (vi), respectively. The FEM simulation results revealed that the maximum strain energy occurred in the supported region on the bottom surface and the loaded region on the top surfaces, rather than in the outer strut, for all three designs (Fig. 10(b)). This indicates that the stress propagates through the thickened unit cells. Notably, the total strain energies of these superimposed lattices were lower than those in cases (iii), (iv), (v), and (vi), resulting in a more even stress distribution and increased specific stiffness (Fig. 10(c)).
To validate these designs, lattice specimens were manufactured using VPP and subjected to three-point bending tests. The experimental results showed that failure did not occur locally around the loaded points but across the overall lattice structures (Fig. 11(a)), implying a relatively more uniform stress distribution compared to the previous cases. Consequently, both the stiffness and ultimate load increased for all superimposed lattice structures, as predicted by the FEM simulation. The improvements in specific stiffness and strength followed the same tendency. Specifically, case (viii) exhibited the highest specific stiffness, whereas case (ix) exhibited the highest specific strength (Figs. 11(b) and (c)). The high performance of these superimposed designs can be attributed to the relocation of load-bearing nodes across the unit cells, which facilitated an effective stress distribution throughout the lattice struts, whereas the thickened struts provided sufficient strength to withstand stress. Previous RL-based design optimizations were typically limited to single design variables or confined design spaces. In contrast, this study demonstrated the feasibility of a multi-design optimization approach based on RL within an FEM simulation environment. Moreover, the effectiveness of this approach was experimentally validated through a practical implementation using 3D-printed lattice structures.
To further illustrate the industrial applicability of this optimization methodology, it was applied to the design of a lattice-based airfoil blade, as shown in Fig. 12. Lattice structures are widely utilized in various industrial fields owing to their lightweight design and customizable mechanical properties. The airfoil blade is a representative mechanical component that demands such attributes, making lattice design a meaningful option for the core structures of airfoils in numerous studies [40,41]. In this study, an initial sandwich airfoil design was developed with a lattice core structure that was assumed to be subjected to a typical bending load (Fig. 12(a)). The lattice core consisted of a 3 × 20 array, totaling 30 unit cells. The center points of all unit cells were optimized using the RL-based methodology, as shown in Fig. 12(b). By the 600th episode, the initially random center points at the first episode were adjusted, resulting in a stiffness improvement of > 20% (Fig. 12(c)). This improvement demonstrates the feasibility and potential of RL-based optimization methodology for practical industrial applications.
4. Conclusion
This study successfully demonstrated the potential of RL as an effective tool for optimizing the design of AM lattice structures to enhance mechanical stiffness and achieve a lightweight design. The key findings and contributions are summarized as follows:
(1) The RL algorithm was implemented to optimize the lattice design variables for a high stiffness and lightweight design, specifically focusing on the BCC lattice structure. Essential components, such as action, state, and reward, were defined to address the design variables, and the RL-based design strategy was seamlessly integrated into an FEM simulation environment.
(2) The RL model was trained by systematically adjusting key hyperparameters, such as the action space and step parameter n, to achieve balanced exploration and exploitation during training. The results revealed that 10 steps (n) and five action space values were optimal for enhancing learning efficiency.
(3) The BCC lattice structure was successfully optimized, achieving significant improvements in stiffness and strength with alleviated stress concentration compared to traditionally designed lattices.
(4) The RL model effectively adjusted both the center node positions and strut thicknesses, resulting in a lattice design that exhibited superior performance under three-point bending tests in the FEM simulations.
(5) Experimental validation using 3D-printed samples confirmed the practicality of RL-optimized designs, highlighting the ability of RL to navigate complex design spaces beyond those achieved by conventional methods.
These findings indicate that the RL-based framework not only enhances the structural performance of BCC structures but also offers a versatile approach that can be extended to other lattice configurations, such as FCC and OCT structures. With this approach, future research should explore the integration of additional design variables and adapt the framework to various AM techniques, thereby extending its applicability to complex lattice structures and expanding the impact of RL-driven design optimization in advanced engineering applications.
ShiX, LiaoW, LiP, ZhangC, LiuT, WangC, et al. Comparison of compression performance and energy absorption of lattice structures fabricated by selective laser melting. Adv Eng Mater 2020; 22(11):2000453.
[3]
SajjadU, RehmanT, AliM, ParkCW, YanWM. Manufacturing and potential applications of lattice structures in thermal systems: a comprehensive review of recent advances. Int J Heat Mass Transf2022; 198:123352.
[4]
BayatM, ZinovievaO, FerrariF, AyasC, LangelaarM, Spa ngenbergJ, et al. Holistic computational design within additive ma nufacturing through topology optimization combined with multiphys ics multi-scale materials and process modelling. Prog M ater Sci 2023;138 101129.
[5]
ZhaoM, LiX, ZhangDZ, ZhaiW. TPMS-based interpenetrating lattice structures: design, mechanical properties and multiscale optimization. Int J Mech Sci2023; 244:108092.
[6]
XiaoA, SeepersadC, AllenJ, RosenD, MistreeF. Design for ma nufacturing: application of collaborative multidisciplinary decision-making methodo logy. Eng Optim 2007; 39(4):429-51.
[7]
PengC, TranP, RutzE. Accelerating hybrid lattice structures design with machine learning. Mater Sci Addit Manuf 2024; 3(2):3430.
[8]
ZhouT, GaniR, SundmacherK. Hybrid data-driven and mechanistic modeling approaches for multiscale material and process design. Engineering 2021; 7 (9):1231-8.
[9]
XieJ, SunL, ZhaoYF. On the data quality and imbalance in m achine learning-based design and manufacturing-a systematic review. Engineering2024; 45:105-31.
[10]
LiuF, JiangX, WangX, WangL. Machine learning-based design and optimization of curved beams for multistable structures and metamaterials. Extreme Mech Lett2020; 41:101002.
[11]
LiM, LiS, TianY, FuY, PeiY, ZhuW, et al. A deep learning convolutional neural network and multi-layer perceptron hybrid fusion model for predicting the mechanical properties of carbon fiber. Mater Des2023; 227:111760.
[12]
YamanakaA, KamijyoR, KoenumaK, WatanabeI, KuwabaraT. Deep neural network approach to estimate biaxial stress-strain curves of sheet metals. Mater Des2020; 195:108970.
[13]
KazemiH, SeepersadCC, KimHA. Multiphysics design optimization via generative adversarial networks. J Mech Des 2022; 144(12):121702.
[14]
YangZ, YuCH, BuehlerMJ. Deep learning model to predict complex stress and strain fields in hierarchical composites. Sci Adv 2021; 7(15):eabd7416.
[15]
WangL, ChanYC, AhmedF, LiuZ, ZhuP, ChenW. Deep generative modeling for mechanistic-based learning and design of metamaterial systems. Comput Methods Appl Mech Eng2020; 372:113377.
[16]
DinevaK, AtanasovaT. Systematic look at machine learning algorithms- advantages, disadvantages and practical applications. In:Proceedings of the 20th International Multidisciplinary Scientific GeoConference SGEM 2020; 2020 Aug 16-25; Albena, Bulgaria. Vienna: SGEM; 2020. p. 317-24.
[17]
ChiH, ZhangY, TangTLE, MirabellaL, DalloroL, SongL, et al. Universal machine learning for topology optimization. Comput Methods Appl Mech Eng2021; 375:112739.
[18]
ChibaniS, CoudertFX. Machine learning approaches for the prediction of materials properties. APL Mater 2020; 8(8):080701.
BrownNK, GarlandAP, FadelGM, LiG. Deep reinforcement learning for engineering design through topology optimization of elementally discretized design domains. Mater Des2022; 218:110672.
[21]
HuiX, WangH, LiW, BaiJ, QinF, HeG. Multi-object aerodynamic design optimization using deep reinforcement learning. AIP Adv 2021; 11(8):085311.
[22]
SuiF, GuoR, ZhangZ, GuGX, LinL. Deep reinforcement learning for digital materials design. ACS Mater Lett 2021; 3(10):1433-9.
[23]
LiR, ZhangC, XieW, GongY, DingF, DaiH, et al. Deep reinforcement learning empowers automated inverse design and optimization of photonic crystals for nanoscale laser cavities. Nanophotonics 2023; 12(2):319-34.
[24]
GamrathG, GleixnerA, KochT, MiltenbergerM, MartinA, WeningerD. Tackling industrial-scale supply chain problems by mixed-integer program ming. J Comput Math 2019; 37(6):866-88.
[25]
TranT. Decomposition models for complex scheduling applications [dissertation]. Toronto: University of Toronto; 2017.
[26]
ShengrenH, SalazarEM, VergaraPP, PalenskyP. Performance comparison of deep RL algorithms for energy systems optimal scheduling. In:Proceedings of the 2022 IEEE PES Innovative Smart Grid Technologies Conference Europe (ISGT-Europe); 2022 Oct 10-12; Novi Sad, Serbia. Piscataway: IEEE; 2022. p. 1-6.
WangY, HeH, TanX. Truly proximal policy optimization. In:Proceedings of the 35th Uncertainty in Artificial Intelligence Conference; 2019 Jul 22-25; Tel Aviv, Israel. New York City: PLMR; 2020. p. 113-22.
[29]
ZhuW, RosendoA. A functional clipping approach for policy optimization algorithms. IEEE Access2021; 9:96056-63.
[30]
FengZ, HuangM, WuD, WuEQ, YuenC. Multi-agent reinforcement learning with policy clipping and average evaluation for UAV-assisted communication Markov game. IEEE Trans Intell Transp Syst 2023; 24(12):14281-93.
[31]
ZhouS, JinK, BuehlerMJ. Understanding plant biomass via computational modeling. Adv Mater 2021; 33(28):2003206.
[32]
KimJE, ParkK. Multiscale topology optimization combining density-based optimization and lattice enhancement for additive manufacturing. Int J Precis Eng Manuf-Green Technol 2021; 8(4):1197-208.
[33]
CallisterWD. Materials science and engineering. 5th ed. Hoboken: John Wiley & Sons, Inc.; 1999.
[34]
KangD, ParkS, SonY, YeonS, KimSH, KimI. Multi-lattice inner structures for high-strength and light-weight in metal selective laser melting process. Mater Des2019; 175:107786.
[35]
BaiL, YiC, ChenX, SunY, ZhangJ. Effective design of the graded strut of BCC lattice structure for improving mechanical properties. Materials 2019; 12 (13):2192.
[36]
ChuaC, SingSL, ChuaCK. Characterisation of in-situ alloyed titanium-tantalum lattice structures by laser powder bed fusion using finite element analysis. Virtual Phys Prototyp 2023; 18(1):e2138463.
[37]
ChuaC, LiuY, WilliamsRJ, ChuaCK, SingSL. In-process and post-process strategies for part quality assessment in metal powder bed fusion: a review. J Manuf Syst2024; 73:75-105.
[38]
SuJ, NgWL, AnJ, YeongWY, ChuaCK, SingSL. Achieving sustainability by additive manufacturing: a state-of-the-art review and perspectives. Virtual Phys Prototyp 2024; 19(1):e2438899.
[39]
KimH, KimKH, JeongJ, LeeY, JungID. Recent progr ess on materials for functional additive manufacturing. Mater Sci A ddit Manuf 2024; 3 (2):3323.
[40]
SpadoniA, RuzzeneM. Numerical and experimental analysis of the static compliance of chiral truss-core airfoils. J Mech Mate r Struct 2007; 2 (5):965-81.
[41]
HeoH, JuJ, KimDM. Compliant cellular structures: application t o a passive morphing airfoil. Compos Struct2013; 106:560-9.