A method to improve the accuracy of selecting reliable actions in intelligent agent control

By learning multiple dynamic models and optimizing strategies in the agent, the problem of poor accuracy in the agent's selection of reliable actions in complex environments is solved, and sample efficiency and learning performance are improved.

CN114139675BActive Publication Date: 2024-09-20UNIV OF SCI & TECH OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111491549.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-08
Publication Date
2024-09-20
Estimated Expiration
2041-12-08

AI Technical Summary

Technical Problem

In agent control, existing model reinforcement learning methods have low sample efficiency, resulting in low learning strategy performance and poor accuracy in selecting reliable actions. Especially in complex and noisy environments, it is difficult to effectively learn accurate models.

Method used

By interacting with the pre-deployed behavioral policy network, probabilistic neural network, and evaluation scoring network agents with the real environment, multiple dynamic models are learned, and these models are used to learn multiple estimates of the evaluation scoring function, with the smallest k estimates The average value is used to optimize the strategy of the behavioral policy network and avoid the influence of complex environmental factors.

Benefits of technology

It improves the sample efficiency of the model-based reinforcement learning method, enhances the performance of the agent learning strategy, improves the accuracy of selecting reliable actions, and significantly increases the probability of completing tasks in the real environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114139675B
    Figure CN114139675B
Patent Text Reader

Abstract

The present invention discloses a method for improving the accuracy of selecting reliable actions in intelligent agent control, comprising: step 1, an intelligent agent pre-deployed with a behavior strategy network, a probabilistic neural network and an evaluation and scoring network interacts with a real environment according to a preset target task to be completed to collect real environment data, and a plurality of dynamic models are obtained by simulating the dynamics of the real environment through probabilistic neural network learning from the collected real environment data; step 2, the intelligent agent learns multiple estimates of the evaluation and scoring function of the evaluation and scoring network based on the multiple dynamic models; step 3, the intelligent agent uses the average value of the smallest k estimates of the multiple estimates of the evaluation and scoring function obtained to optimize the strategy of the behavior strategy network; step 4, the optimized strategy is used in the intelligent agent control to select the behavior. The sample efficiency of the intelligent agent using the model-based reinforcement learning method can be improved, thereby improving the performance of the learned strategy and improving the accuracy of selecting reliable actions in control.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent body control, and in particular to a method for improving the accuracy of selecting reliable actions in intelligent body control. Background Art

[0002] Reinforcement learning has achieved great success in decision-making tasks, from playing video games to controlling robots in simulators. However, many of these results are achieved using model-free reinforcement learning methods and usually require a large number of samples, which greatly hinders the application of model-free reinforcement learning methods to real-world tasks.

[0003] In contrast, model-based reinforcement learning methods have higher sample efficiency than model-free reinforcement learning methods by building environmental models and generating fictitious interactions. Therefore, for intelligent agent learning, model-based reinforcement learning methods are more promising methods for dealing with real-world tasks, such as robot control, industrial control, etc. The sample efficiency of model-based reinforcement learning methods depends critically on effectively learning accurate models, because model errors limit the performance of learning strategies, causing model bias problems. Specifically, model errors can mislead agents to choose unreliable actions - their long-term benefits are high in the model, but are likely to be low in the real environment, thereby reducing the performance of the agent's learning strategy, causing the agent to choose unreliable actions, and reducing the probability of completing the corresponding task objectives, such as reducing the probability of the robot arm grasping an object, etc., resulting in the agent's inability to complete the corresponding task objectives.

[0004] However, the model-based reinforcement learning methods currently used by intelligent agents are difficult to effectively learn accurate models due to the influence of factors such as complex and noisy environments. This hinders the improvement of the sample efficiency of model-based reinforcement learning methods, further affecting the performance of the intelligent agent's learning strategy, resulting in poor accuracy in selecting reliable actions in the intelligent agent's control (reliable actions refer to actions that have a higher probability of completing the target task).

[0005] In view of this, the present invention is proposed. Summary of the invention

[0006] The purpose of the present invention is to provide a method for improving the accuracy of selecting reliable actions in intelligent agent control, which can improve the sample efficiency of the intelligent agent using a model-based reinforcement learning method, and thus solve the problem that the intelligent agent has low learning strategy performance due to low sample efficiency in the learning of the model-based method, resulting in poor accuracy in selecting reliable actions in control.

