Parameter and state initialization for model training

By identifying and configuring shared or global parameters in a centralized condition, the amount of resources and data required to train complex machine learning models is reduced, and the problems of resource-intensive and data-intensive in the existing technology are solved, and training efficiency and model interpretability are improved. .

CN118891678APending Publication Date: 2024-11-01X DEVELOPMENT LLC
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202280093769.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-01-31
Filing Date
2022-12-21
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

The resources required to train complex machine learning models (such as CPU cycles and memory) are usually proportional to model complexity, and the dataset size increases accordingly, resulting in time-consuming and resource-intensive training, making it difficult to efficiently identify and support training with reduced Complex models of resource and data spending.

Method used

By defining the condition set, identifying the specific conditional parameter set that can be learned to configure the model architecture, and using shared or global parameters, generating parameter data structures, using loss functions to train the model, reducing the number of unique learned parameter sets, and thus reducing the training requirements. computing resources and data volume.

Benefits of technology

It effectively reduces the amount of computing resources and data required to train complex models, improves training efficiency, and improves the interpretability of the model, making the model more stable when transforming under different conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118891678A_ABST
    Figure CN118891678A_ABST
Patent Text Reader

Abstract

A set of conditions to be simulated via execution of a machine learning model is defined. For each condition, a learnable set of particular condition parameters is identified to configure the model architecture. A first learnable particular condition parameter associated with a first condition of the set of conditions may be identified as a shared or global parameter that will have the same value as at least another learnable particular condition parameter (associated with another condition). The one or more parameter data structures may be configured with parameter values for a particular one of the condition sets, wherein the configuration exerts a constraint that a value of a first particular condition parameter is the same as at least one value of at least one other particular condition parameter. A machine learning model may be trained using the configured parametric data structure.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to U.S. Utility Application No. 17 / 649,472, filed on January 31, 2022, entitled “PARAMETER AND STATE INITIALIZATION FOR MODEL TRAINING,” the entire contents of which are incorporated herein by reference in their entirety for all purposes. Background Art

[0003] Training a machine learning model can be very time consuming and can use a lot of computing resources (e.g., CPU cycles, memory, etc.). This resource expenditure is generally proportional to the complexity of the model. Similarly, the size of the training dataset required for training is generally proportional to the model complexity.

[0004] However, complex models can be very valuable. For example, it can be used to have a single model that can simulate how a given system performs under different conditions. This can facilitate identifying (for example) which parts of the system are important to compensate for deficiencies that exist under specific conditions, to understand how the system dynamically adjusts to changing conditions, etc.

[0005] Therefore, it would be advantageous to identify techniques that support training complex models with reduced resource and training data costs. Summary of the invention

[0006] In some embodiments, a set of conditions to be simulated via execution of a machine learning model is defined. For each condition, a learnable set of specific condition parameters is identified to configure the model architecture. A first learnable specific condition parameter associated with a first condition in the condition set can be identified as a shared or global parameter, which will have the same value as at least another learnable specific condition parameter (associated with another condition). One or more parameter data structures can be configured with parameter values ​​for a specific condition parameter set for a condition set, wherein the configuration imposes the same constraint on the value of the first specific condition parameter and at least one value of at least one other specific condition parameter. The configured parameter data structure can be used to train a machine learning model. The trained machine learning model can be executed by processing another data set.

[0007] Configuring one or more parameter data structures can include: generating an initial version of the parameter data structure of the one or more parameter data structures to include values ​​for each of a set of learnable specific condition parameters of a condition set; identifying the initial values ​​to initially define the shared or global parameters; and generating a modified version of the parameter data structure to replace the initial version of at least one other learnable specific condition parameter with the initial value.

[0008] Training a machine learning model can be performed using a loss function that associates a loss with a value of a set of unique learnable parameters, and wherein the number of unique learnable parameters in the set of unique learnable parameters is less than the number of parameters represented in the one or more parameter data structures.

[0009] Training a machine learning model may include: calculating a loss function, wherein the loss function associates a specific loss with a value of a learnable parameter set, wherein the learnable parameter set includes specific learnable parameters corresponding to a first learnable specific condition parameter and at least one other learnable specific condition parameter; identifying a new value set for the learnable parameter set using the loss function, wherein the new value set includes new values ​​for the specific learnable parameter; and updating the one or more parameter data structures using the new value set for the learnable parameter set, wherein the updating includes setting each of the at least one value of the at least one other specific condition parameter and the value of the first specific condition parameter to the new value.

[0010] The first learnable specific condition parameter may be a shared parameter, the combination of the first condition and each corresponding other condition associated with at least one other learnable specific condition parameter is an incomplete subset of the condition set, and the method may further include stipulating that different learnable specific condition parameters are global parameters having the same value across all conditions in the condition set; wherein, configuring the one or more parameter data structures imposes a constraint, the constraint being that the value of the parameter corresponding to the global parameter is the same across conditions.

[0011] The machine learning model may be a model that simulates a biological cell, and at least one of the condition sets may correspond to a simulation in which a particular gene is missing or inactive.

[0012] The machine learning model may be a model that simulates a biological cell, and at least one of the set of conditions may correspond to a simulation of adding a particular agent to a culture medium external to the biological cell.

[0013] In some embodiments, a system is provided that includes one or more data processors and a non-transitory computer-readable storage medium containing instructions that, when executed on the one or more data processors, cause the one or more data processors to perform part or all of one or more methods disclosed herein.

[0014] In some embodiments, a computer program product is provided, which is tangibly embodied in a non-transitory machine-readable storage medium and includes instructions configured to cause one or more data processors to perform part or all of one or more methods disclosed herein.

[0015] Some embodiments of the present disclosure include a system comprising one or more data processors. In some embodiments, the system includes a non-transitory computer-readable storage medium containing instructions, which, when executed on one or more data processors, causes the one or more data processors to perform part or all of one or more methods disclosed herein and / or part or all of one or more processes. Some embodiments of the present disclosure include a computer program product tangibly embodied in a non-transitory machine-readable storage medium, which includes instructions configured to cause one or more data processors to perform part or all of one or more methods disclosed herein and / or part or all of one or more processes.

[0016] The terms and expressions that have been adopted are used as terms of description rather than limitation, and when using these terms and expressions, it is not intended to exclude any equivalents of the features shown and described or parts thereof, but it should be recognized that various modifications can be made within the scope of the invention claimed. Therefore, it should be understood that although the present invention has been specifically disclosed through embodiments and optional features, modifications and variations of the concepts disclosed herein may be adopted by those skilled in the art, and these modifications and variations are considered to be within the scope of the invention defined by the appended claims. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The present disclosure is described in conjunction with the accompanying drawings:

[0018] Figure 1 An interactive system for configuring and using simulations to facilitate subsequent experimental configuration according to some embodiments of the present invention is shown;

[0019] Figure 2 shows a representation of modules representing different biological functions according to an embodiment of the present invention;

[0020] Figure 3 A simulation controller according to some embodiments of the present invention is shown that dynamically integrates results generated by different types of models to simulate higher-level states and reactions;

[0021] Figure 4 A process for dynamically synthesizing results generated by multiple simulators to simulate higher-level results according to an embodiment of the present invention is shown;

[0022] Figure 5 shows a specific module simulation controller for simulating states and reactions according to some embodiments of the present invention;

[0023] Figure 6 A process for generating metabolite time course data using a simulator according to an embodiment of the present invention is shown;

[0024] Figure 7A block diagram illustrating an exemplary computing system for building a machine learning model; and

[0025] Figure 8 A flowchart showing an exemplary process for training and using a machine learning model for use across different conditions is shown.

[0026] In the accompanying drawings, similar components and / or features may have the same reference number. In addition, various components of the same type may be distinguished by following the reference number with a dash and a second reference number that distinguishes the similar components. If only the first reference number is used in the specification, the description applies to any of the similar components having the same first reference number, regardless of the second reference number. DETAILED DESCRIPTION

[0027] The following description provides only preferred exemplary embodiments and is not intended to limit the scope, applicability or configuration of the present disclosure. Instead, the following description of the preferred exemplary embodiments will provide an enabling description for implementing various embodiments for those skilled in the art. It should be understood that various changes may be made to the function and arrangement of the elements without departing from the spirit and scope set forth in the appended claims.

[0028] Specific details are given in the following description to provide a thorough understanding of the embodiments. However, it should be understood that the embodiments can be practiced without these specific details. For example, circuits, systems, networks, processes, and other components can be shown as components in block diagram form to avoid obscuring the embodiments with unnecessary details. In other examples, well-known circuits, processes, algorithms, structures, and techniques can be shown without unnecessary details to avoid obscuring the embodiments.

[0029] In addition, it should be noted that various embodiments can be described as a process, which is depicted as a flowchart, flow diagram, data flow diagram, structure diagram or block diagram. Although a flowchart or diagram can describe an operation as a sequential process, many operations can be performed in parallel or simultaneously. In addition, the order of the operations can be rearranged. A process terminates when its operations are completed, but may have additional steps not included in the figure. A process can correspond to a method, function, procedure, subroutine, subprogram, etc. When a process corresponds to a function, its termination can correspond to the function returning to the calling function or main function.

[0030] The following description provides only preferred exemplary embodiments and is not intended to limit the scope, applicability or configuration of the present disclosure. Instead, the following description of the preferred exemplary embodiments will provide an enabling description for implementing various embodiments for those skilled in the art. It should be understood that various changes may be made to the function and arrangement of the elements without departing from the spirit and scope set forth in the appended claims.

[0031] Specific details are given in the following description to provide a thorough understanding of the embodiments. However, it should be understood that the embodiments can be practiced without these specific details. For example, circuits, systems, networks, processes, and other components can be shown as components in block diagram form to avoid obscuring the embodiments with unnecessary details. In other examples, well-known circuits, processes, algorithms, structures, and techniques can be shown without unnecessary details to avoid obscuring the embodiments.

[0032] In addition, it should be noted that various embodiments can be described as a process, which is depicted as a flowchart, flow diagram, data flow diagram, structure diagram or block diagram. Although a flowchart or diagram can describe an operation as a sequential process, many operations can be performed in parallel or simultaneously. In addition, the order of the operations can be rearranged. A process terminates when its operations are completed, but may have additional steps not included in the figure. A process can correspond to a method, function, procedure, subroutine, subprogram, etc. When a process corresponds to a function, its termination can correspond to the function returning to the calling function or main function.

[0033] Figure 1 An interactive system 100 for configuring an instance or version of a model and using simulation to facilitate subsequent experimental configuration (e.g., simulating the response of a biological system to a new demand) according to various embodiments is shown. Each instance of the model can have a combination of modules, perturbations (such as knockouts), and can be constructed using a specific experimental data set. In order to facilitate configuring a model (e.g., a biological system) and simulating the results of the model, the interactive system 100 may include one or more components, each of which may include (for example) one or more servers, one or more computers, and / or one or more mobile devices. In some cases, two or more components may be included in the same server, the same server system, the same computer, etc. The interactive system 100 may include one or more networks (e.g., a wired network, a wireless network, the Internet, a local area network, a wide area network, a short-range network, etc.) so that each component in the interactive system 100 can communicate with one or more other components in the interactive system 100.

