A multi-directional course learning training method and device for cooperative navigation of swarm robots

Through multi-directional course learning training methods and prototype evaluation, the task coupling between individual swarm robots is explicitly handled, which solves the efficiency and stability problems of cooperative navigation of swarm robots in complex navigation scenarios, and achieves efficient navigation task completion.

CN117540203BActive Publication Date: 2024-10-25UNIV OF SCI & TECH BEIJING
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311374713.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2023-06-25
Filing Date
2023-10-23
Publication Date
2024-10-25
Estimated Expiration
2043-10-23

AI Technical Summary

Technical Problem

Existing technology is difficult to achieve efficient and stable cooperative navigation of swarm robots in complex navigation scenarios, especially under conditions of lack of prior knowledge and environmental uncertainty, resulting in low accuracy of navigation results and high mission failure rate, and the existing methods have insufficient Training is inefficient and costly.

Method used

The multi-directional course learning training method is adopted, and phase tasks are generated through multi-directional crossover operators and multi-directional mutation operators. Combined with the prototype evaluation method, the task coupling phenomenon among individual cluster robots is explicitly dealt with to ensure that each training stage provides the most suitable intermediate tasks and improve navigation capabilities through reinforcement learning.

Benefits of technology

It improves the adaptability of swarm robots to complex environments, reduces mission failure rates and training costs, and enhances the stability and efficiency of navigation tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117540203B_ABST
    Figure CN117540203B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of robot navigation technology, and in particular to a multi-directional course learning training method and device for cooperative navigation of swarm robots. A multi-directional course learning training method for cooperative navigation of swarm robots includes: using training tasks for training to obtain the performance of swarm robots; obtaining stage tasks based on the training tasks through multi-directional crossover operators and multi-directional mutation operators; evaluating the stage tasks based on the performance of the swarm robots using a prototype evaluation method to obtain the fitness of the swarm robots; obtaining new training tasks based on the fitness of the swarm robots and the stage tasks; performing reinforcement learning training on multiple agents; and completing the navigation of the swarm robots through training. The present invention is an efficient and stable method for cooperative navigation of swarm robots based on multi-directional course reinforcement learning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of robot navigation technology, and in particular to a multi-directional course learning and training method and device for cooperative navigation of cluster robots. Background Art

[0002] In the field of robot navigation, many existing technologies can efficiently model the robot's behavior and strategy and use them to complete specific navigation tasks. However, existing technologies are often only applicable to independent robot navigation tasks. When the task body changes from a single robot to a robot cluster composed of multiple robots, traditional methods are often no longer applicable.

[0003] In actual navigation tasks, robots often encounter mechanical motion or environmental uncertainty that humans cannot predict. Therefore, under the sparse reward conditions without prior knowledge, the robot will not be able to correct its behavior according to the results of strategy execution in the environment, which directly leads to serious limitations on the automatic navigation behavior of swarm robots.

[0004] In more complex and difficult navigation scenarios, the degree of environmental change is large, resulting in a low accuracy rate of navigation results obtained by reasoning when the swarm robot performs cooperative navigation. Since the task coupling phenomenon between individual robots in the swarm robot is not taken into account, the failure rate of difficult navigation tasks is high. From the perspective of course evaluation, in previous swarm robot cooperative navigation tasks, since the training process of robot autonomous navigation is synchronized with the training process of the corresponding course generator / arranger in the method, it is quite difficult to give an accurate course optimal solution in each specific time step, making the process of reinforcement learning training of swarm robots unstable. For heuristic optimization methods with more accurate evaluation indicators, although the training efficiency of such methods is relatively low, their verification cost is extremely high, which greatly increases the cost of various aspects in the learning and training process of cooperative navigation of swarm robots. In addition, non-training heuristic optimization methods are often trapped in inefficient task form representation in the generation of intermediate tasks in swarm robot navigation, and the navigation results are inaccurate.

[0005] In the existing technology, there is a lack of an efficient and stable cluster robot cooperative navigation method based on multi-directional curriculum reinforcement learning. Summary of the invention

[0006] The embodiment of the present invention provides a multi-directional course learning training method and device for cooperative navigation of swarm robots. The technical solution is as follows:

[0007] On the one hand, a multi-directional course learning training method for cooperative navigation of a swarm robot is provided, the method being implemented by an electronic device, and the method comprising:

[0008] S1. Initialize the course population; collect tasks in the task space and obtain training tasks;

[0009] S2. Use the training task to train the cluster robot and obtain the performance of the cluster robot;

[0010] S3. According to the training task, a stage task is obtained through a multi-directional crossover operator and a multi-directional mutation operator;

[0011] S4. According to the performance of the swarm robot, the prototype evaluation method is used to evaluate the stage task to obtain the fitness of the swarm robot;

[0012] S5. Obtain a new training task according to the fitness of the cluster robot and the stage task; and confirm the new training task as a training task;

