Automatic parameter adjusting method and system for navigation planning algorithm

Through the automatic parameter adjustment method based on variational autoencoders and conditional generative adversarial networks, combined with reinforcement learning, the navigation planning algorithm parameters are optimized, which solves the problem of performance degradation of traditional navigation planning algorithms in new environments and improves performance in diverse scenarios. adaptability and reliability.

CN118548907APending Publication Date: 2024-08-27ZHEJIANG UNIV
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410576611.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-10
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

The performance of traditional navigation planning algorithms decreases when facing new environments without parameter adjustment, and existing automatic parameter adjustment methods rely on a large amount of simulation data and human interaction, making it difficult to verify universality and reliability in complex environments.

Method used

An automatic parameter adjustment method based on variational autoencoders and conditional generative adversarial networks is used to construct feature extractors and discriminators using expert data. Reinforcement learning is used to adjust parameters, and the parameters of the navigation planning algorithm are optimized by combining guidance rewards and environmental rewards.

Benefits of technology

It improves the practicality and reliability of navigation planning algorithms in diverse application scenarios, maintains the security and interpretability of traditional algorithms, reduces dependence on complex evaluations, and achieves higher adaptability and performance optimization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118548907A
    Figure CN118548907A
Patent Text Reader

Abstract

The invention discloses an automatic parameter adjustment method and system for a navigation planning algorithm, and the method comprises the steps: building a feature extractor and a training discriminator through the expert data on the basis of building the expert data, extracting the features of obstacle information in observation information based on the feature extractor as an environment, and carrying out the recognition of the environment; and constructing a guidance reward based on a discrimination result of the discriminator, optimizing a decision strategy of a decision network in reinforcement learning in combination with an environment reward, and generating an action as a new parameter of a navigation planning algorithm so as to guide the navigation planning algorithm to perform path planning based on the new parameter. Therefore, the advantages (such as safety and interpretability) of a traditional navigation algorithm can be kept, automatic parameter adjustment of a parameter optimization process can be simplified by effectively utilizing imitation learning, dependence on complex and inaccurate evaluation is reduced by directly learning operation behaviors of human beings, and practicability and reliability in diversified application scenes are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of robot navigation planning, and in particular relates to an automatic parameter adjustment method and system for a navigation planning algorithm. Background Art

[0002] Designing autonomous robot navigation systems is a key technology in the field of robotics and is essential to enable robots to effectively navigate in different scenarios. Traditional navigation planning algorithms are widely used in various navigation tasks due to their safety, stability, strong generalization ability, and easy interpretability. However, these algorithms often perform poorly when faced with new environments without parameter adjustment, resulting in reduced navigation performance.

[0003] Several automatic parameter adjustment methods have been introduced to improve the effectiveness of traditional navigation algorithms in diverse scenarios. The APPL framework uses machine learning methods to automatically adjust navigation parameters in different environments to improve the adaptability and performance of the system. APPL contains several different algorithms, each targeting a specific human-machine interaction mode to adapt to different usage and learning scenarios: APPLD (Adaptive Planner Parameter Learning from Demonstration): Leverages learning parameters from demonstrations by human operators. This method automatically identifies and learns effective parameter settings by observing how operators control the robot in a specific environment. APPLI (Adaptive Planner Parameter Learning from Interventions): Learns to adjust parameters through human intervention when the navigation system exhibits suboptimal behavior. This method does not require a full demonstration, but intervenes when navigation problems occur, thereby learning how to adjust parameters to improve performance. APPLE (Adaptive Planner Parameter Learning from Evaluative Feedback): Learns to adjust parameters through evaluative feedback provided by users. Users observe the robot's behavior and give positive or negative feedback, and the system adjusts navigation parameters to optimize performance accordingly. APPLR (Adaptive Planner Parameter Learning from Reinforcement): Automatically adjusts parameters using unsupervised reinforcement learning. This method does not rely on direct human input, but instead uses machine learning algorithms to find the best parameter configuration through trial and error and optimization in a variety of simulation environments. Although the APPL framework effectively combines the safety and interpretability of classical navigation systems with the adaptability and empirical improvement capabilities of machine learning, it still relies on a large amount of simulation data and computing resources in practical applications, and in the case of being unable to accurately simulate the complexity of the real world, the universality and reliability of its performance optimization remain to be verified. In addition, PTDRL proposes to use DDQN as a training framework, but because the output result is a discrete quantity, it still needs to manually adjust several sets of good parameter sets, which relies heavily on human experts to adjust parameters.

