Method and device for training a machine learning system

The hybrid model, integrating a KKL observer and neural networks, addresses the precision and transparency issues in predicting system states by refining simulator outputs, enhancing prediction accuracy and control in technical systems.

WO2024208832A1PCT designated stage expired Publication Date: 2024-10-10ROBERT BOSCH GMBH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
PCT/EP2024/058949
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-06
Filing Date
2024-04-02
Publication Date
2024-10-10

AI Technical Summary

Technical Problem

Existing methods for predicting system or environmental states in technical systems face challenges with precision, as physical models may provide inaccurate predictions while machine learning systems, particularly neural networks, generate unpredictable 'black box' results, making it difficult to choose between them for model predictive control.

Method used

A hybrid model combining a Kazantzis-Kravaris-Luenberger (KKL) observer with neural networks is used, where a simulator provides initial predictions refined by machine learning systems, trained using a loss function that accounts for deviations, to enhance prediction accuracy and transparency.

Benefits of technology

The hybrid model achieves increased prediction accuracy by refining simulator outputs with machine learning, allowing for both precise and traceable predictions, improving control and regulation in technical systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure EP2024058949_10102024_PF_FP_ABST
    Figure EP2024058949_10102024_PF_FP_ABST
Patent Text Reader

Abstract

The invention relates to computer-implemented method for training a machine learning system. The machine learning system is designed to predict a value of at least one system state of a technical system and / or at least one environmental state of the technical system. The method has the following steps: • receiving a first time series of values of the at least one system state and / or the at least one environmental state; • ascertaining a second time series of predicted values using a simulator on the basis of the values of the first time series, wherein for each time of the first time series, the next value of the first time series is predicted by the simulator; • ascertaining a third time series of predicted values; • ascertaining a loss value using a loss function, said loss function comprising a term which characterizes a deviation of the third time series from the first time series; and • training the first neural network and / or the second neural network on the basis of the loss value.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] R.406625 - 1 - Description Title Procedure and for training a machine Technical Field The invention relates to a method for training a machine learning system, a method for predicting a value of a system state or an environmental state of a technical system, a training system, a control system, a computer program, and a machine-readable storage medium. State of the Art Peralis et al., "Neural Network-Based KKL observer for nonlinear discrete-time systems", 2022, https: / / ieeexplore.ieee.org / document / 9992516, discloses a KKL observer that uses a neural network. Technical Background Predicting a system state or an environmental state of a technical system for future points in time is a recurring technical problem in various technical fields. In particular, when used in model predictive control (MPC),MPC), such predictions are indispensable. Physical models of the technical system can be used for predictions, which typically determine the future value(s) R.406625 - 2 - based on a time series of measured values ​​of the system state or environmental state. However, the values ​​determined in this way are often not accurate enough to ensure precise control or regulation. Machine learning methods, particularly neural networks, have proven suitable for determining particularly precise predictions. A disadvantage of machine learning systems, however, is that their predictions are generally not reproducible. This means that it is generally not possible to determinewhy a machine learning system has output a certain value as a prediction of a system state or an environmental state. This feature, also known as a "black box," is particularly common in neural networks. When designing an MPC, the problem arises of choosing between a physical model that outputs potentially inaccurate predictions and a machine learning system that outputs incomprehensible predictions. To combine the advantages of both model types, this invention proposes a so-called hybrid model. In particular, the inventors were able to determine that a hybrid model based on a Kazantzis-Kravaris-Luenberger (KKL) observer is suitable for determining a prediction of a system state or an environmental state. Surprisingly, the inventors were able to determinethat the use of neural networks within the observer and the determination of two different states within the observer leads to increased prediction accuracy of the hybrid model. Disclosure of the Invention In a first aspect, the invention relates to a computer-implemented method for training a machine learning system, wherein the machine learning system is configured to predict a value of at least one system state of a technical system and / or at least one environmental state of the technical system, the method comprising the following steps: R.406625 - 3 - ^ Receiving a first time series of values ​​of the at least one system state and / or the at least one environmental state; ^ Determining a second time series of predicted values ​​by means of a simulator and based on the values ​​of the first time series,wherein, for points in time of the first time series, a next value of the first time series is predicted by the simulator; ^ Determining a third time series of predicted values, wherein the third time series is determined based on a KKL observer, wherein the KKL observer receives the second time series as input and, for points in time of the second time series, predicts a first latent state by means of a first neural network of the machine learning system and predicts a second latent state by means of a second neural network of the machine learning system, and the third time series is determined based on the first latent states and based on the second latent states; ^ Determining a loss value by means of a loss function, wherein the loss function comprises a term,which characterizes a deviation of the third time series from the first time series; ^ Training the first neural network and / or the second neural network based on the loss value. The method can in particular be understood as effectively training the part of a machine learning system of a hybrid model. The hybrid model predicts the value of the at least one system state of the technical system and / or the at least one environmental state of the technical system based on the simulator, which can in particular be understood as a physical model for predicting the value, and the machine learning system. In particular, the hybrid model is designed toto obtain a time series of values ​​of the system state and / or the environmental state and, based on this time series, to predict one or more future values ​​of the system state and / or the environmental state. For this purpose, a prediction of the value can first be determined by the simulator, which is then refined by the machine learning system. In this way, an R.406625 - 4 - output value can both be reproduced using the simulator and, thanks to the refinement, be considered a precise prediction. To ensure a precise prediction, the machine learning system is trained. The proposed training method provides, in particular, that the first time series of values ​​of the at least one system state and / or the at least one environmental state is made available to the machine learning system.Wherein the first time series can be understood as a training datum. A time series can be understood in particular as a plurality of values, each of which is assigned a point in time. For example, values ​​can be measured using a sensor, and each value can be assigned a point in time of measurement, e.g., as an absolute time or as an offset from the start of the measurement. A point in time can preferably also be understood as an index of a value within a time series. For example, a list of measurements can be understood as a time series.where an index of an element within the list characterizes a point in time of the element. The first time series can be understood in particular as a time series of measurements of the system state and / or the environmental state. Based on the first time series, the simulator predicts values ​​for the system state and / or environmental state. In particular, the simulator can predict a next value of the time series based on sections of the first time series. For example, if the time series comprises 10 values, the simulator can predict the second value based on the first value, the third value based on the first and second values, and so on. Preferably, the simulator provides the first value of the first time series as the first value of the second time series and predicts a value for all other points in time in the time series. The determined second time series is then passed to the machine learning system.to refine the predictions. For this purpose, the machine learning system uses a KKL observer, which in turn comprises R.406625 - 5 - neural networks. Based on the second time series, the KKL observer determines first latent states and second latent states of the technical system. Preferably, a first latent state and a second latent state of a subsequent point in time are determined based on a value of the second time series. The first latent state can be understood as observable for the following steps and in the control engineering sense, that is,that the state can be reconstructed based on the measured values ​​of the system state and / or the environmental state (i.e., the first time series). The second latent state is determined based on the first latent state and can be understood as a non-observable state. Training based on the loss value can be determined, in particular, by a gradient descent method. In the various embodiments described in this document, it is possible for the steps of the training method to be carried out iteratively, and for each iteration, it is selected whether the first neural network, the second neural network, or both together should be trained. This selection can be understood as a hyperparameter of the training method. The KKL observer can be defined, in particular, by the formulas: be characterized, where ^ ^ and ^ ^ are each matrices, ^ ^a value of the second time series at a time ^ is ^ ^ an intermediate state at time ^, ^ ^ a first latent state at time ^ is, ^ ^ a second latent state at time ^ is, ^ ^ is a value of the third time series at time ^ and ^∗ ^ ^ is the first neural network and ^ ^the second neural network. Preferably, the first neural network is a multilayer perceptron and the second neural network is a gated recurrent unit (GRU). R.406625 - 6 - In various embodiments of the method, it is possible for a residual value to be determined for each second latent state by means of a third neural network of the machine learning system, wherein the third neural network receives the second latent state as input to determine the residual value, and wherein the loss function comprises an additional term that characterizes a norm of the determined residual values. Advantageously, the inventors were able to determine that a residual can be learned via the second latent state by the second machine learning system.The residual characterizes a deviation of a prediction of the system state and / or environmental state by the first machine learning system and based on the first state from the actual value of the system state and / or environmental state. This residual can advantageously improve the prediction of the machine learning system and thus improve the accuracy of the hybrid model. Furthermore, the norm of the residual values ​​can advantageously be used to regulate the extent to which unobservable states of the system are included in the determination of the third time series. For example, the term of the loss function that characterizes the norm can be multiplied by a selectable factor in the loss function. A high factor reduces the influence of the unobservable state, while a low factor increases it. The factor can be understood, in particular, as a hyperparameter of the method.In the various embodiments, it is further possible that, based on a respective first latent state at a point in time and by means of a fourth neural network of the machine learning system, a value of the third time series is predicted at that point in time, wherein the fourth neural network receives the first latent state as input and determines an intermediate value, wherein a sum of the intermediate value and a residual value at that point in time is provided as the predicted value of the third time series at that point in time. R.406625 - 7 - Advantageously, these method steps allow a prediction of the machine learning system with respect to the first time series to be traced back to the observable parts and the unobservable parts.In the various embodiments, it is further possible that, based on a respective first latent state at a point in time and by means of a fifth neural network of the machine learning system, a prediction of a value of the second time series at that point in time is determined, and the loss function includes a further term that characterizes a deviation of the prediction of the value of the second time series at that point in time from the value of the second time series at that point in time. This procedure can be understood as the machine learning system learning the output of the simulator during training, i.e., learning how the simulator determines its outputs. Since the prediction of the value of the second time series is determined based on the first latent state, the first latent state is regularized by these steps so that it best reflects the internal behavior of the simulator.The inventors were able to discover that this limits the first latent state to the observable states of the technical system, thereby enabling a better division into observable and unobservable states and thus further increasing the prediction accuracy of the machine learning system. Preferably, in the various embodiments, it is also possible for the third neural network and / or the fourth neural network and / or the fifth neural network to be trained based on the loss value in the training step, additionally or alternatively. In these embodiments, too, the choice of which neural network is to be trained in a specific iteration can be understood as a hyperparameter of the method. In the various embodiments, the simulator can comprise a physical model of the technical system, wherein the second time series is determined using R.406625 - 8 - of the physical model.In particular, the physical model can characterize a differential equation of the technical system. In a further aspect, the invention relates to a computer-implemented method for determining a first value of at least one system state of a technical system and / or at least one environmental state of the technical system, comprising the steps: ^ Obtaining a time series of values ​​of the at least one system state or the at least one environmental state; ^ Determining an intermediate value based on a simulator; ^ Determining the first value by means of a machine learning system and based on the intermediate value, wherein the machine learning system was trained according to the training method above. The expression “wherein the machine learning system was trained according to the training method above” can be understood to mean that the neural network is available as a result of the training.Alternatively, the expression can also be understood to mean that the training method is carried out as part of the method for determining the first value. In particular, the method for determining the first value can be regarded as the inference counterpart of the training method. The simulator and the machine learning system can be understood as a hybrid model, wherein the hybrid model is configured to determine one or more future values ​​of the system state and / or environmental state based on a time series of values ​​of the system state and / or the environmental state. For this purpose, an intermediate value is determined for each of the future values ​​by the simulator, which is subsequently refined by the machine learning system. The steps of the inference can be understood as analogous to the steps during training.In particular, the first value can be determined by means of the machine learning system as in the training method. R.406625 - 9 - Embodiments of the invention are explained in more detail below with reference to the accompanying drawings. The drawings show: Figure 1 schematically a training method for training a machine learning system; Figure 2 schematically a training system; Figure 3 schematically a structure of a control system for controlling an actuator; Figure 4 schematically an embodiment for controlling an at least partially autonomous robot. Description of the Embodiments Figure 1 schematically shows a training method for training a machine learning system (60). For training, a first time series (^. ^:^) of values ​​of at least one system state and / or an environmental state of a technical system. The time series can in particular be a time series of measured values, e.g. a time series of sensor values, e.g. of a temperature sensor, speed sensor, yaw rate sensor, pressure sensor, piezo sensor, acceleration sensor, gas sensor, ammeter, voltmeter or flow sensor. Alternatively, it is also possible for the time series to characterize a time series of measured values ​​that are indirectly determined by the technical system. For example, the technical system can be a camera that records people, vehicles or other moving objects in an environment of the camera, wherein the first time series (^ ^:^ ) characterizes a trajectory of the person, vehicle or object. Based on the first time series, a simulator (61) determines a second time series (^ ^:^ ). The second time series characterizes a forecast ^^ at a time ^, wherein the prediction is preferably determined based on the values ​​of the first time series before this time. For the first value of the second time series (^ ^:^ ) can preferably be the first value of the first time series (^ ^:^ ) can be used. A value of the second time series (^ ^:^ ) at time ^ can therefore be understood as a prediction that would have been achieved by the simulator (61) if only the values ​​of the time series up to time ^ − 1 had been transmitted to the simulator (61). Alternatively, the simulator (61) can be limited to a fixed-size window of values ​​of the first time series (^ ^:^ ) before the time ^, e.g. on the values ​​^ ^^^:^^^ , where ^ ^ a value of the first time series (^ ^:^ ) at time ^ and the indices below characterize a point in time of the time series. Preferably, the second time series (^ ^:^) the same length as the first time series (^ ^:^ ). The second time series (^ ^:^ ) is transmitted to a KKL observer of the machine learning system (60). The KKL observer is trained to calculate the time series ^ and based on the second time series (^ ^:^ ) a first latent state (^ ^:^ ) of the technical system and a second latent state (^ ^:^ ) of the technical system at a future point in time, preferably at the next point in time ^ + 1. Preferably, the first latent state (^ ^:^ ) and the second latent state (^ ^:^ ) based on the formulas: determined, where ^ ^ and ^ ^ are each matrices, ^ ^ an intermediate state at a time ^ is, ^ ^ a first latent state at time ^ is, ^ ^ a second latent state at time ^ is, ^ ^Prediction of the value of the first time series (^ ) at time ^ and ^∗ is a ^ ^ :^ ^ first neural network and ^ ^ a second neural network. Parameters of the matrices ^ ^ and ^ ^ , of the first neural network and the second neural network can preferably all be adjusted during training. Alternatively, it is also possible to set the matrices to fixed values. In these cases, ^ ^ a diagonal matrix with negative R.406625 - 11 - eigenvalues ​​and ^ ^ a unit matrix. The dimensionality of the intermediate states ^ ^ and the latent states ^ ^ and ^ ^ are freely selectable and can be understood as hyperparameters of the training process. The first neural network is preferably a multilayer perceptron, while the second neural network is preferably a GRU. In the exemplary embodiment, the step ^ ^^^ = ^ ^ ^^ + ^ ^ ^ ^ represented by an intermediate state unit (62), wherein the intermediate state unit (62) is a time series (^ ^:^ ) of intermediate states ^ ^ Preferably, the first intermediate state (^ ^ ) is characterized by a fixed value, which can be understood as a hyperparameter of the method. Preferably, the value 0 or, when using multidimensional intermediate states, a zero vector can be chosen here. The intermediate states (^ ∗ ^ :^ ) are passed to the first neural network (^ ^ ) which is forwarded at a time ^ ^ a first latent state of a future point in time is determined, preferably a next point in time ^ + 1. Thus, in particular, a time series (^ ^:^ ) of first latent states are determined, preferably a first latent state for each point in time of the time series (^ ^:^) of intermediate states. The first element (^ ^ ) of the time series (^ ^:^ ) of first latent states, as with the intermediate states, a fixed value can be chosen that characterizes a hyperparameter of the training. Preferably, the value 0 or, when using multidimensional latent states, a zero vector can be chosen. Preferably, the time series (^ ^:^ ) of first latent states has the same length as the time series (^ ^:^ ) of intermediate states. Based on the time series (^ ^:^ ) of first latent states, a time series (^ ^:^ ) of second latent states is determined by the second neural network, preferably according to the formula above. The time series (^ ^:^ ) of second latent states preferably has the same length as the time series (^ ^:^) of first latent states. R.406625 - 12 - Based on the first latent states and the second latent states and by means of a third neural network (^ ^ ) a residual value is determined, preferably for each point in time in the time series (^ ^:^ ) of the first latent states and the time series (^ ^:^ ) of the second latent states. This creates a time series (^^ ^ :^ ) of residual values. The third neural network (^ ^ ) is preferably characterized by a single linear layer. Based on the first latent states and by means of a fourth neural network (^ ^ ) intermediate values ​​of a prediction of the first time series (^ ^:^ ). Preferably, an intermediate value is determined for each first latent state. The intermediate values ​​and the residual values ​​at the same time points ^ are then added together. The resulting time series (^ ^:^) is used as a prediction of the first time series (^ ^:^ ) is provided. The fourth neural network (^ ^ ) is preferably characterized by a single linear layer. The time series (^^ ^ :^ ) of residual values ​​and the time series (^ ^:^ ) of predictions of the first time series (^ ^:^ ) is displayed in an output (^ ^:^ ) of the machine learning system (60). Preferably, based on the first latent states and by means of a fifth neural network (ℎ ^ ) also a prediction of the second time series (^ ^:^ ) is determined. This time series (^̂ ^:^ ) of predictions is preferably also included in the output (^ ^:^ ) are provided. To train the machine learning system (60), the data in the output (^ ^:^) provided values ​​are compared with desired values ​​in order to train the machine learning system (60). In particular, a loss value (not shown) can be determined based on a loss function. Since the operations in the exemplary embodiment are all differentiable up to the input of the machine learning system (60), the machine learning system (60) can then be trained in particular via a gradient descent method, wherein training of the machine learning system (60) particularly includes adapting parameters of at least one of the neural networks (^∗ ^, ^^ ^ , ℎ ^ , ^ ^ , ^ ^ ). The loss function can R.406625 - 13 - in particular include a term that represents a deviation of the time series (^ ^:^ ) of predictions of the first time series (^ ^:^ ). The loss function preferably further comprises a term that represents a deviation of the second time series (^ ^:^ ) from the time series (^̂^:^ ) of the predictions of the second time series. The time series can each be understood as vectors, which is why the terms that characterize a deviation can, in particular, characterize a distance function, in particular a squared Euclidean distance or a Euclidean distance. Preferably, the loss function is characterized by the formula: ℒ = ‖ ^ ^:^ − ^̂ ^:^ ‖ ^ + ‖ ^ ^:^ where ‖ ⋅ ‖ ^ is a Euclidean distance and ^ is a factor that determines the norm of the time series (^^ ^ :^ ) of the residual values. In the process, the respective values ​​of the time series can also be determined iteratively by the machine learning system (60), and in each iteration, the machine learning system (60) can be run through completely once. This iterative process can be described by the formulas: be characterized. In Figure 1, white, empty circles describe the inclusion of a value in a time series, and black, filled circles describe a duplication of time series for provision to various parts of the machine learning system (60). Figure 2 shows an embodiment of a training system (140) for training the machine learning system (60) using a training data set (T). The training data set (T) comprises a plurality of R.406625 - 14 - time series (^ ^:^ ) of measured values ​​of at least one system state and / or an environmental state of a technical system, which are used to train the machine learning system (60). For training, a training data unit (150) accesses a computer-implemented database (St2), wherein the database (St2) provides the training data set (T). The training data unit (150) determines from the training data set (T), preferably randomly, at least one first time series (^ ^:^) and transmits the first time series (^ ^:^ ) to the simulator (60). The simulator (60) determines on the basis of the first time series (^ ^:^ ) a second time series (^ ^:^ ), which is transmitted to the machine learning system (60). The machine learning system (60) determines on the basis of the second time series (^ ^:^ ) an output (^ ^:^ ). The first time series (^ ^:^ ) and the determined output (^ ^:^ ) are transmitted to a change unit (180). Based on the first time series (^ ^:^ ) and the determined output (^ ^:^ ) new parameters (^ ^ ) for the machine learning system (60). For this purpose, the change unit determines a loss value based on the loss function from above. The change unit (180) determines the new parameters (^ ^). In the exemplary embodiment, this is done using a gradient descent method, preferably Stochastic Gradient Descent, Adam, or AdamW. In further exemplary embodiments, the training can also be based on an evolutionary algorithm or a second-order optimization. The determined new parameters (^ ^ ) are stored in a model parameter memory (St1). Preferably, the determined new parameters (^ ^ ) as parameters (^) to the machine learning system (60). In particular, the parameters (^) and new parameters (^ ^) to parameters and new parameters of the first to fifth neural networks. R.406625 - 15 - In further preferred embodiments, the described training is repeated iteratively for a predefined number of iteration steps or iteratively repeated until the first loss value falls below a predefined threshold. Alternatively or additionally, it is also conceivable that the training is terminated when an average first loss value with respect to a test or validation data set falls below a predefined threshold. In at least one of the iterations, the new parameters (^ ^) as a parameter (^) of the machine learning system (60). Furthermore, the training system (140) can comprise at least one processor (145) and at least one machine-readable storage medium (146) containing instructions which, when executed by the processor (145), cause the training system (140) to carry out a training method according to one of the aspects of the invention. Figure 3 shows a control system (40) which, by means of the machine learning system (60), determines control signals (A) of an actuator (10) and / or a display device (10a). At preferably regular time intervals, an environment (20) of the actuator (10) is detected in a sensor (30). The sensor signal is stored as a first time series (^ ^:^ ) of measured values ​​to the control system (40). The control system (40) determines control signals (A) therefrom, which are transmitted to the actuator (10). The control system (40) transmits the first time series (^ ^:^) to a simulator (61) which, based on the first time series (^ ^:^ ) a wide time series (^ ^^^:^^^ ) of future measured values. This second time series (^ ^^^:^^^ ) is transmitted to the machine learning system (60). The machine learning system (60) is preferably parameterized by the parameters (^) determined during training, which are stored in a parameter memory (P) and provided by the latter. The machine learning system (60) determines, based on the second time series (^ ^^^:^^^ ) a third time series (^ ^^^:^^^ ) of future measured values. In the R.406625 - 16 - embodiment, a number ^ of future measured values ​​is predicted, whereby the number can be freely selected and set by a user. The third time series (^ ^^^:^^^) is fed to an optional conversion unit (80), which determines control signals (A) therefrom, which are fed to the actuator (10) in order to control the actuator (10) accordingly. The actuator (10) receives the control signals (A), is controlled accordingly, and carries out a corresponding action. The actuator (10) can comprise a (not necessarily structurally integrated) control logic, which determines a second control signal from the control signal (A), with which the actuator (10) is then controlled. In further embodiments, the control system (40) comprises the sensor (30). In yet further embodiments, the control system (40) alternatively or additionally also comprises the actuator (10).In further preferred embodiments, the control system (40) comprises at least one processor (45) and at least one machine-readable storage medium (46) on which instructions are stored which, when executed on the at least one processor (45), cause the control system (40) to carry out the method according to the invention. In alternative embodiments, a display unit (10a) is provided as an alternative or in addition to the actuator (10). Figure 4 shows how the control system (40) can be used to control an at least partially autonomous robot, here an at least partially autonomous motor vehicle (100). The sensor (30) can, for example, be a video sensor, preferably arranged in the motor vehicle (100), which is configured to determine a time series of positions of other road users, such as vehicles, persons, cyclists, or the like. R.406625 - 17 - The actuator (10), which is preferably arranged in the motor vehicle (100), can be, for example, a brake, a drive, or a steering system of the motor vehicle (100). The control signal (A) can then be determined such that the actuator or actuators (10) are controlled such that the motor vehicle (100), for example, avoids a collision with other road users. In particular, the optional conversion unit (80) can carry out model-predictive control by taking into account the future positions of the road users in such a way that a travel trajectory planned for the vehicle does not collide with trajectories predicted for the road users based on the future positions. Alternatively or additionally, the display unit (10a) can be controlled with the control signal (A), and, for example, predicted positions of road users can be displayed.Alternatively, the at least partially autonomous robot can also be another mobile robot (not shown), for example one that moves by flying, swimming, diving, or walking. The mobile robot can also be, for example, an at least partially autonomous lawnmower or an at least partially autonomous cleaning robot. In these cases, too, the control signal (A) can be determined such that the drive and / or steering of the mobile robot are controlled such that the at least partially autonomous robot, for example, prevents a collision with objects identified by the sensor (30). The term "computer" encompasses any devices for processing predefined calculation instructions. These calculation instructions can be in the form of software, or in the form of hardware, or even in a hybrid form of software and hardware. In general, a time series can be understood as indexed, i.e.Each element of the time series is assigned a unique index, preferably by assigning consecutive integers to the elements contained in the time series. Preferably, if a time series comprises ^ elements, R.406625 - 18 - where ^ is the number of elements in the plural, the elements are assigned the integers from 1 to ^.