[0007] The above technical problems exist in the prior art.

[0008] The objective of the present invention is achieved through the following technical solutions:

[0009] The embodiment of the present invention provides a method for improving the accuracy of selecting reliable actions in intelligent agent control, which is used in an intelligent agent using a model-based reinforcement learning method, comprising:

[0010] Step 1: The intelligent agent pre-deployed with the behavior strategy network, the probabilistic neural network and the evaluation and scoring network interacts with the real environment according to the preset target task to be completed to collect real environment data, and simulates the real environment dynamics through the probabilistic neural network learning from the collected real environment data to obtain multiple dynamic models;

[0011] Step 2, the agent learns multiple estimates of the evaluation and scoring function of the evaluation and scoring network based on multiple dynamic models;

[0012] Step 3, the agent uses the average of the smallest k estimates among the multiple estimates of the evaluation scoring function to optimize the strategy of the behavior strategy network;

[0013] Step 4: The optimized strategy is used to select behavior in the intelligent agent control.

[0014] Compared with the prior art, the method for improving the accuracy of selecting reliable actions in intelligent body control provided by the present invention has the following beneficial effects:

[0015] The intelligent agent first obtains multiple dynamic models from the real data of interaction with the environment through a probabilistic data network according to the predetermined target task to be completed, and then learns multiple estimates of the evaluation and scoring function of the evaluation and scoring network from the multiple dynamic models. After that, the average of the smallest k estimates of the multiple estimates of the evaluation and scoring function is used to optimize the strategy of the intelligent agent. Since it is a conservative optimization strategy, it avoids the influence of factors such as complex and noisy environments, so that the intelligent agent can effectively learn accurate models, improve the sample efficiency of the model-based reinforcement learning method, further improve the performance of the learning strategy, and thus improve the accuracy of selecting reliable actions using the learned strategy in the control of the intelligent agent. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0017] Figure 1 A flow chart of a method for improving the accuracy of selecting reliable actions in intelligent body control provided by an embodiment of the present invention;

[0018] Figure 2A flow chart of a method for improving the accuracy of selecting reliable actions in intelligent body control provided by an embodiment of the present invention, wherein (a) is a schematic diagram of controlling a three-dimensional ant simulation robot to run forward, (b) is a schematic diagram of controlling a two-dimensional half-leopard simulation robot to run forward, (c) is a schematic diagram of controlling a three-dimensional humanoid simulation robot to run forward, (d) is a schematic diagram of controlling a two-dimensional humanoid simulation robot to run forward, (e) is a schematic diagram of controlling a two-dimensional humanoid simulation robot to jump forward, and (f) is a schematic diagram of controlling a two-dimensional snake-like simulation robot to swim forward;

[0019] Figure 3 is a flow chart of a method for improving the accuracy of selecting reliable actions in intelligent body control provided by an embodiment of the present invention, wherein (a) is a schematic diagram of simulation control comparison results of a spider-shaped simulation robot, (b) is a schematic diagram of simulation control comparison results of a humanoid simulation robot, (c) is a schematic diagram of simulation control comparison results of a bipedal simulation robot, (d) is a schematic diagram of simulation control comparison results of a monopedal simulation robot, (e) is a schematic diagram of simulation control comparison results of a cheetah-shaped simulation robot, and (f) is a schematic diagram of simulation control comparison results of an inverted pole. DETAILED DESCRIPTION

[0020] The following is a clear and complete description of the technical solutions in the embodiments of the present invention in combination with the specific content of the present invention; it is obvious that the described embodiments are only part of the embodiments of the present invention, not all of the embodiments, which does not constitute a limitation of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the protection scope of the present invention.

[0021] First, the terms that may be used in this article are explained as follows:

[0022] The term “and / or” means that either or both of them can be realized at the same time. For example, X and / or Y means both “X” or “Y” and “X and Y”.