[0013] S6, comparing the performance of the cluster robot with a preset threshold, when the performance of the cluster robot is greater than or equal to the preset threshold, executing S7; when the performance of the cluster robot is less than the preset threshold, executing S2;

[0014] S7. Perform reinforcement learning training on the cluster robot according to the training task to obtain a trained cluster robot;

[0015] S8. The cluster robots perform cooperative navigation through the training.

[0016] The multi-agent performance is the success rate of the multi-agent in executing the training task.

[0017] Optionally, obtaining the stage task according to the training task through a multi-directional crossover operator and a multi-directional mutation operator includes:

[0018] According to the training task, a multi-directional crossover task is obtained through a multi-directional crossover operator;

[0019] According to the training task, a multi-directional mutation task is obtained through a multi-directional mutation operator;

[0020] The multi-directional cross task and the multi-directional variation task are combined to obtain a stage task.

[0021] The multi-directional crossover operator is used to expand each task in the training task toward the target task.

[0022] The multi-directional mutation operator is used to introduce diversified random quantities into the training task.

[0023] Wherein, the prototype assessment method is a prototype-based health assessment method;

[0024] The prototype evaluation method is used to evaluate the fitness of the cluster robot for the stage task;

[0025] The prototype refers to the training task used by the swarm robot in the stage mission.

[0026] Optionally, obtaining a new training task according to the fitness of the swarm robot and the stage task includes:

[0027] Sorting the fitness of the cluster robots from large to small to obtain fitness in descending order;

[0028] Eliminate the tasks of the stage according to the descending fitness to obtain optimized tasks;

[0029] Saving the optimization task and obtaining a historical task set;

[0030] The tasks of the historical task set are collected to obtain new training tasks.

[0031] On the other hand, a multi-directional course learning and training device for cooperative navigation of a swarm robot is provided, and the device is applied to a multi-directional course learning and training method for cooperative navigation of a swarm robot, and the device comprises:

[0032] The training task collection module is used to initialize the course population; collect tasks in the task space to obtain training tasks;

[0033] The robot training module is used to train the swarm robots using training tasks to obtain the performance of the swarm robots;

[0034] A stage task acquisition module, used to obtain the stage task according to the training task through a multi-directional crossover operator and a multi-directional mutation operator;

[0035] A fitness acquisition module is used to evaluate the stage task according to the performance of the cluster robot using a prototype evaluation method to obtain the fitness of the cluster robot;

[0036] A training task updating module is used to obtain a new training task according to the fitness of the cluster robot and the stage task; and confirm the new training task as a training task;

[0037] A task success rate judgment module is used to compare the performance of the cluster robot with a preset threshold. When the performance of the cluster robot is greater than or equal to the preset threshold, a robot intensive training module is executed; when the performance of the cluster robot is less than the preset threshold, a robot training module is executed;

[0038] A robot reinforcement training module, used to perform reinforcement learning training on the swarm robot according to the training task;

[0039] The robot navigation module is used to complete the navigation of the cluster robot through the training.

[0040] The multi-agent performance is the success rate of the multi-agent in executing the training task.

[0041] Optionally, the stage task acquisition module is further used to:

[0042] According to the training task, a multi-directional crossover task is obtained through a multi-directional crossover operator;

[0043] According to the training task, a multi-directional mutation task is obtained through a multi-directional mutation operator;

[0044] The multi-directional cross task and the multi-directional variation task are combined to obtain a stage task.

[0045] The multi-directional crossover operator is used to expand each task in the training task toward the target task.

[0046] The multi-directional mutation operator is used to introduce diversified random quantities into the training task.

[0047] Wherein, the prototype assessment method is a prototype-based health assessment method;

[0048] The prototype evaluation method is used to evaluate the fitness of the cluster robot for the stage task;

[0049] The prototype refers to the training task used by the swarm robot in the stage mission.

[0050] Optionally, the training task updating module is further used to:

[0051] Sorting the fitness of the cluster robots from large to small to obtain fitness in descending order;

[0052] Eliminate the tasks of the stage according to the descending fitness to obtain optimized tasks;

[0053] Saving the optimization task and obtaining a historical task set;

[0054] The tasks of the historical task set are collected to obtain new training tasks.

[0055] On the other hand, an electronic device is provided, comprising a processor and a memory, wherein the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the above-mentioned multi-directional course learning and training method for cooperative navigation of cluster robots.

[0056] On the other hand, a computer-readable storage medium is provided, in which at least one instruction is stored. The at least one instruction is loaded and executed by a processor to implement the above-mentioned multi-directional course learning and training method for cooperative navigation of cluster robots.

[0057] The beneficial effects brought about by the technical solution provided by the embodiment of the present invention include at least:

[0058] The present invention proposes a multi-directional curriculum learning training method for cooperative navigation of swarm robots. Aiming at the task coupling phenomenon between individual robots in the navigation task of swarm robots, the method explicitly uses the perspectives of different individual robots to complete the generation of intermediate tasks, thereby ensuring that the swarm robots can obtain the intermediate tasks that best suit their current capabilities in each training stage of cooperative navigation, enhancing the adaptability of swarm robots to complex navigation environments, reducing the task failure rate of cooperative navigation of swarm robots, and improving the work efficiency of navigation tasks of swarm robots.

[0059] By introducing co-evolution with the environment into the swarm robot navigation task, modeling the robots and the intermediate tasks in the cooperative navigation process as two different populations, and modeling the curriculum learning of the intermediate tasks as an explicit evolutionary process, the stability of the cooperative navigation of swarm robots is enhanced.

[0060] Using prototype evaluation to approximately calculate the quality of the remaining intermediate tasks greatly alleviates the problems of high learning and training cost, long training time, and high environmental parallelism requirements in the cooperative navigation of swarm robots, reduces the cost of cooperative navigation of swarm robots, and further improves the work efficiency of swarm robots. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0062] Figure 1 This is a flow chart of a multi-directional course learning and training method for cooperative navigation of swarm robots provided by an embodiment of the present invention;

[0063] Figure 2 It is a block diagram of a multi-directional course learning and training device for cooperative navigation of swarm robots provided by an embodiment of the present invention;

[0064] Figure 3 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0065] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.

[0066] The embodiment of the present invention provides a multi-directional course learning and training method for cooperative navigation of a swarm robot, which can be implemented by an electronic device, which can be a terminal or a server. Figure 1 The flowchart of a multi-directional course learning training method for cooperative navigation of a swarm robot is shown, and the processing flow of the method may include the following steps:

[0067] S1. Initialize the course population; collect tasks in the task space and obtain training tasks.

[0068] In a feasible implementation, the present invention initializes the curriculum population by reverse curriculum generation. Since the initial strategy performance of the swarm robot is low at the beginning of training, it is difficult to complete complex tasks. Therefore, in order to ensure smooth collaborative evolution and ensure that the curriculum evolves only in the direction of the final goal, appropriate measures must be taken. This means that for any task goal, its initial task domain should be selected in a way that minimizes the distance between the joint state and the joint goal in the task. Since most tasks are performed in simulated physical space, Euclidean distance can be used as an appropriate metric.

[0069] This method of nearest neighbor inverse initialization ensures that the initial distribution of the population is suitable for policy training in cooperative navigation of swarm robots. Since the performance of both parties in the cooperative evolution system can influence each other, this method ensures that the curriculum population expands in the direction of the final evaluation task.

[0070] After the course population is initialized, the training tasks are collected from the target tasks that the robot needs to complete and the potential intermediate sequence tasks that are homogeneous with the target tasks. The above task set is the task space, and the initial tasks of the training tasks in the present invention are regarded as being sampled from this space.

[0071] S2. Use the training task to train the cluster robot and obtain the performance of the cluster robot.

[0072] In a feasible implementation, in order to reduce the impact of sparse rewards on the cooperative navigation of swarm robots and enhance the exploration and learning efficiency of individual robots, the curriculum learning method is introduced into the field of reinforcement learning. Curriculum learning imitates the learning steps of humans in the production process. Curriculum learning advocates that the model starts learning from simple samples and gradually advances to complex samples during the learning process. From a cognitive perspective, this step-by-step learning behavior of curriculum learning does help the transfer of knowledge in implicit layers and maintains the consistency of action strategies to a certain extent, preventing catastrophic forgetting in the learning process. The success of existing curriculum reinforcement learning methods in some difficult tasks has proved this point.

[0073] Among them, the performance of cluster robots is the success rate of cluster robots in executing training tasks.

[0074] In a feasible implementation, since the rewards obtained by the swarm robot using the navigation movement strategy are sparse, that is, the reward is obtained only after the training of a task is completed, the performance is represented by the success rate of completing the task. In x tasks, if y times are successful, the performance is r = y / x.

[0075] S3. According to the training task, the stage task is obtained through multi-directional crossover operator and multi-directional mutation operator.

[0076] Optionally, according to the training task, a stage task is obtained through a multi-directional crossover operator and a multi-directional mutation operator, including:

[0077] According to the training task, a multi-directional crossover task is obtained through a multi-directional crossover operator;

[0078] According to the training task, a multi-directional mutation task is obtained through a multi-directional mutation operator;

[0079] Combine the multi-directional cross-task and the multi-directional variation task to obtain the stage task.

[0080] In a feasible implementation, the present invention introduces the perspective of independent intelligent agents in group evolution, further refines the granularity of the curriculum generation process, decouples the individual strategy level from the group strategy level in the swarm robots, and thus further reduces the evaluation error of the current stage strategy level during the training process.