[0034] The interactive system 100 may include a simulation controller 105 that defines, generates, updates, and / or executes each of the one or more simulations. The simulations may be configured to simulate a dynamic progression through states, a time-evolving state of a biological system model, and / or a steady state based on an iterative module-based evaluation. It should be understood that identifying a steady state and / or equilibrium solution for a module at a given time step need not indicate that a steady state and / or equilibrium solution has, can, or will generally be identified for the model (e.g., because a metabolite produced and / or consumed at one module may be further produced and / or consumed at another module that need not be configured for balancing fluxes).

[0035] A given model can be used to generate and run any number of simulations. Different initial conditions and / or different automatically generated values ​​(e.g., generated using pseudo-random number generation techniques, random pulls from distributions, etc.) in the random portion of the simulation can result in different output results for different simulations. The biological system model can be composed of one or more modules, and during the simulation run, each module operates independently and passes the result back to the biological system model level. More specifically, a biological system (e.g., a whole cell) can be modeled according to the coordinated operation of multiple modules representing the structure and / or function of the biological system. Each module can be defined as executing independently, except that a shared state value (e.g., a state vector) set maintained at the biological system model level can be used and accessed by multiple modules at each time point.

[0036] In some cases, each module of the biological system is configured to advance between iterations (e.g., time points) using one or more physiological and / or physical based models (e.g., flux balance analysis (FBA), template synthesis, body mass flow analysis, constant nonspecific degradation, empirical analysis, etc.). Specific module iterative processing can also be based on one or more specific module state values ​​(as determined based on the initial definition of the initial iterative processing or the results of the previous iterative processing of the subsequent iterative processing). Specific module iterative processing can also be based on one or more parameters defined for the module, which are fixed and / or static in the iteration.

[0037] The simulation controller 105 can generate a simulation configuration using one or more inputs received from the user device 110. For example, the simulation controller 105 can generate an interface (or can at least partially define the specification of the interface), which will be utilized and / or sent to the user device 110 and includes an input field, which is configured to receive input corresponding to (for example) the selection of one or more modules to be used for a given biological system model, the model type to be used for each of the one or more modules, one or more parameters to be affected by the model of the given module and used during execution. And / or one or more initial state value definitions to be used by the model of the given module and used during execution. In some cases, the interface identifies the default value of each of one, more or all parameters of the model and each of one, more or all initial state values ​​of the model, and is configured to receive a subset or all of the parameters and / or initial state values ​​of the identification default values. In some cases, modifying the default initial state value and / or parameter can correspond to the disturbance of the performance of the corresponding module and / or biological system.

[0038] As another example, the interface may further or alternatively be configured to receive input corresponding to a selection of one or more default modules and a selection of a model type to be used for each of the one or more modules. For example, the interface may include one or more modules representing different biological functions in a biological system model (e.g., Figure 2 ), and for each module: the name of the module, a default model type for the module, and an option configured to receive a selection of another model type for the module (e.g., identifying one or more other model types that can be selected for the module).

[0039] A default structure for a simulation (e.g., corresponding to default modules, default parameters, default initial state values, and / or default model selection) may be determined based on detected internal or external content and / or based on laboratory results (e.g., results from a physical experiment). The content may include, for example, online, remote, and / or local content collected by the content robot 115. The content robot 115 may, for example, include a crawler that performs focused crawling and / or focused browsing of, for example, the Internet, a portion of the Internet, one or more pre-identified websites, a remote (e.g., cloud-based) storage system, a portion of a remote storage system, a local storage system, and / or a portion of a local storage system. Crawling may be performed according to one or more crawling strategies and / or one or more queries corresponding to one or more modules and / or models (e.g., where each query includes a variable name, representation, or description and / or a cellular function name, representation, or description).

[0040] The laboratory results may be received from the wet lab value detection system 120, which may be configured to trigger the execution of one or more investigations (e.g., physical experiments) to detect and / or measure data corresponding to initial state values ​​and / or data corresponding to characteristics or parameters of the biological system. The wet lab value detection system 120 may transmit one or more results of the investigation back to the simulation controller 105, which may thereafter determine and / or define default initial state values ​​or parameters or possible modifications thereof based on the results.

[0041] The interactive system 100 also includes a simulation validator 125, which can be configured to verify the performance of the simulation. The verification can be performed based on pre-identified indications about how the biological system works properly and / or given one or more disturbances. Such indications can be defined based on content collected from the content robot 115 and / or results from the wet lab value detection system 120. The data used to verify the simulation can include (for example) one or more equilibrium values, one or more values ​​indicating battery dynamics, one or more steady-state values, one or more intermediate values, and / or one or more time-course statistics. The simulation validator 125 can return performance results including (for example) numbers, categories, clusters, or binary indicators to the simulation controller 105. The simulation controller 105 can use the results to determine (for example) whether a given simulation configuration is suitable for use (for example, in this case, it can be selectable in the interface).

[0042] After the simulation is configured with the definition and / or selection of modules, module-specific models, parameters and / or initial state values, the simulation controller 105 can execute the simulation (e.g., in response to receiving an instruction to execute the simulation from the user device 110). The simulation execution can produce one or more simulation results, which can include (for example) one or more equilibrium values, kinetic values, etc. For example, the simulation can use linear algebra to identify the solution of the stoichiometric equation corresponding to the reaction set so that the production and consumption of the metabolites represented in the equation are balanced. It is worth noting that this balance can be specific to a given module and does not need to be achieved for all metabolites produced or consumed by the reactions of a given module (e.g., because the non-zero net production or consumption of one or more boundary metabolites can be a predefined and / or target result of the module). The simulation controller 105 can send the results (e.g., via an interface) to the user device 110.

[0043] In some cases, the results may be used to trigger and / or define subsequent experiments. For example, simulation controller 105 may determine whether a given predefined condition is satisfied based on the results, and if so, simulation specific data (e.g., indicating one or more initial state values, parameters, mutations corresponding to the simulation definition, etc.) may be sent to experiment system 130. The transmission may indicate and / or include instructions to perform an experiment corresponding to the simulation.

[0044] As another example, upon receiving simulation results from the simulation controller 105, the user device 110 may present an interface including some or all of the results and an input component configured to receive input corresponding to an instruction to perform an experiment corresponding to the simulation. Upon receiving a selection at the input component, the user device 110 may send data corresponding to the simulation to the experiment system 130. After performing the requested experiment, the experiment system 130 may return one or more results to the simulation controller 105 and / or the user device 110.