[0023] The terms "include", "comprises", "contains", "has" or other descriptions with similar semantics should be interpreted as non-exclusive inclusion. For example, including certain technical feature elements (such as raw materials, components, ingredients, carriers, dosage forms, materials, dimensions, parts, components, mechanisms, devices, steps, procedures, methods, reaction conditions, processing conditions, parameters, algorithms, signals, data, products or products, etc.) should be interpreted as including not only certain technical feature elements explicitly listed, but also other technical feature elements known in the art that are not explicitly listed.

[0024] The term "consisting of..." means excluding any technical feature elements not explicitly listed. If this term is used in a claim, it will make the claim closed, so that it does not contain technical feature elements other than the technical feature elements explicitly listed, except for the conventional impurities related to them. If this term only appears in a clause of a claim, it only limits the elements explicitly listed in the clause, and the elements recorded in other clauses are not excluded from the overall claim.

[0025] Unless otherwise specified or limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this article can be understood according to specific circumstances.

[0026] When concentration, temperature, pressure, size or other parameters are expressed in the form of a numerical range, the numerical range should be understood to specifically disclose all ranges formed by the pairing of any upper limit, lower limit, and preferred value in the numerical range, regardless of whether the range is explicitly stated; for example, if a numerical range of "2 to 8" is stated, the numerical range should be interpreted as including ranges such as "2 to 7", "2 to 6", "5 to 7", "3 to 4 and 6 to 7", "3 to 5 and 7", "2 and 5 to 7", etc. Unless otherwise specified, the numerical ranges stated herein include both their end values ​​and all integers and fractions within the numerical range.

[0027] The orientation or position relationship indicated by terms such as "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", etc. are based on the orientation or position relationship shown in the drawings and are only for the convenience and simplification of description, and do not explicitly or implicitly indicate that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation of this document.

[0028] The following is a detailed description of the method for improving the accuracy of selecting reliable actions in intelligent body control provided by the present invention. The contents not described in detail in the embodiments of the present invention belong to the prior art known to professional and technical personnel in the field. If no specific conditions are specified in the embodiments of the present invention, the conditions are carried out according to the conventional conditions in the field or the conditions recommended by the manufacturer. If the manufacturer of the reagents or instruments used in the embodiments of the present invention is not specified, they are all conventional products that can be purchased commercially.

[0029] like Figure 1 As shown, an embodiment of the present invention provides a method for improving the accuracy of selecting reliable actions in intelligent agent control, which is used in an intelligent agent using a model-based reinforcement learning method, including:

[0030] Step 1: The intelligent agent pre-deployed with the behavior strategy network, the probabilistic neural network and the evaluation and scoring network interacts with the real environment according to the preset target task to be completed to collect real environment data, and simulates the real environment dynamics through the probabilistic neural network learning from the collected real environment data to obtain multiple dynamic models;

[0031] Step 2, the agent learns multiple estimates of the evaluation and scoring function of the evaluation and scoring network based on multiple dynamic models;

[0032] Step 3, the agent uses the average of the smallest k estimates among the multiple estimates of the evaluation scoring function to optimize the strategy of the behavior strategy network;

[0033] Step 4: The optimized strategy is used to select behavior in the intelligent agent control.

[0034] In step 1 of the above method, multiple dynamic models are obtained by simulating the real environment dynamics through probabilistic neural network learning from the collected real environment data in the following manner, including:

[0035] The agent uses a set of pre-deployed probabilistic neural networks Learning and simulating the real environment dynamics from the collected real environment data to obtain multiple transition probability densities, and using the multiple transition probability densities as the dynamic model set M;

[0036] Each kinetic model M in the kinetic model set M j It is composed of the transition probability densities obtained by m different probabilistic neural networks, where m is less than N.

[0037] The transition probability density output by each of the above-mentioned probabilistic neural networks is modeled by the Gaussian distribution of the mean and diagonal covariance given by the probabilistic neural network.

[0038] In step 2 of the above method, the agent learns multiple estimates of the evaluation and scoring function of the evaluation and scoring network based on the learned dynamic model in the following manner, including:

[0039] The agent is based on each dynamic model M in the dynamic model set M j Each behavior strategy is learned to correspond to a scoring evaluation network, and the scoring evaluation network corresponding to each behavior strategy is used Indicates that the evaluation scoring network The training target value is:

[0040]