[0004] Bojarski et al. established an innovative behavior cloning (BC) framework, in which images from a front-view monocular camera are used to train a convolutional neural network to determine only the steering angle. Based on BC, a large number of methods have been proposed, which show strong generalization capabilities when there is sufficient data. GAIL uses a generative adversarial network (GAN) framework to imitate the distribution of expert trajectories, and adopts a model-free approach to achieve performance comparable to that of humans in specific scenarios. Based on GAIL, many studies have been proposed, such as InfoGAIL, Directed-InfoGAIL, and Co-GAIL. These methods have achieved certain results in trajectory generation tasks in fixed scenarios. However, methods based on imitation learning often perform poorly when facing out-of-distribution situations, so their poor generalization is difficult to solve.

[0005] In recent years, a large number of studies have used reinforcement learning to solve navigation problems. A study evaluated various reinforcement learning-based navigation planning algorithms using the environment provided by the Benchmark for Autonomous Robot Navigation (BARN) dataset and established a benchmark test, showing that traditional methods have the highest success rate in this scenario, while reinforcement learning methods are expected to complete the task the fastest. Therefore, reinforcement learning has a higher upper limit potential, but due to the lack of interpretability of reinforcement learning methods that output trajectories end-to-end, trajectory generation methods based on end-to-end learning are difficult to implement. In addition, although many works focus on learning the complete navigation stack, studies have shown that learning the navigation subsystem can bring better results. Summary of the invention

[0006] In view of the above, an object of the present invention is to provide a method and system for automatic parameter adjustment of a navigation planning algorithm, so as to solve the technical problem that the parameters of a traditional navigation planning algorithm are difficult to adjust, resulting in limited performance.

[0007] To achieve the above-mentioned object of the invention, an embodiment provides an automatic parameter adjustment method for a navigation planning algorithm, comprising the following steps:

[0008] Expert data construction: The trajectory information of the completed navigation planning task is collected as expert data. The trajectory information includes the robot's real observation information, the real global planning path, and the real local planning path;

[0009] Feature extractor construction: Using real observation information as samples, a feature extractor is constructed based on a variational autoencoder to extract features from the observation information;

[0010] Discriminator training: Using the real global planning path as conditional information and the real local planning path as supervision information, the generator and discriminator in the conditional generative adversarial network are trained, and the trained discriminator is fine-tuned using contrastive learning;

[0011] Reinforcement learning parameter adjustment: Use the feature extractor to extract the features of real-time observation information, and input the features as the real-time environmental state into the decision network. Input the real-time global planning path and local planning path output by the navigation planning algorithm into the fine-tuned discriminator. Build a guidance reward based on the discriminator's judgment result. At the same time, build an environmental reward based on the global planning path and the local planning path in the real environment. The decision network optimizes the decision strategy based on the guidance reward, environmental reward and real-time environmental state and generates actions as new parameters of the navigation planning algorithm to guide the navigation planning algorithm to plan the path based on the new parameters.

[0012] Preferably, when constructing expert data, the Dijkstra algorithm is used as the global planner, the time elastic band algorithm is used as the local path planner, and the trajectory information of the path planner completing the navigation planning task is collected as the expert data.

[0013] Preferably, taking real observation information as a sample, a feature extractor for extracting features from the observation information is constructed based on a variational autoencoder, including:

[0014] The real observation information is input into the encoder of the variational autoencoder to extract features and obtain features. The features are input into the decoder of the variational autoencoder to decode the features and obtain the reconstructed observation information.

[0015] A reconstruction loss is constructed based on the reconstructed observation information and the real observation information. At the same time, the KL divergence used to quantify the deviation between the latent variable distribution of the reconstructed observation information and the assumed latent variable prior distribution is constructed as the regularization loss. The parameters of the variational autoencoder are optimized based on the reconstruction loss and the regularization loss, and the encoder with optimized parameters is extracted as the feature extractor.

[0016] Preferably, training the generator and the discriminator in the conditional generative adversarial network includes:

[0017] The true global planning path is input into the generator as conditional information, and random noise is input into the generator at the same time. The generator generates a local planning path based on the input and output. The true local planning path and the generated local planning path as supervision information are input into the discriminator to distinguish the authenticity of the local planning path, and the generator and discriminator are trained by adversarial training.