[0081] At the same time, the concept of co-evolution extracted from natural observations is borrowed, and the intermediate courses that originally existed as training background in the swarm robot navigation task are modeled as another population that co-evolves with it. While the swarm robot group improves its strategy level through training, the course population will evaluate its own robustness through the process of the swarm robot verifying the strategy on the intermediate task, so as to evolve in a direction that is conducive to improving the level of navigation strategy. Due to the high dynamics and instability of the swarm robot navigation system itself, the algorithm in the present invention can ensure that the intermediate tasks that are consistent with the current level of each robot can be given at each stage by means of co-evolution. Compared with other previous methods, the present invention uses the original environment encoding related to the individual, so as to maximize the retention of intermediate information.

[0082] Among them, the intermediate tasks evolve from the initial training tasks through task training, and are a sequence with gradually increasing difficulty.

[0083] Among them, the multi-directional crossover operator is used to expand each task in the training task towards the target task.

[0084] In one possible implementation, due to the sparsity of reward signals in swarm robot navigation systems, a single reward signal is diluted in multiple dimensions, especially from the perspective of different individual robots. Therefore, the curriculum population needs to take into account the level of progress of each robot's navigation ability and expand towards the target task from the perspective of each robot.

[0085] The present invention applies a new multi-directional crossover operator to generate new offspring courses. For an intermediate population t in a certain training step, it is randomly divided into two different sub-populations t A and t B The course crossover method can be shown as follows (1):

[0086]

[0087] Among them, s c,i is the step length of a single course crossover, and the calculation formula is as follows (2):

[0088]

[0089] in, Represents the fitness obtained during the training of the current single course. This crossover step setting takes into account the overall level performance of the current course and the differences between individual courses, thereby balancing the progress of each crossover course. Excluding compensation, the calculation formula of direction D is shown in the following formula (3):

[0090]

[0091] Among them, in the random crossover operator δ j When the value of is greater than 0.5, it means that the course will be expanded in the direction of the current robot j, otherwise it means that the course will not be expanded in the direction of this robot in this round of training. Through this mechanism, each cross-generation process of courses can be explicitly balanced, thereby ultimately achieving the unification of agent strategy progress in the multi-agent system.

[0092] Among them, the multi-directional mutation operator is used to introduce diversified random quantities into the training tasks.

[0093] In a feasible implementation, in a genetic algorithm, a mutation operator is used to introduce random changes to individuals in a population. Similarly, in a course population, a mutation operator also plays the same role. The present invention applies a course mutation method based on rejection sampling.

[0094] Similar to multi-directional curriculum crossover, evolutionary curriculum mutation also operates on the dimension of individual robots. For each individual subtask in the swarm robot, a variable step length λ is added to provide diversity in the task distribution. Then, the mutated task checks its own validity. If it is valid, the same operation is performed on the subtask of the next robot; otherwise, the above steps are repeated until the pre-set maximum number of attempts is reached.

[0095] Specifically, the calculation of the variable step length λ is shown in the following formula (4):

[0096] Enter=λ0*random(-1,1)+λ0 (4)

[0097] Among them, Random(-1,1) represents a random floating point variable in the range of -1 to 1.

[0098] In the above formula, the meta-variable asynchronous length λ0 can be fixed or adaptive. In the actual experimental process, it is found that some tasks are more sensitive than others. Although their subjective difficulty evaluation is not high, the fixed meta-variable asynchronous length usually leads to unbalanced exploration or exploitation behavior of robot navigation. If the meta-variable asynchronous length is too small, the cluster robot will fall into the local optimal solution; if the meta-variable asynchronous length is too large, the strategy will diverge directly. Therefore, the present invention proposes an adaptive meta-variable asynchronous length to alleviate the hyperparameter adjustment on these tasks.

[0099] Compared with the fixed meta-variable step length λ0, the calculation method of the adaptive mutation step length is shown in the following formula (5):

[0100]

[0101] Among them, e maxis the maximum value of all intermediate task sub-elements in the current batch, e min is the minimum value of all intermediate task sub-elements in the current batch. max is the maximum fitness value of all intermediate tasks in the current batch, and f min is the minimum fitness value of all current intermediate tasks. max -f min When f is small, it means that the strategy progress of the swarm robot navigation system is slightly stagnant and development operations are needed, so the variable step length of the task will be reduced. max -f min When it is larger, it means that the current task allocation does not match the policy level of the swarm robot navigation system, so the mutation amplitude needs to be increased to enhance the novelty of the population. By using such an adaptive mechanism, the exploration behavior and the exploitation behavior are balanced through mutation, resulting in a more stable training process.

[0102] S4. Based on the performance of the cluster robot, use the prototype evaluation method to evaluate the stage tasks and obtain the fitness of the cluster robot.

[0103] In a feasible implementation, in a curriculum reinforcement learning algorithm using an evolutionary computing method, each curriculum population requires all individuals in the swarm robot to perform a complete round in a simulated environment when evaluating the fitness of an intermediate task, resulting in a sharp increase in computational cost when the population size increases. To solve this problem, the present invention introduces a prototype-based fitness estimation method for evaluating the fitness of individuals in a population.