[0041] Where j = 1,…,K,s′ j ~P j (·|s,a),a′ j ~π(·|s′ j );

[0042] In the above formula, r(s,a) represents the reward signal of the agent performing action a in state s; β is the temperature coefficient; is the target value network; Represents the output value of the j-th scoring network; is the value network weight θ j The exponential sliding average of π(·|s) is the probability density function of a given state s in the action space; the parameter θ j The parameters are trained to minimize the Bellman residual: P j (·|s,a) represents the probability density function of the next state that the environment enters when the agent performs action a in state s; s represents the current state of the agent; and a represents the action performed by the agent.

[0043] The data used in the training process of the evaluation and scoring network of each kinetic model mentioned above are all from each kinetic model M j Given the current state-action pair (s, a), the distribution formula for generating the next state s' is given by virtual data:

[0044] In the above method, the agent uses the average of the smallest k estimates of the multiple estimates of the evaluation scoring function to optimize the strategy of the behavior strategy network in the following manner, including:

[0045] The estimates generated by multiple scoring evaluation networks are sorted in ascending order, and the sorting result is

[0046] The obtained ranking results are used to optimize the strategy π of the behavior strategy network by minimizing the following objectives φ :

[0047]

[0048] in,

[0049]

[0050] In the above formulas, D model represents a virtual dataset generated by the learned dynamics model simulation; DKL (b|c) represents the Kullback-Leibler divergence distance between probability distribution b and probability distribution c; π φ (·|s) represents the probability density function of the agent performing an action at state s; L represents the number of discarded high estimates; β is the temperature coefficient; Represents the score value of the j-th scoring evaluation network performing action a in state s.

[0051] In the above method, the intelligent agent is any one of an intelligent robot and an intelligent industrial control system. Preferably, the intelligent robot includes any one of a spider-type, a humanoid-type, a semi-leopard-type, a monopedal-type, and a bipedal-type robot.

[0052] In the above method, the preset task to be completed by the agent is a sequence decision task, such as a task for an intelligent mechanical arm to continuously grasp objects, a task for an intelligent robot to cross obstacles and reach a predetermined position, etc.

[0053] In the intelligent agent of the above method, if the output value of the evaluation and scoring network is higher, it means that the intelligent agent strategy has a greater probability of completing the target task. For example, taking the intelligently controlled robotic arm as an example, if the output value of its evaluation and scoring network is higher, it means that the robotic arm has a greater probability of completing the target task of grasping objects.

[0054] In summary, the method of the embodiment of the present invention enables the intelligent agent to first obtain multiple dynamic models from the real data of the interaction with the environment through a probabilistic data network according to the predetermined target task to be completed, and then learn multiple estimates of the Q-value function from the multiple dynamic models. After that, the average of the smallest k estimates of the multiple estimates of the Q-value function is used to optimize the strategy of the intelligent agent. Since it is a conservative optimization strategy, it avoids the influence of factors such as complex and noisy environments, so that the intelligent agent can effectively learn accurate models, improve the sample efficiency of the model-based reinforcement learning method, further improve the performance of the learning strategy, and also improve the accuracy of selecting reliable actions using the learned strategy in the control of the intelligent agent.

[0055] In order to more clearly demonstrate the technical solution and technical effects provided by the present invention, the method for improving the accuracy of selecting reliable actions in intelligent body control provided by the embodiment of the present invention is described in detail with specific embodiments below.

[0056] Example 1

[0057] The embodiment of the present invention provides a method for improving the accuracy of selecting reliable actions in intelligent agent control, which is a sample-efficient model-based reinforcement learning method (model-based reinforcement learning) for intelligent agent control. The method can be called a conservative model-based actor-critic (CMBAC) method, which is applicable to the following scenarios, including:

[0058] Given a target task of an intelligent agent in a real-world application, the given problem can be modeled as a Markov decision problem. A tuple is available To represent the Markov decision problem. Among them, is the state space, It is an action space, requiring both the state space and the action space to be continuous; is the state transition probability density; is a deterministic reward function; γ∈(0,1) is a discount factor;

[0059] In the embodiment of the present invention, the strategy, i.e., the mapping from the state to the probability distribution in the action space, is denoted as π, and π(·|s) is denoted as the probability density function in the action space; the set of feasible strategies is denoted as Π;