Claims

R.406625 - 19 - Claims 1. Computer-implemented method for training a machine learning system (60), wherein the machine learning system (60) is configured to predict a value of at least one system state of a technical system (100) and / or at least one environmental state of the technical system (100), the method comprising the following steps: ^ Receiving a first time series (^ ^:^ ) of values ​​of the at least one system state and / or the at least one environmental state; ^ Determining a second time series (^ ^:^ ) of predicted values ​​using a simulator (61) and based on the values ​​of the first time series (^ ^:^ ), where for points in time of the first time series (^ ^:^ ) a next value of the first time series is predicted by the simulator (61); ^ Determining a third time series (^ ^:^ ) of predicted values, where the third time series (^ ^:^) based on a KKL observer (^^^), where the KKL observer (^^^) takes as input the second time series (^ ^:^ ) and for points in the second time series (^ ^:^ ) a first latent state (^ ^:^ ) is predicted by means of a first neural network (^∗ ^) of the machine learning system (60) and a second latent state (^ ^:^ ) is predicted by a second neural network (^∗ ^) of the machine learning system (60) and the third time series (^ ^:^ ) based on the first latent states (^ ^:^ ) and based on the second latent states (^ ^:^ ) is determined; ^ Determining a loss value using a loss function, wherein the loss function includes a term that represents a deviation of the third time series (^ ^:^ ) from the first time series (^ ^:^) characterized; ^ Training the first neural network (^∗ ^) and / or the second neural network (^∗ ^) based on the loss value. R.406625 - 20 - 2. Method according to claim 1, wherein the KKL observer (^^^) is based on a value of the second time series (^ ^:^ ) at a time a first latent state (^ ^:^ ) at a subsequent time and a second latent state (^ ^:^ ) at a subsequent time.