[0045] Figure 2 An illustrative representation of a given biological system model 200 is shown. The overall modeling strategy includes partitioning the biological system model 200 into modules that can be modeled separately, using methods and levels of detail that are appropriate for each module and / or selected for each module. The partitioning and level of detail of each module can be selected based on, for example, the experiment or simulation to be run by the model (e.g., the problem the model is trying to solve). This selection can be made by the modeler and / or the computing system (e.g., regarding Figure 1 The interactive system 100 described herein is performed. For example, a user working through an interface of an integrated development environment, a script, and / or an automation system can be implemented to select one or more modules and select a model type to be used for each of the one or more modules to ultimately generate a biological system model 200. Additionally or alternatively, the partitions can be customized and depend on an evaluation of the biological functions defined by the initial high-level data set. For example, separate modules can be defined to represent each of the following biological functions: core metabolism 205, membrane synthesis 210, cell wall synthesis 215, DNA replication 220, transcription 225, transcription regulation 230, translation 235, RNA salvage (not shown), protein and RNA maturation, protein salvage (not shown), transmembrane transport 240 (including electron chain, oxidative phosphorylation, redox and pH interconversion activity 245), signal transduction (not shown), stress response and growth rate regulation 250, cell division, chemotaxis (not shown), and cell-cell signaling (not shown).

[0046] The biological system model 200 may include at least one module for processing core metabolism 205. A possible core metabolism module uses an FBA model, which adopts the general shape from an independent FBA, but includes modifications that consider the interaction of the core metabolism module with other modules. Each of one, multiple or all other modules can have the generation and consumption of some of their own identical molecules within the FBA network, as described in further detail herein. However, as will be appreciated by those of ordinary skill in the art, the FBA model need not be incorporated into the entire biological system model 200 in order to make each simulation work. On the contrary, various types of models may be used for modules (e.g., core metabolism 205, membrane synthesis 210, cell wall synthesis 215, etc.), as long as the type of model can be configured to read a value from a state vector and return a list of changes that should be made to the state vector.

[0047] For an exemplary instantiation of the biological system model 200, core metabolism 205, membrane synthesis 210, and cell wall synthesis 215 can be included as a single FBA problem, while DNA replication 220, transcription 225, transcription regulation 230, and translation 235 can be isolated from the rest of the metabolic network. At the same time, transcription 225 and translation 235 can use a template synthesis model, and DNA replication 220 can use an overall mass flow model. Transcription regulation 230 can be empirical and static. Optionally, RNA salvage can be modeled using constant nonspecific degradation, and the levels of polymerized DNA, RNA, and protein can be determined by the intrinsic rates of the processes that produce them, and the remaining components are provided as inputs or parameters to the model.

[0048] For another exemplary instantiation of biological system model 200, core metabolism 205 can be included as a single FBA problem. The balance of internal metabolite pools and the supply of building blocks for other processes can be maintained by core metabolism 205. DNA replication 220, transcription 225, transcription regulation 230 and translation 235 can then be separated from the rest of the metabolic network. Membrane biosynthesis 210 and cell wall synthesis 215 can be modeled by the kinetics driven by substrates and catalysts. Input and output rates and all exchanges with the environment can be driven by the kinetics of membrane transport. Transcription 225 and translation 235 can use template synthesis models, and DNA replication 220 can use overall mass flow models. Transcription regulation 230 can be empirical and static. Optionally, RNA remediation can be modeled using the representation of constant nonspecific degradation, and polymerized DNA, RNA and protein levels can be determined by the intrinsic rates of the processes that produce them, and the remaining components of the biological system can be provided as inputs or parameters of the model.

[0049] For another exemplary instantiation of the biological system model 200, core metabolism 205 can be included as a FBA problem, while one or more of membrane synthesis 210, cell wall synthesis 215, DNA replication 220, transcription 225, transcription regulation 230, and translation 235 can be isolated from the rest of the metabolic network. The balance of the internal metabolite pool and the supply of building blocks for other processes can be maintained by the core metabolism 205. Membrane biosynthesis 210 and cell wall synthesis 215 can be modeled by substrate and catalyst driven dynamics. Input and output rates and all exchanges with the environment can be driven by the dynamics of membrane transport. Redox balance, pH, and chemical osmotic gradients can be explicitly maintained. DNA replication 220, transcription 225, and translation 235 can use models based on initiation, extension, and termination, and transcription regulation 230 can be pattern driven. Stress response and growth rate regulation 250 can be modeled using feedback control mechanisms. Optionally, RNA salvage can be modeled using constant nonspecific degradation, while aggregated DNA, RNA, and protein levels can be determined by the intrinsic rates of the processes that produce them, and the remaining components of the biological system can be provided as inputs or parameters to the model.

[0050] Although the biological system model 200 has been described at some length and with some particularity with respect to several described modules, combinations of modules, and simulation techniques, it is not intended that the biological system model 200 be limited to any such particular module configuration or particular embodiment. Rather, it should be understood that the described embodiments are provided as examples of modules, combinations of modules, and simulation techniques, and that the modules, combinations of modules, and simulation techniques should be interpreted in the broadest sense to include variations of the modules, combinations of modules, and simulation techniques listed above, as well as other modules, combinations of modules, and simulation technique configurations that can be constructed using methods and levels of detail appropriate to each module and the biological system model 200.

[0051] Figure 3 A simulation controller 300 is shown according to various embodiments that dynamically integrates a program developed by an integrated development environment (e.g., Figure 1 The interactive system 100 described herein is configured to generate results of different types of models to simulate biological system models (e.g., as described with respect to Figure 2A partitioner 305 may be provided that identifies one or more modules that are potentially useful for simulation. In some cases, the modules are identified as corresponding to different biological functions or physiological processes within the biological system model. Nevertheless, at least one module (e.g., a primary module) may address or cover a larger set of biological functions in more detail (e.g., corresponding to a core physiological level across the biological system, such as general metabolism of the biological system), while at least one other module (e.g., a secondary module) may address or cover a smaller set of biological functions in less detail (e.g., corresponding to transcription and / or translation).

[0052] The specific module simulation distributor 310 can distribute simulation types to each module. The simulation type can be selected from one or more types associated with the module and / or the corresponding physiological process. One or more types can be different about the degree of detail of (for example) the physiological process being modeled and / or how the process is modeled. For example, one or more types can include simulations using a metabolic integration model (for example, wherein a specific end product is added to the objective function of the model based on metabolism), substrates and / or catalyst driven models using kinetic parameters and reactions, and / or high-order structural models. The structure for each simulation type (for example, indicating how to perform simulation and / or program code) is included in the simulator structure data storage 315. The simulator structure data storage 315 can also store the association between each simulation type and one or more modules, and the simulation type is associated with the one or more modules and allows selection for use.

[0053] The module-specific simulator controller 320 may identify one or more simulation parameters and input data sets for each module. The simulation parameters may be retrieved from a local data store (e.g., simulator parameter data store 325) or from a remote source. Each of one or more of the simulation parameters may be identified based on, for example, user input, data fitting techniques, and / or remote content. Once the parameters are selected, they may be iteratively fixed across time steps.

[0054] At an initial time step, the input data set may include one or more initial input values, which may be retrieved from a local data store (e.g., initial input data store 330) or from a remote source. Each of one or more of the initial input values ​​may be identified based on, for example, user input, data fitting techniques, and / or remote content. With respect to each subsequent time step, the input data set may include, for example, one or more results from a previous iteration of a module and / or one or more high-level results (e.g., cumulative or integrated results) generated from a previous iteration of a multi-module simulation. For example, a specific module result data store 335 may store each of one, more, or all results generated by an assigned simulation for each of one, more, or all past time steps, and may retrieve at least one of the stored results associated with a previous time step (e.g., a most recent time step).

[0055] Upon identifying the input data set and parameters, the module-specific simulator controller 320 may run the simulation assigned to the module. The execution of the module-specific simulation may be performed concurrently, in parallel, and / or using different resources (e.g., different processors, different memories, and / or different devices). The results of the simulation runs may be stored in the module-specific results data store 335.

[0056] After the results have been generated for each module, the cross-module results synthesizer 340 can access the specific module results (from one or more specific module results data stores or direct data utilization) and synthesize the results to update high-level data, such as a state vector (e.g., stored in the high-level metabolite data store 345). For example, a set of results generated by different modules but related to the same variable can be identified. The results can be integrated by, for example, summing the changes in the variables indicated across the results (e.g., potentially utilizing one or more upper limits related to the summed changes or the value of the variable after the summed changes are achieved). In some examples, a hierarchy is used so that results from one module (if available or if another condition is met) will be used exclusively, and results from another module will be used in other ways.

[0057] When synthesizing the results, as long as the simulation is not completed, the time step incrementer 350 can increment the time step to the next time step. When (for example) the processing of a predefined number of time steps has been performed, a specific result (for example, indicating that target cell growth has occurred or the cell has died) has been detected, or a stable state has been reached (for example, as indicated by the value of one or more predefined types of results that differ by less than a predefined threshold amount across the time step), it can be determined that the simulation is complete. When the time step is incremented, the specific module simulator controller 320 can collect new input data sets for each module and run the assigned simulation. When the simulation is completed, an output can be generated to include one or more specific module results, some or all high-level data and / or processed versions thereof. For example, the output can include the time course data of each of one or more metabolites, the growth of the biological system over a period of time (for example, as identified by the ratio of the availability value of one or more specific metabolites at the final time step to the availability value at the initial time step) and / or the growth rate. The output can be sent to another device (for example, to be presented using a browser or other application) and / or presented locally.

[0058] The multi-module simulation controller 300 may also include a disturbance implementer 355. The disturbance implementer 355 may facilitate the presentation of an interface on a user device. The interface may identify various types of disturbances (e.g., mutations). The disturbance implementer 355 may facilitate presentation by sending data (e.g., HTTP data) to the user device so that the interface may be presented online. The disturbance implementer 355 may detect a selection corresponding to a specific disturbance and may send an indication to a specific module simulator controller 320. The specific module simulator controller 320 may use functional gene data to determine how a mutation affects one or more metabolites and / or one or more simulation processes. The structure of the simulator, one or more simulator parameters, and / or one or more initial input values ​​may then be adjusted according to the effect of the disturbance. Therefore, the multi-module simulation controller 300 may generate an output indicating how a disturbance affects, for example, a physiological process and / or growth of a cell biology system.

[0059] Figure 4 A process 400 is shown for dynamically synthesizing results generated by multiple simulators to simulate a higher-level result in accordance with various embodiments. In some embodiments, the process depicted in process 400 is performed by Figure 1 The interactive system 100 is implemented, and about Figure 4The simulation controller 300 of the present invention is discussed. Process 400 begins at box 405, at which an initial high-level data set is defined for the biological system model. The initial high-level data set can identify (for example) variables, which can be referred to as the state of the biological system model or the state of the simulation, and these variables can be constructed as a data structure (for example, a state vector) and updated throughout the simulation run. In some cases, the variables include the initial availability of each of the molecule sets (for example, metabolites). The initial availability can be defined based on (for example) default values, user input, data extracted from content (for example, online content related to molecules, remote content or local content), etc. In some cases, the initial availability is determined based on whether any disturbance is identified for a given simulation (for example, via user input). If a disturbance is identified, the initial availability can be determined based on the identified specific disturbance and by using (for example) a lookup table to determine which (which) molecules the disturbance affects the availability value and the characteristics of this impact.

[0060] At block 410, the biological system model (e.g., a whole cell model) is partitioned into a plurality of modules. The partitioning may depend on metabolite dependencies and / or biological function assessments. For example, separate modules may be defined to represent each of the following biological functions: core metabolism, membrane synthesis, cell wall synthesis, DNA replication, transcription, transcription regulation, translation, RNA salvage, protein and RNA maturation, protein salvage, transmembrane transport (including electron chain, oxidative phosphorylation, redox and pH interconversion activities), signal transduction, stress response and growth rate regulation (SOS), cell division, chemotaxis and cell-cell signaling, such as with respect to Figure 2 Further details are discussed in detail in the literature. In some cases, two or more of these functions can be represented in a primary module that models cell composition and growth using a single model. A specific cell function need not be modeled explicitly, but rather the dynamics of the end product of the specific cell function can be modeled. For example, a primary module can use a method described herein (e.g., Figure 5 or Figure 6 ) based on flux analysis or simulation techniques.

[0061] In some cases, partitioning may be performed based on user input and / or one or more default configurations. For example, an interface identifying each potential separate module may be presented (e.g., via a web interface such as that described in relation to FIG. Figure 1 The simulation controller 105 described herein presents an interface). The default configuration may be to integrate a module into a main module (e.g., a core metabolism module) unless input to the contrary is received, or to perform a simulation using a specific module modeling unless input to the contrary is received. For example, the interface may be configured to receive one or more selections of modules to be excluded from the main module and then integrate each other module into the main module.

[0062] At box 415, for each module, one or more simulation techniques are assigned to the module.Simulation techniques can include model types.In some cases, the simulation techniques assigned to primary modules include analysis based on flux or other simulation techniques, as described herein.In some cases, simulation techniques include mechanical models, kinetic models, partial kinetic models, substrate and / or catalyst driven models and / or structural models.Simulation techniques can be assigned based on (for example) user input and / or one or more predefined default selections.For example, for each secondary module, the default selections representing the specific functions of the module can be predefined, and for each primary module, the dynamic default selections of simulated metabolites in the simulation time period can be predefined.The interface can identify the default selections for each module and one or more other simulation techniques associated with the module (for example, wherein the association is based on stored data and / or predefined configurations).Then, user input can indicate that alternative simulation techniques will be used for one or more modules.

[0063] At box 420, for each module, the simulator is configured by setting parameters and variables. Parameters (e.g., numerical values) may correspond to inputs to be used in the simulation technique assigned to the module and do not change across the time step of the simulation. Specific parameters may be determined based on (e.g.) stored data, content, communication from another system, and / or user input. One or more module-specific or cross-module variables (e.g., identifying the initial availability of one or more metabolites) may correspond to inputs to be used in the simulation technique assigned to the module and may change across the time step of the simulation. For example, parameters may be determined for a simulator that sets the minimum viable pH in the cytoplasm (below which the cell dies), and variables describing the current pH in the cytoplasm may be identified. The variable (current pH) may change throughout the simulation; however, the parameter (minimum possible pH) does not change and remains fixed. The initial value of the pH variable may be identified, for example, the value at the start of the simulation may be set in step 405, or if it is a specific module, it may be set in step 420, and like the minimum pH parameter, this will be used as an input to the simulation. The values ​​of variables and parameters are both inputs, but the difference is that variables can change from their initial values, and parameters are fixed throughout a simulation run.

[0064] At box 425, the time step is incremented, which can initially start a given simulation. At box 430, for each module, specific module input data is defined based at least in part on the high-level data. More specifically, the high-level data structure can identify an availability value for each of a set of molecules (e.g., metabolites). Each availability value can initially be set to an initial availability value, which can then be updated based on the processing results from each module associated with the molecule. For a given module, at each time step, the current availability value can be retrieved from the data structure of each molecule associated with the simulation technology assigned to the module. Specific module input data can also include one or more lower-level values ​​that are independent of the processing of any other module. For example, one or more variables can be related only to the processing of a given module, so that the specific module input data can also include initial values ​​or past output values ​​that are specifically and exclusively associated with the module.

[0065] At block 435, for each module, a simulator for the configuration assigned to the module is run using the module-specific input data to generate one or more module-specific results. The one or more module-specific results may include, for example, one or more updated molecule availability values ​​and / or changes in one or more availability values ​​relative to corresponding values ​​in the input data.

[0066] At block 440, the results may be synthesized across modules. Synthesis may include summing the differences across modules. For example, if the results of a first module indicate that the availability of a given molecule will increase by 5 units, and the results of a second module indicate that the availability of a given metabolite will decrease by 3 units, the net change may be calculated as an increase of 2 units. The net change may then be added to the corresponding availability values ​​of the molecules for the processing associated with the current time step and returned as a list of changes that should be made to the state vector. One or more restrictions may be applied to the changes (e.g., to not allow changes across time steps that exceed a predefined threshold) and / or to the values ​​(e.g., to not allow negative availability values, but rather to set the value to zero).

[0067] At block 445, the high-level data set is updated based on the synthesis results. The update may include adding data to a data structure, such as a state vector, from which one or more modules retrieve the high-level data. The added data may include the synthesis results associated with an identifier for the current time step. Thus, the data structure may retain data indicating how the availability of the metabolite changes over time steps. It should be understood that, alternatively, the update may include replacing the current high-level data with the synthesized data.

[0068] At block 450 , a determination is made as to whether the simulation is complete. This determination may be based on the number of time steps evaluated, the extent to which the data (e.g., high-level data) varies across time steps, a determination as to whether a steady state has been reached, whether one or more simulated biological events (e.g., cell division or cell death) have been detected, etc. If the simulation is not complete, process 400 returns to block 425 .

[0069] If the simulation is complete, process 400 continues to block 455 where output is generated. The output may include some or all of the high-level data and / or some or all of the module-specific results. For example, the output may include a final availability value corresponding to a set of metabolites and / or a time course indicating a change in the availability of each of one or more metabolites over a simulation time period. The output may be presented at a local device and / or sent to another device (e.g., for presentation).

[0070] Figure 5 A method for simulating a system for simulating a system by an integrated development environment (e.g., referring to Figure 1 The network reconstructor 205 can be configured to use the model to simulate the state and reaction of the module by the biological system model (e.g., as described in relation to the interactive system 100). Figure 2 The actions performed by the modules of the biological system model 200 described herein are described herein. In some cases, the model is a flux balance analysis, and / or the model is configured to solve updated state values ​​based on a set of equations representing concentration changes in a network (e.g., a metabolic network). As will be appreciated by those of ordinary skill in the art, a biological system model such as a whole cell model need not include an FBA module. For example, biological processes that are completely different from FBAs, such as core metabolism, may be simulated according to the framework described herein. In such instances, the FBA-specific Figure 5 and Figure 6 Some or all of the related descriptions and drawings (e.g., objective functions, constraints, and linear programming) may not be relevant to this particular instantiation of the model or to the simulations run using the model. Figure 5 and Figure 6 Many of the components and techniques described can be applied to simulate the states and reactions of modules implemented by other models. For example, any module can read a value from a state vector and return an indication of one or more changes that should be made to the state vector. An FBA module (if it even exists in a particular instantiation of a model) can read and return more values ​​than any other model, but modules modeled with FBA do not need to be handled by the simulation controller 300 in any different manner than other modules and / or models described herein.

[0071] The network reconstructor 505 can access a set of network data (e.g., parameters and variables) stored in the network data store 510 to define a model. Metabolite data 515 can identify each metabolite of the metabolic set. As used herein, a "metabolite" is any substance that is a product of metabolism or participates in a metabolic process, including (for example) each compound input into a metabolic reaction, each compound produced by a metabolic reaction, each enzyme associated with a metabolic reaction, and each cofactor associated with a metabolic reaction. For each metabolite, the metabolite data 515 may include (for example) one or more of the following: the name, description, neutral formula, charged formula, charge, spatial compartment of a biological system and / or a module of a model, and an identifier such as a PubChem ID of the metabolite. In addition, the metabolite data 515 can identify the initial state value (e.g., the initial concentration and / or the number of discrete instances) of each metabolite.

[0072] Reaction data 520 can identify each reaction associated with the model (e.g., each metabolic reaction). For example, a reaction can indicate that one or more first metabolites are converted into one or more second metabolites. A reaction does not need to identify a one-to-one relationship. For example, multiple metabolites can be defined as reaction inputs and / or multiple metabolites can be defined as reaction outputs. For each reaction, reaction data 520 may include, for example, one or more of the following: the name of the reaction, a reaction description, a reaction formula, a gene-reaction association, a gene, a protein, a spatial compartment of a biological system, and / or a module of a model, and a reaction direction. In addition, reaction data 520 can identify the amount of the metabolite for each metabolite of the reaction, which can reflect the relative input-output amount of the metabolites involved. For example, a reaction can indicate that two first metabolites and one second metabolite are input into the reaction, and two third metabolites are the outputs of the reaction. Reaction data 520 can further identify the enzymes and / or cofactors required for the reaction to occur.

[0073] Functional gene data 525 can identify genes and the relationship between genes, proteins and reactions, and its combination provides a knowledge base or matrix of biochemistry, genetics and genomic structure. Functional gene data 525 can include (for example) one or more of the following: chromosome sequence data, the position, length, direction and importance of each gene, genome sequence data, organization and promoter of transcription units, expression and degradation rate of each RNA transcript, specific folding and maturation pathways of RNA and protein species, subunit composition of each macromolecular complex, and binding sites and footprints of DNA binding proteins. It associates the reaction with a specific gene that triggers the formation of one or more specific proteins. Generally, GPR takes the following form (gene A and gene B) to indicate that the products of genes A and B are protein subunits that assemble to form complete proteins, so the absence of any one will lead to the absence of the reaction. On the other hand, if GPR is (gene A or gene B), it means that the products of genes A and B are isozymes (that is, each of two or more enzymes with the same function but different structures), so the absence of one may not lead to the absence of the reaction. Therefore, the impact of single or multiple gene deletions can be evaluated by evaluating GPR as a Boolean expression. If GPR evaluates to False, the response in the model is constrained to zero. Thus, gene knockout can be simulated in the model.

[0074] The stoichiometric matrix controller 530 can use the reaction data 520 to generate a stoichiometric matrix. Along the first dimension of the matrix, different compounds (e.g., different metabolites) are represented. Along the second dimension of the matrix, different reactions are represented. Therefore, a given cell in the matrix is ​​involved in a specific compound and a specific reaction. If the compound does not participate in the reaction, the value of the cell is set to 0, if the compound is a compound produced by the reaction, the value of the cell is set to a positive value, and if the compound is a compound consumed by the reaction, the value of the cell is set to a negative value. The value itself corresponds to a reaction coefficient, which indicates the amount of the compound produced or consumed relative to the consumption or production of other compounds involved in the reaction.

[0075] Because relatively few reactions typically correspond to a given compound, the stoichiometric matrix may be a sparse stoichiometric matrix 535. The sparse stoichiometric matrix 505 may be part of a set of model parameters (stored in a model parameter data store 540) for executing a module.

[0076] One or more modules may be configured to use linear programming 545 to identify a set of compound amounts corresponding to the equilibrium fluxes identified in the reaction represented in the stoichiometric matrix. Specifically, an equation may be defined, whereby the product of the stoichiometric matrix and the vector representing the amount of each of some compound amounts is set to zero. (It should be understood that the reaction may also include the amount of one or more boundary metabolites, whose production and consumption do not require balance) there are often multiple solutions to this problem. Therefore, an objective function is defined, and a specific solution corresponding to the maximum or minimum objective function is selected as a solution. The objective function may be defined as the product between the transposed vector of the target weight and the vector representing the amount of each compound. It is noteworthy that, considering that multiple reactions may involve the same compound, the transposed vector may have a length equal to the first dimension of the sparse stoichiometric matrix 535.

[0077] The target weights may be determined based on the target specification 550, which may, for example, identify the compounds produced by one or more reactions to be maximized. For example, the target weights may be specific ratios of the compounds corresponding to the biomass, such that producing compounds having these ratios corresponds to supporting the growth of the biological system.

[0078] Each reaction may (but need not) be associated with one or more of a set of reaction constraints 555. Reaction constraints may, for example, constrain the flux through the reaction and / or impose limits on the amount of one or more compounds consumed by the reaction and / or one or more compounds produced by the reaction.

[0079] In some cases, linear programming 545 uses sparse stoichiometric matrix 535 and reaction constraints 550 to identify every solution that satisfies the constraints. When multiple solutions are identified, target specification 550 can be used to select from the potential solutions. However, in some cases, no solution is identified that satisfies the sparse stoichiometric matrix and reaction constraints 555 and / or the only solution that satisfies the matrix and constraints does not react.

[0080] Solutions may include solutions where, for each metabolite in the metabolite set, the consumption of the metabolite equals the production of the metabolite. That is, this balance must be achieved for each metabolite because the reaction set involves one or more "boundary metabolites" for which this balance is not achieved. For example, glucose may be consumed at a given rate, and / or acetate may be produced at a given rate.

[0081] However, typically the coefficients from the reaction data 520 are themselves estimates. If one or more reactions are inaccurate or if the set of reactions is incomplete, using this type of linear programming technique can lead to results that indicate that the biological system cannot grow simply due to miscalculations in the reactions. Therefore, another technique is to allow growth even when an equilibrium solution is not identified (as a result of simulations of multiple reactions occurring).

[0082] For example, a reaction space can be defined based on a sparse stoichiometric matrix 535 and reaction constraints 555. The space can have as many dimensions as reactions. Each dimension can be restricted to include only integer values ​​extending along a range constrained by any applicable constraint in the reaction constraints 555. The reaction space sampler 560 can then determine, for each of some or all points within the reaction space, the cumulative amount of each metabolite that will be produced based on the relevant reaction. The reaction space sampler 560 can compare these amounts to the amounts in the target vector (e.g., by determining the degree to which the proportions of the compounds are consistent).

[0083] In these cases, the scoring function 565 can indicate how to score each comparison. For example, if the ratio of each of two potential solutions differs from the target ratio by 2, but one potential solution differs by 2 for a single compound and the other potential solution differs by 1 for each of two compounds, the scoring function 565 can be configured to score these instances differently. For example, different weights can be applied to different compounds so that differences affecting the first compound are more severely penalized than differences affecting the second compound. As another example, the scoring function 565 can indicate whether to calculate the score by (for example) summing all compound-specific (e.g., weighted) differences, summing the absolute values ​​of all compound-specific (e.g., weighted) differences, summing the squares of all compound-specific (e.g., weighted) differences, etc. The reaction space sampler 560 can then identify the solution as corresponding to the reaction coefficient associated with the highest score across the reaction space.

[0084] The network reconstructor 505 may receive results from each of the linear program 545 and / or the reaction space sampler 560. In some cases, the linear program 545 may further use its results for the reaction space sampler 560. When an equilibrium solution is identified by the linear program 545, the reaction space sampler 560 does not need to sample the reaction space, and the reaction space results do not need to be used for the network reconstructor 505.

[0085] When an equilibrium solution is identified, the network reconstructor 505 can identify the solution as corresponding to the solution identified by the linear program 545, otherwise as the highest score potential solution identified by the reaction space sampler 560. The solution can then indicate the compounds produced and consumed by the reaction according to the flux indicated by the solution. The network reconstructor 505 can update the metabolite data 515 based on the production and consumption.

[0086] In some cases, a solution is identified for each time point in the time point set, rather than identifying only one final solution. An iterative time-based approach may be useful when a particular module simulation controller 500 is only one of a set of simulation controllers and the metabolite data 515 is affected by the performance of other modules. For example, the metabolite data 515 can be shared across modules, or can be defined as a copy of at least a portion of a cross-module metabolite data set at each time point. The update to the metabolite performed by the network reconstructor 505 can then be one of multiple updates. For example, an update to the network reconstructor 505 may indicate that the amount of a particular metabolite will increase by 4, while the results from another module indicate that the amount of the particular metabolite will decrease by 2. Then, for the next iteration, the metabolite may change by a net value of +2.

[0087] The result interpreter 570 can generate one or more results based on the updated metabolite data 515. For example, the result can characterize the degree of growth between the initial state and the steady state or the final time point. The degree of growth can be determined based on the ratio between the value of one or more metabolites at the current or final time point relative to the corresponding value at the initial (or previous) time point. The one or more metabolites can correspond to (for example) those metabolites identified in the objective function as corresponding to biomass growth. As another example, the result can characterize the time course of growth. For example, the result can identify the time required for the metabolite change, which corresponds to a double representation of the growth or a time constant determined based on the fit of the value of one or more time series of metabolite values. (One or more) results can be output (e.g., locally presented or sent to a remote device, such as a user device). The output can facilitate the presentation of an interface indicating one or more simulation features (e.g., one or more default values ​​and / or one or more affected disturbances with respect to initial state values ​​or reaction data).

[0088] The specific module simulation controller 500 may include a disturbance implementer 575. The disturbance implementer 575 may facilitate the presentation of an interface on a user device. The interface may identify various types of disturbances. For example, each disturbance may correspond to a specific type of genetic mutation. The disturbance implementer 575 may facilitate presentation by sending data (e.g., HTTP data) to the user device so that the interface may be presented online. The disturbance implementer 575 may detect a selection corresponding to a specific disturbance (by receiving a communication indicating the selection from the user device), and may send an indication that the disturbance will be implemented to the network reconstruction device 505. The network reconstruction device 505 may use the functional gene data 525 to determine how the mutation affects one or more metabolites, which may affect whether and / or how one or more reactions occur. Then, the sparse stoichiometric matrix controller 530 may generate a disturbance sparse stoichiometric matrix 535 representing the disturbance state corresponding to the genetic mutation, and may identify a solution as previously indicated based on the disturbance sparse stoichiometric matrix.

[0089] Figure 6 A process 600 is shown for generating metabolite time course data using a simulator according to various embodiments. In some embodiments, the process depicted in process 600 is performed by Figure 1 The interactive system 100 is implemented, and about Figure 5 The specific module simulation controller 500 of the present invention is discussed. The process 600 begins at block 605, where one or more modules within a metabolic network (e.g., a metabolic network of a biological system) are defined. Modules can be defined based on which parts of the network exhibit relative functional independence and / or correspond to substantial independence in terms of biological activity. In some cases, the default is to define one or more specific modules to be simulated using a model type different from the default model type (e.g., a flux-based analysis), and define the remainder of the network as a single module using the default model type.

[0090] At box 610, a reaction set is defined for the network. In some cases, a reaction set is defined for a module (or each module) corresponding to a default model type. The reaction set can indicate how various molecules (e.g., metabolites) are consumed and produced through a portion of the entire life cycle of a biological system. Therefore, each reaction identifies one or more metabolites consumed, one or more metabolites produced, and for each metabolite consumed and produced, a coefficient indicating the relative amount of consumption or production (which can be set to equal 1) is identified. The reaction can further include one or more environmental features that identify one or more enzymes, one or more cofactors, and / or the reaction required and / or otherwise affect the probability of the reaction occurring or the nature of the reaction. Reactions can be identified based on (for example) online or local digital content (e.g., from one or more scientific papers or databases) and / or results from one or more wet lab experiments.

[0091] At block 615, a stoichiometric matrix is ​​generated using the reaction set. Each matrix cell within the matrix can correspond to a specific metabolite and a specific reaction. The value of the cell can reflect the coefficient of the specific metabolite within the specific reaction (as indicated in the reaction), and can be set to zero if it does not participate in the reaction. In some cases, metadata is further generated, and for each of the one or more reactions, the metadata indicates any enzymes, cofactors, and / or environmental conditions required for the reaction to occur.

[0092] At block 620, one or more constraints are identified for the reaction set. In some cases, identifying constraints may include identifying values ​​for one or more parameters. For example, for each of one or more or all of the reaction set, constraints may include a flux lower limit and / or flux upper limit for limiting flux, the amount of metabolites consumed or produced, kinetic constants, production or decay rates of components (e.g., RNA transcripts), enzyme concentrations or activities, compartment sizes, and / or concentrations of external metabolites. Constraint(s) may be identified based on, for example, user input, online or local data, one or more communications from a wet-lab system, and / or learned from statistical inference.

[0093] At box 625, define an objective function for the reaction set. The objective function can identify what to maximize and / or what to minimize when identifying a solution. The objective function can (for example) identify a metabolite produced by one or more reactions or a combination of metabolites produced by one or more reactions. The combination can identify the ratio of metabolites. However, the objective function may have many limitations and may not reflect the supply and demand in other modules. Therefore, in some cases, a limited objective function can be constructed to include a target value set for each molecule in the metabolic network. The target value can incorporate intrinsic rate parameters, the supply rate of molecules, the consumption rate of molecules, and the concentration of molecules into the measurement of the target concentration of molecules given the supply, demand, and the "existing" concentration of each molecule, and the "existing" concentration represents the concentration of molecules immediately available to the reaction pathway. The target value can be calculated and incorporated into the objective function to produce a limited objective function. This can be in the form of calculating the absolute difference between the target value and the proportional flux contribution of each molecule. This can be in the form of scaling the proportional flux contribution of each molecule. This can be in the form of increasing the proportional flux contribution of each molecule. Any other mathematical modification of the proportional flux contribution of each molecule that adjusts the value by the target value can be used. The target value can be positive or negative. For unit conversion purposes, so that the target value can be included in the objective function and compared to the flux value, the target value can be constructed as a rate.

[0094] Blocks 630-640 are then repeated for each of the set of simulation time points. At block 530, for each metabolite associated with the reaction set, an availability value is determined. For the initial value, the value may be identified based on, for example, user input, digital content, and / or communication from another system. Subsequent values ​​may be retrieved from a local or remote data object that maintains a centralized availability value for the set of metabolites.

[0095] At block 635, the availability values, constraints, and objective functions are used to determine fluxes for one, more, or all of the reactions in the set. The fluxes may indicate the number of times each of the one, more, or all reactions is performed in the simulation according to the availability values, constraints, and objective functions. The fluxes may be determined based on a flux balance analysis model. In some cases, the fluxes may be determined based on sampling all or part of an input space representing different flux combinations and scoring each input space using a scoring function.

[0096] At block 640, the centralized availability value of one or more metabolites is updated based on the determined flux. More specifically, for each metabolite, a cumulative change in metabolite availability can be identified based on the cumulative consumption and cumulative production of the metabolite across the flux-adjusted reaction set. The centralized availability value of the metabolite can then be incremented and / or decremented accordingly.

[0097] In some cases, at least one of the one or more modules defined at box 505 will be associated with a model that is independent of, for example, a stoichiometric matrix and / or a flux-based analysis and / or a physiological modeling-based model. One or more modules based on one or more different types of models can also identify changes in metabolite availability values ​​at each time point, and such changes can also be used to update local or remote data objects using centralized availability values. For each metabolite, updates to the availability values ​​can be summed to identify a total change and / or an updated availability value. In some cases, limits are set relative to the maximum change that can be achieved in subsequent time steps and / or the maximum or minimum availability value of the metabolite.

[0098] Blocks 630-640 may be repeated for each of a plurality of simulation time points in the simulation. In some instances, a predefined number of simulation time points are evaluated and / or simulation time points corresponding to a predefined cumulative time lapse period are evaluated. In some cases, subsequent simulation time points are evaluated until a predefined condition is satisfied. For example, the predefined condition may indicate that the metabolite value at the current simulation time point is the same or substantially similar compared to a previous simulation time point or a previous simulation time period.

[0099] When the process 600 returns to block 630 to evaluate the next simulation time point, it should be understood that the availability value determined for a given metabolite need not be equal to the sum of the corresponding updated availability values ​​from the previous iteration of block 540 and / or the previously determined availability values ​​adjusted by the identified flux associated with the metabolite. Rather, processing of previous time points with respect to one or more other modules may also result in changes in the availability of the metabolite. Thus, the availability value determined for a given metabolite at block 530 for the current time point may be equal to the availability value determined at block 530 for the previous time point plus the cumulative updates to the availability values ​​across modules, with any restrictions imposed.

[0100] When all time points have been evaluated, process 600 proceeds to box 645, where the availability data is output. For example, for each of one, more than one, or all metabolites, the availability data may include: an availability value (e.g., a final availability value) and / or a time course of the availability value. In some instances, the availability data is output along with reference availability data. For example, when part or all of the processing performed to calculate the availability value is associated with a disturbance, the reference availability data may be associated with an unperturbed state. In some instances, a processed version of the availability data is output. For example, a comparison of the availability values ​​of a particular metabolite across time points can be used to generate one or more growth metrics (e.g., a magnitude or rate of growth) that can be output. Outputting the availability data may include, for example, presenting the availability data locally and / or sending the availability data to another device.

[0101] Parameter and state initialization for model training

[0102] As described above, one method for modeling is to divide the model into modules and identify the simulation techniques and parameters of each module. (See blocks 410-420 of process 400). It should be understood that the model may alternatively include a single module or may lack modules altogether. For any of various types of model configurations (e.g., a model including multiple modules, a single module, or no modules), the values ​​of model parameters and initial state variables may be derived from one or more sources. For example, model parameters or initial state variables may be defined as default values ​​identified when building the model and / or before (e.g., for parameters or state variables, the model is fitted to the data). As another example, model parameters or initial state variables may be obtained by fitting the model to data (also referred to as training period). To be "learnable" values. As yet another example, model parameters or initial state variables may be assigned values ​​defined in specific condition assignments, where the conditions correspond to specific simulation experiment conditions.

[0103] In some embodiments, the parameters (and / or states) of the model and / or one or more conditions (e.g., modules in the model) are learned during the training phase using a loss function. Training the machine learning model may include optimization-based point estimation of parameters and sampling-based estimation of parameter distributions. Estimation of parameters and / or estimation of parameter distributions may be performed using experimental data collected under different conditions.

[0104] However, defining parameters (and / or state initialization) for each of the multiple modules can be a time- and resource-intensive task that requires a large amount of training data. In addition, separate specific condition training may result in a situation where the value learned for a given parameter in one context or condition is different from the value learned for the parameter in another context or condition. When the simulation involves a transition or interaction between two contexts or between two conditions, this inconsistency may lead to data anomalies and erroneous results. In addition, inconsistencies may make it difficult to interpret what the model has learned and / or which factors contribute to the model output.

[0105] In some embodiments, new techniques for learning model parameters are provided in which each parameter is classified to indicate under which conditions the parameter has the same value. For example, a parameter can be classified as a "global" parameter that has the same value across all conditions, a "shared" parameter that has the same value across at least two conditions (but need not have the same value for one or more other conditions), or a "local" parameter in which a specific condition value of the parameter is learned for each condition.

[0106] Conditions can correspond to use cases of models. For example, a model can be generated to predict the size or growth of a cell, and the model can be used to simulate a first condition in which the cell is in a first growth medium, and separately simulate a second condition in which the cell is in a second growth medium. Therefore, the architecture of the model can (but need not be) the same under two conditions, but each condition can be defined by a corresponding set of parameter values. Therefore, the values ​​of a particular parameter set are configured to be unique across conditions. This uniqueness involves a combination of values, and does not necessarily apply to each parameter value corresponding to a first condition being different from the corresponding values ​​in all other conditions. In some cases, different conditions can correspond to differences in, for example, whether to simulate one or more gene knockouts, the expression level of one or more genes, the level of an agent, and / or the presence of an enzyme in the simulation.

[0107] It should be appreciated that when shared and / or global parameters are present, fewer unique parameters need to be learned than parameters used across conditions in the model (e.g., if an alternative baseline were to learn each parameter condition independently). Thus, when shared or global parameters are applied to multiple conditions, a first data structure may identify a single parameter as learnable, and one or more other data structures may indicate that the parameter in each of the multiple conditions will be a copy of the learned parameter. Alternatively or additionally, one or more parameter data structures may be generated indicating that the parameter in a given condition is learnable, and the parameters in the remaining conditions in the multiple conditions will be copies of the parameters in the given condition.

[0108] Shared or global parameters can lead to training efficiency, such that the computational resources used for training, training time, and the minimum size of the training dataset are reduced compared to treating all parameters as local parameters. In addition, the interpretability of the model can be improved, and the transitions between conditions can be less abrupt.

[0109] Figure 7 A block diagram of an exemplary computing system for building a machine learning model is shown. A model architecture controller 705 is configured to define model architecture data 710 for a machine learning model. The machine learning model can be configured so that all experimental conditions of interest can be simulated by a single model with appropriate parameter and initial state settings. For example, if two enzymes E1 and E2 are used in separate experiments, the model can contain representations of the two enzymes (and associated related reactions), and in experiments where the enzymes are not present, the activity of each enzyme can be set to zero.

[0110] For each of the identified conditions, the model architecture data 710 can identify the architecture that applies to the condition and the set of parameters to be used when the condition is met. The model architecture data 710 can indicate how each parameter is integrated within the corresponding model architecture to affect how data received by the model is converted to output. In some cases, a single model architecture and / or one or more parameters are associated with multiple conditions.

[0111] Parameter classifier 715 identifies the parameter type of each parameter in model architecture data 710. Parameter types may be stored in parameter type data store 720. Each parameter may have a default value or a specific condition assigned, which may be overridden as a result of training. As further described below, parameter types may distinguish between global, shared, and local learnable parameters. Before the training phase begins, value updater 725 assigns initial values ​​to each parameter and stores the parameter values ​​in parameter value data store 730.

[0112] Model parameter default values

[0113] Default values ​​specified at model construction time can be parameter and state values ​​defined for the model (e.g., specified in the SBML file that builds the model). Default values ​​can include unlearned values. Default values ​​can be specified separately from the model itself, for example as base_assignments in a configuration file. A model default value is characterized in that it is assigned once at the beginning of a training run and then is fixed unless overwritten by assignments from the next two levels. Thus, for each default parameter, the value updater 725 can identify a default value by, for example, retrieving a value from a local or remote storage device, detecting user input identifying the value, or requesting and receiving the value from an external data source.

[0114] Defining learnable parameters - global, local and shared parameters

[0115] A learnable parameter is any value obtained from a proposed parameter vector during optimization or sampling. Learnable parameters may include initial values ​​of model parameters and / or model state variables (e.g., enzyme concentration). Exemplary model parameters include: the rate constant (K) for a particular enzyme to metabolize a substrate into a product molecule; cat ) and / or the reaction rate when a particular enzyme is completely saturated with substrate (V max ).

[0116] For each learnable parameter, the value updater 715 may initialize the parameter with an initial value before training begins. The initial value may be identified by, for example, randomly or pseudo-randomly selecting a value from a distribution or retrieving the initialization value from a storage device.

[0117] Learnable parameters can be global parameters, local parameters or shared parameters.

[0118] When the parameter is a global parameter, the parameter classifier 715 configures the model so that a single value of the parameter (e.g., a value provided in a learnable parameter vector) will be used to define the parameter across all conditions being simulated. Similarly, when the initial state is a global initial state, the model is configured so that a single value of the initial state (e.g., a value provided in a learnable parameter vector or in an initial state vector) will be used as the initial state across all conditions being simulated.

[0119] When the parameter is a local parameter, the parameter classifier 715 configures the model so that the value of the parameter is chosen based on which condition is being simulated (or to which condition the simulation is transitioning) at that time. Thus, a local parameter with n conditions expands to n entries on the learnable parameter vector, each of which maps to the same model parameter or initial state in one of the n conditions.

[0120] When the parameter is a shared parameter, parameter classifier 715 configures the model so that the single value provided in the learnable parameter vector applies to the model parameter or initial state across the set of conditions specified in the description of the parameter.

[0121] A learnable parameter can have one or more of the following properties:

[0122] ●Parameter type: global, local, shared.

[0123] • Name: The name of the learnable parameter, which can be different from the name of the underlying model parameter or state variable.

[0124] ●Variable type: whether the learnable parameter maps to a model parameter or a state variable.

[0125] ●Model Name: The name of the model parameter or state variable to which the learnable parameter will be mapped.

[0126] ●Conditions: For shared parameters, the provided set of condition names to which the learnable parameter value will be applied to the model.

[0127] ●Parameter priors: For Bayesian inference or MAP estimation, priors are used in the estimation process to incorporate information into the modeling process.

[0128] Thus, the parameter classifier 715 can configure each learnable parameter 715 to specify how to map the values ​​in the optimized or sampled parameter vector to the initial values ​​of the model parameters or state variables. The learnable parameters can be defined by one or more of the following:

[0129] The names of the learnable parameters, which can be different from the model name;

[0130] ● an indication of any conditions to which the parameters apply;

[0131] • The model variable (parameter or state vector entry) to which the learnable parameter will be mapped (e.g., TargetVariable variable=2);

[0132] The type of the learnable parameter, including any additional type-specific fields (e.g., an identifier for one of the global parameters, local parameters, or shared parameters);

[0133] If the parameter is not a global parameter (or if the parameter is a local or shared parameter), the definition of the parameter may also include two or more conditional possibilities (each of which may include one or more conditions), where a different value may then be learned for each conditional possibility;

[0134] • Prior distributions (e.g., to support Bayesian inference).

[0135] It should be understood that the initial state can be similarly global, local or shared initial state. Similarly, the learnable initial state can have one, more or all of the attributes listed above of the learnable parameters. The learnable initial state can be alternatively or additionally defined by one, more or all of the definition elements listed above of the learnable parameters. It should be understood that the disclosures herein relating to parameters, parameter values ​​and / or parameter vectors can be alternatively applied to initial states, initial state values ​​and / or initial state vectors. In some cases, the parameter vector comprises one or more parameter values ​​and one or more initial state values.

[0136] Examples of local or shared parameters include:

[0137] -V max , which can be set to 0 in one or more conditions to simulate knockout;

[0138] - the external concentration of the agent, which can be set to a non-zero value under one or more conditions to simulate the addition of the agent to the culture medium;

[0139] The exemplary definition of condition includes one or more variable assignment techniques. Each variable assignment technique can include instructions about how to assign values ​​to parameters. In some instances, one or more variable assignment techniques are organized in a hierarchy. For example, the first variable assignment technique can indicate that a given parameter of a model is a global parameter corresponding to the enzymatic activity of a specific protein, and ten experimental conditions can be defined for the model. In one of these conditions, the gene encoding a protein may be missing. Therefore, a given parameter can be defined as a single global parameter for all conditions, although a second variable assignment protocol can be defined for the model to indicate that a value "0" is defined for a given parameter in a condition. For example, in an illustrative example, a global parameter corresponds to the enzymatic activity of a specific protein, and there are data from 10 different experimental conditions. In one of these conditions (for example, condition 3), the gene encoding this protein is missing. A single global parameter can be defined for all conditions, but in condition 3, a value of 0 can be assigned to the parameter because the enzyme no longer exists. Therefore, the value assigned can rewrite the value of the global parameter.

[0140] Learning learnable parameters - global, local and shared parameters

[0141] The loss detector 735 can use the training data set to calculate a loss function based on the predicted results (corresponding to various values ​​of the learnable parameters) and the actual results. The results can include, for example, the next state of the simulation, the next time step level or levels of the simulated reagent or product, etc. The value updater 725 can then update the parameter value based on the loss function.

[0142] Predictions may be generated by transforming corresponding inputs (e.g., representing states of a simulation) using a parameter matrix. The parameter matrix may initially include default parameter values ​​corresponding to each condition being simulated. In some cases, predictions are generated by identifying the current condition being simulated, retrieving a single row or column (i.e., a condition-specific parameter vector) corresponding to that condition from the parameter matrix, and using the retrieved values ​​to generate predictions. A single condition-specific parameter vector corresponds to a single condition.

[0143] Once training begins, parameter values ​​can be learned. For example, an optimization algorithm (e.g., gradient descent, batch gradient descent, stochastic gradient descent, or mini-batch gradient descent) can be used to identify updated values ​​for the parameters associated with a lower or minimum loss identified by a loss function. A pre-identified learning rate can control the extent to which parameter values ​​are allowed to be adjusted from current values ​​and / or the extent to which parameter values ​​will be changed to correspond to a minimum loss.

[0144] Loss Function

[0145] The value updater 725 uses the default parameters from the model to construct a parameter matrix P, which may have a size of n_conditions × n_parameters. Upon initialization, each row may be a copy of the default parameter vector for the model.

[0146] Model parameters can be mapped from parameter vector V to parameter matrix P. The mapping may include:

[0147] - For global parameters, the same values ​​from the parameter vector V are copied into the entire columns (corresponding to different conditions) of the parameter matrix P corresponding to the model parameters being learned.

[0148] - For local parameters, the value in V for each condition is copied to the entry of the mapping matrix P corresponding to the specified (condition, parameter) pair.

[0149] - For shared parameters, the values ​​in V are copied into an incomplete subset of the entries in the columns of the parameter matrix P, corresponding to the appropriate subset of model parameters and conditions.

[0150] Thus, it should be appreciated that there may be more values ​​in the parameter matrix P than unique parameter values ​​learned and / or represented in the loss function space. Similarly, it should be appreciated that there may be more accumulated parameters (across conditions) used to generate predicted values ​​(e.g., during or after training) than unique parameter values ​​learned and / or represented in the loss function space.

[0151] For example, Table 1 shows an initial parameter matrix P for an exemplary example in which the model has three parameters X, Y, and Z and simulates three conditions A, B, and C. The default parameter values ​​are X=1.0, Y=2.0, Z=3.0.

[0152]

[0153] Table 1

[0154] In this illustration, parameter classifier 715 identifies Y and Z as learnable parameters, where Y is a global parameter and Z is a shared parameter between conditions A and B of parameter Z. The associated parameter type information (stored in parameter type data store 720) may include:

[0155] -param_y=LearnableParameter(

[0156] -name='Y_global',

[0157] -variable=TargetVariable(model_parameter='Y'),

[0158] -global_param=GlobalParameter())

[0159] -param_z=LearnableParameter(

[0160] -name='Z_shared',

[0161] -variable=TargetVariable(model_parameter='Z'),

[0162] -shared_param=SharedParameter(conditions=['A','B']))

[0163] For a particular call, a learnable parameter vector containing two values ​​can be generated: {'Y_global': 2.5, 'Z_shared_A_B': 4.0}. Applying these values ​​to the parameter matrix P results in the updated parameter matrix shown in Table 2.

[0164]

[0165]

[0166] Table 2

[0167] In some cases, a condition is not associated with the assignment of any particular condition. For example, condition A may correspond to a "wild type" condition. In some cases, a condition corresponds to a situation where a particular type of activity represented by a given parameter is absent. For example, condition B may correspond to a situation where an enzyme having an activity represented by parameter Y is knocked out, and condition C may correspond to a situation where an enzyme having an activity represented by parameter Z is knocked out. Conditions may be specified as:

[0168] cond_b=[VariableAssignment(variable=TargetVariable(model_parameter='Y'), value=0.0)]

[0169] cond_c=[VariableAssignment(variable=TargetVariable(model_parameter='Z'), value=0.0)]

[0170] When the value updater 725 applies these conditions to the parameter matrix P shown in Table 2, the results are shown in Table 3:

[0171]

[0172] Table 3

[0173] A model execution controller (not shown) may then use a machine learning model (having an architecture as indicated in the model architecture data 710) and, when a given condition is detected, configure the model using parameter values ​​associated with corresponding columns from the parameter matrix P shown in Table 3.

[0174] Example process for training and using a machine learning model

[0175] Figure 8 A flow chart of an exemplary process 800 for training and using a machine learning model for use across different conditions is shown. The process 800 begins at block 805, where the model architecture controller 705 defines a plurality of conditions for the machine learning model. The differences across conditions may relate to, for example, whether one or more gene knockouts are simulated, the expression level of one or more genes, whether an enzyme is present in the simulation, etc.

[0176] At block 810, the model architecture controller 705 identifies a model architecture and a set of learnable parameters for each condition. For example, block 810 may include identifying the type of model (e.g., a flux-based analytical model, a mechanistic model, a kinetic model, a partial kinetic model, a matrix and / or catalyst driven model, etc.) and the learnable parameters corresponding to the model for each condition.

[0177] At box 815, the parameter classifier 715 specifies for each learnable parameter whether the learned value applies to multiple conditions. If a given learnable parameter applies to multiple conditions, the value of the parameter can be learned using the accumulated training data set across multiple conditions, and the same value of the parameter can then be used in a specific condition model. Determining whether a given learnable parameter will apply to multiple conditions can involve (for example) determining or predicting the extent to which multiple parameters represent the same physiological considerations and / or predicting whether a given measurement may exhibit different dependencies in different contexts. This can make it substantially easier to run the same model on the same data set with different learnable parameter configurations without changing other details (or even anything other than the learnable parameter settings). By changing the learnable parameter settings, we can automatically increase or decrease model complexity in a principled manner.

[0178] At block 820, the value updater 725 initializes the parameter data structure with default parameter values. Each default parameter value may be identified, for example, by selecting a value from a distribution (e.g., randomly, corresponding to a mode value, etc.). For each shared or global parameter, a single default parameter value may be identified and represented in the parameter data structure for each specific conditional parameter associated with the shared or global parameter.

[0179] At box 825, value updater 725 updates the parameter data structure to set local parameters that reflect any specific condition specifications. The update can include setting a specific parameter value to 0, a predefined constant, or a maximum value. For example, for conditions related to knockouts that prevent peptide formation, the parameter value corresponding to the peptide concentration is set to zero. As another example, the value of the environmental condition can be set to a predefined constant for a condition associated with a chemostat.

[0180] At block 830, for each parameter whose learned value is to be applied to the plurality of conditions, the value updater 725 copies the value of the learned parameter to each other cell corresponding to each (other) condition in the plurality of conditions. During the initial run of block 830, the copied values ​​may include default values.

[0181] At block 835, the model execution controller generates a prediction result by processing at least a portion of the training data set using a model (which includes an architecture and parameters corresponding to each condition) configured with parameter values ​​from a parameter data structure. Execution may include determining a time-varying identity of a current condition or each of a plurality of applicable conditions, and by updating a time-varying version of the parameter at each timestamp. It should be understood that during training, the changing values ​​of the learnable parameters may vary at different steps of the algorithm (e.g., as determined using an update rule such as stochastic gradient descent).

[0182] At box 840, the loss detector 735 uses the predicted results and the known results to calculate a loss function. The independent variable of the loss function can be a learnable parameter, and the dependent variable of the loss function can be a loss indicating the difference between the predicted result and the actual result. Therefore, the loss function can be used to estimate the performance of a model configured with the current value of the learnable parameter relative to the performance associated with different parameter values. In some cases, the predicted result includes multiple predicted results (corresponding to different outputs of the model), and the loss can be defined as a weighted average based on the difference between the multiple predicted results and the corresponding actual results.

[0183] At block 845, the training controller determines whether the training is complete. The determination may be based on whether a training completion condition is satisfied. The training completion condition may be configured to be satisfied when, for example, a predefined number of training iterations are completed, a predefined performance metric threshold (e.g., accuracy, precision, recall, etc.) is satisfied, etc.

[0184] If training is not complete, process 800 proceeds to block 850 where value updater 725 updates parameter values ​​and parameter data structures. The update may be based on predicted results, actual results, and / or a calculated loss function. The update may be based on evaluating the gradient in the loss function, identifying a loss-reducing direction to "move" from a position associated with the current parameter value, and identifying a new parameter value based on the loss-reducing direction.

[0185] Process 800 then returns to block 830 for the next training iteration.

[0186] If it is determined at block 845 that training is complete, process 800 proceeds to block 855, where the trained model is used to process non-training data. Non-training data can be real-time data, experimental data, etc.

[0187] The results of the model execution can be used to identify real-world actions to be taken (e.g., in a laboratory). For example, the model can be configured to predict whether a cell will grow or the extent to which a cell will grow or the likelihood that a cell will lyse given a specific assumption. As another example, the model can be configured to identify one or more specific parameter values ​​predicted to result in a target outcome (e.g., one of two potential target outcomes, the highest predicted target outcome, a target outcome above a threshold, etc.). In some cases, a method includes performing such an identified action. Real-world actions can include, for example, performing specific gene editing (e.g., to change, remove, or replace a cell's genes). Real-world actions can include using specific reagents in a reaction, adding a specific reaction to a solution, or using a specific buffer (e.g., for cell culture).

[0188] Example

[0189] Millard's central carbon metabolism model (as described in Millard P, Smallbone K, Mendes P (2017) Metabolic regulation is sufficient for global and robust coordination of glucose uptake, catabolism, energy production and growth in Escherichia coli. PLoS Comput Biol 13 (2): e1005396. https: / / doi.org / 10.1371 / journal.pcbi.1005396, which is incorporated herein by reference in its entirety for all purposes) describes the growth of Escherichia coli in a chemostat at steady state. Ordinary differential equations are used to describe the biochemical reaction rates as a function of the concentrations of substrates, products, and allosteric effectors. The advantage of this method over other methods (such as flux balance analysis) is that it directly models gene expression and metabolic regulation such as allostery. The model is [the advantage of describing the model]. However, due to the inconsistency between the structure of the model and the data types available in various data sets (for example, the model cannot be applied to Escherichia coli grown under non-steady-state conditions), it is challenging to use the model to process specific types of data. Fitting this model to heterogeneous datasets is challenging: for example, E. coli grown at different growth rates or in different growth media express different amounts of the enzyme, which affects its activity (parameterized in our model by various Vmax parameters).

[0190] One approach would be to fit the model independently to different datasets - for example, one version of the model could be fit to bacteria growing in exponential phase, one version could be fit to bacteria growing in glucose-rich medium, etc. This approach would be simple but greatly reduces the data used to train the model.

[0191] In the training data set, each set of three consecutive rows corresponds to three repeated measurements of a single condition. The condition is characterized by the following factors:

[0192] - A base strain which has some deletions (eg ackA) relative to the "wild type" Millard model.

[0193] -For each product of interest, a plasmid expressing the enzymes required to produce that product.

[0194] - The set of "valves" that have been closed under this condition (ie, the presence of the enzyme is eliminated by degradation of its mRNA and / or protein). These are the chromosomal changes relative to the background strain for each product.

[0195] - For some conditions, additional knockouts or additional plasmids were present for factor identification.

[0196] - Growth medium. For most measurements this was the same with glucose as carbon source. For measuring xylitol production the medium also contained xylose.

[0197] The measurements we will fit are product fluxes (several different products are captured in the dataset).

[0198] Model setup. An augmented version of the Millard model was fitted to the training data set. The augmented version includes a single model for all enzymes required to represent all products. The default model configuration corresponds to the base strain, in which any deletions relative to Millard are removed by replacing their V max All production enzymes are turned off (by setting the corresponding parameter values ​​to 0), and parameter values ​​and initial state values ​​are set to represent a glucose-based medium without additional components.

[0199] Parameter configuration. Some parameters in the Millard model are V max For each enzyme in the model, define a different V max Parameters. The modeling assumption is that V between glucose and glucose + xylose medium max Therefore, each MillardVmax parameter is expressed as a global parameter:

[0200] -param_e1_vmax=LearnableParameter(

[0201] -name = 'E1_Vmax_global',

[0202] -variable=TargetVariable(model_parameter='E1_Vmax'),

[0203] -global_param=GlobalParameter())

[0204] Plasmid expressing the "production" enzyme V max Parameters are represented as shared parameters, for example (for citramalic acid production):

[0205] -param_cimA_vmax=LearnableParameter(

[0206] -name = 'cimA_Vmax_shared',

[0207] -variable=TargetVariable(model_parameter='cimA_Vmax'),

[0208] -shared_param=SharedParameter(conditions=[...]))

[0209] Populate the condition list from the data spreadsheet by extracting the conditions where the pSMART-cimA plasmid was included in the background strain.

[0210] Condition assignment. To generate a description of the parameter assignment for each specific condition, the appropriate valves are set to zero by setting the Vmax parameter of the corresponding enzyme to zero. For example, to close the G valve and the Z valve:

[0211] cond_gz_off=[VariableAssignment(variable=TargetVariable(model_parameter='G_Vmax'), value=0.0),

[0212] VariableAssignment(variable=TargetVariable(model_parameter='Z_Vmax'), value=0.0)]

[0213] These valve settings are populated from the Valve_p and Valve_g columns of the sheet by mapping the valve letters to the VariableAssignments of the corresponding enzymes in the Millard model.

[0214] Use case. Initial chemostat run (wild type, glucose, 5 growth rates). The model is configured to simulate wild type E. coli in glucose medium at five different growth rates. The Millard model parameters will be divided into three buckets:

[0215] - Default parameters that cannot be learned: parameters from literature;

[0216] - Global parameters: parameters that are not expected to be condition-specific, such as kinetic turnover rates (Kcats) and Michaelis-Menten constants (Kms)

[0217] - Local parameters: Condition-specific parameters, such as the Vmax parameter, for each condition, a different value will be learned.

[0218] Specific details are given in the above description to provide a thorough understanding of the embodiments. However, it should be understood that the embodiments can be practiced without these specific details. For example, circuits can be shown in block diagrams to avoid obscuring the embodiments with unnecessary details. In other examples, well-known circuits, processes, algorithms, structures, and techniques can be shown without unnecessary details to avoid obscuring the embodiments.

[0219] The implementation of the above techniques, blocks, steps and devices can be accomplished in various ways. For example, these techniques, blocks, steps and devices can be implemented in hardware, software or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), processors, controllers, microcontrollers, microprocessors, other electronic units designed to perform the above functions and / or combinations thereof.

[0220] In addition, it should be noted that the embodiments can be described as processes depicted as flow charts, flow diagrams, data flow diagrams, structure diagrams, or block diagrams. Although flow charts can describe operations as sequential processes, many operations can be performed in parallel or simultaneously. In addition, the order of operations can be rearranged. The process terminates when its operations are completed, but may have additional steps not included in the figure. The process can correspond to a method, function, procedure, subroutine, subprogram, etc. When a process corresponds to a function, its termination corresponds to the function returning to the calling function or main function.

[0221] In addition, embodiments can be implemented by hardware, software, scripting language, firmware, middleware, microcode, hardware description language and / or any combination thereof. When implemented with software, firmware, middleware, scripting language and / or microcode, the program code or code segment for performing the necessary tasks can be stored in a machine-readable medium such as a storage medium. Code segments or machine-executable instructions can represent any combination of processes, functions, subroutines, programs, routines, subroutines, modules, software packages, scripts, classes or instructions, data structures and / or program statements. Code segments can be coupled to another code segment or hardware circuit by transmitting and / or receiving information, data, independent variables, parameters and / or memory contents. Information, independent variables, parameters, data, etc. can be transmitted, forwarded or transmitted via any suitable means including memory sharing, message transmission, ticket transmission, network transmission, etc.

[0222] For firmware and / or software implementations, the methods can be implemented with modules (e.g., procedures, functions, etc.) that perform the functions described herein. Any machine-readable medium that tangibly embodies instructions can be used to implement the methods described herein. For example, software code can be stored in a memory. The memory can be implemented within a processor or external to a processor. As used herein, the term "memory" refers to any type of long-term, short-term, volatile, non-volatile, or other storage medium, and is not limited to any particular type of memory or any particular amount of memory or type of medium that stores memory.

[0223] In addition, as disclosed herein, the term "storage medium", "storage device" or "memory" may refer to one or more memories for storing data, including read-only memory (ROM), random access memory (RAM), magnetic RAM, magnetic core memory, magnetic disk storage media, optical storage media, flash memory devices and / or other machine-readable media for storing information. The term "machine-readable medium" includes, but is not limited to, portable or fixed storage devices, optical storage devices, wireless channels and / or various other storage media capable of storing or carrying (one or more) instructions and / or data.

[0224] Although the principles of the present disclosure have been described above in conjunction with specific devices and methods, it should be clearly understood that this description is made only as an example and not as a limitation on the scope of the present disclosure.

Claims

1. A method comprising: defining a set of conditions to be simulated by executing the machine learning model; For each condition in the set of conditions, identifying a set of learnable condition-specific parameters to configure a model architecture for the condition; providing that a first learnable specific condition parameter associated with a first condition in the condition set is a shared or global parameter, the shared or global parameter to have the same value as at least one other learnable specific condition parameter, wherein each of the at least one other learnable specific condition parameter is associated with a corresponding other condition in the condition set; configuring one or more parameter data structures with parameter values ​​for the set of specific condition parameters for the set of conditions, wherein the configuring imposes a constraint that the value of the first specific condition parameter and the at least one value of the at least one other specific condition parameter are identical to each other; training the machine learning model using the configured one or more parameter data structures; and Execute the trained machine learning model by processing another dataset.

2. The method according to claim 1, wherein: Configuring the one or more parameter data structures comprises: generating an initial version of a parameter data structure of the one or more parameter data structures to include values ​​for each of the learnable condition-specific parameter sets of the condition sets; identifying initial values ​​to initially define the shared or global parameters; and A modified version of the parameter data structure is generated to replace an initial version of the at least one other learnable specific condition parameter with the initial value.

3. The method according to claim 1, wherein: Training the machine learning model is performed using a loss function that associates a loss with a value of a set of unique learnable parameters, and wherein the number of unique learnable parameters in the set of unique learnable parameters is less than the number of parameters represented in the one or more parameter data structures.

4. The method according to claim 1, wherein: Training the machine learning model includes: calculating a loss function, wherein the loss function associates a specific loss with a value of a learnable parameter set, wherein the learnable parameter set includes specific learnable parameters corresponding to the first learnable specific condition parameter and the at least one other learnable specific condition parameter; identifying a new set of values ​​for the set of learnable parameters using the loss function, wherein the new set of values ​​includes a new value for the particular learnable parameter; and The one or more parameter data structures are updated using the new set of values ​​for the learnable parameter set, wherein the updating comprises setting each of the at least one value of the at least one other specific condition parameter and the value of the first specific condition parameter to the new value.

5. The method according to claim 1, wherein: The first learnable specific condition parameter is a shared parameter, and wherein a combination of the first condition and each corresponding other condition associated with the at least one other learnable specific condition parameter is an incomplete subset of the set of conditions, and wherein the method further comprises: specifying that the different learnable condition-specific parameters are global parameters having the same value across all conditions in the condition set; The one or more parameter data structures are configured to impose a constraint, wherein the constraint is that the value of the parameter corresponding to the global parameter is the same across conditions.

6. The method according to claim 1, wherein: The machine learning model is a model that simulates a biological cell, and wherein at least one of the condition sets corresponds to a simulation in which a specific gene is missing or inactive.

7. The method according to claim 1, wherein: The machine learning model is a model that simulates a biological cell, and wherein at least one of the sets of conditions corresponds to a simulation of adding a specific agent to a culture medium external to the biological cell.

8. The method according to claim 1, further comprising: Determining, based on the results of said execution of the trained machine learning model, a gene edit to be performed or an agent to be used; as well as The real-world actions including making the described gene edits or using the described agents are performed in a laboratory setting.

9. A system comprising: one or more data processors; as well as A non-transitory computer-readable storage medium containing instructions that, when executed on the one or more data processors, cause the one or more data processors to perform a set of actions, the set of actions comprising: defining a set of conditions to be simulated by executing the machine learning model; For each condition in the set of conditions, identifying a set of learnable condition-specific parameters to configure a model architecture for the condition; providing that a first learnable specific condition parameter associated with a first condition in the condition set is a shared or global parameter, the shared or global parameter to have the same value as at least one other learnable specific condition parameter, wherein each of the at least one other learnable specific condition parameter is associated with a corresponding other condition in the condition set; configuring one or more parameter data structures with parameter values ​​for the set of specific condition parameters for the set of conditions, wherein the configuring imposes a constraint that the value of the first specific condition parameter and the at least one value of the at least one other specific condition parameter are identical to each other; training the machine learning model using the configured one or more parameter data structures; and Execute the trained machine learning model by processing another dataset.

10. The system according to claim 9, wherein: Configuring the one or more parameter data structures comprises: generating an initial version of a parameter data structure of the one or more parameter data structures to include values ​​for each of the learnable condition-specific parameter sets of the condition sets; identifying initial values ​​to initially define the shared or global parameters; and A modified version of the parameter data structure is generated to replace an initial version of the at least one other learnable specific condition parameter with the initial value.

11. The system according to claim 9, wherein: Training the machine learning model is performed using a loss function that associates a loss with a value of a set of unique learnable parameters, and wherein the number of unique learnable parameters in the set of unique learnable parameters is less than the number of parameters represented in the one or more parameter data structures.

12. The system according to claim 9, wherein: Training the machine learning model includes: calculating a loss function, wherein the loss function associates a specific loss with a value of a learnable parameter set, wherein the learnable parameter set includes specific learnable parameters corresponding to the first learnable specific condition parameter and the at least one other learnable specific condition parameter; identifying a new set of values ​​for the set of learnable parameters using the loss function, wherein the new set of values ​​includes a new value for the particular learnable parameter; and The one or more parameter data structures are updated using the new set of values ​​for the learnable parameter set, wherein the updating comprises setting each of the at least one value of the at least one other specific condition parameter and the value of the first specific condition parameter to the new value.

13. The system according to claim 9, wherein: The first learnable specific condition parameter is a shared parameter, and wherein a combination of the first condition and each corresponding other condition associated with the at least one other learnable specific condition parameter is an incomplete subset of the set of conditions, and wherein the set of actions further comprises: specifying that the different learnable condition-specific parameters are global parameters having the same value across all conditions in the condition set; The one or more parameter data structures are configured to impose a constraint, wherein the constraint is that the value of the parameter corresponding to the global parameter is the same across conditions.

14. The system according to claim 9, wherein: The machine learning model is a model that simulates a biological cell, and wherein at least one of the condition sets corresponds to a simulation in which a specific gene is missing or inactive.

15. The system according to claim 9, wherein: The machine learning model is a model that simulates a biological cell, and wherein at least one of the sets of conditions corresponds to a simulation of adding a specific agent to a culture medium external to the biological cell.

16. A computer program product tangibly embodied in a non-transitory machine-readable storage medium, comprising instructions configured to cause one or more data processors to perform a set of actions, the set of actions comprising: defining a set of conditions to be simulated by executing the machine learning model; For each condition in the set of conditions, identifying a set of learnable condition-specific parameters to configure a model architecture for the condition; providing that a first learnable specific condition parameter associated with a first condition in the condition set is a shared or global parameter, the shared or global parameter to have the same value as at least one other learnable specific condition parameter, wherein each of the at least one other learnable specific condition parameter is associated with a corresponding other condition in the condition set; configuring one or more parameter data structures with parameter values ​​for the set of specific condition parameters for the set of conditions, wherein the configuring imposes a constraint that the value of the first specific condition parameter and the at least one value of the at least one other specific condition parameter are identical to each other; training the machine learning model using the configured one or more parameter data structures; and Execute the trained machine learning model by processing another dataset.

17. The computer program product of claim 16, wherein: Configuring the one or more parameter data structures comprises: generating an initial version of a parameter data structure of the one or more parameter data structures to include values ​​for each of the learnable condition-specific parameter sets of the condition sets; identifying initial values ​​to initially define the shared or global parameters; and A modified version of the parameter data structure is generated to replace an initial version of the at least one other learnable specific condition parameter with the initial value.

18. The computer program product of claim 16, wherein: Training the machine learning model is performed using a loss function that associates a loss with a value of a set of unique learnable parameters, and wherein the number of unique learnable parameters in the set of unique learnable parameters is less than the number of parameters represented in the one or more parameter data structures.

19. The computer program product of claim 16, wherein: Training the machine learning model includes: calculating a loss function, wherein the loss function associates a specific loss with a value of a learnable parameter set, wherein the learnable parameter set includes specific learnable parameters corresponding to the first learnable specific condition parameter and the at least one other learnable specific condition parameter; identifying a new set of values ​​for the set of learnable parameters using the loss function, wherein the new set of values ​​includes a new value for the particular learnable parameter; and The one or more parameter data structures are updated using the new set of values ​​for the learnable parameter set, wherein the updating comprises setting each of the at least one value of the at least one other specific condition parameter and the value of the first specific condition parameter to the new value.

20. The computer program product of claim 16, wherein: The first learnable specific condition parameter is a shared parameter, and wherein a combination of the first condition and each corresponding other condition associated with the at least one other learnable specific condition parameter is an incomplete subset of the set of conditions, and wherein the set of actions further comprises: specifying that the different learnable condition-specific parameters are global parameters having the same value across all conditions in the condition set; The one or more parameter data structures are configured to impose a constraint, wherein the constraint is that the value of the parameter corresponding to the global parameter is the same across conditions.

21. The computer program product of claim 16, wherein: The machine learning model is a model that simulates a biological cell, and wherein at least one of the condition sets corresponds to a simulation in which a specific gene is missing or inactive.

Citation Information

Patent Citations

  • Parameter and state initialization for model training

    US20230281362A1