[0060] The goal of this sample-efficient model-based reinforcement learning method is to obtain the optimal strategy that maximizes the cumulative reward, namely:

[0061] Among them, s0~μ, a t ~π(·∣s t ),s t+1 ~p(·∣s t ,a t ), and μ is the initial state distribution.

[0062] The method of the embodiment of the present invention specifically includes the following steps:

[0063] The intelligent agent interacts with the real environment to collect data, and then learns multiple dynamic models from the collected data through a probabilistic data network. As a collection of dynamic models to simulate the dynamics of real environments;

[0064] The method of the present invention is to find the optimal strategy based on multiple dynamic models learned.

[0065] Specifically, it is performed alternately in the following two calculation steps:

[0066] (1) Learning multiple estimates of the Q-value function (the Q-value function refers to the scoring function of the scoring evaluation network) from the set of dynamic models;

[0067] (2) Use the average of the smallest k estimates among multiple estimates to optimize the strategy.

[0068] Among them, (1) the method of learning multiple estimates of the Q-value function from the dynamic model set includes:

[0069] The agent pre-deploys a set of probabilistic neural networks From the collected real environment data, learn to simulate the real environment dynamics to obtain multiple transition probability densities, and use the obtained multiple transition probability densities as the dynamic model set M, where each element M in M j represents a kinetic model, the kinetic model M j It is a set of network transition probability densities (m<N) of m different probabilistic neural networks.

[0070] In the set of dynamic models M obtained by the above learning, the transition probability density obtained by each probabilistic neural network is modeled as a Gaussian distribution of the mean and diagonal covariance given by the probabilistic neural network. A set of dynamic models constructed using these transition probability densities can control the granularity of the differences between models.

[0071] Each M j Considered as a dynamic model, the distribution of the next state s′ generated by a given current state-action pair (s, a) is:

[0072]

[0073] In order to approximate the posterior distribution of Q-values, multiple Q-value estimates are learned from the distribution approximation of the kinetic model set M through multiple evaluation and scoring networks, that is, for each kinetic model M in the kinetic model set M j Learn a scoring evaluation network corresponding to a behavior strategy Each Provide an estimate of the Q value for strategy π; that is, the method of the present invention aims to estimate the Q value through multiple To approximate the true Q value; each The training target value of is given by:

[0074]

[0075] Where j = 1,…,K,s′ j ~P j (·|s,a),a′ j ~π(·|s′ j );

[0076] In the above formula, r(s,a) represents the reward signal of the agent performing action a in state s; β is the temperature coefficient; is the target value network; Represents the output value of the j-th scoring network; is the value network weight θ j The exponential sliding average of π(·|s) is the probability density function of a given state s in the action space; the parameter θ j The parameters are trained to minimize the Bellman residual: P j (·|s,a) represents the probability density function of the next state that the environment enters when the agent performs action a in state s; s represents the current state of the agent; and a represents the action performed by the agent.

[0077] The uncertainty of the Q value comes from the unknown real environment. The above-mentioned multiple estimation methods of the Q-value function use a set of possible dynamic models to estimate the Q value, which can capture the uncertainty of the Q value. Specifically, the posterior distribution approximation of the Q value is directly approximated based on the posterior distribution of the dynamic model.

[0078] (2) Use the average of the smallest k estimates among multiple estimates to optimize the strategy, including:

[0079] Using conservative estimates of the Q-value function to optimize the policy, called conservative policy optimization, can prevent the agent from exploiting model errors. Specifically, it is done by discarding the highest multiple estimates and using the average of the remaining estimates to reduce the impact of overestimation of the value. Specifically, the estimates generated by multiple scoring evaluation networks are sorted in ascending order, represented as s is a given state, a is an action, and the strategy π is optimized by minimizing the following objectives φ :

[0080] in,

[0081]

[0082] In the above formulas, D model represents a virtual dataset generated by the learned dynamics model simulation; D KL (b|c) represents the Kullback-Leibler divergence distance between probability distribution b and probability distribution c; π φ (·|s) represents the probability density function of the agent performing an action at state s; L represents the number of discarded high estimates; β is the temperature coefficient; Represents the score value of the j-th scoring evaluation network performing action a in state s.

