Optimizing design parameters using simulated neural networks

By optimizing design parameters using reward gradients through simulated neural networks, combined with the integration of multiple simulated neural networks, the problem of low efficiency in design parameter optimization in the existing technology is solved, and fast and high-quality design in high-dimensional space is achieved.

CN118575178APending Publication Date: 2024-08-30GDM HOLDING LLC
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202380019043.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-01-28
Filing Date
2023-01-30
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

When optimizing design parameters with existing technologies, especially in high-dimensional design spaces, conventional systems are computationally intensive and difficult to converge, and rely on a large number of random adjustments, resulting in low efficiency.

Method used

The simulated neural network is used to iteratively adjust the design parameters, and the reward gradient is used for optimization. Combined with the integration of multiple simulated neural networks, the gradient descent optimization rule is used to quickly converge to a high-quality design.

Benefits of technology

It achieves rapid optimization of design parameters in a high-dimensional design space, improves design quality, reduces the use of computing resources, and improves optimization efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118575178A
    Figure CN118575178A
Patent Text Reader

Abstract

Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for optimizing a set of design parameters. In one aspect, a method includes obtaining a respective initial value for each design parameter, and iterating a current value of an optimization design parameter in an optimization iteration sequence. The method further includes, each optimization iteration: generating a representation of an initial state of the environment using the current value of the design parameter, processing an input including the representation of the initial state of the environment using a simulation neural network to generate an output defining a simulation of the state of the environment over a series of one or more time steps, determining a reward, and outputting the reward. A gradient of the reward relative to the current value of the design parameter is determined, and the current value of the design parameter is updated using the gradient.
Need to check novelty before this filing date? Find Prior Art

Description

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application claims the benefit of the filing date of U.S. Provisional Patent Application Serial No. 63 / 304,306, filed on January 28, 2022, for "OPTIMIZING DESIGN PARAMETERS USING A SIMULATION NEURAL NETWORK," and is incorporated herein by reference in its entirety. Background Art

[0002] This specification relates to processing data using machine learning models.

[0003] A machine learning model receives input and generates an output, such as a predicted output, based on the received input. Some machine learning models are parametric models and generate output based on the received input and the values ​​of the model's parameters.

[0004] Some machine learning models are deep models that employ multiple layers of models to generate outputs for received inputs. For example, a deep neural network is a deep machine learning model that includes an output layer and one or more hidden layers, each of which applies a nonlinear transformation to the received input to generate an output. Summary of the invention

[0005] The specification generally describes an optimization system implemented as a computer program on one or more computers in one or more locations. The optimization system can generate a design, such as an object, by iteratively adjusting a set of design parameters that collectively define the design to optimize a "reward" that measures, for example, the quality of the design defined by the design parameters.

[0006] According to a first aspect, a method for optimizing a set of design parameters is provided, the method comprising: obtaining a corresponding initial value of each design parameter in the set of design parameters, and iteratively optimizing the current value of the design parameter in an optimization iteration sequence. The method also comprises, at each optimization iteration: generating a representation of an initial state of an environment using the current value of the design parameter; processing an input including a representation of the initial state of the environment using a simulated neural network according to the value of the set of simulated neural network parameters to generate a simulated output of a state of the environment defined over a series of one or more time steps; determining a reward based on the simulation of the state of the environment, wherein the reward measures the quality of the design defined by the current value of the design parameter; determining a gradient of the reward relative to the current value of the design parameter; and updating the current value of the design parameter using the gradient.

[0007] In some implementations, determining the gradient of the reward with respect to the current value of the design parameter includes back-propagating the gradient through the set of simulated neural network parameters and back-propagating to the set of design parameters.

[0008] In some implementations, updating the current value of the design parameter using the gradient includes updating the current value of the design parameter using the gradient according to a gradient descent optimization rule.

[0009] In some implementations, the set of design parameters represents a design of a physical object.

[0010] In some implementations, at each optimization iteration, the environment includes an object having a design represented by current values ​​of a set of design parameters.

[0011] In some embodiments, the object is a wing of an aircraft.

[0012] In some implementations, determining the reward based on the simulation of the environmental state includes determining one or more aerodynamic characteristics of the object based on the simulation of the environmental state, and determining the reward based on the aerodynamic characteristics of the object.

[0013] In some implementations, at each optimization iteration, the representation of an initial state of the environment includes data representing a graph, the graph including a plurality of nodes.

[0014] In some implementations, each node in the graph represents a particle in the environment or a vertex in a mesh.

[0015] In some embodiments, the simulated neural network has a graph neural network architecture.

[0016] In some embodiments, generating a simulated output defining a state of the environment over a series of one or more time steps includes, for each time step: obtaining a representation of the state of the environment at the time step, and processing the representation of the state of the environment at the time step using a simulated neural network to generate an output defining a representation of the state of the environment at a next time step.

[0017] In some embodiments, the values ​​of the set of simulated neural network parameters are static during optimization of the set of design parameters.

[0018] In some embodiments, the method further includes outputting current values ​​of the design parameters after the last optimization iteration.

[0019] In some embodiments, the set of design parameters includes at least 500 design parameters.

[0020] In some embodiments, the simulated neural network is a simulated neural network in an ensemble of multiple simulated neural networks, and the method includes, at each optimization iteration: for each simulated neural network in the ensemble of simulated neural networks: processing an input comprising a representation of an initial state of the environment using the simulated neural network to generate an output defining a corresponding simulation of the state of the environment over a plurality of time steps, determining a corresponding reward based on the corresponding simulation of the state of the environment, and determining a corresponding gradient of the corresponding reward relative to a current value of a design parameter, and updating the current value of the design parameter using the corresponding gradient determined by each simulated neural network in the ensemble of simulated neural networks.

[0021] In some implementations, each simulated neural network in the ensemble of simulated neural networks has been trained on a different set of training data.

[0022] In some implementations, each simulated neural network in the ensemble of simulated neural networks has a respective set of simulated neural network parameters that are initialized to respective random values ​​prior to being trained.

[0023] In some embodiments, updating the current value of the design parameter using the corresponding gradient determined using each simulated neural network in the ensemble of simulated neural networks includes averaging the gradients determined using each simulated neural network in the ensemble of simulated neural networks, and updating the current value of the design parameter using the average of the gradients. In some embodiments, updating the current value of the design parameter using the corresponding gradient determined using each simulated neural network in the ensemble of simulated neural networks includes averaging the gradients determined using each simulated neural network in the ensemble of simulated neural networks, and updating the current value of the design parameter using the average of the gradients.

[0024] According to a second aspect, a system is provided, comprising: one or more computers, and one or more storage devices communicatively coupled to the one or more computers, wherein the one or more storage devices store instructions which, when executed by the one or more computers, cause the one or more computers to perform the operations of the corresponding methods of any of the aforementioned aspects.

[0025] According to a third aspect, there is provided one or more non-transitory computer storage media storing instructions that, when executed by one or more computers, cause the one or more computers to perform the operations of the corresponding method of any preceding aspect.

[0026] The subject matter described in this specification can be implemented in specific embodiments to realize one or more of the following advantages.

[0027] In each of the multiple optimization iterations, the optimization system can use, for example, a simulated neural network that simulates the physics of the environment to calculate the reward achieved by the current value of the design parameter and determine the gradient of the reward with respect to the design parameter. The optimization system can then use the gradient to adjust the current value of the design parameter to increase the reward, for example, by a gradient descent technique. Thus, the optimization system can exploit the differentiability of the simulated neural network to directly optimize the quality of the design by iteratively adjusting the value of the design parameter using the gradient of the reward.

[0028] Using the gradient of the reward calculated by the simulated neural network to optimize the quality of the design can enable the optimization system to generate high-quality designs faster than conventional systems and use less computing resources (e.g., memory and computing power). For example, some conventional systems use optimization techniques (e.g., evolutionary techniques) that rely on a large number of random adjustments to the values ​​of design parameters to optimize the design. These optimization techniques are computationally intensive and may not even converge in high-dimensional design spaces, for example, with hundreds or thousands of design parameters. In contrast, the optimization system described in the present specification uses the gradient of the reward to adjust the design parameters, thereby directly optimizing the reward and causing the design parameters to converge quickly to a high-quality design. In addition, conventional simulation models can be slow and computationally intensive, for example, as a result of performing complex iterative optimizations to model the physics of the environment each time a new simulation is generated. In contrast, the optimization system described in the present specification uses a simulated neural network that, once trained, can directly generate accurate simulations through the manipulation of its parameters.

