Device and method for controlling a robot device
By projecting the updated strategy into a state-specific trust region using similarity metrics and entropy constraints, the method addresses the exploration-exploitation dilemma in robot control models, enhancing training efficiency and accuracy.
Patent Information
- Application Number
- DE102020211648
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-09-17
- Publication Date
- 2024-11-07
- Estimated Expiration
- 2040-09-17
AI Technical Summary
Existing robot control models in reinforcement learning face challenges in maintaining a balance between exploration and exploitation, with methods like TRPO and projections based on mean KL divergence potentially leading to premature convergence and violations of trust regions.
A method is introduced to ensure that the updated strategy for each state of the robot control model is within a confidence interval by projecting it onto a projected strategy using similarity metrics and entropy constraints, employing methods like Mahalanobis distance, Wasserstein distance, or numerical optimizers to maintain a state-specific trust region, integrated as differentiable layers in a neural network.
This approach enhances the efficiency and accuracy of robot control model training by optimizing the exploration-exploitation trade-off and ensuring that the strategy remains within predefined confidence intervals, leading to improved performance and convergence.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[0001] Various embodiments generally relate to an apparatus and method for controlling a robotic device.
[0002] Robot devices can be controlled using robot control models. For this purpose, a robot control model can be trained using machine learning, such as reinforcement learning (also called reinforcement learning). The robot control model can select an action to be performed by the robot device using a goal-oriented strategy for a current state of the robot device. The strategy for a respective state from several states maps to one of several actions. During the training of the robot control model and / or during the inference of the trained robot control model, the strategy can be updated. In this case, it may be desirable and / or necessary for a similarity between the initial strategy and the updated strategy to be maintained within a predefined range (e.g.of a confidence interval).
[0003] Schulman et al., Trust Region Policy Optimization, ICML, Proceedings of Machine Learning Research, 37, 2015, describes a trust region policy optimization (TRPO) in which a policy update is performed under a constraint such that the updated policy lies within a confidence region. The constraint is a heuristic approximation of the Kullback-Leibler (KL) divergence between the initial policy and the updated policy using a mean KL divergence.
[0004] However, in reinforcement learning, the exploration-exploitation trade-off (also called exploration-exploitation dilemma) must be taken into account.
[0005] Abdolmaleki et al., "Model-based relative entropy stochastic search," Advances in Neural Information Processing Systems, 2015, describes that if the entropy of the updated strategy is not considered during strategy updating, this can lead to premature strategy convergence due to increased exploitation. When updating the strategy within the confidence interval, the entropy of the strategy can be considered as an additional constraint.
[0006] Akrour et al., Projections for Approximate Policy Iteration Algorithms, ICLR, 2019, builds on the TRPO procedure described by Schulman et al. and the additional policy entropy condition described by Abdolmaleki et al., projecting an updated constraint-constrained strategy into a constraint-unconstrained strategy.
[0007] However, the condition used in TRPO, and thus also its projection, is based on the mean KL divergence across all states. Therefore, individual states of the projected strategy could violate the confidence interval condition (e.g., lie outside the confidence interval). Consequently, it might be necessary to provide a procedure capable of ensuring the confidence interval for each state when updating the strategy.
[0008] Furthermore, the described confidence-region strategy optimization and the projection of the strategy are limited to the averaged KL divergence. Therefore, it may be helpful and / or necessary to use other mathematical methods for projecting a strategy into a confidence region, such as mathematically more suitable methods (e.g., mathematical methods that require less computational effort, such as mathematical methods that can be solved in closed form).
[0009] Furthermore, it might be advantageous and / or necessary for end-to-end training of the robot control model to provide a method for projecting the strategy into a confidence region, by means of which the strategy projection can be implemented as one or more differentiable layers in a neural network.
[0010] In Amos and Kolter, OptNet: Differentiable Optimization as a Layer in Neural Networks, 34th International Conference on Machine Learning, 2017, a method is described that allows integrating optimization problems as differentiable layers in a neural network (OptNet).
[0011] From DE 10 2017 201 949 A1 a method for controlling a device for producing workpieces is known. Methods for controlling robots are known from DE 11 2010 000 775 B4, DE 10 2019 131 385 A1 and DE 44 40 859 C2.
[0012] A method for controlling a physical process is known from US 10 751 879 B2.
[0013] From US 5 319 738 A a neural network system is known for determining output variables for an input variable supplied to the neural network system.
[0014] The method and the device with the features of independent claims 1 (first example) and 14 (eighteenth example) make it possible to train a robot control model in such a way that, when the strategy of the robot control model is updated, a confidence region (e.g., a respective confidence region) is ensured for each state of the robot control model.
[0015] Consequently, the apparatus and method for controlling a robot device are capable of training the robot control model more efficiently (e.g., faster, e.g., with higher accuracy, e.g., with an improved ratio of exploration and exploitation).
[0016] The device and the method for controlling the robot device therefore solve the problem of training the robot control model more efficiently.
[0017] A robot control model can be a machine learning-based model. The robot control model can, for example, include a reinforcement learning algorithm. According to various embodiments, at least part of the robot control model can be implemented using a neural network.
[0018] A robotic device can be any type of computer-controlled device, such as a robot (e.g., a manufacturing robot, a maintenance robot, a household robot, a medical robot, etc.), a vehicle (e.g., an autonomous vehicle), a household appliance, a production machine, a personal assistant, an access control system, etc.
[0019] For example, by projecting the updated strategy of the robot control model such that the confidence region is ensured for each state of the robot control model, the exploration-exploitation trade-off in reinforcement learning can be controlled (e.g., improved, e.g., optimized).
[0020] Determining the updated strategy using the performed sequence of actions may include determining a respective reward for each performed action of the performed sequence of actions by applying a reward function to the respective resulting state; and determining the updated strategy using the initial strategy and the determined rewards such that an expected reward is maximized. The features described in this paragraph, in combination with the first example, constitute a second example.
[0021] Projecting the updated strategy onto the projected strategy may comprise: projecting the updated strategy onto the projected strategy such that, for each state of the plurality of states of the projected strategy: a similarity value according to the similarity metric between the projected strategy and the updated strategy is maximized, a similarity value according to the similarity metric between the projected strategy and the initial strategy is greater than the predefined threshold, and an entropy of the projected strategy is greater than or equal to a predefined entropy threshold. The features described in this paragraph in combination with the first example or the second example constitute a third example.
[0022] Illustratively, the condition that the entropy for each state of the plurality of states strategy is greater than or equal to a predefined entropy threshold can lead to a change in not only the covariance but also the expectation of the multivariate normal distribution of the projected strategy when updating the strategy.
[0023] The initial strategy may comprise an initial multivariate normal distribution of the plurality of actions. The updated strategy may comprise an updated multivariate normal distribution of the plurality of actions. The projected strategy may comprise a projected multivariate normal distribution of the plurality of actions. Projecting the updated strategy onto the projected strategy may comprise: projecting the updated strategy onto the projected strategy such that, for each state of the plurality of states of the projected strategy: a similarity value according to the similarity metric between the projected multivariate normal distribution and the updated multivariate normal distribution is maximized, and a similarity value according to the similarity metric between the projected multivariate normal distribution and the initial multivariate normal distribution is greater than the predefined threshold.The features described in this paragraph in combination with one or more of the first example to the third example form a fourth example.
[0024] Projecting the updated strategy onto the projected strategy may comprise: projecting the updated strategy onto the projected strategy such that, for each state of the plurality of states of the projected strategy: a similarity value according to the similarity metric between the projected multivariate normal distribution and the updated multivariate normal distribution is maximized, and a similarity value according to the similarity metric between the projected multivariate normal distribution and the initial multivariate normal distribution is greater than the predefined threshold; and an entropy of the projected multivariate normal distribution is greater than or equal to the predefined entropy threshold. The features described in this paragraph in combination with the third example and the fourth example form a fifth example.
[0025] Projecting the updated strategy onto the projected strategy such that, for each state of the plurality of states of the projected strategy, a similarity value according to the similarity metric between the projected multivariate normal distribution and the updated multivariate normal distribution is maximized, and a similarity value according to the similarity metric between the projected multivariate normal distribution and the initial multivariate normal distribution is greater than the predefined threshold may comprise: determining the projected multivariate normal distribution using the initial multivariate normal distribution, the updated multivariate normal distribution, and the predefined threshold using the Mahalanobis distance and the Frobenius norm. The features described in this paragraph in combination with the fourth example or the fifth example constitute a sixth example.
[0026] Projecting the updated strategy onto the projected strategy such that, for each state of the plurality of states of the projected strategy, a similarity value according to the similarity metric between the projected multivariate normal distribution and the updated multivariate normal distribution is maximized, and a similarity value according to the similarity metric between the projected multivariate normal distribution and the initial multivariate normal distribution is greater than the predefined threshold may comprise: determining the projected multivariate normal distribution using the initial multivariate normal distribution, the updated multivariate normal distribution, and the predefined threshold using the Wasserstein distance. The features described in this paragraph in combination with the fourth example or the fifth example constitute a seventh example.
[0027] Using the Mahalanobis distance and the Frobenius norm according to the sixth example, or the Wasserstein distance according to the seventh example, has the effect that the projection of the updated strategy can be determined in a mathematically closed form. For example, the projected strategy thus determined can be integrated as one (or several) layers in a neural network.
[0028] Projecting the updated strategy onto the projected strategy such that, for each state of the plurality of states of the projected strategy, a similarity value according to the similarity metric between the projected multivariate normal distribution and the updated multivariate normal distribution is maximized, and a similarity value according to the similarity metric between the projected multivariate normal distribution and the initial multivariate normal distribution is greater than the predefined threshold may comprise: determining the projected multivariate normal distribution using the initial multivariate normal distribution, the updated multivariate normal distribution, and the predefined threshold by means of a numerical optimizer. The features described in this paragraph in combination with the fourth example or the fifth example constitute an eighth example.
[0029] The numerical optimizer can determine the projected multivariate normal distribution using the Kullback-Leibler divergence. The feature described in this paragraph, combined with the eighth example, forms a ninth example.
[0030] Determining the projected multivariate normal distribution may involve a Lagrange multiplier method. The feature described in this paragraph, in combination with one or more of the sixth through ninth examples, constitutes a tenth example.
[0031] The robot control model may be a neural network. The feature described in this paragraph, in combination with one or more of the first example through the tenth example, forms an eleventh example.
[0032] Projecting the updated strategy onto the projected strategy can be implemented as one or more layers (e.g., as differentiable layers) in the neural network. The feature described in this paragraph, in combination with the eleventh example, forms a twelfth example.
[0033] Integrating the projection of the strategy into a state-specific trust region as one or more differentiable layers in a neural network has the effect that the neural network can be trained end-to-end using the strategy projection, ensuring the condition of the trust region during training for each state.
[0034] Adapting the robot control model to implement the projected strategy may include adapting the robot control model using a gradient descent method. The feature described in this paragraph, in combination with one or more of the first example through the twelfth example, constitutes a thirteenth example.
[0035] Controlling the robot device using the adapted robot control model may include: performing one or more actions by the robot device using the adapted robot control model; updating the strategy using the performed one or more actions via regression. The features described in this paragraph in combination with one or more of the first example through the thirteenth example constitute a fourteenth example.
[0036] Controlling the robot device using the adapted robot control model may include: performing one or more actions by the robot device using the adapted robot control model; updating the strategy using the performed one or more actions such that a difference between an expected reward and a similarity value according to the similarity metric between the projected strategy and the updated strategy is maximized. The features described in this paragraph in combination with one or more of the first example through the thirteenth example constitute a fifteenth example.
[0037] A method for controlling a robot device may comprise: performing a sequence of actions by the robot device using a robot control model, wherein performing each action of the sequence of actions comprises: determining an action for a current state of a plurality of states of the robot device using the robot control model using an initial strategy, performing the determined action by the robot device, and determining the state of the robot device resulting from the performed action; determining an updated strategy using the performed sequence of actions;Determining a projected strategy such that a difference between an expected reward for the projected strategy and a similarity value according to the similarity metric between each state of the plurality of states of the projected strategy and the updated strategy is maximized; adapting the robot control model to implement the projected strategy; and controlling the robot device using the adapted robot control model. The method having the features described in this paragraph constitutes a sixteenth example.
[0038] A method for controlling a robot device may comprise: performing a sequence of actions by the robot device using a robot control model, wherein performing each action of the sequence of actions comprises: determining an action for a current state of a plurality of states of the robot device using the robot control model using an initial strategy, performing the determined action by the robot device, and determining the state of the robot device resulting from the performed action; determining an updated strategy using the performed sequence of actions;Determining a projected strategy such that a difference between an expected reward for the projected strategy and a similarity value according to the similarity metric between each state of the plurality of states of the projected strategy and the updated strategy is maximized; and controlling the robot device by means of the robot control model using the projected strategy. The method having the features described in this paragraph constitutes a seventeenth example.
[0039] A computer program product can store program instructions which, when executed, carry out the method according to one or more of the first example to the seventeenth example. The computer program product with the features described in this paragraph constitutes a nineteenth example.
[0040] A non-volatile storage medium can store program instructions which, when executed, perform the method of one or more of the first example through the seventeenth example. The non-volatile storage medium having the features described in this paragraph constitutes a twentieth example.
[0041] A non-volatile storage medium can store program instructions which, when executed, perform the method of one or more of the first example through the seventeenth example. The non-volatile storage medium having the features described in this paragraph constitutes a twenty-first example.
[0042] Embodiments of the invention are illustrated in the drawing and explained in more detail in the following description.
[0043] They show: Fig. 1 shows an exemplary robot device arrangement according to various embodiments; Fig. 2 is an illustrative flowchart for determining a strategy according to various embodiments; Fig. 3 is a diagram illustrating determining a projected strategy using a numerical optimizer according to various embodiments; Fig. 4 shows a method for controlling a robot device according to various embodiments; Fig. 5 a method for controlling a robot device according to various embodiments.
[0044] In one embodiment, a "computer" may be understood as any type of logic-implementing entity, which may be hardware, software, firmware, or a combination thereof. Therefore, in one embodiment, a "computer" may be a hard-wired logic circuit or a programmable logic circuit, such as a programmable processor, for example, a microprocessor (e.g., a CISC (large instruction set processor) or a RISC (reduced instruction set processor)). A "computer" may comprise one or more processors. A "computer" may also be software implemented or executed by a processor, for example, any type of computer program, for example, a computer program using virtual machine code, such as Java.Any other manner of implementing the respective functions described in more detail below may be understood as a “computer” in accordance with an alternative embodiment.
[0045] Robot devices can be controlled using reinforcement learning-based robot control models. To ensure an improved (e.g., optimal) compromise between exploration and exploitation when updating the strategy of the robot control model, it may be necessary to update the strategy within a confidence region. Various embodiments relate to a device and a method for controlling a robot device that are capable of training a robot control model such that an updated strategy for each state of the robot device lies within the confidence region. Clearly, the confidence region for each state of the robot device can be considered and ensured when updating the strategy of the robot control model.
[0046] Fig. 1 shows a robot device arrangement 100. The robot device arrangement 100 may include a robot device 101. The Fig. The robot device 101 shown in Figure 1 and described below by way of example represents an exemplary robot device for illustrative purposes and may, for example, comprise an industrial robot in the form of a robot arm for moving, assembling, or processing a workpiece. It should be noted that the robot device may be any type of computer-controlled device, such as a robot (e.g., a manufacturing robot, a maintenance robot, a household robot, a medical robot, etc.), a vehicle (e.g., an autonomous vehicle), a household appliance, a production machine, a personal assistant, an access control system, etc.
[0047] The robot device 101 comprises robot limbs 102, 103, 104 and a base (or generally a mount) 105 by which the robot limbs 102, 103, 104 are supported. The term "robot limb" refers to the movable parts of the robot device 101, the actuation of which enables physical interaction with the environment, e.g., to perform a task, e.g., to perform an action.
[0048] For control purposes, the robot device arrangement 100 includes a control device 106 configured to implement interaction with the environment according to a control program. The last element 104 (as seen from the base 105) of the robot links 102, 103, 104 is also referred to as an end effector 104 and can include one or more tools such as a welding torch, a gripping tool, a painting device, or the like.
[0049] The other robot limbs 102, 103 (closer to the base 105) can form a positioning device, so that together with the end effector 104, a robot arm (or articulated arm) is provided with the end effector 104 at its end. The robot arm is a mechanical arm that can perform functions similar to a human arm (possibly with a tool at its end).
[0050] The robot device 101 may include connecting elements 107, 108, 109 that connect the robot limbs 102, 103, 104 to each other and to the base 105. A connecting element 107, 108, 109 may have one or more joints, each of which can provide rotational movement and / or translational movement (i.e., displacement) for associated robot limbs relative to each other. The movement of the robot limbs 102, 103, 104 may be initiated using actuators controlled by the controller 106.
[0051] The term "actuator" can be understood as a component capable of influencing a mechanism in response to being driven. The actuator can convert instructions issued by the control device 106 (the so-called activation) into mechanical movements. The actuator, e.g., an electromechanical converter, can be configured to convert electrical energy into mechanical energy in response to its control.
[0052] The term "control device" (also referred to as "control means") can be understood as any type of logical implementation unit, which may, for example, include a circuit and / or a processor capable of executing software, firmware, or a combination thereof stored in a storage medium, and which can issue instructions, e.g., to an actuator in the present example. The control device can, for example, be configured by program code (e.g., software) to control the operation of a system, in the present example, a robot.
[0053] In the present example, the control device 106 includes a computer 110 and a memory 111 that stores code and data based on which the computer 110 controls the robot device 101. According to various embodiments, the control device 106 controls the robot device 101 based on a robot control model 112 stored in the memory 111.
[0054] According to various embodiments, the robot device assembly 100 may include one or more sensors 113. The one or more sensors 113 may be configured to provide sensor data characterizing a state of the robot device. For example, the one or more sensors 113 may include an imaging sensor, such as a camera (e.g., a standard camera, a digital camera, an infrared camera, a stereo camera, etc.), a radar sensor, a LI-DAR sensor, a position sensor, a speed sensor, an ultrasonic sensor, an acceleration sensor, a pressure sensor, etc.
[0055] The robot device 101 may be in a state s ta plurality of states. According to various embodiments, the robot device 101 may be in a current state of the plurality of states at any time. The respective state of the plurality of states may be determined using the sensor data provided by the one or more sensors 113.
[0056] The robot device 101 may be configured to perform a plurality of actions. The actions of the plurality of actions may, for example, be predefined in the program code of the control device 106. One or more actions of the plurality of actions may, for example, comprise a mechanical movement of one or more robot limbs 102, 103, 104. One or more actions of the plurality of actions may, for example, comprise an action of the end effector (e.g., a gripping, e.g., a release, etc.). According to various embodiments, a taction performed by the robot device 101 a t lead to a resulting state of the plurality of states of the robot device 101.
[0057] The robot control model 112 may be a reinforcement learning-based model. For example, the robot control model 112 may implement a reinforcement learning algorithm.
[0058] The robot control model 112 can be configured to determine an action from the plurality of actions for a state from the plurality of states. For example, the robot control model 112 can output an action from the plurality of actions upon input of a state from the plurality of states. Illustratively, the robot control model 112 can map from a state from the plurality of states to an action from the plurality of actions. The states of the plurality of states can form a state space. The actions of the plurality of actions can form an action space. Illustratively, the robot control model 112 can map from the state space to the action space.
[0059] According to various embodiments, the robot control model 112 may have a policy π. For example, the robot control model 112 may pursue a strategy at any given time. A respective strategy may be associated with a goal and / or a task. For example, a respective strategy may be a strategy for achieving the goal or for fulfilling the task. According to various embodiments, a strategy may output an action from the plurality of actions upon input of a state from the plurality of states. Illustratively, the strategy used by the robot control model 112 may map from the state space to the action space.
[0060] Each state of the plurality of states can be associated with a respective probability distribution (e.g., a normal distribution) of the plurality of actions. According to various embodiments, a strategy can have or be a multivariate normal distribution (also referred to as a multidimensional normal distribution and / or a multivariate Gaussian distribution). A multivariate normal distribution can be defined by a mean vector and a covariance matrix. The mean vector of the multivariate normal distribution of a strategy can have a mean value for each state of the plurality of states. The covariance matrix (also referred to herein as covariance) of the multivariate normal distribution of a strategy can depend on the plurality of states (e.g., be a function of them).
[0061] According to various embodiments, the control device 106 may be configured to control the robot device 101 such that the robot device 101 executes and / or performs the action determined for the current state of the robot device 101 by the robot control model 112 using the current strategy.
[0062] The control device 106 can be configured to provide a reward for the state of the robot device 101 resulting from the performed action. According to various embodiments, the control device 106 can determine the reward for a resulting state using a reward function. The algorithm for executing the reward function can, for example, be stored in the memory 111. For example, the robot control model 112 can be configured to execute the reward function. The reward determined for the resulting state can, for example, be or become associated with the performed action in connection with the initial state of the robot device 101.
[0063] According to various embodiments, the robot device 101 may execute a sequence of actions using the robot control model 112. The control device 106 may be configured to execute each action of the sequence of actions using an initial strategy π θoldThe control device 106 can be configured to determine a respective reward for each action performed in the sequence of actions performed.
[0064] The control device 106 (e.g., the computer 110 of the control device 106) may be configured to generate an updated strategy π using the sequence of actions performed. θ The control device 106 may be configured to determine the updated strategy π θ in such a way that the expected reward given in equation (1) is increased (e.g. maximized): Eτ[∑t=0∞γtR(st,at)] where τ = s0, a0, · · · the trajectory of the states s t and the actions a t , which are passed through using the strategy to reach the goal or to complete the task, where γ is the discount factor, and where s0 ~ ρ(s0), a t ~ π(a t |st ) and s t+1 ~ P(s t+1 |s t , a t ) is.
[0065] A strategy π θ can be defined by the parameters θ of the robot control model 112, for example, the π θ be parameterized by θ.
[0066] According to various embodiments, an updated strategy π0 can be determined using equation (2): maxθ E(st,at)∼πθold[π0(at|st)π0old(at|st)Aπ(sl⋅al)] where π θold is the initial strategy (e.g. the previously used strategy), and where A π (a t , s t ) is the advantage function. The advantage function can be described, for example, by A π (a t , s t ) = Q π (a t , s t ) - V π (s t ), where Q π (a t , s t) the action value function and V π (s t ) is the value function.
[0067] According to various embodiments, the updated strategy π θ using importance sampling.
[0068] According to various embodiments, the updated strategy π θ one or more conditions (e.g. boundary conditions, for example side conditions) regarding the initial strategy π θold For example, a condition may be that the updated strategy π θ within a trust region with respect to the initial strategy π θold(e.g., the robot control model 112 may implement confidence-region-based reinforcement learning). For example, a condition may be that a similarity value according to a similarity metric between the updated strategy π θ and the initial strategy π θold for each state s t of the plurality of states is greater than a predefined threshold. For example, a similarity value according to the similarity metric between the strategy to be used and the initial strategy π θold for each state s t of the plurality of states may be greater than a predefined threshold if a distance d between the updated strategy π0 and the initial strategy π θoldis less than or equal to the predefined threshold ε. According to various embodiments, each state of the plurality of states may be associated with a respective predefined threshold ε. For example, with respect to equation (2), the condition (st) that a similarity value according to the similarity metric between the updated strategy π θ and the initial strategy π θold for each state s t of the plurality of states is greater than the predefined threshold ε, can be described according to equation (3): d(πθold(⋅|st)),πθ(πθ(⋅|st))≤∈(st)
[0069] Illustratively, the updated strategy can be constrained for each point (e.g., state) in the state space. Illustratively, updating the strategy within the confidence interval has the effect that the strategy approaches the optimal strategy in not too large steps (e.g., converges with it). Illustratively, a measure of change in the strategy used can be constrained.
[0070] According to various embodiments, a condition may be that an entropy the updated strategy π θ for each state s t of the plurality of states is greater than or equal to a predefined entropy threshold β. For example, the condition regarding equation (2) can be described according to equation (4): H(πθ(⋅|st))≥β(st)
[0071] Using the constraints on the updated strategy π0 according to equation (3) and optionally further equation (4) enables control over exploration (also called exploration) and exploitation (also called exploitation) of the reinforcement learning of the robot control model 112.
[0072] According to various embodiments, equation (2) with the conditions according to equations (3) and (4) can be defined by means of equation (5): maxπ Ex∼πold[π(x)πold(x)R(x)]st d(π(x),πold(x))≤e, H(π(x))≥β
[0073] With reference to Fig. 2, the robot control model 112 can perform each action of the sequence of actions using the initial strategy π θold (in 202). As described herein, the controller 106 may determine the updated strategy π θaccording to equation (2) (in 204), where the updated strategy π0 can be limited by the conditions defined in equation (3) and optionally also by the conditions defined in equation (4). Illustratively, the updated strategy π θ a restricted updated strategy π θ The updated strategy π θ can be restricted for each of the plurality of states (e.g., subject to the condition according to equation (3)). Illustratively, the updated strategy π θ a state-individually restricted updated strategy π θ For example, each state of the plurality of states may have a respective predefined threshold ε, such that the predefined threshold ε may be a predefined threshold vector.
[0074] The control device 106 may be configured to determine a projected strategy π̃ (in 206). The control device 106 may be configured to update the updated strategy π θ to a projected strategy π̃. The control device 106 can be configured to update the strategy π θ to project onto the projected strategy π̃ such that for each state of the plurality of states of the projected strategy π̃ a similarity value according to a similarity metric between the projected strategy π̃ and the updated strategy π θ is increased (e.g., maximized). The control device 106 may be configured to update the strategy π θ to project onto the projected strategy π̃ such that for each state of the plurality of states of the projected strategy π̃ a similarity value according to the similarity metric between the projected strategy π̃ and the updated strategy πθ increased (e.g. maximized) and that for each state of the plurality of states of the projected strategy π̃ a similarity value according to the similarity metric between the projected strategy π̃ and the initial strategy π θold is greater than the predefined threshold ε. The control device 106 may be configured to update the strategy π θ to project onto the projected strategy π̃ such that for each state of the plurality of states of the projected strategy π̃ a similarity value according to the similarity metric between the projected strategy π̃ and the updated strategy π θ increases (e.g. maximizes) that for each state of the plurality of states of the projected strategy π̃ a similarity value according to the similarity metric between the projected strategy π̃ and the initial strategy π θoldis greater than the predefined threshold ε, and that for each state of the plurality of states of the projected strategy π̃ the entropy the updated strategy π θ for each state s t the plurality of states is greater than or equal to the predefined entropy threshold β.
[0075] According to various embodiments, a respective strategy may be described by means of an associated multivariate normal distribution. For example, the initial strategy π θold have an initial multivariate normal distribution of the multitude of actions. The initial multivariate normal distribution can be described by: πθold(a|s)=N(a|μold(s),∑old(s)), where µ old (s) is the initial expectation vector and ∑ old is the initial covariance of the initial multivariate normal distribution. For example, the updated strategy π θhave an updated multivariate normal distribution of the multitude of actions. The updated multivariate normal distribution can be described by: πθ(a|s)=N(a|s),∑(s)) where µ is the updated expectation vector and Σ is the updated covariance of the updated multivariate normal distribution. The initial expectation vector, the initial covariance, the updated expectation vector, and / or the updated covariance can be a function of the plurality of states. For example, the projected strategy π̃ can have a projected multivariate normal distribution of the plurality of actions. The projected multivariate normal distribution can be described by: π˜(a|s)=N(a|μ˜(μold,μ,∑old,∑,e(s)),∑(μold,μ,∑old,∑,e(s),β(s))) where µ̃ is the projected expectation vector and Σ̃ is the projected covariance of the projected multivariate normal distribution. The projected expectation vector may depend on the initial expectation vector, the updated expectation vector, the initial covariance, the updated covariance, the predefined threshold, and / or the plurality of states. The projected covariance may depend on the initial expectation vector, the updated expectation vector, the initial covariance, the updated covariance, the predefined threshold, the plurality of states, and / or the predefined entropy threshold.
[0076] The control device 106 may be configured to update the strategy π θto project onto the projected strategy π̃ such that for each state of the plurality of states of the projected strategy π̃, a similarity value is increased (e.g., maximized) according to a similarity metric between the projected multivariate normal distribution and the updated multivariate normal distribution. The control device 106 may be configured to update the updated strategy π θto project onto the projected strategy π̃ such that for each state of the plurality of states of the projected strategy π̃, a similarity value according to the similarity metric between the projected multivariate normal distribution and the updated multivariate normal distribution is increased (e.g., maximized) and that for each state of the plurality of states of the projected strategy π̃, a similarity value according to the similarity metric between the projected multivariate normal distribution and the initial multivariate normal distribution is greater than the predefined threshold ε. The control device 106 can be configured to update the strategy π θto project onto the projected strategy π̃ such that for each state of the plurality of states of the projected strategy π̃ a similarity value according to the similarity metric between the projected multivariate normal distribution and the updated multivariate normal distribution is increased (e.g. maximized), that for each state of the plurality of states of the projected strategy π̃ a similarity value according to the similarity metric between the projected multivariate normal distribution and the initial multivariate normal distribution is greater than the predefined threshold ε, and that for each state of the plurality of states of the projected multivariate normal distribution the entropy the updated St multivariate normal distribution for each state s t the plurality of states is greater than or equal to the predefined entropy threshold β.
[0077] As described herein, a similarity value according to the similarity metric may be described using a distance d. According to various embodiments, the similarity value according to the similarity metric may be between the projected multivariate normal distribution of the projected strategy π̃ and the updated multivariate normal distribution of the updated strategy π θ a distance d between the projected multivariate normal distribution of the projected strategy π̃ and the updated multivariate normal distribution. According to various embodiments, the similarity value may be determined according to the similarity metric between the projected multivariate normal distribution of the projected strategy π̃ and the initial multivariate normal distribution of the initial strategy π θolda distance d between the projected multivariate normal distribution of the projected strategy π̃ and the initial multivariate normal distribution of the initial strategy π θold According to various embodiments, the optimization problem for determining the projected strategy π̃ can be described according to equations (6) to (8): minπ˜ d(π˜,πθ) st d(π˜,πθold)≤e, H(π˜)≥β
[0078] According to various embodiments, projecting the updated strategy π θ to the projected strategy π̃ such that the projected strategy π̃ is an unbounded projected strategy π̃. The projected strategy π̃ can be determined in such a way that the conditions (see, for example, equation (6)) are met. The updated strategy π θprojected onto the projected strategy π̃ in such a way that the projected multivariate normal distribution is as close as possible to the updated multivariate normal distribution (for example, that the distance between the projected multivariate normal distribution and the updated multivariate normal distribution is minimal) and that the projected multivariate normal distribution (and thus the projected strategy π̃) satisfies the conditions.
[0079] The projected multivariate normal distribution can be described by the projected expectation vector µ̃ and the projected covariance Σ̃. Projecting the updated strategy π θ on the projected strategy π̃ may involve determining the projected expectation vector µ̃ and the projected covariance Σ̃.
[0080] Illustratively, the updated multivariate normal distribution can be projected onto the projected multivariate normal distribution under the one or more conditions described herein. Illustratively, the updated multivariate normal distribution can be projected onto the projected multivariate normal distribution such that the one or more conditions described herein are met for each state of the plurality of states.
[0081] In the following, three exemplary projection methods for determining the projected expectation vector µ̃ and the projected covariance Σ̃ are described: (I) a first projection method using the Mahalanobis distance and the Frobenius norm; (II) a second projection method using the Wasserstein distance; and (III) a third projection method using a numerical optimizer. (I) first projection method
[0082] According to various embodiments, equation (6) of the optimization problem can be described using the Mahalanobis distance and the Frobenius norm with respect to the projected expectation vector µ̃ and the projected covariance Σ̃ according to equation (9): minμ˜,∑˜(μ−μ˜)T∑old−1(μ−μ˜)+‖∑−∑˜‖F2
[0083] According to various embodiments, the expected value vector and the covariance may be independent of each other. For example, the expected value vector and the covariance may be considered independently. For example, the condition according to equation (7) for a predefined threshold ε µ of the expected value vector according to equation (10) and a predefined threshold value ε Σ the covariance according to equation (11): (μold−μ˜)T∑old−1(μold−μ˜)≤∈μ ‖∑old−∑˜‖F2≤ε∑
[0084] Illustratively, a similarity value can be considered according to the similarity metric with respect to the expected value vector and a similarity value according to the similarity metric with respect to the covariance. According to various embodiments, the optimization problem described according to equations (9) to (11) can be solved using a Lagrange multiplier method. For example, the Lagrange duality of equations (9) to (11) can be described according to the Lagrange function L(μ˜,∑˜,ω,η) described by equation (12): L(μ˜,∑˜,ω,η)=(μ−μ˜)T∑old−1(μ−μ˜)+‖∑−∑˜‖F2+ω((μ−μ˜)T∑old−1(μ−μ˜)−εμ)+η(‖∑−∑˜‖F2−ε∑) where ω and η are Lagrange multipliers.
[0085] Solving equation (12) yields the projected expectation vector according to equation (13) and the projected covariance according to equation (14): μ˜=μ+ωμold1+ω ∑˜=∑+η∑old1+η where ω can be determined according to equation (15) and η according to equation (16). ω=(μold−μ)T∑old−1(μold−μ)εμ−1 η=‖∑old−∑‖F2ε∑−1 (II) second projection method
[0086] According to various embodiments, equation (6) of the optimization problem can be described using the Wasserstein distance (e.g., scaled Wasserstein distance) with respect to the projected expectation vector µ̃ and the projected covariance ∑̃ according to equation (17): minμ˜,∑˜(μ−μ˜)T∑old−1(μ−μ˜)+tr(∑old−1∑+∑old−1∑˜−2∑old−1(∑12∑˜∑12)12) where tr is the trace of the matrix.
[0087] The Wasserstein distance for two normal distributions is the Euclidean distance between the expected values of the two normal distributions. Multiply by the initial covariance ∑ old and scaling the Wasserstein distance leads to the Mahalanobis distance (see for example equation (17)).
[0088] As described herein, the expectation vector and the covariance can be considered independently. For example, the condition according to equation (7) for the predefined threshold ε µ of the expected value vector according to equation (18) and the predefined threshold ε Σ the covariance according to equation (19): (μold−μ˜)T∑old−1(μold−μ˜)≤εμ tr(I+∑old−1∑˜−2∑old−1(∑old12∑˜∑old12)12)≤ε∑ where η is the identity matrix (also called information matrix).
[0089] According to various embodiments, the optimization problem described in equations (17) to (19) can be solved using a Lagrange multiplier method. For the solution with respect to the projected expectation vector µ̃, reference is made to equations (13) and (15).
[0090] According to various embodiments, the optimization problem can be solved with respect to the root of the projected covariance. For example, the Lagrange duality of equations (17) and (19) can be solved according to the Lagrange function L(∑˜12,η) described by equation (20). L(∑˜12,η)=tr(∑old−1∑+∑˜12∑old−1∑˜12−2∑12∑old−1∑˜12)+η(tr(I+∑˜12∑old−1∑˜12−2∑old−1∑˜12)−ε∑)
[0091] By solving equation (20), the projected covariance is given by equation (21): ∑˜12=∑12+η∑old121+η where η can be determined according to equation (22). n=tr(I+∑old−1∑−2∑old−12∑12)ε∑−1
[0092] Thus, the first projection method and the second projection method can be solved in a closed form (the projected multivariate normal distribution can be determined in a closed form). (III) third projection method
[0093] According to various embodiments, the optimization problem according to equations (6) to (8) can be solved by means of a numerical optimizer.
[0094] Fig. Figure 3 shows a diagram illustrating determining a projected strategy π̃ using a numerical optimizer 302 according to various embodiments. For example, the controller 106 (e.g., the computer 110 of the controller 106) may be configured to implement the numerical optimizer 302.
[0095] A multivariate normal distribution can be described using the canonical parameter q (also called natural parameter) and the cumulant generating function Λ.
[0096] The numerical optimizer 302 can be configured to solve the optimization problem according to equations (6) to (8) for a canonical parameter q and a cumulant-generating function Λ by determining a first optimized Lagrange multiplier η* and a second optimized Lagrange multiplier ω* for the canonical parameter q and the cumulant-generating function Λ. For example, the numerical optimizer 302 can determine the first optimized Lagrange multiplier η* and the second optimized Lagrange multiplier ω* using KL divergence.
[0097] According to various embodiments, the controller 106 for the updated covariance ∑ 304 may determine the updated cumulant generating function Λ 306 according to Λ = Σ -1For example, the controller 106 may determine the updated canonical parameter q 310 for the updated expectation vector µ 308 and the updated cumulant generating function Λ 306 according to q = Λµ.
[0098] The numerical optimizer 302 may be configured to determine the first optimized Lagrange multiplier η* and the second optimized Lagrange multiplier ω* using the updated cumulant-generating function Λ 306 and the updated canonical parameter q 310. The numerical optimizer 302 may be configured to determine the first optimized Lagrange multiplier η* 316 and the second optimized Lagrange multiplier ω* 318 using the updated cumulant-generating function Λ 306, the updated canonical parameter q 310, a first Lagrange multiplier η 312, and a second Lagrange multiplier ω 314. For example, the first Lagrange multiplier η 312 and / or the second Lagrange multiplier ω 314 may be predefined (e.g., set).For example, the numerical optimizer 302 may be configured to determine the first Lagrange multiplier η 312 and / or the second Lagrange multiplier ω 314.
[0099] The initial cumulant-generating function Λ old can be calculated using the initial covariance Σ old (e.g. based on Λ = Σ -1 ) can be determined. The initial canonical parameter q old can be determined using the initial cumulant generating function and the initial expectation vector (e.g., based on q = Λµ).
[0100] The projected canonical parameter q̃ 320 can be determined according to equation (23): q˜=η*qold+qη*+ω*+1
[0101] The projected cumulant generating function Λ̃ 322 can be determined according to equation (24): Λ˜=η*Λold+Λη*+ω*+1
[0102] The projected covariance ∑̃ 324 can be calculated using the projected cumulant generating function Λ̃ 322 (e.g. based on Λ = Σ -1 ) can be determined. The projected expectation vector µ̃ can be determined using the projected canonical parameter q̃ 320 and the projected cumulant generating function Λ̃ 322 (e.g., based on q = Λµ).
[0103] It is noted that projecting the updated strategy π θ on the projected strategy π̃ can also be carried out using projection methods other than the three exemplary ones described here.
[0104] According to various embodiments, the projected strategy is an optimized strategy and by means of the projected strategy, an optimal sequence (e.g., sequence) of states of the robot device 101 and executed and / or performed actions of the robot device 101 can be determined and performed by the robot device 101.
[0105] According to various embodiments, the robot control model 112 may comprise or be a neural network. Projecting the updated strategy π θ onto the projected strategy π̃ can be implemented as one or more layers in the neural network. For example, projecting the updated strategy π θThe projection of the strategy π̃ onto the projected strategy may be implemented as one or more differentiable layers in the neural network. According to various embodiments, the one or more layers may be configured such that the projection described herein is performed if one of the conditions for the updated strategy is not met.
[0106] According to various embodiments, the controller 106 may be configured to adapt (e.g., to adapt) the robot control model 112 to implement the projected strategy π̃.
[0107] According to various embodiments, the robot control model 112 may comprise a neural network, and adapting the robot control model 112 may involve training the neural network. For example, the neural network may be trained using a gradient method (e.g., a strategy gradient method). According to various embodiments, using the projected strategy π̃ and the initial strategy π θold One or more gradients are determined. Illustratively, adapting the neural network using the projected strategy π̃ can be one iteration of training the neural network. According to various embodiments, multiple iterations can be performed. For example, the method described herein for adapting the robot control model 112 can be performed multiple times.
[0108] For example, the neural network of the robot control model 112 can be adapted (e.g., trained) by means of the gradient method using the determined one or more gradients.
[0109] The first projection method and the second projection method can be solved in closed form. Here, the one or more gradients can be determined directly. For the third projection method, the one or more gradients can be determined using the OptNet method described by Amos and Kolter. One layer of the neural network can solve the following Lagrange duality: minη,ωg(η,ω) =ηε−ωβ+η(−12qoldTΛold−1qold+12log det(Λold)−k2log(2π)) +(η+1+ω)(12qTΛ−1q−12log det(Λ)+k2log(2π))st−η≤0, −ω≤0
[0110] According to various embodiments, the one or more gradients may be determined (e.g., calculated) by deriving the corresponding Karush-Kuhn-Tucker (KKT) conditions.
[0111] The stationary KKT condition can be described, for example, using equation (25): ∇g(η*,ω*)+(λ1λ2)∇(−η*−ω*)=(ε−KL(q(x)‖qold(x))−λ1H(q(x))−β−λ2)=0 where λ1 is a first KKT multiplier and λ2 is a second KKT multiplier.
[0112] The complementary slackness condition of the KKT can be described, for example, by equation (26): λ1(−η*)=0 λ2(−ω*)=0
[0113] According to various embodiments, the one or more gradients can be determined by deriving the Karush-Kuhn-Tucker (KKT) conditions. According to various embodiments, the one or more layers of the neural network can be configured such that the projection is performed if one of the conditions described herein (e.g., the condition according to equation (3), e.g., the condition according to equation (4)) for the updated strategy π θ is not fulfilled. For example, one or more gradients can be determined for the following constellations: - The condition according to equation (3) and the condition according to equation (4) are met. In this case, the updated strategy can be used for the gradient descent method. For example, projecting the strategy and / or calculating the gradients using one or more layers of the neural network is not required. - The condition according to equation (3) is fulfilled and the condition according to equation (4) is not fulfilled, - The condition according to equation (3) is not fulfilled and the condition according to equation (4) is fulfilled, - The condition according to equation (3) and the condition according to equation (4) are not met.
[0114] According to various embodiments, if at least one of the conditions is not met, the one or more layers of the neural network may project the strategy as described herein. According to various embodiments, if at least one of the conditions is not met and the third projection method is used, the one or more layers of the neural network may determine the one or more gradients.
[0115] Illustratively, one of the three projection methods can be implemented as one or more differentiable layers in a neural network, so that the neural network can be trained end-to-end in such a way that the one or more conditions (e.g., the confidence interval condition) are ensured (e.g., satisfied) for each state of the plurality of states during training.
[0116] According to various embodiments, control device 106 may be configured to control robot device 101 using adapted robot control model 112.
[0117] The control device 106 can be configured to determine the current state of the robot device 101. The control device 106 can be configured to determine an action to be performed for the current state by means of the adapted robot control model 112 using the projected strategy. The action to be performed can, for example, be the action described by the projected multivariate normal distribution among the plurality of actions with the highest probability (e.g., the action associated with the expected value of the current state). The control device 106 can be configured to control the robot device 101 according to the action to be performed, such that the robot device 101 executes and / or performs the action. According to various embodiments, the robot device 101 can perform one or more actions using the adapted robot control model 112.
[0118] According to various embodiments, the controller 106 can update the strategy using the one or more actions performed. In doing so, as described herein, an updated strategy can be determined, and a projected strategy can be determined using the updated strategy. According to various embodiments, for example, during the inference of the robot control model 112 (e.g., the neural network), the optimization problem according to equation (27) can be solved. minθ d(π˜,πθ)
[0119] Here, the robot control model 112 can be adapted by means of a regression (e.g., having one or more regression steps) using the one or more actions performed.
[0120] According to various embodiments, the projected strategy can be determined according to the objective function given in equation (28). Here, the projected strategy can be determined such that a difference between the expected reward (see, for example, equation (2)) and the similarity value according to the similarity metric between the projected strategy and the updated strategy is increased (e.g., maximized). The similarity value according to the similarity metric between the projected strategy and the updated strategy can, for example, be determined by the distance between the projected strategy and the updated strategy d (π̃(a t |s t ), π θ (a t |s t )). The distance between the projected strategy and the updated strategy can be determined, for example, using the three projection methods described herein. maxθ E(st,at)∼πθold[π˜(at|st,πθ)πθold(at|st)Aπ(at,st)]−d(π˜(at|st),π0(at|st))
[0121] Fig. 4 shows a method 400 for controlling a robotic device according to various embodiments.
[0122] The method 400 may include performing a sequence of actions by the robot device using a robot control model (in 402). Performing each action of the sequence of actions may include determining an action for a current state of a plurality of states of the robot device using the robot control model using an initial strategy, performing the determined action by the robot device, and determining the state of the robot device resulting from the performed action. According to various embodiments, the robot control model may be a reinforcement learning-based model (e.g., a reinforcement learning-based neural network).
[0123] The method 400 may include determining an updated strategy using the performed sequence of actions (in 404).
[0124] The method 400 may include projecting the updated strategy onto a projected strategy (in 406). Projecting the updated strategy onto a projected strategy may be performed such that, for each state of the plurality of states of the projected strategy, a similarity value according to a similarity metric between the projected strategy and the updated strategy is increased (e.g., maximized), and such that, for each state of the plurality of states of the projected strategy, a similarity value according to the similarity metric between the projected strategy and the initial strategy is greater than a predefined threshold. Projecting the updated strategy onto a projected strategy may be performed such that, for each state of the plurality of states of the projected strategy, a similarity value according to the similarity metric between the projected strategy and the updated strategy is increased (e.g.,maximized), that for each state of the plurality of states of the projected strategy, a similarity value according to the similarity metric between the projected strategy and the initial strategy is greater than the predefined threshold, and that for each state of the plurality of states of the projected strategy, an entropy of the projected strategy is greater than or equal to a predefined entropy threshold.
[0125] The method 400 may include adapting the robot control model to implement the projected strategy (in 408).
[0126] The method 400 may include controlling the robot device using the adapted robot control model (in 410).
[0127] Fig. 5 shows a method 500 for controlling a robotic device according to various embodiments.
[0128] The method 500 may include performing a sequence of actions by the robot device using a robot control model (in 502). Performing each action of the sequence of actions may include determining an action for a current state of a plurality of states of the robot device using the robot control model using an initial strategy, performing the determined action by the robot device, and determining the state of the robot device resulting from the performed action. According to various embodiments, the robot control model may be a reinforcement learning-based model (e.g., a reinforcement learning-based neural network).
[0129] The method 500 may include determining an updated strategy using the performed sequence of actions (in 504).
[0130] The method 500 may include determining a projected strategy such that a difference between an expected reward for the projected strategy and a similarity value according to a similarity metric between each state of the plurality of states of the projected strategy and the updated strategy is increased (e.g., maximized) (in 506).
[0131] The method 500 may include controlling the robot device via the robot control model using the projected strategy (in 508).
[0132] According to various embodiments, the method 500 may include adapting the robot control model to implement the projected strategy and controlling the robot device using the adapted robot control model.
Claims
[1] A method for controlling a robot device (101), comprising: • performing a sequence of actions by the robot device (101) using a robot control model (112), wherein performing each action of the sequence of actions comprises: ◯ Determining an action for a current state of a plurality of states of the robot device (101) by means of the robot control model (112) using an initial strategy, ◯ performing the determined action by the robot device (101), and ◯ Determining the state of the robot device (101) resulting from the action performed; • Determine an updated strategy using the sequence of actions performed; • Projecting the updated strategy onto a projected strategy such that for each state of the plurality of states of the projected strategy: ◯ a similarity value is maximized according to a similarity metric between the projected strategy and the updated strategy, and ◯ a similarity value according to the similarity metric between the projected strategy and the initial strategy is greater than a predefined threshold; • Adapting the robot control model (112) to implement the projected strategy; and • Controlling the robot device (101) using the adapted robot control model (112). [2] The method of claim 1, wherein projecting the updated strategy onto the projected strategy comprises: • Projecting the updated strategy onto the projected strategy such that for each state of the plurality of states of the projected strategy: ◯ a similarity value according to the similarity metric between the projected strategy and the updated strategy is maximized, ◯ a similarity value according to the similarity metric between the projected strategy and the initial strategy is greater than the predefined threshold, and ◯ an entropy of the projected strategy is greater than or equal to a predefined entropy threshold. [3] Method according to one of claims 1 or 2, wherein the initial strategy has an initial multivariate normal distribution of the plurality of actions; wherein the updated strategy has an updated multivariate normal distribution of the plurality of actions; wherein the projected strategy has a projected multivariate normal distribution of the plurality of actions; where projecting the updated strategy onto the projected strategy has: • Projecting the updated strategy onto the projected strategy such that for each state of the plurality of states of the projected strategy: ◯ a similarity value is maximized according to the similarity metric between the projected multivariate normal distribution and the updated multivariate normal distribution, and ◯ a similarity value according to the similarity metric between the projected multivariate normal distribution and the initial multivariate normal distribution is greater than the predefined threshold. [4] The method according to claims 2 and 3, wherein projecting the updated strategy onto the projected strategy comprises: • Projecting the updated strategy onto the projected strategy such that for each state of the plurality of states of the projected strategy: ◯ a similarity value is maximized according to the similarity metric between the projected multivariate normal distribution and the updated multivariate normal distribution, and ◯ a similarity value according to the similarity metric between the projected multivariate normal distribution and the initial multivariate normal distribution is greater than the predefined threshold; and ◯ an entropy of the projected multivariate normal distribution is greater than or equal to the predefined entropy threshold. [5] The method according to claim 3 or 4, wherein projecting the updated strategy onto the projected strategy such that, for each state of the plurality of states of the projected strategy, a similarity value according to the similarity metric between the projected multivariate normal distribution and the updated multivariate normal distribution is maximized, and a similarity value according to the similarity metric between the projected multivariate normal distribution and the initial multivariate normal distribution is greater than the predefined threshold, comprises: • Determine the projected multivariate normal distribution using the initial multivariate normal distribution, the updated multivariate normal distribution and the predefined threshold using the Mahalanobis distance and the Frobenius norm. [6] The method according to claim 3 or 4, wherein projecting the updated strategy onto the projected strategy such that, for each state of the plurality of states of the projected strategy, a similarity value according to the similarity metric between the projected multivariate normal distribution and the updated multivariate normal distribution is maximized, and a similarity value according to the similarity metric between the projected multivariate normal distribution and the initial multivariate normal distribution is greater than the predefined threshold, comprises: • Determine the projected multivariate normal distribution using the initial multivariate normal distribution, the updated multivariate normal distribution and the predefined threshold using the Wasserstein distance. [7] The method according to any one of claims 3 or 4, wherein projecting the updated strategy onto the projected strategy such that, for each state of the plurality of states of the projected strategy, a similarity value according to the similarity metric between the projected multivariate normal distribution and the updated multivariate normal distribution is maximized, and a similarity value according to the similarity metric between the projected multivariate normal distribution and the initial multivariate normal distribution is greater than the predefined threshold, comprises: • Determine the projected multivariate normal distribution using the initial multivariate normal distribution, the updated multivariate normal distribution and the predefined threshold using a numerical optimizer. [8] The method of claim 7, wherein the numerical optimizer determines the projected multivariate normal distribution using the Kullback-Leibler divergence. [9] A method according to any one of claims 5 to 8, wherein determining the projected multivariate normal distribution comprises a Lagrange multiplier method. [10] The method of any one of claims 1 to 10, wherein the robot control model (112) is a neural network; and wherein projecting the updated strategy onto the projected strategy is implemented as one or more layers in the neural network. [11] The method of any one of claims 1 to 10, wherein adapting the robot control model (112) to implement the projected strategy comprises adapting the robot control model (112) by means of a gradient method. [12] The method according to any one of claims 1 to 11, wherein controlling the robot device (101) using the adapted robot control model (112) comprises: • performing one or more actions by the robot device (101) using the adapted robot control model (112); • Update the strategy using the one or more actions performed using regression. [13] The method according to any one of claims 1 to 11, wherein controlling the robot device (101) using the adapted robot control model (112) comprises: • performing one or more actions by the robot device (101) using the adapted robot control model (112); • Updating the strategy using the performed one or more actions such that a difference between an expected reward and a similarity value according to the similarity metric between the projected strategy and the updated strategy is maximized. [14] Device (100) arranged to carry out the method according to one of claims 1 to 13. [15] A non-volatile storage medium (111) storing program instructions which, when executed, carry out the method according to any one of claims 1 to 13.
Citation Information
Patent Citations
system for controlling at least one piece of equipment for manufacturing and / or assembling workpieces
DE102017201949A1
SAFETY AND PERFORMANCE STABILITY OF AUTOMATION THROUGH UNSAFETY-DRIVEN LEARNING AND CONTROL
DE102019131385A1
industrial robot system
DE112010000775B4
Method and device for controlling an autonomously exploratory robot
DE4440859C2
Adapting simulation data to real-world conditions encountered by physical processes
US10751879B2