[0083] The method of the present invention is a method that approximates the posterior distribution of Q-values ​​based on a set of dynamic models, and uses the average of the left tail of the distribution approximation to conservatively optimize the strategy of the intelligent agent; it has at least the following two advantages: (1) The conservative estimate effectively encourages the intelligent agent to avoid unreliable "promising actions" whose value is only high in a small number of models; (2) The approximate distribution of Q-values ​​can produce reasonable uncertainty estimates of Q-values. Experiments have shown that the uncertainty quantification of the method of the present invention can more accurately approximate the error of the Q-value function than previous uncertainty quantification methods, which is the key to the method's high sample efficiency. In addition, experiments show that the method is significantly better than the current state-of-the-art methods in terms of sample efficiency for several challenging robot control tasks, and is more robust to model errors in noisy environments than previous methods.

[0084] The method of the present invention can be implemented by the following pseudo code process:

[0085]

[0086] In the above pseudo code, the first line is the initialization of the integrated model and data set; the second line is the initialization of the behavior strategy and the "multi-head" Q network; the 3rd to 16th lines are large loops; each large loop performs the following three operations:

[0087] (1) Model training: Behavior 4 trains the dynamics model based on real environmental data;

[0088] (2) Collecting data (lines 5-10); line 6 indicates selecting actions according to the strategy and executing them in the real environment to generate real data; lines 7-9 generate a virtual data loop: line 8 samples states from the real data set; line 9 starts from the sampled states, selects actions according to the strategy, and generates virtual data in the dynamics model;

[0089] (3) Network training (lines 11-13); line 12 indicates updating the evaluation and scoring network, i.e., the Q network, and line 13 indicates updating the strategy network.

[0090] This embodiment implements and tests the method of the present invention in 6 different simulation robot control environments. In these task environments, the observable states are different physical quantities (such as position, angle, speed, etc.) of various parts (such as legs, joints, etc.) of the simulation robot, and the controllable actions are the magnitude of the force used by a specific part (such as legs, head). Specifically, the 6 simulation robot control environments are (see Figure 2 (a) to Figure 2 (f)):

[0091] (1) Ant-v2: Controls a three-dimensional ant robot to run forward, where the state space is 111-dimensional and the action space is 8-dimensional.

[0092] (2) HalfCheetah-v2: Controls a two-dimensional half-cheetah robot to run forward, where the state space is 17 dimensions and the action space is 6 dimensions.

[0093] (3) Humanoid-v2: Controls a 3D humanoid robot to run forward, where the state space is 376 dimensions and the action space is 17 dimensions.

[0094] (4) Walker2d-v2: Controls a 2D humanoid robot to run forward, where the state space is 17-dimensional and the action space is 6-dimensional.

[0095] (5) Hopper-v2: Controls a 2D humanoid robot to jump forward, where the state space is 11-dimensional and the action space is 3-dimensional.

[0096] (6) Swimmer-v2: Controls a two-dimensional snake-like robot to swim forward, where the state space is 8-dimensional and the action space is 2-dimensional.

[0097] The performance difference between the method of the present invention and the existing reinforcement learning algorithm in the field of simulated robot control is compared. As shown in FIG3 , from left to right and from top to bottom, each subgraph (i.e. Figures 3(a) to 3(f) ) respectively correspond to the simulation control comparison results of spider-shaped, human-shaped, bipedal, monopedal, cheetah-shaped simulation robots and inverted poles; the task is to control the simulation robot to move forward in a specific direction, and the faster the forward speed, the higher the score; the horizontal axis of each picture in Figure 3 is the number of samples used in training, and the vertical axis is the score. It can be seen from Figure 3 that the method of the present invention significantly exceeds all the comparison methods in performance, that is, the method can achieve very good results in the fields of mechanical control and robot control.

[0098] In specific application, the method of the present invention is implemented in the following steps:

[0099] Preparation stage:

[0100] Select the task to be tested, such as robot control, industrial control, etc., and split it into two parts: the agent and the environment. The agent receives the state feedback from the environment to select actions; the environment receives the action to determine the new state. Then, abstract the actions that the agent can perform and set the rewards that the agent receives. Maximizing the cumulative value of the reward is our goal.