[0029] The optimization system can optionally optimize the reward to generate the design by using an ensemble of multiple simulated neural networks, i.e., rather than a single simulated neural network. The simulated neural networks in the ensemble can have different parameter values, for example, as a result of being trained on different sets of training data. In each optimization iteration, the optimization system can calculate the gradient of the reward using each simulated neural network in the ensemble, and then apply a combination (e.g., an average) of the gradients to adjust the design parameters. Using the combined gradients generated using the ensemble of simulated neural networks to adjust the design parameters can enable the design parameters to smoothly converge to a high-quality design over fewer optimization iterations than would otherwise be required, thereby improving the efficiency of the optimization.

[0030] The details of one or more embodiments of the subject matter of this specification are set forth in the accompanying drawings and the description below. Other features, aspects, and advantages of the subject matter will become apparent from the description, drawings, and claims. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 is a block diagram of an example design optimization system.

[0032] Figure 2 An example process for optimizing design parameters is shown.

[0033] Figure 3 is a block diagram of an example ensemble that simulates a neural network.

[0034] Figure 4 is a flow chart of an example process for optimizing design parameters.

[0035] Figure 5 Example experimental results implemented using the design optimization system are shown.

[0036] Figure 6 Another example of experimental results achieved using the design optimization system is shown.

[0037] Figure 7 Another example of experimental results achieved using the design optimization system is shown.

[0038] Like reference numbers and numerals in the various drawings represent like elements. DETAILED DESCRIPTION

[0039] Figure 1 is a block diagram of an example design optimization system 100 that can optimize a set of design parameters 102. Design optimization system 100 is an example of a system implemented as a computer program on one or more computers in one or more locations in which the systems, components, and techniques described below are implemented.

[0040] The set of design parameters 102 may collectively define a design of an entity. The entity may be any suitable entity, and the set of design parameters 102 may define any suitable aspect of the design of the entity. In one example, the entity may be, for example, a physical object, and the set of design parameters 102 may define, for example, a shape, configuration, and / or structure of the physical object. As a specific example, the entity may be, for example, a wing of an aircraft, and the set of design parameters 102 may define the shape of the wing. This example is Figure 4 . In another example, the entity may be, for example, an electrical process, a mechanical process, or a chemical process, and the design parameter set 102 may define, for example, the design of one or more process steps. The design parameter set 102 may generally include any suitable number of parameters, such as 5 parameters, 10 parameters, 100 parameters, 500 parameters, 1000 parameters, or any other suitable number of design parameters. Examples of design parameters are described in more detail below.

[0041] In some cases, the design parameters may define, for example, the shape of an object, such as all or part of a vehicle, such as a car, truck, aircraft, ship, rocket, etc. In a specific example, the design parameters may define the shape of a wing of an aircraft or the shape of a hull of a ship. The design parameters may define the shape of an object, for example, by defining the corresponding position of each control point in a set of control points that parameterizes the shape of the object, or by defining the vertices and edges of a mesh that represents the shape of the object.

[0042] In some cases, the design parameters may define, for example, the structure of an object, such as the structure of a vehicle, a bridge, or a building. In a specific example, the design parameters may define the structure of a chassis or frame of a vehicle, or the structure of supports within a bridge or a building. The design parameters may define the structure of an object, for example, by representing the location, orientation, thickness, and connectivity of the rods, beams, struts, and ties that define the structure of the object.

[0043] In some cases, the design parameters may define, for example, the composition of a material, such as an alloy. In a specific example, the design parameters may define the composition of a material, such as by defining, for each of a plurality of possible constituent materials, the fraction of the material represented by the constituent material.

[0044] In some embodiments, the design parameters may define the design of a process, such as a chemical process, an electrical process, a mechanical process, or a combination thereof.

[0045] For example, the design parameters may define the design of the chemical process, e.g., define when and how the various chemicals should be combined in the chemical process. For example, the design parameters may define the speed of a mixer that stirs the contents of a barrel, and for each chemical in the chemical set, when and how much the chemical should be added to the barrel.

[0046] As another example, the design parameters may define the design of a mechanical process, e.g., defining, for each fan in an environment (e.g., a mine): (i) the rotational speed of the blades of the fan, and (ii) the orientation of the fan. The design optimization system 100 may be configured to obtain a respective initial value for each design parameter in a set of design parameters 102 that collectively define the design of an entity, and to generate a design for the entity by iteratively adjusting the set of design parameters 102. The design optimization system 100 may obtain the initial values ​​of the design parameters 102 in any suitable manner, e.g., the initial values ​​may be provided by a user of the system 100 via an API available to the system 100, or the initial values ​​may be randomly sampled from a suitable probability distribution, such as a normal distribution.

[0047] In some embodiments, the design parameter set 102 may define the design of an entity with reference to an environment, for example, the environment may include an object having a design represented by the design parameter set 102. An "environment" may generally refer to any suitable type of environment, for example a physical environment such as a fluid, a rigid solid, a field, a deformable material, any other suitable type of environment, or a combination thereof. In some cases, data defining an initial state of the environment may be provided as input to the design optimization system 100, for example, by a user of the system 100. The system 100 may optimize the design parameters 102 by performing a simulation of the environment, as described in more detail below. A "simulation" of the environment may include a corresponding simulated state of the environment at each time step in a series of time steps. In general, the state of the environment may be defined in any suitable manner. In some cases, the state of the environment may be defined, for example, by a collection of particles or a grid, as described in more detail below.

[0048] In one example, the state of the environment can be represented by, for example, a collection of particles, where each particle is associated with a set of particle features. The particle features associated with a particle can be defined by, for example, a vector specifying the spatial position (e.g., spatial coordinates) of the particle and optionally various physical properties associated with the particle, including, for example, mass, velocity, acceleration, etc. Any suitable number of particles, such as 100, 1000, 10,000, 100,000, or any other suitable number of particles, can be used to represent the environment.

[0049] In another example, the state of an environment can be represented by a grid, which can, for example, span the entire environment, or represent the corresponding surfaces of one or more entities (e.g., objects) in the environment. Generally, a "grid" refers to a data structure including a plurality of grid nodes and grid edges, wherein each grid edge connects a pair of grid nodes. In some cases, a grid can represent an environment including a continuous field, for example, a spatial region associated with a physical mass (e.g., velocity, pressure, etc.) that varies continuously across the region. A grid can define an irregular (unstructured) grid that specifies a subdivision of a geometric domain (e.g., a surface or space) into smaller elements (e.g., cells or regions) of a specific shape, such as a triangular shape or a tetrahedral shape. Each grid node can be associated with a corresponding spatial position in the environment.

[0050] Similar to the particle-based representation described above, each grid node in the grid can be associated with a current grid node feature that characterizes the current state of the environment at a location in the environment corresponding to the grid node. For example, each grid node can represent fluid viscosity, fluid density, or any other appropriate physical aspect at a location in the environment corresponding to the grid node. For a grid-based representation of an environment, the set of design parameters 102 can define the design of an entity with reference to a grid such as grid nodes and grid edges. In some cases, the design parameters 102 can define the shape of an object by, for example, defining the grid nodes and grid edges of a grid representing the shape of an object. The above examples are provided for illustrative purposes only. It should be understood that the set of design parameters 102 can define the design of an entity with reference to any type of environment, and the state of the environment can generally be defined in any appropriate manner. In some cases, the state of an environment including an entity (e.g., defined by the set of design parameters 102) can be defined based on both particles and grids. For example, an environment can be defined by a collection of particles, while the surface of an entity (e.g., an object in an environment) can be defined by grid nodes and grid edges. Other configurations are also possible.

[0051] The design optimization system 100 can iteratively optimize the set of design parameters 102 by using (i) an encoder 110, (ii) a simulated neural network 120, and (iii) a training engine 130, each of which is described in more detail below. In some cases, the design optimization system 100 may include an integration of multiple simulated neural networks. This is described below with reference to Figure 3 Describe in more detail.