[0018] Preferably, the trained discriminator is fine-tuned by contrastive learning, including:

[0019] The matched true global planning path and the true local planning path are taken as positive samples, at least one of the true global planning path and the true local planning path is shuffled to make the two mismatched, and the shuffled two are taken as negative samples. The positive samples and negative samples are respectively input into the trained discriminator, and the discriminator is fine-tuned by using the part of the discriminator update in the adversarial learning paradigm.

[0020] Preferably, constructing a guidance reward according to the discrimination result of the discriminator includes: using a probability value corresponding to the discrimination result as the guidance reward.

[0021] Preferably, an environmental reward is constructed according to the situation of the global planning path and the local planning path in the real environment, including:

[0022] The distance between the robot and obstacles in the real environment and the velocity component of the robot toward the local target point are determined based on the global planning path and the local planning path, and the environmental reward is determined based on these indicators.

[0023] To achieve the above-mentioned purpose of the invention, the embodiment further provides an automatic parameter adjustment system for a navigation planning algorithm, comprising:

[0024] An expert data construction module is used to collect trajectory information for completing navigation planning tasks as expert data. The trajectory information includes the robot's real observation information, real global planning path, and real local planning path.

[0025] A feature extractor construction module is used to construct a feature extractor for extracting features from observation information based on a variational autoencoder using real observation information as samples;

[0026] The discriminator training module is used to train the generator and discriminator in the conditional generative adversarial network using the real global planning path as conditional information and the real local planning path as supervision information, and fine-tune the trained discriminator using contrastive learning;

[0027] The reinforcement learning parameter adjustment module is used to use the feature extractor to extract the features of real-time observation information, and input the features as real-time environmental states into the decision network. The real-time global planning path and local planning path output by the navigation planning algorithm are input into the fine-tuned discriminator. The guidance reward is constructed according to the discrimination result of the discriminator. At the same time, the environmental reward is constructed according to the situation of the global planning path and the local planning path in the real environment. The decision network optimizes the decision strategy based on the guidance reward, environmental reward and real-time environmental state and generates actions as new parameters of the navigation planning algorithm to guide the navigation planning algorithm to perform path planning based on the new parameters.

[0028] To achieve the above-mentioned purpose of the invention, an embodiment further provides a computing device, including a memory and one or more processors, wherein the memory stores executable code, and when the one or more processors execute the executable code, they are used to implement the above-mentioned automatic parameter adjustment method for the navigation planning algorithm.

[0029] In order to achieve the above-mentioned purpose of the invention, an embodiment further provides a computer-readable storage medium, on which a program is stored. When the program is executed by a processor, the above-mentioned automatic parameter adjustment method for the navigation planning algorithm is implemented.

[0030] Compared with the prior art, the present invention has the following beneficial effects:

[0031] On the basis of constructing expert data, expert data is used to construct feature extractors and train discriminators. Then, the features of obstacle information in the observation information are extracted based on the feature extractor as the environment, and the guidance reward is constructed based on the discrimination result of the discriminator. The decision strategy of the decision network in reinforcement learning is optimized in combination with the environmental reward, and actions are generated as new parameters of the navigation planning algorithm to guide the navigation planning algorithm to plan paths based on the new parameters. In this way, the advantages of traditional navigation algorithms (such as safety and interpretability) can be maintained, and imitation learning can be effectively used to simplify the automatic adjustment of parameter optimization process. By directly learning human operation behavior, the dependence on complex and imprecise evaluation is reduced, and the practicality and reliability in diversified application scenarios are improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. 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.

[0033] Figure 1 is a flow chart of an automatic parameter adjustment method for a navigation planning algorithm provided in an embodiment;

[0034] Figure 2 is a schematic diagram of the structure of a variational autoencoder provided in an embodiment;

[0035] Figure 3 is the training process of the discriminator provided in the embodiment;

[0036] Figure 4 This is an end-to-end training process for reinforcement learning provided by the embodiment.

[0037] Figure 5 It is a structural schematic diagram of an automatic parameter adjustment system for a navigation planning algorithm provided in an embodiment;

[0038] Figure 6 It is a schematic diagram of the structure of a computing device provided in an embodiment. DETAILED DESCRIPTION

[0039] To make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific implementation methods described herein are only used to explain the present invention and do not limit the scope of protection of the present invention.