[0104] Since the swarm robot navigation system and the curriculum population in the present invention have an iterative training mechanism, an unbiased estimate of the fitness of each sample intermediate task in the current population can be obtained. This is because the success rate in the fitness calculation can objectively reflect the strategy level of the swarm robot navigation system.

[0105] For task individuals after training, no matter what their fitness values ​​are, they can be regarded as prototype tasks in the current population.

[0106] In the swarm robot navigation task, the sampling strategy of the training task is uniform, so the prototype state should evenly cover the entire current curriculum population. Inspired by the concept of prototypes in few-shot learning, all tasks used for fitness evaluation can be regarded as query sets, while those tasks that already have unbiased fitness can be regarded as support sets.

[0107] In order to reduce computational cost and improve stability, the K-nearest neighbor method is used here to estimate the fitness of the remaining task individuals instead of using a parameterized prototype network. Given a predefined hyperparameter k, the k nearest prototype tasks in all sample intermediate tasks for cluster robot navigation are found, and the average fitness of these prototypes is used as the fitness of the query task. In this way, this method avoids the problem of extremely high evaluation computational complexity in previous methods and effectively evaluates a larger population of courses at a lower degree of parallelism.

[0108] Among them, the prototype assessment method is a prototype-based health assessment method;

[0109] The prototype evaluation method is used to evaluate the fitness of the cluster robots in the stage tasks;

[0110] Prototypes refer to the training tasks that the swarm robots have been trained on in the stage tasks.

[0111] In a feasible implementation, in some existing methods, the course health calculation is simply based on the strategy score of the cluster robot navigation behavior, which is obviously unreasonable, because too simple intermediate courses are obviously not conducive to the progress of the cluster robot cooperative navigation strategy. Therefore, the present invention introduces a nonlinear health calculation method based on the final task success rate.

[0112] The success rate r of the navigation task performed by the swarm robot navigation system is set to 0.5, and the heuristic success rate threshold is set to 0.5 to evaluate the difficulty of the task. On the one hand, the task should not be too simple or too difficult, so that r is close to 0 or 1; on the other hand, the relationship between the difficulty of the task and the success rate is not completely linear. In the range of 0 to 1, the difference in success rate between two tasks obviously depends on the difference in difficulty of the tasks and their positions in the range. Therefore, in order to adapt to this nonlinear relationship, an S-shaped fitness function is established to describe the adaptability of the task to the current level of the swarm robot population. The mathematical expression of the fitness calculation function is shown in the following formula (6):

[0113]

[0114] In this function for calculating health, usually, when the complexity of the task is greater, a larger k value is used to highlight the differences between tasks and expand the lower limit close to 0. In subsequent continuous experimental tests, the value of k was fixed to 2.

[0115] S5. Obtain a new training task according to the fitness of the cluster robot and the stage task; and confirm the new training task as the training task.

[0116] Optionally, according to the fitness of the cluster robot and the stage task, a new training task is obtained, including:

[0117] Sort the fitness of the cluster robots from large to small to obtain the fitness in descending order;

[0118] According to the descending fitness, the stage tasks are eliminated to obtain the optimized tasks;

[0119] Save the optimization task and obtain the historical task collection;

[0120] Collect tasks from historical task sets to obtain new training tasks.

[0121] In a feasible implementation, after each training and generation of new offspring, the curriculum population will update itself, thereby selecting a new intermediate task population suitable for the current swarm robot navigation task training. However, unlike the hard selection in traditional evolutionary algorithms, it is necessary to stably maintain as much historical population information as possible and retain as many types of intermediate tasks as possible. This is because in the reinforcement learning process, there is a common problem called catastrophic forgetting, which means that an agent may forget its past experience. Therefore, the traditional method of retaining only high-fitness individuals is no longer applicable. On the contrary, the present invention adopts a soft selection method to update the curriculum population.

[0122] Since the optimization goal of the curriculum population is to find the intermediate task that best matches the current level of swarm robot navigation ability, the tasks that are currently too difficult may actually be closer to the optimization goal in the later training process. Therefore, the historical population of each training stage is retained. At the same time, tasks with low fitness are not eliminated directly, but participate in the crossover and mutation stages of population iteration to provide diversity to the population and develop high fitness. Only when the number of tasks in any population reaches the limit will the individuals with the lowest fitness be deleted. And, after each iteration of curriculum training is completed, the tasks selected for training by the swarm robot navigation system are uniformly selected according to a certain proportion in all historical populations.

[0123] The significance of this setting is to maximize the diversity of the population. Since the swarm robot navigation system and the curriculum group are closely related in the co-evolution process, there is a high demand for task diversity. After adopting the soft selection mechanism, the catastrophic forgetting problem during training is avoided to the greatest extent, and space is left for temporarily bad tasks, such as tasks that are too difficult in a short time but can be solved by improving the action strategy of swarm robot navigation.