[0052] At each optimization iteration, the encoder 110 may be configured to process the current values ​​of the set of design parameters 102 to generate a representation 104 of an initial state of the environment. As described above, the initial state of the environment may be defined by a collection of particles, a grid, or a combination thereof. The initial state of the environment (e.g., defined by a collection of particles, a grid, or a combination thereof) may be represented by a graph. A "graph" refers to a data structure comprising a set of graph nodes and a set of graph edges, such that each edge connects a corresponding pair of nodes. The encoder 110 may be configured to process the current values ​​of the set of design parameters 102, and optionally process data defining the initial state of the environment, to generate a representation 104 of the initial state of the environment as a graph.

[0053] If the initial state of the environment is defined by a collection of particles, the encoder 110 can assign nodes in the graph to each particle in the collection of particles that define the initial state of the environment, and instantiate edges between pairs of nodes in the graph. In order to determine which pairs of nodes in the graph should be connected by edges, the encoder 110 can identify each pair of particles in the initial state of the environment that have corresponding positions (e.g., defined by their corresponding spatial coordinates) separated by less than a threshold distance, and instantiate edges between such pairs of particles. The search for adjacent nodes can be performed via any appropriate search algorithm, such as a kd tree algorithm. The operation of the encoder 110 on the grid-based representation of the initial state of the environment is described in more detail below.

[0054] The encoder 110 may include a node embedding subnetwork and an edge embedding subnetwork. In addition to assigning a node to each particle and instantiating edges between pairs of nodes corresponding to particles, the encoder 110 may also use the node embedding subnetwork to generate a corresponding node embedding for each node in the graph. Specifically, the node embedding subnetwork 111 of the encoder 110 may process particle features associated with particles represented by nodes and current values ​​of the design parameter set 102 to generate a corresponding node embedding for each node in the graph.

[0055] The encoder 110 may also generate an edge embedding for each edge in the graph. Typically, the edge embedding of an edge connecting a pair of nodes in the graph may represent the paired properties of the corresponding particles represented by the pair of nodes. For each edge in the graph, the edge embedding subnetwork of the encoder 110 may process features associated with a pair of nodes in the graph connected by the edge and the current value of the design parameter 102, and generate a corresponding current edge embedding for the edge. Specifically, the edge embedding subnetwork may generate an embedding for each edge connecting a pair of nodes in the graph based on, for example, the corresponding positions of the particles corresponding to the nodes connected by the edge, the difference between the corresponding positions of the particles corresponding to the nodes connected by the edge, the size of the difference between the corresponding positions of the particles corresponding to the nodes connected by the edge, or a combination thereof. In some embodiments, instead of determining the paired properties of the particles and generating an embedding on that basis, the current edge embedding for each edge in the graph may be predetermined.

[0056] As described above, the design optimization system 100 can iteratively optimize the design parameter set 102. At each optimization time step, the system 100 can generate a representation 104 of the initial state of the environment as a graph by using the encoder 110, for example, as described above. After generating the graph of the representation 104 of the initial state of the environment, at each optimization time step, the design optimization system 100 can provide the representation 104 of the initial state of the environment to the simulation neural network 120. At each optimization time step, the simulation neural network 120 can be configured to process the input including the representation 104 of the initial state of the environment to generate a simulation output 106, which defines a simulation of the state of the environment over a sequence of internal iterations (simulation steps). In other words, for each optimization time step, the simulation output 106 can include a plurality of simulation states, where each simulation state represents a simulated state of the environment at a corresponding internal iteration of the simulation neural network 120.

[0057] The simulated neural network 120 may generate a simulated output 106 by updating the representation 104 of the initial state of the environment as a graph over a plurality of internal iterations to generate an updated graph for an optimization time step.

[0058] “Updating” a graph means that at each internal iteration, a message passing step (e.g., an information propagation step) is performed between nodes and edges included in the graph by, for example, updating the node and / or edge embeddings of some or all nodes and edges in the graph based on the node and / or edge embeddings of adjacent nodes in the graph. In other words, at each internal iteration, the simulated neural network 120 maps the input graph onto an output graph, where the output graph may have the same structure as the input graph (e.g., the same nodes and edges), but with different node and edge embeddings. The number of internal iterations may be, for example, 1, 10, 100, 1000, 100000, or any other suitable number, and may be a predetermined hyperparameter of the simulated neural network 120.

[0059] More specifically, the simulated neural network 120 may include a node update subnetwork and an edge update subnetwork. In each internal iteration, the node update subnetwork may process the current node embeddings of the nodes included in the graph, and the corresponding current edge embeddings of each edge connected to the nodes in the graph to generate updated node embeddings for the nodes. In addition, in each internal iteration, the edge update subnetwork may process the current edge embeddings of the edges and the corresponding current node embeddings of each node connected by the edges to generate updated edge embeddings for the edges. The final internal iteration of the simulated neural network 120 generates data for the final updated graph defining the optimization time step.

[0060] As described above, the design optimization system 100 may also include a training engine 130. The training engine 130 may be configured to process the simulation output 106 of the simulation defining the environmental state over a series of one or more simulation time steps and update the current values ​​of the design parameters 102. At each optimization time step, the training engine 130 may update the current values ​​of the design parameters 102 by determining a reward 108. The reward 108 may be, for example, any suitable numerical value, such as a scalar value. In general, the reward 108 may characterize the quality of the design of the entity, such as achieved by the current values ​​of the design parameters 102. In other words, the reward 108 may represent how well the design of the entity, such as defined by the current values ​​of the design parameters 102, serves a particular purpose or achieves a particular function. As a specific example, if the entity is a wing of an aircraft, the reward 108 may characterize, for example, one or more aerodynamic characteristics of the wing.

[0061] At each optimization time step, the training engine 130 may be configured to process the simulation output 106 to determine a reward 108 for the optimization time step. In some cases, the training engine 130 may be configured to process data defining, for example, a final update graph for the optimization time step generated by the simulated neural network 120. Specifically, the training engine 130 may process corresponding node embeddings (e.g., updated node embeddings) of one or more nodes in the updated graph to generate corresponding features corresponding to each of the one or more nodes in the updated graph. The feature may be, for example, any suitable feature of the particle represented by the node, such as the position of the particle, the velocity of the particle, the acceleration of the particle, or any other suitable feature of the particle represented by the node. As a specific example, the feature may be, for example, the final position of the particle represented by the node. In this case, the training engine 130 may determine the reward 108 using, for example, a Gaussian likelihood of the final particle position. However, this example is provided for illustration purposes only. In general, the training engine 130 may determine the reward 108 in any suitable manner. Examples of different rewards are described in more detail below.

[0062] At each optimization time step, the training engine 130 may use the reward 108 to update the current value of the design parameter 102. For example, the training engine 130 may determine the gradient of the reward 108 with respect to the current value of the design parameter 102, for example using a back-propagation technique. As a specific example, the training engine 130 may back-propagate the gradient of the reward into the design parameter set 120 through the simulated neural network parameter set. In some cases, the simulated neural network parameter set may remain static during the optimization of the design parameter set 102. The training engine 130 may use the gradient to update the current value of the design parameter 102 according to a gradient descent optimization rule. The gradient descent optimization rule may be based on any suitable gradient descent optimization method, such as Adam or RMSprop.

[0063] As described above, the design parameter set 102 can be optimized relative to the state of the environment defined by the collection of particles. However, some environments may be more appropriately defined as a grid, such as a grid spanning the environment and / or a grid defining the design of one or more entities (e.g., objects) in the environment by means of the design parameter set 102. For example, an environment including, for example, a continuous field, a deformable material, and / or a complex structure can be represented by a grid. "Continuous field" generally refers to, for example, a spatial region associated with a physical quality (e.g., velocity, pressure, etc.) that varies continuously across the region. For example, each spatial position in a velocity field may have a specific velocity value associated with it. In order to optimize the design parameter set 102 defined with respect to the grid-based environment, the design optimization system 100 may generate a representation 104 of an initial state of the grid-based environment as a graph, update the graph in multiple internal iterations to generate simulation outputs 106, and use the simulation outputs 106 to update the current values ​​of the design parameter set 102. Various aspects of this process are described in more detail below.