[0040] In the field of modern autonomous driving and mobile robot navigation, although end-to-end trajectory generation methods have shown some effectiveness in dealing with complex dynamic environments, such methods usually lack sufficient interpretability, are difficult to ensure operational safety, and have poor migration and generalization capabilities in new environments. These defects mainly stem from the black-box nature of end-to-end systems and their sensitivity to specific inputs that may not be fully represented in the training data, resulting in unexpected behaviors in practical applications.

[0041] Furthermore, existing automatic parameter adjustment systems rely heavily on human interaction data, human demonstration data, or human evaluation data. Not only are these data difficult to obtain, especially when there are not enough resources to conduct large-scale human-computer interaction experiments, but the quality of the data has a direct impact on the performance of the system. For example, the quality of human demonstrations may vary depending on the operator's skills and experience, and the subjectivity of human evaluations may result in the trained model not correctly reflecting the actual optimization goal.

[0042] In order to solve the above technical problems, the present invention provides an automatic parameter adjustment scheme for the navigation planning algorithm. On the basis of maintaining the interpretability and security of the traditional navigation planning algorithm, the discriminator-based imitation learning technology is introduced to learn and optimize the navigation planning algorithm parameters by imitating the behavior of human operators. This scheme does not directly rely on the abstract evaluation of the quality of the trajectory, but uses easily available and intuitive human demonstration data to guide the learning process, thereby overcoming the difficulty of reward function design in reinforcement learning. At the same time, by transferring the space of human intervention from the evaluation space where humans are not good at to the action space where humans are good at, the navigation system is effectively optimized. In this way, even in the absence of detailed feedback, the path planner can learn how to improve its parameter settings by observing the direct operations of the human operator, thereby improving the adaptability and overall performance of the path planner in unknown environments.

[0043] like Figure 1 As shown, an automatic parameter adjustment method for a navigation planning algorithm provided in an embodiment includes the following steps:

[0044] Step 1: Expert data construction.

[0045] In the embodiment, a coarse-tuned time elastic band algorithm (TEB) is used as a path planner, and the path planner is regarded as an expert. The trajectory information of the navigation planning task completed by TEB is used as expert data, wherein the trajectory information includes the robot observation information costmap, the global planning path global_path planned by the robot, and the local planning path local_path planned by the robot. The collected expert data is used to construct the training of the feature extractor and the discriminator. The observation information costmap includes obstacle information, etc.

[0046] Specifically, the simulation experiment was carried out using a Jackal robot with an Ackermann chassis, which was equipped with a 2D LiDAR, a motor controller (speed up to 2m / s) and sufficient computing resources. The present invention uses the move-base framework of the Robot Operating System (ROS), the global path planner uses the Dijkstra algorithm as the path planning algorithm, and the dynamic parameter adjustment is achieved by the dynamic reconfiguration client of ROS. From the 300 scenes of the BARN data set (arranged from the simplest to the most complex), 50 were evenly selected as test sets, and the remaining scenes were used as training sets. For the physical experiment, a differentially driven ground robot was used in this paper. Since the output of reinforcement learning acts in the parameter space of the local planner, the difference in the robot chassis in the physical and simulated environments will not affect the final experimental results.

[0047] The TEB local planner can generate smooth trajectories and effectively track the global path. Therefore, the present invention manually adjusts the TEB parameters and collects data from 250 training scenarios using the same parameter set. The collection of these demonstration data includes the global path and local path planned by TEB, with the purpose of using the conditional generative adversarial network (CGAN) to learn the joint distribution of the real global path and the real local path in the expert data. In each data collection iteration, the global and local paths within the robot's local cost map field of view are collected. In addition, these paths are converted into relative poses in the robot coordinate system. Since both the global path and the local path are composed of discrete postures, 30 points are uniformly sampled for the global path and 10 points are sampled for the local path. If the number of planned postures is less than 30 (or 10), linear interpolation is used to ensure the consistency of the data. The TEB with a finely adjusted parameter set achieved an 85% success rate with an average completion time of 14.17 seconds.

[0048] Step 2: Feature extractor construction.

[0049] In the embodiment, real observation information is used as a sample, and based on Figure 2 The variational autoencoder shown builds a feature extractor for extracting features from observation information. The specific process is:

[0050] The real observation information is input into the encoder of the variational autoencoder (VAE), and feature extraction is performed to extract the observation information into the latent space to obtain feature Z. The feature is input into the decoder of the variational autoencoder, and feature decoding is performed to reconstruct the feature Z of the latent space to obtain the reconstructed observation information. The loss function used in training VAE includes two parts. The first part is the reconstruction loss based on the reconstructed observation information and the real observation information, which is used to measure the accuracy of the decoder to reconstruct the input data. The second part is the regularization loss, which is the KL divergence used to quantify the deviation between the latent variable distribution of the reconstructed observation information and the assumed latent variable prior distribution. The expert dataset is divided into different training and test subsets, and the parameters of the variational autoencoder are optimized based on the reconstruction loss and the regularization loss. After the parameter optimization, the parameter-optimized encoder is extracted as the feature extractor.

[0051] Step 3: Discriminator training.

[0052] In the embodiment, the real global planning path is used as the conditional information, and the real local planning path is used as the supervision information to train the generator and discriminator in the conditional generative adversarial network (CGCN), and the expert-level planning data is fitted by using the conditional generative adversarial network's ability to fit the joint distribution of data. The training specifically includes:

[0053] like Figure 3 As shown in the figure, the real global planning path is input into the generator as conditional information, and random noise is input into the generator at the same time. The generator generates a local planning path based on the input and output. The real local planning path and the generated local planning path as supervision information are input into the discriminator to distinguish the authenticity of the local planning path, and judge whether the joint distribution of the real global planning path and the generated local planning path is consistent with the distribution of the real local planning path in the expert dataset. The generator and the discriminator are trained against each other by adversarial training to promote each other. Finally, when the global planning path is used as the guiding information, the generator can generate a generated local planning path similar to the real local planning path data in the expert dataset.

[0054] Since the conventional conditional generative adversarial network focuses on the generator and the discriminator is weaker than the generator, a contrastive learning method is selected to fine-tune the trained discriminator, specifically including: taking the matched true global planning path and the true local planning path as positive samples, scrambling at least one of the true global planning path and the true local planning path so that the two do not match, and using the scrambled two as negative samples, respectively inputting the positive samples and negative samples into the trained discriminator, and using the adversarial learning paradigm to fine-tune the discriminator. The difference is that the generator is removed, that is, the part of the discriminator update in the adversarial learning paradigm is used to fine-tune the discriminator.

[0055] Step 4: Reinforce learning parameter adjustment.

[0056] In the embodiment, the feature extractor constructed in step 2 and the discriminator fine-tuned in step 3 are used in conjunction with reinforcement learning to adjust the parameters in the navigation planning algorithm. Figure 4 As shown, specifically including:

[0057] First, a feature extractor is used to extract the features of real-time observation information, and the features are input into the decision network of reinforcement learning as the real-time environment state. In this process, the real-time observation information is selected as the obstacle representation form of the robot's environment, and the latent variable information in the image, i.e., features, is extracted by the feature extractor, and the features are input into the decision network as the real-time environment state of reinforcement learning.

[0058] Then, the real-time global planning path and local planning path output by the navigation planning algorithm are input into the fine-tuned discriminator, and the guidance reward R is constructed based on the discriminator’s judgment result. d That is, the discriminator is used to discriminate and score the planned trajectories (i.e., the real-time global planning path and the local planning path) (i.e., output the discriminant probability value), and the scoring result is used as the guidance reward in reinforcement learning. The guidance reward can help the navigation planning algorithm quickly reach the expert level.

[0059] At the same time, the environmental reward R is constructed according to the global planning path and the local planning path in the real environment. e That is, the robot obtains environmental rewards by interacting with the environment according to the planned path, including: determining the distance between the robot and obstacles in the real environment and the velocity component of the robot toward the local target point according to the global planned path and the local planned path, and determining the environmental rewards based on these indicators.

[0060] Specifically, it includes the component of the robot's velocity in the direction of the local target point, the inverse of the distance to the robot's nearest obstacle, and the penalty for robot collision.

[0061] Finally, the decision network combines the guidance reward, environmental reward and real-time environmental status to optimize the decision strategy and generate actions as new parameters of the navigation planning algorithm to guide the navigation planning algorithm to plan the path based on the new parameters, ultimately reaching a level that exceeds the expert data.

[0062] After the above reinforcement learning, an end-to-end online navigation planning real-time parameter adjustment method can be realized. It should be noted that the above navigation planning algorithm is generally a planning algorithm in a path planner.

