A multi-domain action sequence intelligent optimization system and method based on evolutionary strategy
By introducing selection retention, cross-recombination and selection mutation operations of evolutionary strategies into deep reinforcement learning, the hyperparameter configuration of the multi-domain action sequence network is optimized, which solves the problems of low learning efficiency and unstable training of deep reinforcement learning in complex environments. Achieving more stable and efficient model training.
Patent Information
- Application Number
- CN202110849616.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-27
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2041-07-27
AI Technical Summary
Deep reinforcement learning has the problems of low learning efficiency, long and unstable training process in multi-domain action sequence networks. Especially in complex environments, existing technology is difficult to effectively optimize hyperparameters, resulting in serious fluctuations in model performance.
A multi-domain action sequence intelligent optimization method based on evolutionary strategies is used to train and optimize the action sequence network through selection retention, cross-recombination and selection mutation operations, and optimize model structure hyper-parameters and algorithm behavior hyper-parameters in parts and stages to ensure that the network is in Stability and efficiency during training.
Through evolutionary strategy optimization, the optimal hyperparameter configuration of the learning process is found, which improves the learning efficiency and training stability of the action sequence network, avoids fluctuations in model performance caused by hyperparameter configuration, and significantly improves the model's adaptability and performance.
Smart Images

Figure CN113570040B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of deep reinforcement learning and evolutionary algorithms, and relates to the application of evolutionary strategy algorithms in deep reinforcement learning and action sequence network optimization, and specifically to a multi-domain action sequence intelligent optimization system and method based on evolutionary strategies. Background Art
[0002] In multi-domain action tasks, the complexity and inclusiveness of the plan are rising exponentially, and the limited decision-making ability of decision-makers is increasingly unable to adapt to the rapidly changing environmental needs. In addition, many action processes are highly confrontational, and the actions of both parties act together on the environmental situation, and it is impossible to unilaterally evaluate the pros and cons of the action sequence; the action changes the situation, and the situation in turn determines the executable actions of the next stage. There is a complex relationship between the action and the situation. It is particularly difficult to select appropriate actions from a large number of executable actions and form an action sequence plan. It is necessary to rely on an intelligent planning system based on a computer platform to generate an action sequence plan. Assist decision-makers to comprehensively analyze the complex influence relationship between actions and situations in multiple directions such as resources, equipment, personnel, space and environment, make predictions on the trends and directions of the environment, and then form an action sequence plan.
[0003] Deep reinforcement learning is currently an effective means and mainstream method for solving strategic problems, and has shown excellent performance in many learning tasks. The intelligent task planning system combines deep reinforcement learning technology with the combat planning system, which will become the development trend in the field of intelligent task planning in the future. Deep reinforcement learning inputs perception information and then directly outputs actions through a deep neural network without any hard-coding process in between. Deep reinforcement learning combines the advantages of deep neural networks and reinforcement learning, and can effectively solve the perception decision-making problems of intelligent agents in high-dimensional complex problems.
[0004] The key to deep reinforcement learning is to obtain samples through the continuous interaction between the intelligent agent and the environment, so as to train a deep policy network. However, deep reinforcement learning still has many problems to be solved when solving games. For example, the sample efficiency is low, the training process is long, the reward function is difficult to design, it is extremely sensitive to the hyperparameter configuration, and the training process has highly dynamic and non-stationary characteristics. Among them, the hyperparameter setting problem directly affects the efficiency of learning. Slight changes in hyperparameters may cause huge fluctuations in model performance or even failure. The impact is particularly serious when in a changing environment.
[0005] To address this problem, the deep reinforcement learning action sequence network is optimized. Previous work often achieves hyperparameter adaptation by defining a hyperparameter schedule or designing a hyperparameter adaptation formula through artificial experience. Such methods involve fewer hyperparameters and have poor generalization and lack of universality. For a complex and lengthy learning process like reinforcement learning, a comprehensive search for hyperparameters becomes infeasible, which is a huge obstacle for small laboratories that lack computing resources. DeepMind's Jaderberg et al. innovatively proposed the PET method, which achieved good results in deep reinforcement learning, machine translation, and GAN. At the same time, Elfwing et al. also proposed a similar OMPAC method. However, the use of simple truncation selection and random perturbations to achieve hyperparameter adaptation is inefficient for tracking changes in potential temporary optimal hyperparameter configurations. Summary of the invention
[0006] The present invention overcomes the defects of the prior art and provides a multi-domain action sequence intelligent optimization method based on evolution strategy. The action sequence network is trained and optimized through the selection and retention operation, crossover recombination operation and selection and mutation operation of the evolution strategy, and the evolution strategy is carried out in parts and stages to solve the technical problems faced by the prior art in the low learning efficiency of the action sequence network in a complex environment, the long training process, the unstable network training process, etc.
[0007] The technical solution of the present invention is as follows:
[0008] An intelligent optimization method for multi-domain action sequences based on evolutionary strategies includes a multi-domain action model, in which the action objects in the model are regarded as intelligent agents:
[0009] Step 1: Use the MADDPG algorithm based on the AC reinforcement learning framework to build a multi-domain action intelligent task planning system, including the Actor strategy network and the Critic evaluation network.
[0010] Step 2: Initialize the environmental situation information and preprocess all environmental situation information.
[0011] Step 3: Analyze the specific actions of the intelligent agent to obtain the task objectives, and input them into the training environment as initial conditions; construct a reward function based on the action purpose, and the intelligent agent is trained by learning to maximize the reward function to obtain an action strategy network.
[0012] Step 4: Use evolutionary strategy to train and optimize the action strategy network to obtain the optimal hyperparameter configuration to train the action strategy network.
[0013] Step 5, obtain the local environmental situation information of the current intelligent agent to be decided, input it into the action strategy network trained in step 4, obtain the action sequence of each intelligent agent to be decided, decode the strategy, obtain the operation instructions of each intelligent agent, and control each intelligent agent to perform new actions by executing the operation instructions.
[0014] Preferably, the environmental situation information in step 2 includes real-time position, speed, heading parameters and current geographical environment information.
[0015] Preferably, the weights of the action sequence network in step 4 are updated by a gradient optimization method of deep reinforcement learning.
[0016] Preferably, the training optimization method in step 4 is:
[0017] Step 4.1, select the model structure hyperparameters and algorithm behavior hyperparameters of the action sequence network to be optimized;
[0018] Step 4.2, randomly initialize the interactive environment, set the maximum number of iterations in the model structure hyperparameter optimization phase to Str_Gen_max, the maximum number of gradient optimizations in a single round to Str_Step_max, set the maximum number of iterations in the algorithm behavior hyperparameter optimization phase to Alg_Gen_max, and the maximum number of gradient optimizations in a single round to Alg_Step_max;
[0019] Step 4.3, randomly initialize one policy network and its algorithm behavior hyperparameters, copy it into N identical policy networks, and randomly initialize the model structure hyperparameter configurations of the obtained N policy networks;
[0020] Step 4.4, let N agents interact with the environment, and improve their own strategies through the gradient optimization method of deep reinforcement learning according to the current hyperparameter configuration. When the number of gradient optimizations reaches Str_Step_max, go to step 4.5;
[0021] Step 4.5, after evaluating the fitness of the N policy networks, perform evolutionary strategy operations on the model structure hyperparameters of the N policy networks to generate the next generation of N policy networks and their model structure hyperparameters, and record the current generation Str_Gen. When it is less than Str_Gen_max, go to step 4.4; until it reaches the maximum number of iterations Str_Gen_max, output the policy network with the maximum current fitness;
[0022] Step 4.6, after the model structure hyperparameter optimization training, the policy network with the largest fitness is copied N times to form a population P, and N algorithm behavior hyperparameter configurations are randomly initialized for the obtained N policy networks;
[0023] Step 4.7: N agents independently and in parallel perform deep reinforcement learning to improve their strategies by interacting with the environment under their current hyperparameter configurations. Once the number of gradient optimizations reaches the preset value Alg_Step_max, all agents stop learning and proceed to step 4.8.
[0024] Step 4.8, after evaluating the fitness of the N policy networks, perform evolutionary strategy operations on the algorithm behavior hyperparameters of the N policy networks to generate the next generation of N policy networks and their algorithm structure hyperparameters, and record the current generation Alg_Gen. When it is less than Alg_Gen_max, go to step 4.7; until it reaches the maximum number of iterations Alg_Gen_max, output the policy network with the highest current fitness.
[0025] Preferably, the hyperparameters to be optimized in step 4.1 include model structure hyperparameters and algorithm behavior hyperparameters, wherein the model structure hyperparameters include the number of hidden layers and the number of units in each hidden layer of the deep network; the algorithm behavior hyperparameters include the learning rate and decay factor of the gradient optimizer, the recombination probability, mutation probability and mutation disturbance amplitude in the evolutionary algorithm, and the reward discount factor and step size in reinforcement learning.
[0026] Preferably, the learning rate, decay factor, and reward discount factor are continuous variables, and the remaining hyperparameters are discrete variables.
[0027] Preferably, the fitness evaluation in step 4.8 is determined by the score of the agent in training, and the average score in a certain iteration of the reinforcement learning algorithm is taken as the evaluation value; the fitness evaluation link occurs before each evolutionary strategy operation and after the completion of all reinforcement learning of the previous generation.
[0028] Preferably, the evolution strategy operation includes three steps: selection and retention, crossover recombination, and selection and mutation.
[0029] As a preferred embodiment, the evolutionary strategy operation is specifically as follows: S1, selection and retention, the first 20% of individuals in the population P are selected and retained, and they are directly retained to the next generation, and no modification is made to their model weights and hyperparameter configurations; S2, crossover recombination, two parent individuals are randomly selected from the individuals with performance in the top 20% to 80% in the population P for crossover recombination, and the individuals in the population are randomly paired with each other, and then each pair randomly selects a crossover point, and then the hyperparameter configuration between the crossover points is exchanged according to probability; S3, selection and mutation, the last 20% of individuals in the population P are replaced with the first 20% of individuals in the population P, and then the replaced individuals are mutated, that is, the hyperparameters in the network are directly perturbed, specifically, the perturbation operation is performed according to a certain perturbation probability and a perturbation amplitude.
[0030] The present invention also discloses a multi-domain action sequence intelligent optimization system based on evolutionary strategy, comprising the following modules:
[0031] Mission analysis module: Analyzes specific multi-domain action missions, obtains mission objectives and constructs reward functions, inputs the analysis results into the training environment, and then processes the information through the situation awareness module;
[0032] Situation awareness module: used to receive unprocessed environmental information, including the position, speed, heading and geographical environment information of each intelligent agent, and pre-process these information data to generate situation information data;
[0033] Action strategy network optimization module based on evolution strategy: obtain situation information data, optimize the action strategy network using hyperparameter optimization method based on evolution strategy, and obtain the action strategy network through training;
[0034] Action strategy network module: obtains the local environment situation information of the agent to be decided in the real environment and inputs it into the trained action strategy network to obtain the action sequence information of each agent to be decided;
[0035] Strategy decoding module: decodes the action sequence information of each agent to be decided, obtains the operation instructions of each agent, and thus controls each agent to perform new actions.
[0036] Beneficial effects:
[0037] (1) The present invention optimizes the training of the action sequence network by adopting the selection and retention operation, crossover recombination operation and selection and mutation operation of the evolutionary strategy, finds the optimal hyperparameter configuration of the learning process to train the action strategy network, and solves the technical problems faced by the prior art such as low learning efficiency of the action sequence network in a complex environment, unstable network training process and application limitations;
[0038] (2) When the invention uses evolutionary strategies to optimize network hyperparameters, the model structure hyperparameters and algorithm behavior hyperparameters are divided into two stages for training. In the later stage of network training, changes in the model structure hyperparameters are not very helpful for the effective learning of the model. Therefore, in the early stage of training, the number of hidden layers of the network and the number of units in each hidden layer are first trained and optimized. After that, the model structure hyperparameters are fixed, and the parameters such as learning rate, recombination probability, mutation probability, and reward discount factor are trained and optimized. At this stage, the network structure hyperparameters are not evolved, and the network structure will not change during the entire optimization process, avoiding the restart problem.
[0039] (3) The present invention divides the evolutionary strategy operation into three parts: the first 20% of individuals are selected and retained to ensure that individuals with good performance will not be lost due to interference from operations such as mutation or crossover. Under this strategy, even if the evolutionary strategy operation cannot improve performance, individuals with good performance will always exist in the population to ensure the performance of the algorithm. The last 20% of individuals are selected and replaced. Due to their poor performance, such individuals will be directly discarded during evolution. The positions of the eliminated agents will be replaced by new individuals, which are derived from the mutation operations of the first 20% of individuals. Random crossover and recombination operations are performed on the first 20% to 80% of individuals to accelerate the convergence of the population to the temporary optimal solution. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 This is a flowchart of a multi-domain action sequence intelligent optimization method based on evolutionary strategy according to an embodiment of the present invention;
[0041] Figure 2 A flow chart of a hyperparameter optimization algorithm based on evolution strategy according to an embodiment of the present invention;
[0042] Figure 3 An evolution strategy operation flow chart of an embodiment of the present invention;
[0043] Figure 4 This is a situation information diagram of an embodiment of the present invention. DETAILED DESCRIPTION
[0044] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0045] The invention discloses a multi-domain action sequence intelligent optimization method based on evolutionary strategy.
[0046] like Figure 4 As shown in the figure, it is a specific situation information diagram of the hypothetical environment of this embodiment. The hypothetical environment is for multi-domain operations. Our side is equipped with 3 speedboats and 2 drones, and the enemy side is equipped with 2 speedboats. The hypothetical range is a rectangular area with a length of 200 kilometers and a width of 160 kilometers. The hypothetical deduction process is that the enemy speedboat escapes successfully when it leaves the area at a distance of 20 kilometers from our side. Our speedboat successfully completes the operation by chasing the enemy before leaving the area in the shortest time.
[0047] The present invention proposes a multi-domain action sequence intelligent optimization system based on evolutionary strategy, including
[0048] Task analysis module: Analyzes specific multi-domain action tasks, obtains task objectives and constructs reward functions, inputs the analysis results into the training environment situation, and then processes the information through the situation awareness module;
[0049] Situation awareness module: used to receive unprocessed environmental situation information, including the position, speed, heading and geographical environment of each intelligent agent, and pre-process these information data to generate situation information data;
[0050] Reinforcement learning action strategy network optimization module based on evolution strategy: obtain situation information data, optimize the action strategy network using hyperparameter optimization method based on evolution strategy, and obtain the action strategy network through training;
[0051] Action sequence prediction action strategy network module: obtain the local environment situation information of the agent to be decided in the current real environment and input it into the trained action strategy network to obtain the action sequence information of each agent to be decided;
[0052] Strategy decoding module: decodes the action sequence information of each agent to be decided, obtains the operation instructions of each agent, and thus controls each agent to perform new actions.
[0053] The present invention also proposes a multi-domain action sequence intelligent optimization method based on evolutionary strategy, the flow chart is as follows: Figure 1 As shown, the following steps are included:
[0054] Step 1: The MADDPG algorithm based on the Actor-Critic reinforcement learning framework is used to build an intelligent mission planning system for maritime pursuit and escape, including the Actor action sequence strategy neural network and the Critic action sequence valuation neural network.
[0055] Step 2: All drones and speedboats in the multi-domain action model are regarded as intelligent agents, and the environmental situation information is initialized, mainly including the real-time position, speed, heading parameters of both parties and the current marine environment parameters, and the situation awareness module is used to pre-process all environmental situation information;
[0056] Step 3: For specific actions, we obtain the task objectives through the task analysis module and input them into the action strategy network as initial conditions. We construct a reward function based on our action objectives and pass it to our agent through the environment. Our agent learns to maximize the reward function, thereby training our action sequence.
[0057] Step 4: Use the evolutionary strategy's selection and retention operations, crossover and recombination operations, and selection and mutation operations to train and optimize the model structure hyperparameters and algorithm behavior hyperparameters of the action sequence network, and find the optimal hyperparameter configuration for the current learning process to train the action strategy network. The weights of the action sequence network are updated through the continuous interaction between the agent and the environment using the deep reinforcement learning method.
[0058] In this embodiment, the hyperparameter settings are shown in Table 1.
[0059] Table 1 Experimental hyperparameter settings
[0060]
[0061] The hyperparameter optimization method based on evolution strategy, such as Figure 2 As shown, the steps are as follows:
[0062] Step 4.1: Select the model structure hyperparameters and algorithm behavior hyperparameters to be optimized, as shown in Table 1.
[0063] Step 4.2: Randomly initialize the interactive environment, set the maximum number of iterations in the model structure hyperparameter optimization phase to Str_Gen_max, the maximum number of gradient optimizations in a single round to Str_Step_max, set the maximum number of iterations in the algorithm behavior hyperparameter optimization phase to Alg_Gen_max, and the maximum number of gradient optimizations in a single round to Alg_Step_max.
[0064] in:
[0065] Str_Step_max = the total number of model structure hyperparameter gradient optimization times / Str_Gen_max
[0066] Alg_Step_max = the total number of gradient optimizations of the set model structure hyperparameters ÷ Alg_Gen_max
[0067] Step 4.3: Randomly initialize a policy network and set the algorithm behavior hyperparameters according to Table 1 above Initialize and copy it into N policy networks. Configure the model structure hyperparameters of the obtained N policy networks according to Table 1 above. Initialize;
[0068] Step 4.4: The N policy networks interact with their respective environments, and improve their own policies through deep reinforcement learning gradient optimization according to the current hyperparameters, that is, update the network weight θ, and record the current gradient optimization times Str_Step. When the gradient optimization times reaches Str_Step_max, go to step 4.5. This process is a pure reinforcement learning process, and the values of the hyperparameters are fixed and will not change.
[0069] Step 4.5: After evaluating the fitness of N policy networks, adjust the N policy networks and their model structure hyperparameters Perform evolutionary operations based on evolutionary strategies to generate the next generation of N policy networks and their model structure hyperparameters, and record the number of generations Str_Gen. When it is less than Str_Gen_max, go to step 4.4; until the maximum number of iterations Str_Gen_max is reached, select the policy network with the largest fitness.
[0070] The fitness evaluation method can be defined by the task requirements. In this step, the fitness evaluation is determined by the score of the agent in training, and the average score in a certain iteration of the reinforcement learning algorithm is used as the evaluation value. The performance evaluation phase occurs before each genetic operation and after all learning of the previous generation is completed.
[0071] In this step, the related operations based on evolutionary algorithms are as follows: Figure 3 As shown, it includes three steps: selection and retention, crossover recombination, and selection and mutation. Among them:
[0072] S1, selection and retention: First, the top 20% of the agents in the population P obtained above are selected and retained, and the top 20% are directly retained to the next generation without making any modifications to their model weights and hyperparameter configurations.
[0073] S2, crossover recombination: Randomly select two parent individuals h from the individuals with performance in the top 20% to 80% in the population P i ,h j Perform a crossover recombination operation, where h represents the hyperparameter configuration of the individual, i and j represent the i-th and j-th individuals, that is, two random individuals, and n represents the total number of hyperparameters to be adjusted. i represents the hyperparameter configuration of the i-th individual, represents the first hyperparameter to be adjusted for the i-th individual. The reorganization operation described here is a two-point crossover. Specifically, the individuals in the population are randomly paired, and then each pair randomly selects the crossover points index1 and index2, and then the probability p is c The hyperparameter configurations between the intersections are exchanged and the specific operations of the reorganization are shown in the formula.
[0074]
[0075] S3, select mutation: replace the last 20% of agents in population P with the first 20% of agents in population P. Then perform mutation on these replaced individuals, that is, directly perturb the hyperparameters in the network. Specifically, according to a certain perturbation probability p m With the disturbance amplitude v range Perform a perturbation operation. It should be noted that for integer hyperparameters, decimals may be generated after mutation, such as step length, which needs to be rounded. The parameters in the perturbation network follow a uniform distribution, as shown in the formula:
[0076]
[0077] Where V i ~U(1-v range ,1+v range ). Among them, V i To comply with 1-v range to 1+v range of uniform distribution.
[0078] After the above three operations of selection and retention, crossover recombination, and selection and mutation, the evolution operation is completed and a new population is generated. Each agent continues to interact with the environment and perform gradient optimization under its current hyperparameter configuration. Repeat the above operations. When the number of evolutionary operations reaches the preset number, the entire optimization process ends and we obtain the optimal network.
[0079] Step 4.6: Copy the policy network obtained after the model structure hyperparameter optimization training to N copies to form a group P, and configure its algorithm behavior hyperparameters according to Table 1 above Initialize.
[0080] Step 4.7: N agents interact with the environment independently and in parallel under their respective current hyperparameter configurations to obtain samples and perform deep reinforcement learning gradient optimization. Once the number of gradient optimizations reaches the preset value Alg_Step_max, each agent stops learning and proceeds to step 4.8.
[0081] Step 4.8: After evaluating the fitness of N policy networks, adjust the hyperparameters of N policy networks and their algorithmic behaviors. Perform evolutionary operations based on evolutionary strategies to generate the next generation of N policy networks and their algorithm structure hyperparameters, and record the number of generations Alg_Gen. When it is less than Alg_Gen_max, go to step 4.7; until the maximum number of iterations Alg_Gen_max is reached, select the policy network with the largest fitness.
[0082] Step 5: Obtain the local environmental situation information of the current agent to be decided, input it into the action strategy network trained in step 4, obtain the action sequence of each agent to be decided, and then obtain the operation instructions of each agent to control each agent to perform new actions.
[0083] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. An intelligent optimization method for multi-domain action sequences based on evolutionary strategies, Features: The multi-domain action model includes the following steps: Step 1: Use the MADDPG algorithm based on the AC reinforcement learning framework to build a multi-domain action intelligent task planning system, including the Actor strategy network and the Critic evaluation network; Step 2: Consider the action objects in the model as agents, including the enemy agent and our agent, initialize the environmental situation information, including the real-time position, speed, heading parameters of both parties and the current geographical environment information, and pre-process all the environmental situation information; Step 3: Analyze the specific actions of the agent to obtain the task goal, and input it into the training environment as the initial condition; construct a reward function according to the action purpose, and the agent is trained by learning to maximize the reward function to obtain the action strategy network; Step 4: Use evolutionary strategies to train and optimize the action strategy network to obtain the optimal hyperparameter configuration to train the action strategy network. The hyperparameters include model structure hyperparameters and algorithm behavior hyperparameters. The model structure hyperparameters include the number of hidden layers of the deep network and the number of units in each hidden layer; the algorithm behavior hyperparameters include the learning rate and decay factor of the gradient optimizer, the recombination probability, mutation probability and mutation disturbance amplitude in the evolutionary algorithm, and the reward discount factor and step size in the reinforcement learning. First, the number of hidden layers of the network and the number of units in each hidden layer are trained and optimized, and then the model structure hyperparameters are fixed, and the learning rate, recombination probability, mutation probability, and reward discount factor parameters are trained and optimized. At this stage, no evolution operation is performed on the network structure hyperparameters; The evolution strategy operation includes: selection and retention, crossover recombination, and selection and mutation. Specifically, S1, selection and retention: First, the top 20% of the agents in the population P are selected and retained directly to the next generation without making any changes to the model weights and hyperparameter configurations; S2, crossover recombination: Randomly select two parent individuals h from the individuals with performance in the top 20% to 80% in the population P i ,h j Perform a crossover recombination operation, where h represents the hyperparameter configuration of the individual, i and j represent the i-th and j-th individuals, i.e., two random individuals; n represents the total number of hyperparameters to be adjusted, i.e., h i represents the hyperparameter configuration of the i-th individual, represents the first hyperparameter to be adjusted for the i-th individual; the recombination operation is a two-point crossover, which randomly pairs the individuals in the population, and then each pair randomly selects the crossover points index1 and index2 according to the probability p c The hyperparameter configuration between the exchange intersections is exchanged, and the specific operation of the reorganization is as follows: S3, selective mutation: replace the last 20% of the agents in the population P with the first 20% of the agents in the population P, and then perform mutation operations on these replaced individuals, that is, directly perturb the hyperparameters in the network. Specifically, according to a certain perturbation probability p m With the disturbance amplitude v range Perform disturbance operation as follows: Where V i ~U(1-v range ,1+v range ), where V i To comply with 1-v range to 1+v range Uniform distribution of After selection and retention, crossover recombination, and selection and mutation operations, a new population is obtained. Each agent continues to perform environmental interaction and gradient optimization under its current hyperparameter configuration, repeating S1-S3. When the number of evolutionary operations reaches a preset value, the optimization process ends and the optimal network is obtained; Duplicate the network N times to form a population P and initialize the algorithm behavior hyperparameter configuration Agent gradient optimization: N agents independently and in parallel interact with the environment to obtain samples and perform deep reinforcement learning gradient optimization under their respective current hyperparameter configurations. Once the number of gradient optimizations reaches the preset value Alg_Step_max, each agent stops learning. Policy network evolution operation: After evaluating the fitness of N policy networks, the N policy networks and their algorithm behavior hyperparameters are Perform evolutionary operations based on evolutionary strategies to generate the next generation of N policy networks and their algorithm structure hyperparameters. When the hyperparameters are less than the preset values, the agent gradient optimization is repeated until the maximum number of iterations Alg_Gen_max is reached, and the policy network with the largest fitness is selected. Step 5, obtain the local environmental situation information of the current intelligent agent to be decided, input it into the action strategy network trained in step 4, obtain the action sequence of each intelligent agent to be decided, decode the strategy, obtain the operation instructions of each intelligent agent, and control each intelligent agent to perform new actions by executing the operation instructions.
2. According to claim 1, the multi-domain action sequence intelligent optimization method based on evolution strategy, Features: The weights of the action sequence network in step 4 are updated by the gradient optimization method of deep reinforcement learning.
3. The multi-domain action sequence intelligent optimization method based on evolutionary strategy according to claim 1 or 2, Features: The training optimization method in step 4 is: Step 4.1, select the model structure hyperparameters and algorithm behavior hyperparameters of the action sequence network to be optimized; Step 4.2, randomly initialize the interactive environment, set the maximum number of iterations in the model structure hyperparameter optimization phase to Str_Gen_max, the maximum number of gradient optimizations in a single round to Str_Step_max, set the maximum number of iterations in the algorithm behavior hyperparameter optimization phase to Alg_Gen_max, and the maximum number of gradient optimizations in a single round to Alg_Step_max; Step 4.3, randomly initialize one policy network and its algorithm behavior hyperparameters, copy it into N identical policy networks, and randomly initialize the model structure hyperparameter configurations of the obtained N policy networks; Step 4.4, let N agents interact with the environment, and improve their own strategies through the gradient optimization method of deep reinforcement learning according to the current hyperparameter configuration. When the number of gradient optimizations reaches Str_Step_max, go to step 4.5; Step 4.5, after evaluating the fitness of the N policy networks, perform evolutionary strategy operations on the model structure hyperparameters of the N policy networks to generate the next generation of N policy networks and their model structure hyperparameters, and record the current generation Str_Gen. When it is less than Str_Gen_max, go to step 4.4; until it reaches the maximum number of iterations Str_Gen_max, output the policy network with the maximum current fitness; Step 4.6, after the model structure hyperparameter optimization training, the policy network with the largest fitness is copied N times to form a population P, and N algorithm behavior hyperparameter configurations are randomly initialized for the obtained N policy networks; Step 4.7: N agents independently and in parallel perform deep reinforcement learning to improve their strategies by interacting with the environment under their current hyperparameter configurations. Once the number of gradient optimizations reaches the preset value Alg_Step_max, all agents stop learning and proceed to step 4.
8. Step 4.8, after evaluating the fitness of the N policy networks, perform evolutionary strategy operations on the algorithm behavior hyperparameters of the N policy networks to generate the next generation of N policy networks and their algorithm structure hyperparameters, and record the current generation Alg_Gen. When it is less than Alg_Gen_max, go to step 4.7; until it reaches the maximum number of iterations Alg_Gen_max, output the policy network with the highest current fitness.
4. According to claim 3, the multi-domain action sequence intelligent optimization method based on evolution strategy, Features: The learning rate, decay factor, and reward discount factor are continuous variables, and the remaining hyperparameters are discrete variables.
5. According to claim 4, the multi-domain action sequence intelligent optimization method based on evolution strategy, Features: The fitness evaluation in step 4.8 is determined by the score of the agent in training, and the average score in a certain iteration of the reinforcement learning algorithm is taken as the evaluation value; the fitness evaluation link occurs before each evolutionary strategy operation and after the completion of all reinforcement learning of the previous generation.
6. A multi-domain action sequence intelligent optimization system based on evolutionary strategy according to claim 1 or 5, It is characterized in that Includes the following modules: Mission analysis module: Analyzes specific multi-domain action missions, obtains mission objectives and constructs reward functions, inputs the analysis results into the training environment, and then processes the information through the situation awareness module; Situation awareness module: used to receive unprocessed environmental information, including the position, speed, heading and geographical environment information of each intelligent agent, and pre-process these information data to generate situation information data; Action strategy network optimization module based on evolution strategy: obtain situation information data, optimize the action strategy network using hyperparameter optimization method based on evolution strategy, and obtain the action strategy network through training; Action strategy network module: obtains the local environment situation information of the agent to be decided in the real environment and inputs it into the trained action strategy network to obtain the action sequence information of each agent to be decided; Strategy decoding module: decodes the action sequence information of each agent to be decided, obtains the operation instructions of each agent, and thus controls each agent to perform new actions.
Citation Information
Cited By
Training a policy neural network for controlling an agent using best response policy iteration
US12585941B2
Training a policy neural network for controlling an agent using best response policy iteration
US20220261635A1