[0124] In order to maintain the diversity of intermediate tasks, our intermediate tasks will generate the next generation of tasks that exceed the preset maximum number of tasks through the algorithm. Assuming that the number of tasks that exceed the maximum number is x, we will delete the first x tasks arranged from small to large according to the fitness f, which are the eliminated tasks in the above step.

[0125] S6. Compare the performance of the cluster robot with a preset threshold. When the performance of the cluster robot is greater than or equal to the preset threshold, execute S7; when the performance of the cluster robot is less than the preset threshold, execute S2.

[0126] In a feasible implementation, in the present invention, when the success rate of the swarm robot in the navigation target task exceeds a preset threshold, the training is considered to be completed; or when the iteration cycle reaches a preset maximum value, the training is also stopped.

[0127] S7. Perform reinforcement learning training on the cluster robots according to the training tasks.

[0128] In a feasible implementation, the multi-particle simulation environment is a cluster robot test simulation environment developed by OpenAI, which is used to study the reinforcement learning problem of cluster robot navigation system. It provides a set of physics-based environments and interfaces for building and testing multi-agent systems and verifying the performance of algorithms. In multiple cooperative scenarios (such as collaborative navigation and collaborative box-pushing) in the multi-particle simulation environment, the present invention has achieved performance far exceeding that of the baseline algorithm, as shown in Table 1 (performance comparison table).

[0129] Table 1

[0130]

[0131] The final convergence speed of the present invention on multiple tasks far exceeds that of the baseline algorithm, as shown in Table 2 (algorithm convergence speed comparison table):

[0132] Table 2

[0133]

[0134]

[0135] S8. Complete cooperative navigation of cluster robots through training.

[0136] In a feasible implementation, the patent solution performs well in the cooperative navigation task of swarm robots. Given the final target distribution state of the swarm robot after navigation, a random noise is given around the known initial position distribution state of the swarm robot to generate the initial target distribution. The swarm robot applies a multi-agent proximal strategy optimization algorithm to train a set of reinforcement learning algorithms based on its navigation movement action, so that it can give the next maneuver action based on the current position.

[0137] Through the method described in the present invention, a more difficult intermediate target distribution is generated based on the current strategy performance and initial position distribution of the robot cluster, and the above steps are repeated on this basis until the intermediate target distribution is close to our final target distribution, and the navigation action strategy of the cluster robot is ensured to perform well, so that it can complete complex cooperative navigation tasks.

[0138] The present invention has a good practical application in field ground cluster robot formation navigation. By planning the control unit, the ground cluster robot formation in the positioning coordinate system and the relative relationship of the collaborative navigation target position are determined to judge the environmental perception situation in the forward direction of the ground cluster robot formation platform. The perception platform applies the proximal strategy optimization algorithm according to the direction of the perception-deficient area and the forward direction of the ground cluster robot formation platform, determines the exploration needs of each feasible direction of movement, selects the optimal perception exploration direction according to the evaluation results, adjusts the forward direction, and generates motion control instructions.

[0139] During the movement process, the planning control unit calculates the performance of the ground cluster robot according to the current ground cluster robot formation navigation action state, and generates phased intermediate tasks based on the current ground cluster robot performance. Prototype evaluation is performed on the phased intermediate tasks to obtain the adaptability of the current ground cluster robot in the current terrain and the application of the proximal strategy optimization algorithm. According to the target task of the ground cluster robot navigation, the phased intermediate tasks are continuously optimized until the performance of the ground cluster robot navigation action is close to the expected navigation target task. At this time, the navigation action capability of the ground cluster robot meets the target task requirements. The perception platform gradually updates the obstacle occupancy grid map centered on the ground mobile robot formation platform, assisting the ground mobile robot formation platform to perceive the surrounding environment in real time and plan obstacle avoidance in a timely manner.

[0140] The present invention proposes a multi-directional curriculum learning training method for cooperative navigation of swarm robots. Aiming at the task coupling phenomenon between individual robots in the navigation task of swarm robots, the method explicitly uses the perspectives of different individual robots to complete the generation of intermediate tasks, thereby ensuring that the swarm robots can obtain the intermediate tasks that best suit their current capabilities in each training stage of cooperative navigation, enhancing the adaptability of swarm robots to complex navigation environments, reducing the task failure rate of cooperative navigation of swarm robots, and improving the work efficiency of navigation tasks of swarm robots.

[0141] By introducing co-evolution with the environment into the swarm robot navigation task, modeling the robots and the intermediate tasks in the cooperative navigation process as two different populations, and modeling the curriculum learning of the intermediate tasks as an explicit evolutionary process, the stability of the cooperative navigation of swarm robots is enhanced.

[0142] Using prototype evaluation to approximately calculate the quality of the remaining intermediate tasks greatly alleviates the problems of high learning and training cost, long training time, and high environmental parallelism requirements in the cooperative navigation of swarm robots, reduces the cost of cooperative navigation of swarm robots, and further improves the work efficiency of swarm robots.