[0101] Training phase:

[0102] Use deep learning methods to implement the pseudocode in Figure 1. Deploy it in the agent. The agent follows the corresponding process in the pseudocode to interact with the environment and uses the interaction information to train the strategy. Repeat the training for a period of time.

[0103] Verification phase:

[0104] Deploy the trained strategy to the agent, let the agent interact with the environment, and calculate the total reward obtained in a certain number of decisions as an indicator of the evaluation effect. The larger the sum, the better the training effect.

[0105] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by any technician familiar with the technical field within the technical scope disclosed in the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims. The information disclosed in the background technology section of this article is only intended to deepen the understanding of the overall background technology of the present invention, and should not be regarded as an admission or in any form that the information constitutes prior art known to those skilled in the art.

Claims

1. A method for improving the accuracy of selecting reliable actions in intelligent agent control, characterized in that: Used in agents using model-based reinforcement learning methods, including: Step 1: The intelligent agent pre-deployed with the behavior strategy network, the probabilistic neural network and the evaluation and scoring network interacts with the real environment according to the preset target task to be completed to collect real environment data, and simulates the real environment dynamics through the probabilistic neural network learning from the collected real environment data to obtain multiple dynamic models; Step 2, the agent learns multiple estimates of the evaluation and scoring function of the evaluation and scoring network based on multiple dynamic models; Step 3, the agent uses the average of the smallest k estimates among the multiple estimates of the evaluation scoring function to optimize the strategy of the behavior strategy network; Step 4, the agent control uses the optimized strategy to select behavior; In step 1, multiple dynamic models are obtained by simulating the real environment dynamics through probabilistic neural network learning from the collected real environment data in the following manner, including: The agent uses a set of pre-deployed probabilistic neural networks From the collected real environment data, learn to simulate the real environment dynamics to obtain multiple transition probability densities, and use multiple transition probability densities as a set of dynamic model ; The kinetic model set Each dynamic model in It is composed of the transition probability densities obtained by m different probabilistic neural networks, where m is less than N; The agent optimizes the strategy of the behavior strategy network by using the average of the smallest k estimates among the multiple estimates of the evaluation scoring function obtained in the following manner, including: The estimates generated by multiple scoring evaluation networks are sorted in ascending order, and the sorting result is ; The obtained ranking results are used to optimize the strategy of the behavior strategy network by minimizing the following objectives : ; in, ; ; In the above formulas, represents a virtual dataset generated by simulation of the learned dynamics model; represents the Kullback-Leibler divergence distance between probability distribution b and probability distribution c; represents the probability density function of the agent performing an action at state s; Indicates the number of high estimates that were discarded; is the temperature coefficient; represents the score of the jth scoring evaluation network performing action a at state s; The intelligent agent is any one of an intelligent robot and an intelligent industrial control system.

2. The method for improving the accuracy of selecting reliable actions in intelligent agent control according to claim 1, wherein in step 2 of the method, the intelligent agent learns multiple estimates of the evaluation and scoring function of the evaluation and scoring network based on the learned dynamic model in the following manner, including: The agent is based on a set of dynamic models Each kinetic model Each behavior strategy is learned to correspond to a scoring evaluation network, and the scoring evaluation network corresponding to each behavior strategy is used Indicates that the evaluation scoring network The training target value is: ; in, , ; In the above formula, r(s,a) represents the reward signal of the agent performing action a in state s; is the temperature coefficient; is the target value network; Represents the output value of the j-th scoring network; is the value network weight The exponential moving average of is the probability density function of a given state s in the action space; parameter The parameters are trained to minimize the Bellman residual: ; It represents the probability density function of the next state that the environment enters when the agent performs action a in state s; s represents the current state of the agent; a represents the action performed by the agent.

3. According to the method for improving the accuracy of selecting reliable actions in intelligent body control in claim 1, the intelligent robot comprises: Any of the following robots: spider-type, humanoid-type, semi-leopard-type, monopedal-type, bipedal-type.

4. According to the method for improving the accuracy of selecting reliable actions in intelligent agent control according to claim 1 or 2, the preset task to be completed processed by the intelligent agent is a sequence decision task.