3. Method according to claim 2, wherein the KKL observer (^^^) is determined by the formulas: is characterized, where ^ ^ and ^ ^ are each matrices, ^ ^ an intermediate state at a time ^ is, ^ ^ a first latent state at time ^ is, ^ ^ a second latent state at time ^ is, ^ ^a value of the third time series at time ^ and ^∗ ^ is the first neural network and ^^ ^ is the second neural network.

4. The method according to one of claims 1 to 3, wherein for each second latent state (^ ^:^ ) using a third neural network (^ ^ ) of the machine learning system (60) a residual value (^^ ^ :^ ) is determined, whereby the third neural network (^ ^ ) to determine the residual value (^^ ^ :^ ) the second latent state (^ ^:^ ) as input, and where the loss function includes an additional term that represents a norm of the determined residual values ​​(^^ ^ :^ ) characterized.

5. Method according to one of the preceding claims, wherein based on a respective first latent state (^ ^:^ ) at a time and by means of a fourth neural network (^ ^ ) of the machine learning system (60) a value of the third time series (^ ^:^) predicted at the time (^ ^:^ ), where the fourth neural network (^ ^ ) the first latent state (^ ^:^ ) as input and determines an intermediate value, whereby a sum of the intermediate value and a residual value (^^ ^ :^ ) at the time as the predicted value of the third time series (^ ^:^ ) is provided at that time. R.406625 - 21 - 6. Method according to one of the preceding claims, wherein based on a respective first latent state (^ ^:^ ) at a time and by means of a fifth neural network (ℎ ^ ) of the machine learning system (60) a prediction (^̂ ^:^ ) of a value of the second time series (^ ^:^ ) is determined at that time and the loss function includes a further term that represents a deviation of the prediction (^̂ ^:^ ) of the value of the second time series (^ ^:^ ) at the time of the value of the second time series (^^:^ ) at that time.