[0143] Figure 2 1 is a block diagram of a multi-directional course learning and training device for cooperative navigation of swarm robots according to an exemplary embodiment. Figure 2 , the device comprises:

[0144] The training task collection module is used to initialize the course population; collect tasks in the task space to obtain training tasks;

[0145] The robot training module is used to train the swarm robots using training tasks to obtain the performance of the swarm robots;

[0146] The stage task acquisition module is used to obtain the stage task according to the training task through multi-directional crossover operator and multi-directional mutation operator;

[0147] The fitness acquisition module is used to evaluate the stage tasks according to the performance of the cluster robot using the prototype evaluation method to obtain the fitness of the cluster robot;

[0148] The training task update module is used to obtain a new training task according to the fitness of the cluster robot and the stage task; and confirm the new training task as the training task;

[0149] The task success rate judgment module is used to compare the performance of the cluster robot with the preset threshold. When the performance of the cluster robot is greater than or equal to the preset threshold, the robot reinforcement training module is executed; when the performance of the cluster robot is less than the preset threshold, the robot training module is executed;

[0150] The robot reinforcement training module is used to perform reinforcement learning training on cluster robots according to the training tasks;

[0151] The robot navigation module is used to complete the navigation of cluster robots through training.

[0152] Among them, the multi-agent performance is the success rate of multi-agents in executing training tasks.

[0153] Optionally, the stage task acquisition module is further used to:

[0154] According to the training task, a multi-directional crossover task is obtained through a multi-directional crossover operator;

[0155] According to the training task, a multi-directional mutation task is obtained through a multi-directional mutation operator;

[0156] Combine the multi-directional cross-task and the multi-directional variation task to obtain the stage task.

[0157] Among them, the multi-directional crossover operator is used to expand each task in the training task towards the target task.

[0158] Among them, the multi-directional mutation operator is used to introduce diversified random quantities into the training tasks.

[0159] Among them, the prototype assessment method is a prototype-based health assessment method;

[0160] The prototype evaluation method is used to evaluate the fitness of the cluster robots in the stage tasks;

[0161] Prototypes refer to the training tasks that the swarm robots have used in the stage tasks.

[0162] Optionally, the training task update module is further used to:

[0163] Sort the fitness of the cluster robots from large to small to obtain the fitness in descending order;

[0164] According to the descending fitness, the stage tasks are eliminated to obtain the optimized tasks;

[0165] Save the optimization task and obtain the historical task collection;

[0166] Collect tasks from historical task sets to obtain new training tasks.

[0167] The present invention proposes a multi-directional curriculum learning training method for cooperative navigation of swarm robots. Aiming at the task coupling phenomenon between individual robots in the navigation task of swarm robots, the method explicitly uses the perspectives of different individual robots to complete the generation of intermediate tasks, thereby ensuring that the swarm robots can obtain the intermediate tasks that best suit their current capabilities in each training stage of cooperative navigation, enhancing the adaptability of swarm robots to complex navigation environments, reducing the task failure rate of cooperative navigation of swarm robots, and improving the work efficiency of navigation tasks of swarm robots.

[0168] By introducing co-evolution with the environment into the swarm robot navigation task, modeling the robots and the intermediate tasks in the cooperative navigation process as two different populations, and modeling the curriculum learning of the intermediate tasks as an explicit evolutionary process, the stability of the cooperative navigation of swarm robots is enhanced.

[0169] Using prototype evaluation to approximately calculate the quality of the remaining intermediate tasks greatly alleviates the problems of high learning and training cost, long training time, and high environmental parallelism requirements in the cooperative navigation of swarm robots, reduces the cost of cooperative navigation of swarm robots, and further improves the work efficiency of swarm robots.

[0170] Figure 3 It is a structural diagram of an electronic device 300 provided in an embodiment of the present invention. The electronic device 300 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 301 and one or more memories 302, wherein at least one instruction is stored in the memory 302, and the at least one instruction is loaded and executed by the processor 301 to implement the steps of the above-mentioned multi-directional course learning training method for cooperative navigation of cluster robots.