[0063] The method of the present invention has been experimentally tested in both simulation and the real world. After the deployment of the automatic parameter adjustment algorithm, the DWA algorithm improved by 137% and the TEB algorithm improved by 40%. Tested on the BARN dataset, the present invention improved to 0.233 based on the baseline of 0.16 (full score 0.25), which is better than the current optimal method in the field of automatic parameter adjustment. At the same time, compared with the APPLR method, the training time of the present invention is shortened by one hundred times.

[0064] like Figure 5 As shown, the embodiment also provides an expert data construction module, a feature extractor construction module, a discriminator training module, and a reinforcement learning parameter adjustment module.

[0065] The expert data construction module is used to collect trajectory information for completing navigation planning tasks as expert data; the feature extractor construction module is used to use real observation information as samples and construct a feature extractor based on a variational autoencoder to extract features from observation information; the discriminator training module is used to use the real global planning path as conditional information and the real local planning path as supervisory information to train the generator and discriminator in the conditional generative adversarial network, and fine-tune the trained discriminator by contrastive learning; the reinforcement learning parameter adjustment module is used to use the feature extractor to extract features of real-time observation information, and input the features into the decision network as real-time environmental states, input the real-time global planning path and local planning path output by the navigation planning algorithm into the fine-tuned discriminator, construct a guidance reward based on the discrimination results of the discriminator, and construct an environmental reward based on the global planning path and the local planning path in the real environment. The decision network optimizes the decision strategy based on the guidance reward, environmental reward and real-time environmental state and generates actions as new parameters of the navigation planning algorithm to guide the navigation planning algorithm to perform path planning based on the new parameters.

[0066] It should be noted that when the automatic parameter adjustment system for the navigation planning algorithm provided in the above embodiment is performing automatic parameter adjustment, the division of the above-mentioned functional modules should be used as an example to illustrate, and the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the terminal or server is divided into different functional modules to complete all or part of the functions described above. In addition, the automatic parameter adjustment system for the navigation planning algorithm provided in the above embodiment and the automatic parameter adjustment method embodiment for the navigation planning algorithm belong to the same concept, and the specific implementation process is detailed in the automatic parameter adjustment method embodiment for the navigation planning algorithm, which will not be repeated here.

[0067] Based on the same inventive concept, an embodiment further provides a computing device, including a memory and one or more processors, wherein an executable code is stored in the memory, and when the one or more processors execute the executable code, the method for automatically adjusting parameters for the navigation planning algorithm is implemented, specifically including the following steps:

[0068] Step 1, expert data construction;

[0069] Step 2, feature extractor construction;

[0070] Step 3, discriminator training;

[0071] Step 4: Reinforce learning parameter adjustment.

[0072] like Figure 6 As shown, the computing device provided in the embodiment, at the hardware level, includes not only a processor and a memory, but also hardware required for other services such as an internal bus, a network interface, and a memory. The memory is a non-volatile memory, and the processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it to implement the automatic parameter adjustment method for the navigation planning algorithm described in the above steps 1 to 4. Of course, in addition to the software implementation method, the present invention does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc., that is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0073] The specific implementation methods described above provide a detailed description of the technical solutions and beneficial effects of the present invention. It should be understood that the above is only the most preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, supplements and equivalent substitutions made within the scope of the principles of the present invention should be included in the protection scope of the present invention.

Claims

1. An automatic parameter adjustment method for a navigation planning algorithm, characterized in that: The following steps are involved: Expert data construction: The trajectory information of the completed navigation planning task is collected as expert data. The trajectory information includes the robot's real observation information, the real global planning path, and the real local planning path; Feature extractor construction: Using real observation information as samples, a feature extractor is constructed based on a variational autoencoder to extract features from the observation information; Discriminator training: Using the real global planning path as conditional information and the real local planning path as supervision information, the generator and discriminator in the conditional generative adversarial network are trained, and the trained discriminator is fine-tuned using contrastive learning; Reinforcement learning parameter adjustment: Use the feature extractor to extract the features of real-time observation information, and input the features as the real-time environmental state into the decision network. Input the real-time global planning path and local planning path output by the navigation planning algorithm into the fine-tuned discriminator. Build a guidance reward based on the discriminator's judgment result. At the same time, build an environmental reward based on the global planning path and the local planning path in the real environment. The decision network optimizes the decision strategy based on the guidance reward, environmental reward and real-time environmental state and generates actions as new parameters of the navigation planning algorithm to guide the navigation planning algorithm to plan the path based on the new parameters.