7. Method according to one of claims 4 to 6, wherein in the step of training, additionally or alternatively, the third neural network (^ ^ ) and / or the fourth neural network (^ ^ ) and / or the fifth neural network (ℎ ^ ) is trained based on the loss value.

8. The method according to one of the preceding claims, wherein the simulator (61) comprises a physical model of the technical system (100), wherein the second time series (^ ^:^ ) is determined by means of the physical model.

9. The method according to claim 8, wherein the physical model characterizes a differential equation of the technical system (100).

10. A computer-implemented method for determining a first value of at least one system state of a technical system (100) and / or at least one environmental state of the technical system (100), comprising the steps of: ^ Obtaining a time series (^ ^:^) of values ​​of the at least one system state or the at least one environmental state; ^ Determining an intermediate value (^ ^^^:^^^ ) based on a simulator (61) according to one of claims 1 to 9; ^ determining the first value by means of a machine learning system (60) and based on the intermediate value (^ ^^^:^^^ ), wherein the machine learning system (60) was trained according to one of claims 1 to 9. R.406625 - 22 - 11. A training device (140) configured to carry out the method according to any one of claims 1 to 9.

12. A control device (40), wherein the control device (40) is configured to carry out the method according to claim 10 and to control an actuator (10) and / or a display device (10a) based on the first value.

13. A computer program configured to carry out the method according to any one of claims 1 to 10 when executed by a processor (45, 145).

14. A machine-readable storage medium (46, 146) on which the computer program according to claim 13 is stored.

Citation Information

Patent Citations

  • Device and method for classifying a signal and / or for performing regression analysis on a signal

    US20230004826A1