[0171] In an exemplary embodiment, a computer-readable storage medium is also provided, such as a memory including instructions, which can be executed by a processor in a terminal to complete the multi-directional course learning training method for cooperative navigation of a swarm robot. For example, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0172] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0173] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A multi-directional course learning and training method for cooperative navigation of swarm robots, characterized in that: The method comprises: S1, collect tasks in the task space and obtain training tasks; S2. Use the training task to train the cluster robot and obtain the performance of the cluster robot; The swarm robot performance is the success rate of the swarm robot in executing the training task; S3. According to the training task, a stage task is obtained through a multi-directional crossover operator and a multi-directional mutation operator; Wherein, obtaining the stage task according to the training task through a multi-directional crossover operator and a multi-directional mutation operator includes: According to the training task, a multi-directional crossover task is obtained through a multi-directional crossover operator; According to the training task, a multi-directional mutation task is obtained through a multi-directional mutation operator; Combining the multi-directional cross task and the multi-directional variation task to obtain a stage task; Wherein, the multi-directional crossover operator is used to expand each task in the training task towards the target task direction; The multi-directional mutation operator is used to introduce diversified random quantities into the training tasks to improve the diversity of task distribution. The multi-directional mutation operator is a variable step length λ, which is obtained by a course mutation method based on rejection sampling. The calculation of the variable step length λ is shown in the following formula (4): λ=λ0*random(-1,1)+λ0 (4) The calculation method of the adaptive mutation step size λ0 is shown in the following formula (5): Among them, e max is the maximum value of all stage task sub-elements in the current batch, e min is the minimum value of all stage task sub-elements in the current batch; f max is the maximum fitness value of all stage tasks in the current batch; f min is the minimum fitness value of all stage tasks in the current batch; S4. According to the performance of the swarm robot, the prototype evaluation method is used to evaluate the stage task to obtain the fitness of the swarm robot; Wherein, the prototype assessment method is a prototype-based health assessment method; The prototype evaluation method is used to evaluate the fitness of the cluster robot for the stage task; The prototype refers to the training task used by the swarm robot in the stage task; S5. Obtain a new training task according to the fitness of the cluster robot and the stage task; and confirm the new training task as a training task; Wherein, obtaining a new training task according to the fitness of the cluster robot and the stage task includes: Sorting the fitness of the cluster robots from large to small to obtain fitness in descending order; Eliminate the tasks of the stage according to the descending fitness to obtain optimized tasks; Saving the optimization task and obtaining a historical task set; Collect tasks from the historical task set to obtain new training tasks; S6, comparing the performance of the cluster robot with a preset threshold, when the performance of the cluster robot is greater than or equal to the preset threshold, executing S7; when the performance of the cluster robot is less than the preset threshold, executing S2; S7, performing reinforcement learning training on the cluster robot according to the training task in S5, to obtain a trained cluster robot; S8. The cluster robots perform cooperative navigation through the training.

2. A multi-directional course learning and training device for cooperative navigation of swarm robots, characterized in that: The device comprises: The training task collection module is used to initialize the course population; collect tasks in the task space to obtain training tasks; The robot training module is used to train the swarm robots using training tasks to obtain the performance of the swarm robots; The swarm robot performance is the success rate of the swarm robot in executing the training task; A stage task acquisition module, used to obtain the stage task according to the training task through a multi-directional crossover operator and a multi-directional mutation operator; Wherein, obtaining the stage task according to the training task through a multi-directional crossover operator and a multi-directional mutation operator includes: According to the training task, a multi-directional crossover task is obtained through a multi-directional crossover operator; According to the training task, a multi-directional mutation task is obtained through a multi-directional mutation operator; Combining the multi-directional cross task and the multi-directional variation task to obtain a stage task; Wherein, the multi-directional crossover operator is used to expand each task in the training task towards the target task direction; The multi-directional mutation operator is used to introduce diversified random quantities into the training tasks to improve the diversity of task distribution. The multi-directional mutation operator is a variable step length λ, which is obtained by a course mutation method based on rejection sampling. The calculation of the variable step length λ is shown in the following formula (4): λ=λ0*random(-1,1)+λ0 (4) The calculation method of the adaptive mutation step size λ0 is shown in the following formula (5): Among them, e max is the maximum value of all stage task sub-elements in the current batch, e min is the minimum value of all stage task sub-elements in the current batch; f max is the maximum fitness value of all stage tasks in the current batch; f min is the minimum fitness value of all stage tasks in the current batch; A fitness acquisition module is used to evaluate the stage task according to the performance of the cluster robot using a prototype evaluation method to obtain the fitness of the cluster robot; Wherein, the prototype assessment method is a prototype-based health assessment method; The prototype evaluation method is used to evaluate the fitness of the cluster robot for the stage task; The prototype refers to the training task used by the swarm robot in the stage task; A training task updating module is used to obtain a new training task according to the fitness of the cluster robot and the stage task; and confirm the new training task as a training task; Wherein, obtaining a new training task according to the fitness of the cluster robot and the stage task includes: Sorting the fitness of the cluster robots from large to small to obtain fitness in descending order; Eliminate the tasks of the stage according to the descending fitness to obtain optimized tasks; Saving the optimization task and obtaining a historical task set; Collect tasks from the historical task set to obtain new training tasks; A task success rate judgment module is used to compare the performance of the cluster robot with a preset threshold. When the performance of the cluster robot is greater than or equal to the preset threshold, a robot intensive training module is executed; when the performance of the cluster robot is less than the preset threshold, a robot training module is executed; A robot reinforcement training module is used to perform reinforcement learning training on the cluster robot according to the training tasks in the training task update module to obtain a trained cluster robot; The robot navigation module is used to complete the navigation of the cluster robot through the training.