[0064] In general, a "grid" refers to a data structure comprising a plurality of grid nodes and grid edges, wherein each grid edge connects a pair of grid nodes. Similar to the particle-based representation described above, each grid node in the grid can be associated with a current grid node feature that characterizes the current state of the environment at the location in the environment corresponding to the grid node. For example, in embodiments involving simulations of environments with continuous fields, such as, for example, in fluid dynamics or aerodynamic simulations, each grid node can represent fluid viscosity, fluid density, or any other appropriate physical aspect at the location in the environment corresponding to the grid node.

[0065] As described above, in some cases, the environment may include an entity (e.g., an object) whose design is defined by the set of design parameters 102. As a specific example, in some cases, the object may be, for example, a wing of an aircraft, the environment may include a fluid (e.g., air), and the design parameters 102 may define mesh nodes and mesh edges of a mesh that defines the shape of the wing. This example is in Figure 5 Shown in.

[0066] As another example, in a structural mechanics simulation, each mesh node may define a point on an object in the environment and may be associated with object-specific mesh node features that characterize the point on the object, such as the location of the corresponding point on the object, the pressure at the point, the tension at the point, and any other appropriate physical aspect. Furthermore, each mesh node may additionally be associated with mesh node features that include one or more of: fluid density, fluid viscosity, pressure, or tension at the location in the environment corresponding to the mesh node. In general, mesh representations are not limited to the physical systems and entities described above, and other types of physical systems and entities may also be defined by meshes.

[0067] At each optimization time step, the encoder 110 can process the design parameter set 102, and optionally process data that defines the initial state of the environment as a grid, and generate a representation 104 of the initial state of the environment, for example, as a graph. Specifically, at each optimization time step, the encoder 110 can assign a graph node to each grid node included in the grid. In addition, for each pair of grid nodes connected by a grid edge, the encoder 110 can instantiate an edge between the corresponding pair of nodes in the graph. In addition to generating a graph, the encoder 110 can also process the grid node and grid edge features to generate node and edge embeddings associated with the nodes and edges in the graph, respectively, for example, in a manner similar to the particle-based environment described above. Therefore, for each optimization time step, the encoder 110 can process the grid and design parameter set 102 to generate a representation 104 of the initial state of the environment as a graph with associated graph node embeddings and graph edge embeddings.

[0068] At each optimization time step, the simulated neural network 120 may update the representation 104 of the initial state of the environment as a graph over multiple internal iterations, for example in a manner similar to that described above, to generate a final updated graph for the optimization time step. Specifically, at each internal iteration, a node update subnetwork of the simulated neural network may process an input including (i) a current node embedding of the node and (ii) a corresponding current edge embedding of each edge connected to the node to generate an updated node embedding of the node. Similarly, at each internal iteration, an edge update subnetwork may be configured to process an input including: (i) a current edge embedding of the edge, and (ii) a corresponding current node embedding of each node connected by the edge to generate an updated edge embedding of the edge. After updating the graph, the simulated neural network 120 may generate a simulation output 106 that defines a simulation of the state of the environment over a series of one or more simulation time steps.

[0069] As described above, for a particle-based environment, at each optimization time step, the training engine 130 may process the simulation output 106 to determine a reward 108 that measures the quality of the design defined by the current values ​​of the design parameters 102 at the optimization time step. For example, the training engine 130 may process the corresponding node embeddings of one or more nodes in the updated graph (e.g., the updated node embeddings) to generate corresponding features corresponding to each of the one or more nodes in the updated graph. As a specific example, the environment may include a fluid, such as air, and the entity in the environment may be a wing of an aircraft. In such a case, the training engine 130 may process the corresponding node embeddings of one or more graph nodes in the updated graph, and the corresponding edge embeddings of one or more graph edges in the graph to determine one or more aerodynamic features of the wing in the environment represented by the mesh. For example, the training engine 130 may determine, for example, the pressure field and the effective Reynolds stress at each mesh node represented by the graph node in the updated graph.

[0070] Based on the aerodynamic characteristics of the wing, the training engine 130 can determine the reward 108 for the optimization time step. As a specific example, the training engine 130 can determine the reward as follows:

[0071] in It's a reward. is the drag coefficient, is the initial lift coefficient, is the final lift coefficient, and is a constant, is the wing area, and is the position of each control point in the set of control points that parameterize the wing shape. The training engine 130 can determine the final lift coefficient based on the mesh node features decoded from the final graph. and drag coefficient , such as, for example, the pressure field and effective Reynolds stress at each mesh node represented by the graph nodes in the final graph (eg, the graph generated by the final internal iteration of the simulated neural network 120 ).

[0072] After determining the reward 108, the training engine 130 can use the reward to update the current value of the design parameter 102, for example, in a manner similar to the environment represented as a collection of particles described above. As described above, in some cases, the value of the set of simulated neural network parameters can remain static during the optimization of the set of design parameters 102. However, in some cases, the training engine 130 can train the set of simulated neural network parameters on the training data set through multiple training iterations. Figure 3 Describe the process in more detail.

[0073] The encoder 110, simulated neural network 120, and training engine 130 may have any suitable neural network architecture that enables them to perform the functions described therein. For example, they may have any suitable number (e.g., 2, 5, or 10 layers) of any suitable neural network layers (e.g., convolutional layers, fully connected layers, recurrent layers, attention layers, etc.), and be connected in any suitable configuration (e.g., as a linear sequence of layers). The simulated neural network 120 may be a graph neural network, for example, and may include one or more graph neural network layers.

[0074] After optimizing the set of design parameters 102 over a plurality of optimization time steps, for example, as described above, the system 100 may use the design parameters 102 to generate a design of an entity (e.g., an object). For example, after a final optimization time step, the system 100 may output current values ​​of the design parameters 102, which may be used to generate a design of a physical (e.g., real-world) entity. In general, the optimization system 100 is broadly applicable, and in particular, the optimization system 100 may be applied to iteratively adjust any suitable set of design parameters to optimize any suitable reward. The design parameters may define the design of any suitable entity with reference to any suitable environment, and the simulated neural network may simulate any suitable aspect of the environment. For purposes of illustration, several example applications of the optimization system 100 are described below.

[0075] In some implementations, the design parameters may define the design of one or more physical objects. Several example applications of the optimization system to design physical objects are described below.

[0076] In some cases, the design parameters may define, for example, the shape of an object, such as all or part of a vehicle, such as a car, truck, aircraft, ship, rocket, etc. In a specific example, the design parameters may define the shape of a wing of an aircraft or the shape of a hull of a ship. The design parameters may define the shape of an object, for example, by defining the corresponding position of each control point in a set of control points that parameterizes the shape of the object, or by defining the vertices and edges of a mesh that represents the shape of the object.