2. The automatic parameter adjustment method for the navigation planning algorithm according to claim 1, characterized in that: When constructing expert data, the Dijkstra algorithm is used as the global planner, the time elastic band algorithm is used as the local path planner, and the trajectory information of the path planner completing the navigation planning task is collected as the expert data.

3. The automatic parameter adjustment method for navigation planning algorithm according to claim 1, characterized in that: Taking real observation information as samples, a feature extractor for extracting features from observation information is constructed based on variational autoencoder, including: The real observation information is input into the encoder of the variational autoencoder to extract features and obtain features. The features are input into the decoder of the variational autoencoder to decode the features and obtain the reconstructed observation information. A reconstruction loss is constructed based on the reconstructed observation information and the real observation information. At the same time, the KL divergence used to quantify the deviation between the latent variable distribution of the reconstructed observation information and the assumed latent variable prior distribution is constructed as the regularization loss. The parameters of the variational autoencoder are optimized based on the reconstruction loss and the regularization loss, and the encoder with optimized parameters is extracted as the feature extractor.

4. The automatic parameter adjustment method for navigation planning algorithm according to claim 1, characterized in that: Training the generator and discriminator in a conditional generative adversarial network includes: The true global planning path is input into the generator as conditional information, and random noise is input into the generator at the same time. The generator generates a local planning path based on the input and output. The true local planning path and the generated local planning path as supervision information are input into the discriminator to distinguish the authenticity of the local planning path, and the generator and discriminator are trained by adversarial training.

5. The automatic parameter adjustment method for navigation planning algorithm according to claim 1, characterized in that: The trained discriminator is fine-tuned using contrastive learning, including: The matched true global planning path and the true local planning path are taken as positive samples, at least one of the true global planning path and the true local planning path is shuffled to make the two mismatched, and the shuffled two are taken as negative samples. The positive samples and negative samples are respectively input into the trained discriminator, and the discriminator is fine-tuned by using the part of the discriminator update in the adversarial learning paradigm.

6. The automatic parameter adjustment method for navigation planning algorithm according to claim 1, characterized in that: Constructing a guidance reward according to the discrimination result of the discriminator, including: using a probability value corresponding to the discrimination result as the guidance reward.

7. The automatic parameter adjustment method for navigation planning algorithm according to claim 1, characterized in that: Construct environmental rewards based on the global planning path and the local planning path in the real environment, including: The distance between the robot and obstacles in the real environment and the velocity component of the robot toward the local target point are determined based on the global planning path and the local planning path, and the environmental reward is determined based on these indicators.

8. An automatic parameter adjustment system for a navigation planning algorithm, characterized in that: include: An expert data construction module is used to collect trajectory information for completing navigation planning tasks as expert data. The trajectory information includes the robot's real observation information, real global planning path, and real local planning path. A feature extractor construction module is used to construct a feature extractor for extracting features from observation information based on a variational autoencoder using real observation information as samples; The discriminator training module is used to train the generator and discriminator in the conditional generative adversarial network using the real global planning path as conditional information and the real local planning path as supervision information, and fine-tune the trained discriminator using contrastive learning; The reinforcement learning parameter adjustment module is used to use the feature extractor to extract the features of real-time observation information, and input the features as real-time environmental states into the decision network. The real-time global planning path and local planning path output by the navigation planning algorithm are input into the fine-tuned discriminator. The guidance reward is constructed according to the discrimination result of the discriminator. At the same time, the environmental reward is constructed according to the situation of the global planning path and the local planning path in the real environment. The decision network optimizes the decision strategy based on the guidance reward, environmental reward and real-time environmental state and generates actions as new parameters of the navigation planning algorithm to guide the navigation planning algorithm to perform path planning based on the new parameters.

9. A computing device comprising a memory and one or more processors, wherein the memory stores executable code, characterized in that: When the one or more processors execute the executable code, they are used to implement the automatic parameter adjustment method for the navigation planning algorithm described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that: A program is stored thereon, and when the program is executed by a processor, the automatic parameter adjustment method for the navigation planning algorithm described in any one of claims 1-7 is implemented.

Citation Information

Cited By

  • Adaptive planner parameter tuning method and device based on reinforcement learning

    CN119644733A

  • Optimal global planning method and system for long-range task

    CN121614860A