[0077] The optimization system can iteratively adjust design parameters representing the shape of the object to optimize a reward representing, for example, a metric of one or more aerodynamic characteristics of the object (e.g., the object's drag coefficient or lift coefficient) or a metric of physical stresses or forces exerted on the object under specified environmental conditions (e.g., the maximum stress exerted on any part of the object).

[0078] The optimization system can optimize a reward for a quality that defines the shape of an object using a simulated neural network that simulates, for example, fluid (e.g., air) dynamics in an environment. For example, the simulated neural network can simulate a stress field or pressure field in the environment, e.g., that defines a corresponding stress or pressure at each location in a grid or mesh across the environment.

[0079] In some cases, the design parameters may define, for example, the structure of an object, such as the structure of a vehicle, a bridge, or a building. In a specific example, the design parameters may define the structure of a chassis or frame of a vehicle, or the structure of supports within a bridge or a building. The design parameters may define the structure of an object, for example, by representing the location, orientation, thickness, and connectivity of the rods, beams, struts, and ties that define the structure of the object.

[0080] The optimization system can iteratively adjust design parameters representing the object structure to optimize a reward representing, for example, the behavior of the structure under mechanical loading, such as a maximum force, stress, or pressure on any portion of the structure under mechanical loading.

[0081] The optimization system can optimize a reward that defines the quality of the object structure using a simulated neural network that simulates, for example, structural mechanics in an environment. For example, the simulated neural network can simulate a force, stress, or pressure field, for example, that defines a corresponding force, stress, or pressure at each location in a grid or grid across the structure.

[0082] In some cases, the design parameters may define, for example, the composition of a material, such as an alloy. In a specific example, the design parameters may define the composition of a material, such as by defining, for each of a plurality of possible constituent materials, the fraction of the material represented by the constituent material.

[0083] The optimization system can iteratively adjust design parameters representing the composition of a material to optimize a reward that characterizes, for example, the corrosion of a material over time or the behavior of an object made from the material under mechanical load.

[0084] The optimization system can iteratively adjust design parameters representing the composition of a material using a simulated neural network that simulates, for example: changes in the chemical composition of a material over time caused by specified environmental conditions; or a force, stress, or pressure field representing the force, stress, or pressure at each location in a grid or mesh across an object made of the material.

[0085] In some embodiments, the design parameters may define the design of a process, such as a chemical process, an electrical process, a mechanical process, or a combination thereof.Several example applications of the optimization system design process are described next.

[0086] In some cases, the design parameters may define the design of the chemical process, e.g., defining when and how the various chemicals should be combined in the chemical process. For example, the design parameters may define the speed of a mixer that stirs the contents of a barrel, and for each chemical in a chemical set, when and how much the chemical should be added to the barrel.

[0087] The optimization system can iteratively adjust design parameters representing a design of a chemical process to optimize a reward measure, such as a yield of the chemical process, e.g., an amount of a desired end product produced as a result of the chemical process; or a quality (e.g., purity) of the end product.

[0088] The optimization system can optimize a reward that defines the quality of a chemical process using a simulated neural network that simulates, for example, chemical dynamics within an environment. For example, the simulated neural network can simulate a concentration field in the environment, e.g., that defines the respective concentration of each of one or more chemicals at each location in a grid or mesh across the environment.

[0089] In some cases, the design parameters may define the design of a mechanical process, for example, defining, for each fan in an environment (eg, a mine): (i) the rotational speed of the fan's blades, and (ii) the orientation of the fan.

[0090] In this example, the optimization system can iteratively adjust the design parameters to optimize a reward that characterizes, for example, the distribution and concentration of one or more gases (e.g., oxygen) in the environment, for example, as a result of fan operation. The optimization system can optimize the reward using a simulated neural network that simulates airflow in the environment and gas concentrations in the environment. For example, the simulated neural network can simulate a flow field in the environment, for example, that defines a corresponding airflow direction, airflow strength, and gas concentration at each location in a grid or mesh across the environment.

[0091] The optimized design parameters generated by the optimization system can be used for any of a variety of purposes. For example, if the design parameters represent the shape or structure of a physical object (e.g., an aircraft wing), the optimized design parameters can be provided for manufacturing an object having a design defined by the design parameters. The object can be manufactured using any suitable manufacturing process, such as a machining process or an additive manufacturing process. In particular, the optimization system can implement a suitable manufacturing process to manufacture an object having a design defined by the design parameters. As another example, if the design parameters define the design of a process, such as a chemical process or a mechanical process, the optimized design parameters can be provided for implementing a process having a design defined by the design parameters. In particular, the optimization system can implement a process having a design defined by the design parameters.

[0092] When the design parameters define a shape or configuration of the physical object, the method may include conforming the physical object to the design specified by the optimized design parameters.

[0093] The reward may be a scalar value and may define one or more characteristics to be optimized by the design parameters. The characteristic to be minimized may be specified, for example, by a negative reward. Optionally, the reward may include a constraint target. The constraint target may define one or more constraints that the design should aim to satisfy. For example, a constraint target may define a target or minimum or maximum value for a physical characteristic, such as a physical size or shape or strength or weight that defines an object or part of an object, or a parameter related to manufacturability, such as a bend radius. In the case where the reward is a scalar value to be maximized, the constraint target may define a negative scalar value that is added to the reward. In the case where the constraint target defines a target value for a characteristic, it may include a measure of the difference between the value of the characteristic and the target value.

[0094] In some further examples, the physical environment may be a fluid flow environment, such as a liquid flow environment. The reward may then characterize the fluid flow over the object.

[0095] As just some additional examples, in a fluid flow environment, physical objects may include: pipes or other fluid conduits; rewards may characterize the flow of fluid through a pipe or conduit, or the surface coverage of a pipe or conduit by a fluid, such as for optimizing these, such as to optimize cooling or lubrication using the pipe or conduit. Fans, turbines, impellers, pumps, or pump components; rewards may then characterize the flow of fluid through a fan, turbine, impeller, pump, or pump component, such as for maximizing fluid flow or for minimizing resistance to fluid flow. Engines or motors, such as internal combustion engines, gas turbines, or electric motors; rewards may then characterize the flow of fluid through an engine or a portion of an engine, such as an inlet or exhaust or coolant path, to optimize fluid flow. Nozzles, mechanical devices that entrain particles in a fluid flow, such as an inhaler, or devices that entrain solid or liquid particles in a spray; rewards may then characterize a liquid spray from a nozzle or a certain amount or dispersion of solid or liquid particles entrained in a spray, to optimize these. A medical device for conveying a fluid, or a medical device through which a fluid flows or passes, such as a stent; the reward may then characterize the fluid flow, for example for maximizing the fluid flow or for minimizing the resistance to the fluid flow. Fluidized bed; the reward may then characterize the fluidization within the bed.

[0096] The simulated neural network can have a graph neural network architecture to process graphs including nodes and edges. For example, a fluid, i.e., a fluid flow environment, can be represented as particles, where the characteristics of the particles are represented by nodes as node embeddings, and the characteristics of the interactions between particles are represented by edges as edge embeddings. The node embeddings can define static features, such as the type and boundaries of the fluid ("boundary particles"), and dynamic features, such as particle positions and velocities (current or / and history) updated, for example, by predicting particle acceleration. The dynamic characteristics of the next time step, such as fluid motion, can then be determined by predicting the particle motion. As an example, the details of Sections 3 and 4.2 of Sanchez-Gonzalez et al. arXiv:2002.09405 are incorporated by reference.

[0097] In another example where the simulated neural network has a graph neural network architecture, the physical environment can be represented as a grid across the environment, with values ​​of one or more fields defined at the nodes of the grid, such as velocity, momentum, density or pressure fields or any other physical fields. Features of the nodes of the grid can be represented by node embeddings of the nodes of the graph, and features of the interactions between the nodes of the grid are represented by edge embeddings of the edges of the graph. Grid node features can have static features, such as features indicating whether the node is part of the physical object being designed, or part of the boundary of the physical object being designed, or a boundary such as a wall; or whether the node is a fluid node, i.e., a node for a part of the fluid in which the physical object is embedded. Grid node features can also include dynamic features representing changing aspects of the environment, such as representing the rate of change of one or more fields. The field for the next time step can then be determined by predicting the updated dynamic features of the node. The reward for the simulation that characterizes the state of the environment can be determined from the field, for example, to characterize the fluid flow according to the effect of the field on the object, such as force, pressure or stress on the object, for example integrated over a portion of all surfaces of the object. As an example, the details of sections 3.1-3.3 of Pfaff et al. arXiv:2010.03409 are incorporated by reference.

[0098] In some embodiments, a simulated neural network is trained using a true value simulator. In some embodiments, the simulated neural network is trained using data from a simulated environment that is different from the environment used to design the object. That is, the training data may exclude a specific environment used to design the object, or one or more specific shapes or configurations of the object, such as shapes or configurations explored by the method when design parameters are optimized, or shapes or configurations having physical features less than a threshold size. In this way, the simulated neural network can learn to produce more accurate simulations than those defined by a true value simulator, because "classical" simulators may fail in complex environments.

[0099] Increasing the length of a series of time steps of a simulated environment state can lead to higher quality designs, but long rolls can have stability issues. In some embodiments, a simulated neural network is trained using training data from a simulated environment, and using outputs from a real-value simulator without noise as training targets, noise is added to the training data, e.g., similar to the magnitude of the error in the training output. This allows the simulated neural network to learn to correct for the noise and improve stability, thereby facilitating longer rolls and higher quality designs.

[0100] An example process for optimizing a set of design parameters is described in more detail below.

[0101] Figure 2 shows that the system can be optimized by design (e.g., Figure 1 An example process for optimizing design parameters in multiple optimization iterations performed by the design optimization system 100 in FIG. 1 .

[0102] As referenced above Figure 1 The system can optimize the set of design parameters over multiple optimization time steps, for example, Figure 2 In the first optimization time step, the system can process the current value of the design parameter set 202a and use the simulated neural network to generate a first simulation output 204a, which is defined in a series of one or more time steps (e.g., k time steps, such as Figure 2 The system may use the first simulation output 204a to update the current value of the design parameter set 202a to determine the updated value of the design parameter set 202b. At the second optimization time step, the system may process the updated value of the design parameter set 202b and use the simulated neural network to generate a second simulation output 204b.

[0103] The system can use the second simulation output 204b to update the design parameter set 202b again to determine a new updated value for the design parameter set 202c. At the last optimization time step, the system can process the new updated value for the design parameter set 202c and generate a third simulation output 204c using the simulated neural network. The system can use the third simulation output 204c to update the last design parameter set. After the final optimization time step, the system can, for example, output the value of the design parameter set generated at the last optimization time step.

[0104] The decomposition diagram of the final optimization iteration is in Figure 2. At the last optimization iteration, the system obtains the set of design parameters 202c determined at the previous optimization iteration, and data defining the initial state 214 of the environment. In some cases, the system may additionally receive data defining a reward function 220, for example, as shown above by equation (1). The encoder 210 may generate a representation of the initial state of the environment as a graph 206. The simulated neural network may update the graph 206 over multiple internal iterations (e.g., t=1, t=2...t=n) and generate a simulation output defining a simulation of the state of the environment over a series of n time steps. In the final optimization iteration, the training engine 230 may use the simulation output to update the current value of the design parameter set 202c to determine the final value of the design parameter set. In some cases, the system may use the final value of the design parameter set to generate an optimized design 240 of the entity.

[0105] An example ensemble of multiple simulated neural networks is described next in more detail.

[0106] Figure 3 can be included in the design optimization system (e.g. Figure 1 1. Block diagram of an example integration 300 of simulated neural networks in the design optimization system 100 in FIG. The integration 300 of simulated neural networks is an example of a system implemented as a computer program on one or more computers in one or more locations in which the systems, components, and techniques described below are implemented.

[0107] As referenced above Figure 1 The design optimization system may be configured to iteratively optimize a set of design parameters that define a design of an entity (e.g., an object). For example, the system may be configured to process the set of design parameters to generate a representation of an initial state of an environment. The system may use a simulated neural network to process an input including a representation of the initial state of the environment according to the values ​​of the simulated neural network parameter set to generate a simulated output defining the state of the environment over a series of one or more time steps. The system may then use the simulated output to determine a reward and use the reward to update the current value of the design parameter.

[0108] like Figure 3 As shown, in some cases, the design optimization system may include an ensemble of multiple simulated neural networks, such as a first simulated neural network 320a, a second simulated neural network 320b, and an nth simulated neural network 320n, rather than having a single simulated neural network. In general, the ensemble 300 may include any suitable number of simulated neural networks 320, such as 2 neural networks, 5 neural networks, 10 neural networks, 50 neural networks, or any other suitable number of simulated neural networks.

[0109] In each optimization iteration, each neural network 320 can be configured to process an input including a representation of an initial state of the environment 340 to generate a corresponding simulation output 306, e.g., an output defining a corresponding simulation of the state of the environment over a plurality of time steps, e.g., in the same manner as described above with reference to Figure 1 In a similar manner as described above. Figure 3 As shown, first simulated neural network 320a may process representation 304 to generate first simulated output 306a, second simulated neural network 320b may process representation 304 to generate second simulated output 306b, and nth simulated neural network 320n may process representation 304 to generate nth simulated output 306n.

[0110] In each optimization iteration, for each simulated neural network 320, the training engine 330 can determine a corresponding reward based on the corresponding simulation of the environment state. The training engine 330 can then determine a corresponding gradient of the corresponding reward relative to the current value of the design parameter, for example, in the same manner as in the above reference. Figure 1 In a similar manner as described above, but for each of the plurality of simulated neural networks 320 in the ensemble 300. In each optimization iteration, after determining the corresponding gradient, the training engine 330 can use the corresponding gradient to update the current value of the design parameter, wherein the corresponding gradient is determined using each simulated neural network 320 in the ensemble 300 of simulated neural networks. For example, the training engine 330 can average the gradients determined using each simulated neural network 320 in the ensemble 300, and then use the average of the gradients to update the current value of the design parameter. Using the combined gradients generated using the ensemble 300 of simulated neural networks to adjust the design parameters can enable the design parameters to smoothly converge to a high-quality design over fewer optimization iterations than would otherwise be required, thereby improving the efficiency of the optimization. Using the combined gradients generated using the ensemble 300 of simulated neural networks to adjust the design parameters can enable the design parameters to smoothly converge to a high-quality design over fewer optimization iterations than would otherwise be required, thereby improving the efficiency of the optimization.

[0111] In some embodiments, the simulated neural networks 320 in the ensemble 300 may have different parameter values, for example, as a result of being trained on different sets of training data. For example, the first simulated neural network 320a may have a first set of parameters 325a, the second simulated neural network 320b may have a second set of parameters 325b, and the nth simulated neural network 320n may have an nth set of parameters 325n. In some cases, the training engine 330 may pre-train each simulated neural network 320 in the ensemble 300 before the system uses the simulated neural network 320 to optimize the design parameter set. After pre-training each simulated neural network 320 in the ensemble, the parameter values ​​of each simulated neural network 320 may remain static while the system uses the ensemble 300 to optimize the design parameter set. An example process for training a single simulated neural network 320 in the ensemble 300 is described in more detail below.

[0112] Training engine 330 may train simulated neural network 320 by using, for example, supervised learning techniques on a set of training data. The training data may include a set of training examples, where each training example may specify: (i) a training input that may be processed by simulated neural network 320, and (ii) a target output that should be generated by simulated neural network 320 by processing the training input. The training data may be generated, for example, by a real-value simulator (e.g., a physics engine) or in any other suitable manner.

[0113] In each training iteration, the training engine 330 can sample a batch of one or more training examples from the training data and provide them to the simulated neural network 320, which can process the training inputs specified in the training examples to generate corresponding outputs. The training engine can evaluate an objective function that measures the similarity between: (i) the target output specified by the training examples and (ii) the output generated by the simulated neural network 320, such as a cross entropy or squared error objective function.

[0114] The training engine 330 may determine the gradient of the objective function, for example, using a back-propagation technique, and may use the gradient, for example, using any suitable gradient descent optimization algorithm, such as Adam, to update parameter values ​​of the simulated neural network 320. The training engine 330 may determine a performance measure of the simulated neural network 320 based on a validation data set that was not used during the training of the simulated neural network 320. In a grid-based embodiment, the training engine 330 may train the simulated neural network 320 in a manner similar to that described above, but the training input may include grid node features instead of particle features.

[0115] Additionally, in a grid-based implementation, the training data can be generated by using, for example, a real-value simulator that is specific to a particular type of physical environment. Thus, the simulated neural network 320 can be trained by using different types of training data, each of which is generated by a different real-value simulator and is specific to a particular type of physical environment. The training engine 330 can use the above process to train each simulated neural network 320 in the ensemble but on a different set of training data. After training, the system can use the ensemble 300 of simulated neural networks to optimize a set of design parameters that define a physical design.

[0116] An example process for optimizing a set of design parameters is described in more detail below.

[0117] Figure 4 4 is a flow chart of an example process 400 for optimizing a set of design parameters. For convenience, process 400 is described as being performed by a system of one or more computers located in one or more locations. For example, a computer program such as a computer program that is appropriately programmed according to the present specification Figure 1 The optimization system 100 may perform process 400 .

[0118] The system obtains a respective initial value for each design parameter in a design parameter set (402). The design parameter set may represent a design of a physical object, such as a wing of an aircraft. In some cases, the design parameter set may include at least 500 design parameters.

[0119] The system iteratively optimizes the current values ​​of the design parameters in a sequence of optimization iterations (404). In some cases, at each optimization iteration, the environment can include an object having a design represented by the current values ​​of the set of design parameters.

[0120] In each optimization iteration, the system generates a representation of an initial state of the environment using the current values ​​of the design parameters (406). In some cases, the representation of the initial state of the environment may include data representing a graph including a plurality of nodes. Each node in the graph may represent a particle in the environment or a vertex in a mesh.

[0121] The system processes an input including a representation of an initial state of the environment using a simulated neural network according to values ​​of a set of simulated neural network parameters to generate an output defining a simulation of a state of the environment over a series of one or more time steps (408). The simulated neural network can have a graph neural network architecture. The system can generate an output by obtaining, for each time step, a representation of the state of the environment at that time step. Then, for each time step, the system can process the representation of the state of the environment at the time step using the simulated neural network to generate an output defining a representation of the state of the environment at the next time step. In some cases, the values ​​of the set of simulated neural network parameters can be static during optimization of the set of design parameters.

[0122] The system determines a reward based on the simulation of the environmental state, wherein the reward measures the quality of the design defined by the current values ​​of the design parameters (410). For example, the system can determine one or more aerodynamic characteristics of the object based on the simulation of the environmental state. The system then determines the reward based on the aerodynamic characteristics of the object.

[0123] The system determines the gradient of the reward with respect to the current value of the design parameter (412). For example, the system can back-propagate the gradient through the set of simulated neural network parameters into the set of design parameters.

[0124] The system updates the current value of the design parameter using the gradient. For example, the system may update the current value of the design parameter using the gradient according to a gradient descent optimization rule.

[0125] In some implementations, after the last optimization iteration, the system can output the current values ​​of the design parameters.

[0126] In some embodiments, the simulated neural network may be a simulated neural network in an ensemble of multiple simulated neural networks. In such a case, at each optimization iteration, and for each simulated neural network, the system may process inputs including a representation of an initial state of the environment using the simulated neural network to generate outputs defining a corresponding simulation of the state of the environment over multiple time steps. For each simulated neural network, the system may determine a corresponding reward based on the corresponding simulation of the state of the environment. For each simulated neural network, the system may determine a corresponding gradient of the corresponding reward relative to the current value of the design parameter. The system may then update the current value of the design parameter using the corresponding gradient determined using each simulated neural network in the ensemble of simulated neural networks. For example, the system may average the gradients determined using each simulated neural network in the ensemble of simulated neural networks. The system may then update the current value of the design parameter using the average of the gradients. In some cases, each simulated neural network in the ensemble of simulated neural networks may have a corresponding set of simulated neural network parameters that are initialized to corresponding random values ​​before being trained. In some cases, each simulated neural network in the ensemble of simulated neural networks has been trained on a different set of training data.

[0127] Example experimental results achieved using the design optimization system are described in more detail below.

[0128] Figure 5 500 shows example experimental results achieved using the design optimization system described in this specification. Figure 5 As shown, the set of design parameters defines the shape of the wing, for example, by defining the corresponding position of each control point in a set of ten control points that parameterize the shape of the wing. The mesh defining the environment includes 4158 mesh nodes. Figure 5 The results achieved by the optimization system using an ensemble of simulated neural networks including one neural network and an ensemble of simulated neural networks having five neural networks are compared. It will be appreciated that the design optimization system described in this specification is able to match the performance of a real value simulator using an ensemble having five simulated neural networks while being significantly less computationally intensive than a real value simulator.

[0129] Figure 6 Another example of experimental results 600 implemented using the design optimization system described in this specification is shown. Results are shown for an environment represented as a collection of particles. The design parameter set includes 16-36 design parameters. Figure 6 The "r" in represents the reward of the current design in each panel. The design goal is to create one or more two-dimensional "tool" shapes to guide the fluid (represented by particles) into randomly sampled reward regions. Specifically, Figure 6Three design tasks are shown, where the first task, such as "Contain", optimizes the design parameters of a multi-segment tool, such as the engagement angle, to capture fluid by creating a cup or spoon-like shape. The second task, such as "Ramp", optimizes the design parameters of a multi-segment tool, such as the engagement angle, to direct fluid to a distant location. The third task, such as "Maze", optimizes the design parameters of multiple tools, such as rotation, to funnel fluid to a target location.

[0130] It can be appreciated that the design optimization system is able to exploit the differentiability of the simulated neural network to directly optimize the quality of the design by iteratively adjusting the values ​​of the design parameters using the gradients of rewards for three different tasks. Using the gradients of the rewards computed by the simulated neural network to optimize the quality of the design can enable the optimization system to generate high-quality designs for different tasks faster and using less computational resources (e.g., memory and computing power) than conventional systems.

[0131] Figure 7 Another example of experimental results 700 achieved using the design optimization system described in this specification is shown. Results are shown for an environment defined using up to 2000 particles. The design parameter set includes 625 design parameters. The task includes optimizing a height map of a two-dimensional landscape to direct a fluid toward a circular target. A bird's-eye view of the corresponding height map is shown in the upper left corner of each panel. It can be appreciated that the design optimization system is able to outperform other systems using alternative techniques (e.g., "CEM-M") by optimizing the quality of the design by updating the current values ​​of the design parameters using the gradient of the reward according to a gradient descent optimization rule (e.g., "GD-M").

[0132] This specification uses the term "configuration" in conjunction with system and computer program components. For a system of one or more computers to be configured to perform a particular operation or action, it is meant that the system has installed thereon software, firmware, hardware, or a combination thereof, which, in operation, causes the system to perform the operation or action. For one or more computer programs to be configured to perform a particular operation or action, it is meant that the one or more programs include instructions that, when executed by a data processing device, cause the device to perform the operation or action.

[0133] Embodiments of the subject matter and functional operations described in this specification may be implemented in digital electronic circuits, tangibly embodied computer software or firmware, computer hardware, including the structures disclosed in this specification and their structural equivalents, or a combination of one or more of them. Embodiments of the subject matter described in this specification may be implemented as one or more computer programs, i.e., one or more modules of computer program instructions encoded on a tangible non-transitory storage medium, for execution by a data processing device or for controlling the operation of a data processing device. A computer storage medium may be a machine-readable storage device, a machine-readable storage substrate, a random or serial access memory device, or a combination of one or more of them. Alternatively or additionally, program instructions may be encoded on an artificially generated propagation signal, such as a machine-generated electrical, optical, or electromagnetic signal, which is generated to encode information for transmission to a suitable receiver device for execution by a data processing device.

[0134] The term "data processing apparatus" refers to data processing hardware and covers all kinds of apparatus, devices and machines for processing data, including, for example, a programmable processor, a computer or multiple processors or computers. The apparatus may also be or further include special-purpose logic circuits, such as an FPGA (field programmable gate array) or an ASIC (application-specific integrated circuit). In addition to the hardware, the apparatus may optionally include code that creates an execution environment for a computer program, for example, code constituting processor firmware, a protocol stack, a database management system, an operating system, or a combination of one or more of them.

[0135] A computer program, which may also be referred to or described as a program, software, software application, app, module, software module, script, or code, may be written in any form of programming language, including compiled or interpreted languages, or declarative or procedural languages; and it may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment. A program may, but need not, correspond to a file in a file system. A program may be stored in a portion of a file that holds other programs or data, such as one or more scripts stored in a markup language document, in a single file dedicated to the program in question, or in multiple coordinated files, such as files storing one or more modules, subroutines, or portions of code. A computer program may be deployed to be executed on one computer located at one site or on multiple computers distributed across multiple sites and interconnected by a data communications network.

[0136] In this specification, the term "engine" is used broadly to refer to a software-based system, subsystem, or process that is programmed to perform one or more specific functions. Typically, an engine will be implemented as one or more software modules or components installed on one or more computers in one or more locations. In some cases, one or more computers will be dedicated to a specific engine; in other cases, multiple engines can be installed and run on the same computer or multiple computers.

[0137] The processes and logic flows described in this specification can be performed by one or more programmable computers executing one or more computer programs to perform functions by operating on input data and generating output. The processes and logic flows can also be performed by a dedicated logic circuit such as an FPGA or ASIC, or by a combination of a dedicated logic circuit and one or more programmed computers.

[0138] Computers suitable for executing computer programs can be based on general or special purpose microprocessors or both, or any other kind of central processing unit. Typically, the central processing unit will receive instructions and data from a read-only memory or a random access memory or both. The basic elements of a computer are a central processing unit for executing or implementing instructions and one or more memory devices for storing instructions and data. The central processing unit and the memory can be supplemented by or incorporated into a special purpose logic circuit. Typically, the computer will also include one or more mass storage devices for storing data, such as magnetic disks, magneto-optical disks or optical disks, or be operably coupled to receive data from or transfer data to one or more mass storage devices, or both. However, the computer does not need to have such a device. In addition, the computer can be embedded in another device, such as a mobile phone, a personal digital assistant (PDA), a mobile audio or video player, a game console, a global positioning system (GPS) receiver, or a portable storage device, such as a universal serial bus (USB) flash drive, to name a few.

[0139] Computer-readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media, and memory devices, including, for example, semiconductor memory devices, such as EPROM, EEPROM, and flash memory devices; magnetic disks, such as internal hard disks or removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks.

[0140] To provide interaction with a user, embodiments of the subject matter described in this specification may be implemented on a computer having a display device for displaying information to the user, for example, a CRT (cathode ray tube) or LCD (liquid crystal display) monitor, and a keyboard and pointing device, for example, a mouse or trackball, through which the user can provide input to the computer. Other kinds of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback, such as visual feedback, auditory feedback, or tactile feedback; and input from the user may be received in any form, including acoustic, voice, or tactile input. In addition, the computer may interact with the user by sending documents to and receiving documents from a device used by the user; for example, by sending a web page to a web browser on a user's device in response to a request received from the web browser. In addition, the computer may interact with the user by sending a text message or other form of message to a personal device, for example, a smart phone running a messaging application, and receiving a response message from the user in return.

[0141] The data processing apparatus for implementing the machine learning model may also include, for example, dedicated hardware accelerator units for processing common and computationally intensive parts of machine learning training or production—i.e., inference—workloads.

[0142] Machine learning models can be implemented and deployed using a machine learning framework (for example, the TensorFlow framework or the Google JAX framework).

[0143] Embodiments of the subject matter described in this specification may be implemented in a computing system that includes a back-end component, for example, as a data server, or includes a middleware component, for example, as an application server, or includes a front-end component, for example, a client computer with a graphical user interface, a web browser, or an application through which a user can interact with an implementation of the subject matter described in this specification), or any combination of one or more such back-end, middleware, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication, for example, a communication network. Examples of communication networks include local area networks (LANs) and wide area networks (WANs), such as the Internet.

[0144] A computing system may include a client and a server. The client and the server are usually remote from each other and usually interact through a communication network. The relationship between the client and the server is due to computer programs running on the respective computers and having a client-server relationship with each other. In some embodiments, the server transmits data such as HTML pages to a user device, for example, for displaying data to a user interacting with the device acting as a client and receiving user input from the user. Data generated at the user device, such as the result of a user interaction, can be received from the device at the server.

[0145] Although this specification contains many specific implementation details, these should not be interpreted as limitations on the scope of any invention or the scope that may be claimed, but rather as descriptions of features that may be specific to a particular embodiment of a particular invention. Certain features described in the context of separate embodiments in this specification may also be implemented in combination in a single embodiment. On the contrary, the various features described in the context of a single embodiment may also be implemented in multiple embodiments separately or in any suitable sub-combination. In addition, although features may be described above as working in certain combinations and even initially claimed as such, in some cases, one or more features from the claimed combination may be deleted from the combination, and the claimed combination may be directed to a sub-combination or a variation of the sub-combination.

[0146] Similarly, although operations are depicted in the drawings and recited in the claims in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in a sequential order, or that all of the illustrated operations be performed to achieve the desired results. In some cases, multitasking and parallel processing may be advantageous. In addition, the separation of various system modules and components in the above-described embodiments should not be understood as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.

[0147] Specific embodiments of the subject matter have been described. Other embodiments are within the scope of the following claims. For example, the actions recited in the claims can be performed in a different order and still achieve the desired results. As an example, the processes depicted in the accompanying drawings do not necessarily require the particular order shown or sequential order to achieve the desired results. In some cases, multitasking and parallel processing may be advantageous.

Claims

1. A method for optimizing a set of design parameters executed by one or more computers, the method comprising: Obtaining a corresponding initial value of each design parameter in the design parameter set; as well as Iteratively optimizing the current value of the design parameter in a sequence of optimization iterations, including at each optimization iteration: generating a representation of an initial state of an environment using said current values ​​of said design parameters; processing an input including the representation of the initial state of the environment using a simulated neural network to generate an output, the output defining a simulation of the state of the environment over a series of one or more time steps, according to values ​​of a set of simulated neural network parameters; determining a reward based on the simulation of the state of the environment, wherein the reward measures a quality of a design defined by the current value of the design parameter; determining a gradient of the reward relative to the current value of the design parameter; and The gradient is used to update the current value of the design parameter.

2. The method according to claim 1, wherein: Determining a gradient of the reward relative to the current value of the design parameter comprises: Gradients are back-propagated through the set of simulated neural network parameters and back-propagated into the set of design parameters.

3. A method according to any preceding claim, wherein: Using the gradient to update the current value of the design parameter includes: The gradient is used to update the current value of the design parameter according to a gradient descent optimization rule.

4. A method according to any preceding claim, wherein: The set of design parameters represents a design of a physical object.

5. The method according to claim 4, wherein: At each optimization iteration, the environment includes the object having the design represented by current values ​​of the set of design parameters.

6. The method according to any one of claims 4 to 5, wherein: The object is a wing of an aircraft.

7. The method according to any one of claims 4 to 6, wherein: Determining the reward based on the simulation of the state of the environment comprises: determining one or more aerodynamic characteristics of the object based on the simulation of the state of the environment; and The reward is determined based on the aerodynamic characteristics of the object.

8. A method according to any preceding claim, wherein: At each optimization iteration, the representation of the initial state of the environment includes data representing a graph, the graph including a plurality of nodes.

9. The method according to claim 8, wherein: Each node in the graph represents a particle in the environment or a vertex in a mesh.

10. The method according to any one of claims 8 or 9, wherein: The simulated neural network has a graph neural network architecture.

11. A method according to any preceding claim, wherein: Generating the output of the simulation defining the state of the environment over a series of one or more time steps comprises, for each time step: obtaining a representation of the state of the environment at the time step; as well as The representation of the state of the environment at the time step is processed using the simulated neural network to generate an output defining a representation of the state of the environment at a next time step.

12. A method according to any preceding claim, wherein: The values ​​of the set of simulated neural network parameters are static during the optimization of the set of design parameters.

13. The method according to any preceding claim, further comprising: After the last optimization iteration, the current values ​​of the design parameters are output.

14. A method according to any preceding claim, wherein: The design parameter set includes at least 500 design parameters.

15. A method according to any preceding claim, wherein: The simulated neural network is a simulated neural network in an ensemble of multiple simulated neural networks, and the method comprises at each optimization iteration: For each simulated neural network in the ensemble of simulated neural networks: processing the input including the representation of the initial state of the environment using the simulated neural network to generate a corresponding simulated output defining the state of the environment over a plurality of time steps; determining a respective reward based on the respective simulation of the state of the environment; as well as determining a respective gradient of the respective reward relative to the current value of the design parameter; as well as The current value of the design parameter is updated using the respective gradient determined using each simulated neural network in the ensemble of simulated neural networks.

16. The method according to claim 15, wherein: Each simulated neural network in the ensemble of simulated neural networks has been trained on a different set of training data.

17. The method according to any one of claims 15-16, wherein: Each simulated neural network in the ensemble of simulated neural networks has a respective set of simulated neural network parameters initialized to respective random values ​​prior to being trained.

18. The method according to any one of claims 15 to 17, wherein: Updating the current value of the design parameter using the respective gradient determined using each simulated neural network in the ensemble of simulated neural networks comprises: averaging the gradients determined using each simulated neural network in the ensemble of simulated neural networks; and An average of the gradients is used to update the current value of the design parameter.

19. A system comprising: one or more computers; as well as One or more storage devices communicatively coupled to the one or more computers, wherein the one or more storage devices store instructions that, when executed by the one or more computers, cause the one or more computers to perform the operations of the method of any one of claims 1-18.

20. One or more non-transitory computer storage media storing instructions that, when executed by one or more computers, cause the one or more computers to perform the operations of the method of any one of claims 1 to 18.

Citation Information

Cited By

  • Turbine blade cooling structure parameter recommendation method based on generative model

    CN119272435A