Robot multi-scene path planning method and system based on cross-media continuous learning
By fusing image and laser point cloud data features through cross-media continuous learning technology and optimizing path planning strategies using reinforcement learning, the adaptability problem of cross-media perception models in different scenarios was solved, enabling mobile robots to perform flexible and safe path planning in multiple scenarios.
Patent Information
- Application Number
- CN202311371787.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-20
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-10-20
AI Technical Summary
Existing technologies have poor performance of cross-media perception models in different task scenarios, leading to failures in mobile robot path planning, and the cost of jointly training data from different scenarios is high.
By employing cross-media continuous learning technology, the model integrates image and laser point cloud data features through a self-attention mechanism, optimizes the path planning strategy network using reinforcement learning, and combines a memory replay mechanism to avoid catastrophic forgetting, thereby improving the model's adaptability in multiple scenarios.
It enables flexible, safe, and reliable path planning for mobile robots in different scenarios, improves the continuous learning ability and robustness of cross-media perception models, and reduces training and deployment costs.
Smart Images

Figure CN117631660B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of path planning technology, and in particular to a method and system for multi-scenario path planning of robots based on cross-media continuous learning. Background Technology
[0002] The statements in this section are merely background information related to the present invention and do not necessarily constitute prior art.
[0003] Mobile robots are one of the most important branches of robotics research. Mobile robots need to possess autonomous navigation and obstacle avoidance capabilities; they can autonomously navigate from one point to another and avoid obstacles while traveling along a pre-defined path. Early mobile robots were typically used in flat indoor environments, such as TurtleBot developed by Willow Garage Labs, a typical indoor mobile robot development platform; MoveBase in the ROS robot operating system is also a widely used and mature indoor robot navigation framework. In recent years, with the development of communication technology and artificial intelligence, autonomous driving has become a hot research topic in academia and industry, and relatively mature technical solutions have emerged, such as Apollo proposed by Baidu and Autoware proposed by Kato et al. of Nagoya University.
[0004] Mobile robots have a wide range of applications, including homes, factories, warehouses, hospitals, agriculture, transportation, exploration, and rescue. To adapt to these complex and ever-changing environments, mobile robots need strong perception capabilities to acquire and understand surrounding information, enabling them to make rational decisions and actions. In the perception process of mobile robots, cross-media path planning methods utilize multiple types of sensors to acquire different information as system input, with the navigation strategy module outputting decisions and control trajectories. Cross-media perception can improve the perception effectiveness and robustness of mobile robots. This is because cross-media perception can provide richer and more complete information. Single-media perception may be affected by factors such as noise, occlusion, and lighting, leading to inaccurate or incomplete information. Cross-media perception can supplement and enhance the quality of information by fusing data from different sensors. For example, visual sensors can provide information such as color, shape, and texture, while LiDAR can provide information such as distance and depth. Combining this information yields a more detailed and accurate scene description.
[0005] Furthermore, cross-media perception can improve the adaptability and flexibility of mobile robots in path planning. Different environments and tasks may require different perception methods and strategies. Single-modal perception may be limited by certain conditions, leading to malfunction. Cross-media perception, by selecting appropriate sensor combinations and switching methods, can adapt to different situations and needs, thereby improving the robot's path planning performance in different task scenarios.
[0006] However, different task scenarios often differ significantly, which leads to cross-media perception models trained in a single task scenario performing poorly in other scenarios, and consequently causing mobile robot path planning failures. Furthermore, simultaneously collecting data from different scenarios for joint training results in high model training and deployment costs. Summary of the Invention
[0007] To address the shortcomings of existing technologies, the purpose of this invention is to provide a robot multi-scenario path planning method and system based on cross-media continuous learning. This method employs continuous learning technology to enhance the adaptability of cross-media-based path planning methods in different task scenarios, continuously learning and updating in changing environments while retaining knowledge learned in the scenarios and avoiding catastrophic forgetting.
[0008] To achieve the above objectives, the present invention is implemented through the following technical solution:
[0009] The first aspect of this invention provides a method for multi-scenario path planning of robots based on cross-media continuous learning, comprising the following steps:
[0010] Build multi-scenario task environments according to task requirements;
[0011] Acquire scene images and laser point cloud data, and construct a cross-media perception model;
[0012] Multi-task training and continuous learning are performed using a cross-media perception model to obtain intermediate features. During the training process, a self-attention mechanism is used to fuse features from image and laser point cloud data.
[0013] The path planning policy network is trained using intermediate features to obtain the path planning policy, and reinforcement learning is used to optimize the path planning policy network.
[0014] Furthermore, the cross-media perception model includes two feature extraction branches and a cross-media self-attention mechanism module. After passing through the cross-media self-attention module, intermediate features are output, which contain information from both data modalities, thereby completing the cross-media information fusion.
[0015] Furthermore, in order to improve the continuous learning capability of the cross-media perception model during the multi-task training and continuous learning process using the fused features, a fixed proportion of data will be randomly extracted from the previous n-1 scenarios as memory replay during the task training of the nth task scenario, in order to avoid catastrophic forgetting of the model.
[0016] Furthermore, the specific steps for fusing features from image and laser point cloud data using a self-attention mechanism are as follows:
[0017] Feature maps are obtained by extracting features from image and laser point cloud data using image feature extraction branch and laser point cloud feature extraction branch, respectively.
[0018] The feature maps are concatenated after average pooling and then through a fully connected layer. This allows the feature vectors from the image and radar to be combined through element-wise summation, thus achieving cross-media information fusion and obtaining intermediate features.
[0019] Furthermore, multi-task training includes semantic map segmentation and object detection tasks.
[0020] Furthermore, the specific steps for training the path planning strategy network using intermediate features are as follows:
[0021] After training the cross-media perception model using continuous learning, the cross-media perception model will learn spatial representation capabilities in different scenarios. Then, the weights of the cross-media perception model are frozen, and the intermediate features extracted by the cross-media perception model are used to train the path planning strategy network.
[0022] Furthermore, the mobile robot acquires environmental state observation information from the environment, and then inputs it into a cross-media perception model with frozen weights to obtain the current intermediate features. The current intermediate features are used as input to the trained path planning strategy network, and the path planning strategy network outputs actions to obtain the path planning strategy.
[0023] A second aspect of the present invention provides a robot multi-scene path planning system based on cross-media continuous learning, comprising:
[0024] The scenario building module is configured to build task environments for multiple scenarios according to task requirements;
[0025] The model building module is configured to acquire scene images and laser point cloud data, and build a cross-media perception model;
[0026] The continuous learning module is configured to perform multi-task training and continuous learning using a cross-media perception model to obtain intermediate features. During training, a self-attention mechanism is used to fuse features from image and laser point cloud data.
[0027] The path planning module is configured to train a path planning policy network using intermediate features to obtain a path planning policy, wherein the path planning policy network is optimized using reinforcement learning.
[0028] A third aspect of the present invention provides a medium on which a program is stored, which, when executed by a processor, implements the steps of the robot multi-scene path planning method based on cross-media continuous learning as described in the first aspect of the present invention.
[0029] A fourth aspect of the present invention provides an apparatus including a memory, a processor, and a program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the robot multi-scene path planning method based on cross-media continuous learning as described in the first aspect of the present invention.
[0030] The above one or more technical solutions have the following beneficial effects:
[0031] This invention discloses a method and system for robot multi-scene path planning based on cross-media continuous learning. It improves the continuous learning ability of the cross-media perception model to the environment by memory playback between multiple task scenarios. Then, it uses the intermediate features of multi-scene perception that have been learned to input the path planning model, and trains the mobile robot to complete flexible, safe and reliable path planning tasks in different scenarios through reinforcement learning.
[0032] Advantages of additional aspects of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0033] The accompanying drawings, which form part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an improper limitation of the invention.
[0034] Figure 1 This is a flowchart of the robot multi-scenario path planning method based on cross-media continuous learning in Embodiment 1 of the present invention;
[0035] Figure 2 This is a structural block diagram of the robot multi-scene path planning method based on cross-media continuous learning in Embodiment 1 of the present invention;
[0036] Figure 3 This is a schematic diagram of multiple scene environments in Embodiment 1 of the present invention. Detailed Implementation
[0037] It should be noted that the following detailed descriptions are exemplary and intended to provide further illustration of the invention. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.
[0038] It should be noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of exemplary embodiments according to the invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. Furthermore, it should be understood that when the terms "comprising" and / or "including" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof.
[0039] Example 1:
[0040] Mobile robots need to operate in different task scenarios, and since these scenarios often have significant differences in spatial structure, this places higher demands on the generalization ability of cross-media-based path planning methods. To address this issue, this invention proposes a robot multi-scenario path planning method and system based on cross-media continuous learning. Continuous learning technology can improve the adaptability and flexibility of perception technology. Because different task scenarios may have different data distributions, noise, occlusion, lighting, and other factors, a single perception model may not perform well in all scenarios. Continuous learning technology allows the perception model to be dynamically adjusted and optimized according to new task scenarios, and enhances the model's generalization ability and robustness through memory playback.
[0041] like Figure 1 As shown, this invention first decouples the perception and planning modules of the mobile robot and improves the continuous learning ability of the cross-media perception model to the environment by memory playback between multi-task scenarios. Then, it uses the intermediate features of multi-scene perception that have been learned to input the path planning model, and trains the mobile robot to complete flexible, safe and reliable path planning tasks in different scenarios through reinforcement learning.
[0042] This invention improves the mobile robot's path planning capabilities in multiple scenarios by decoupling the perception and path planning modules of the mobile robot and enhancing the system's perception and representation capabilities for different task scenarios through continuous learning technology.
[0043] The specific steps are as follows:
[0044] Embodiment 1 of this invention provides a robot multi-scenario path planning method based on cross-media continuous learning, such as... Figure 2 As shown, it includes the following steps:
[0045] Step 1: Build a multi-scenario task environment according to task requirements.
[0046] Step 2: Acquire scene images and laser point cloud data, and construct a cross-media perception model.
[0047] Step 3: Use the cross-media perception model to train and learn continuously for multiple tasks to obtain intermediate features.
[0048] Step 4: Train the path planning strategy network using intermediate features to obtain the path planning strategy.
[0049] In step 1, this embodiment sets up three common working scenarios for mobile robots: highway scenario, park scenario, and indoor scenario, such as... Figure 3 As shown, the types of obstacles and events included in different scenarios vary significantly. To improve the cross-media perception model's ability to perceive various types of obstacles, common obstacles for that scenario were added to each scenario, totaling the following 12 categories: pedestrians, cars, electric vehicles, road fences, road shoulders, roadblocks, lampposts, trash cans, bushes, tables, chairs, and bookshelves. Cross-media perception data was collected in the above three different work scenarios, and the perception model was trained using continuous learning techniques.
[0050] In step 2, construct as follows Figure 1 The cross-media perception model shown includes two feature extraction branches and a cross-media self-attention mechanism module. The feature extraction branches consist of an image feature extraction branch (composed of an image extractor) and a laser point cloud feature extraction branch (composed of radar data). The input to the cross-media perception model includes two data modalities: images and laser point clouds. After passing through the cross-media self-attention module, the output is intermediate features that contain information from both data modalities, thus completing cross-media information fusion.
[0051] In step 3, such as Figure 1 As shown, in order to improve the continuous learning ability of the cross-media perception model during the training and continuous learning of multi-task using fused features, a fixed proportion of data will be randomly extracted from the previous n-1 scenarios as memory replay in the task training of the nth task scenario, so as to avoid catastrophic forgetting of the model.
[0052] In this embodiment, a self-attention mechanism is used to fuse features from image and laser point cloud data during training. The specific steps are as follows:
[0053] Feature maps are obtained by extracting features from image and laser point cloud data using image feature extraction branch and laser point cloud feature extraction branch, respectively.
[0054] The feature maps are concatenated after average pooling and then through a fully connected layer. This allows the feature vectors from the image and radar to be combined through element-wise summation, thus achieving cross-media information fusion and obtaining intermediate features.
[0055] In one specific implementation, this embodiment designs a cross-media self-attention mechanism to fuse global image information with the modal spatial distribution features of laser point clouds. The input to the cross-media global self-attention mechanism is a continuous discrete sequence, where each sequence element represents a feature extracted from its respective channel.
[0056] Formally, the input sequence is represented as Where N is the number of labels in the sequence, and D represents the feature vector dimension of each sequence element, such as Di f This represents the dimension of each element in the input sequence. The cross-media self-attention mechanism uses linear projection to compute a set of queries, keywords, and values (Q, K, and V).
[0057]
[0058] in It is a weight matrix. It uses the scaled dot product between Q and K to calculate the attention weights Attn, and then aggregates the values for each query.
[0059]
[0060] Finally, the cross-media self-attention mechanism uses a multi-layer perceptron (MLP) to compute the output feature F. out These features are related to the input features F in They have the same shape.
[0061] F out =MLP(A)+F in (3)
[0062] The cross-media self-attention mechanism applies attention multiple times throughout the architecture, resulting in L attention layers. In the standard cross-media self-attention mechanism, each layer has multiple parallel attention "heads," involving generating multiple Q, K, and V values for Equation (1) and concatenating the values of A resulting from Equation (2). Unlike the token input structure in natural language processing, this embodiment operates on a grid-structured feature map. Similar to previous studies applying cross-media self-attention mechanisms to images, this embodiment treats the intermediate feature map of each modality as a set rather than a spatial grid, and treats each element in the set as a token. The convolutional feature extractors of the image and point cloud inputs encode different aspects of the scene at different levels. Therefore, this embodiment fuses these features at multiple scales of the encoder.
[0063] This embodiment obtains feature maps from the feature extractor of the image branch and from the laser point cloud branch, respectively. These feature maps are then passed through a fully connected layer after average pooling. The feature vectors from the image and radar are combined by element-wise summation. This intermediate feature vector constitutes a compact representation of the environment, encoding the global context of various task scenarios and completing cross-media information fusion.
[0064] In this embodiment, in order to improve the feature representation capability of the cross-media perception model, semantic map segmentation and object detection tasks are added to guide the learning of the feature extractor.
[0065] (1) Semantic Map Segmentation Task: In the semantic map segmentation task, a three-channel bird's-eye view segmentation mask is predicted, containing roads, lane markings, and other categories. This allows intermediate features to encode information about drivable and non-drivable areas. The semantic map uses the same coordinate frame as the mobile robot input and is obtained from the feature map of the radar branch via a convolutional decoder. The semantic map segmentation task is trained using cross-entropy loss.
[0066] (2) Object Detection Task: This embodiment uses a decoder to estimate key points to locate other vehicles in the scene. Specifically, a convolutional decoder is used to predict a location map from intermediate features. Similar to semantic segmentation map prediction tasks, the 2D object labels for this task are rendered using a Gaussian kernel at the center of each object in the training dataset. Since orientation is a single scalar value, directly regressing this value is challenging, as observed in existing 3D detectors. This embodiment predicts a regression map containing three regression targets: vehicle size (∈R...). 2 ), position offset (∈R) 2 The position offset (∈R) is used to compensate for quantization errors introduced by low resolution when predicting the position map. The orientation offset is used to correct orientation discretization errors. It is important to note that supervision is only performed on positions with the vehicle center for prediction. and The location map, orientation map, and regression map were trained using focus loss, cross-entropy loss, and L1 loss, respectively.
[0067] In step 4, the specific steps for training the path planning strategy network using intermediate features are as follows:
[0068] After training the cross-media perception model using continuous learning, the cross-media perception model will learn spatial representation capabilities in different scenarios. Then, the weights of the cross-media perception model are frozen, and the intermediate features extracted by the cross-media perception model are used to train the path planning strategy network.
[0069] Among them, reinforcement learning is used to optimize the path planning policy network, such as... Figure 1 As shown in Phase 2, after the cross-media perception model is trained, the weights of the perception model are fixed. The mobile robot obtains environmental state observation information from the environment and then inputs it into the cross-media perception model with frozen weights to obtain the current intermediate features. The current intermediate features are used as the input of the trained path planning strategy network, and the path planning strategy network outputs the action to obtain the path planning strategy.
[0070] Reinforcement learning is a goal-oriented algorithm that learns how to achieve a specific objective through a series of sequential decisions. It is considered one of the three major paradigms of machine learning, alongside supervised and unsupervised learning. Supervised learning relies on labeled sample data; the model learns the feature distribution of the data by summarizing and generalizing from the training data. Unsupervised learning, on the other hand, learns the inherent structural information of unlabeled sample data directly. Unlike the previous two paradigms, reinforcement learning algorithms start from a "blank slate," gaining experience through trial and error, and then summarizing patterns from that experience. Finally, the algorithm learns which actions to take under what conditions to achieve a higher reward.
[0071] Reinforcement learning can be abstracted as a Markov Decision Process (MDP). A Markov Decision Process is a typical mathematical model of sequential decision-making. A Markov Decision Process generally consists of five elements: (S, A, R, P, γ). Here, S represents a finite set of states s; A represents the set of actions a for the agent; R is the immediate reward r obtained by the agent after performing an action; and P is the state transition probability function, representing the probability of the agent performing action a. t Then, from the current state s t Transition to the next state s t+1 The probability of reward is given by γ; γ represents the discount factor for the reward. The basic premise of the Markov decision process in reinforcement learning is: within a finite time step T, the agent interacts with the environment, receiving the environment state s at each discrete time stamp t. t Then, select the corresponding action a based on the state. t After performing the action, the AI receives immediate feedback, namely a reward value r. t and the next state s t+1 The goal of a Markov decision process is to find an optimal strategy π. * This allows the reinforcement learning agent to obtain the maximum expected reward, namely:
[0072]
[0073] This embodiment uses an Actor-Critic-based near-end policy optimization algorithm. In this type of algorithm, Actor represents the policy network, such as... Figure 1 The policy network in Phase 2 is responsible for outputting actions, including linear velocity (linear_vel) and angular velocity (angular_vel); while the Critic network represents the value function network, used to evaluate the cumulative reward.
[0074] In the Actor-Critic algorithm framework, the difference between the action value function and the state value function output by the Critic network is generally called the advantage function A. This function is used to evaluate the merit of taking a certain action in the current state. Since the Actor-Critic algorithm uses a function approximator and bootstrapping, the evaluation of the advantage function needs to balance the influence of variance and bias. The Generalized Advantage Estimator (GAE) is used to balance bias and variance, and its expression is (5), where γ represents the reward discount factor; λ is used to balance the influence of bias and variance.
[0075]
[0076] δ t =r+γV(s) t+1 )-V(s t (6).
[0077] The Proximal Policy Optimization (PPO) algorithm used in this embodiment is a classic Actor-Critic algorithm. Like policy gradient methods, the Actor-Critic method is highly sensitive to the update step size; improper selection can easily lead to policy divergence. The PPO algorithm proposes a new objective function to address the policy update problem; its Actor network's update objective L... actor This can be represented by Formula 9, where ε controls the clipping amplitude.
[0078]
[0079]
[0080] Actor networks use the ratio r of probabilities t (θ π Pruning can effectively suppress the update amplitude, keeping the policy change before and after the update within a certain range. The purpose of the Critic network is to evaluate the state value function V(s), and then use it to calculate the error value of formula (8) to evaluate the advantage function A, whose update formula is:
[0081] L critic =(r+V(s) t+1;θ v )-V(s t ;θ v )) 2 (9).
[0082] Algorithms based on policy gradients and Actor-Critic typically enhance the exploration process by adding auxiliary entropy after the objective function of the policy network. The formula for calculating entropy is:
[0083] H(x)=-∫P(x)lnP(x)dx (10).
[0084] In tasks involving continuous action spaces, a Gaussian distribution is generally used as the output distribution for the continuous actions. The entropy corresponding to a univariate Gaussian distribution is:
[0085]
[0086] Where σ is the standard deviation of the Gaussian distribution.
[0087] In this embodiment, the policy network is responsible for outputting path planning actions, while the value function network is used to evaluate the actions output by the policy network. The reward is used to guide the policy network to learn better path planning. After perceptual training is complete, intermediate perceptual features are fed into the policy network as input, and a reward function is designed to guide it to output better path planning actions, enabling it to obtain high cumulative rewards in interactions with the environment. For example, if a penalty for collision is added to the reward, then as reinforcement learning progresses, the policy network will learn to avoid obstacles to prevent the cumulative reward from being "deducted" due to collisions, thus achieving obstacle avoidance.
[0088] In reinforcement learning, the reward function is a crucial component. Its primary function is to measure the feedback from the environment after a mobile robot takes an action in a given state. The reward function provides the agent with learning direction; as the agent explores the environment, it can understand which behaviors lead to good results (positive rewards) and which lead to bad results (negative rewards) by observing the feedback provided by the reward function. Furthermore, by setting the reward function, the goal of reinforcement learning can be determined. For example, if you want the agent to learn to play a game, you can set the reward function to reflect success and failure in the game, so the agent will learn behaviors that lead to success. Therefore, when designing reinforcement learning algorithms, it is essential to carefully consider how to set an appropriate reward function to guide the agent to achieve the desired learning objective. This embodiment designs the following reward function to guide the training of a path planning policy model. In the path planning task, the goal is for the mobile robot to reach the destination along a preset route, avoiding collisions with various static and dynamic obstacles along the way. A well-designed reward function can effectively guide the policy network to learn the correct path planning actions, enabling the mobile robot to obtain the maximum cumulative reward during interaction with the environment. This allows it to select actions that meet the maximum reward expectation during interaction, achieving functions such as navigation and obstacle avoidance.
[0089] Total reward R total Includes four items: R towards R sidewalk R collision R goal Among them, R towards The calculation is shown in formula (12). This term is used to reward or punish whether the mobile robot moves toward the preset waypoint (wpt). Formula (13) calculates the cosine similarity between the robot's orientation and the waypoint, multiplies it by its speed, and then uses the distance of the mobile robot to the target waypoint to adjust the reward magnitude. sidewwlk R collision These represent the road deviation penalty and collision penalty, respectively. A penalty of -10 is incurred when the mobile robot deviates from the road orientation or collides with it; otherwise, both are 0. The endpoint reward R... goa1 This means that the robot receives a reward when it reaches 3 meters from the finish line.
[0090] R total =R towards +R sidewalk +R collision +R goal (12)
[0091]
[0092]
[0093] Example 2:
[0094] Embodiment 2 of the present invention provides a robot multi-scene path planning system based on cross-media continuous learning, comprising:
[0095] The scenario building module is configured to build task environments for multiple scenarios according to task requirements;
[0096] The model building module is configured to acquire scene images and laser point cloud data, and build a cross-media perception model;
[0097] The continuous learning module is configured to perform multi-task training and continuous learning using a cross-media perception model to obtain intermediate features. During training, a self-attention mechanism is used to fuse features from image and laser point cloud data.
[0098] The path planning module is configured to train a path planning policy network using intermediate features to obtain a path planning policy, wherein the path planning policy network is optimized using reinforcement learning.
[0099] Example 3:
[0100] Embodiment 3 of the present invention provides a medium on which a program is stored. When the program is executed by a processor, it implements the steps in the robot multi-scene path planning method based on cross-media continuous learning as described in Embodiment 1 of the present invention.
[0101] Example 4:
[0102] Embodiment 4 of the present invention provides a device, including a memory, a processor, and a program stored in the memory and executable on the processor. When the processor executes the program, it implements the steps in the robot multi-scene path planning method based on cross-media continuous learning as described in Embodiment 1 of the present invention.
[0103] The steps and methods involved in Examples 2, 3 and 4 above correspond to those in Example 1. For specific implementation details, please refer to the relevant description section of Example 1.
[0104] Those skilled in the art will understand that the modules or steps of the present invention described above can be implemented using general-purpose computer devices. Optionally, they can be implemented using computer-executable program code, thereby allowing them to be stored in a storage device for execution by a computer device, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. The present invention is not limited to any particular combination of hardware and software.
[0105] While the specific embodiments of the present invention have been described above in conjunction with the accompanying drawings, this is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art without creative effort based on the technical solutions of the present invention are still within the scope of protection of the present invention.
Claims
1. A robot multi-scenario path planning method based on cross-media continuous learning, characterized in that, Includes the following steps: Build multi-scenario task environments according to task requirements; Acquire scene images and laser point cloud data, and construct a cross-media perception model; Multi-task training and continuous learning are performed using a cross-media perception model to obtain intermediate features. During the training process, a self-attention mechanism is used to fuse features from image and laser point cloud data. The cross-media perception model includes two feature extraction branches and a cross-media self-attention mechanism module. After passing through the cross-media self-attention module, it outputs intermediate features, which contain information from two data modalities, thereby completing cross-media information fusion. The path planning policy network is trained using intermediate features to obtain the path planning policy, and the path planning policy network is optimized using reinforcement learning. The specific steps for training a path planning strategy network using intermediate features are as follows: After training the cross-media perception model using continuous learning, the cross-media perception model will learn spatial representation capabilities in different scenarios. Then, the weights of the cross-media perception model are frozen, and the intermediate features extracted by the cross-media perception model are used to train the path planning strategy network. The mobile robot acquires environmental state observation information from the environment, and then inputs it into a cross-media perception model with frozen weights to obtain the current intermediate features. The current intermediate features are used as input to the trained path planning strategy network, and the path planning strategy network outputs actions to obtain the path planning strategy.
2. The robot multi-scenario path planning method based on cross-media continuous learning as described in claim 1, characterized in that, In order to improve the continuous learning capability of the cross-media perception model during the training and continuous learning of multi-task using the fusion features, a fixed proportion of data will be randomly extracted from the previous n-1 scenarios as memory replay during the training of the nth task scenario, so as to avoid catastrophic forgetting of the model.
3. The robot multi-scenario path planning method based on cross-media continuous learning as described in claim 1, characterized in that, The specific steps for fusing features from image and laser point cloud data using a self-attention mechanism are as follows: Feature maps are obtained by extracting features from image and laser point cloud data using image feature extraction branch and laser point cloud feature extraction branch, respectively. The feature maps are concatenated after average pooling and then through a fully connected layer. This allows the feature vectors from the image and radar to be combined through element-wise summation, thus achieving cross-media information fusion and obtaining intermediate features.
4. The robot multi-scenario path planning method based on cross-media continuous learning as described in claim 1, characterized in that, Multi-task training includes semantic map segmentation and object detection tasks.
5. A path planning system for a robot multi-scene path planning method based on cross-media continuous learning as described in any one of claims 1-4, characterized in that, include: The scenario building module is configured to build task environments for multiple scenarios according to task requirements; The model building module is configured to acquire scene images and laser point cloud data, and build a cross-media perception model; The continuous learning module is configured to perform multi-task training and continuous learning using a cross-media perception model to obtain intermediate features. During training, a self-attention mechanism is used to fuse features from image and laser point cloud data. The path planning module is configured to train a path planning policy network using intermediate features to obtain a path planning policy, wherein the path planning policy network is optimized using reinforcement learning.
6. A computer-readable storage medium, characterized in that, It stores multiple instructions, which are adapted to be loaded and executed by the processor of the terminal device as described in any one of claims 1-4, for the robot multi-scenario path planning method based on cross-media continuous learning.
7. A terminal device, characterized in that, It includes a processor and a computer-readable storage medium, the processor being used to implement various instructions; the computer-readable storage medium being used to store multiple instructions, the instructions being adapted to be loaded by the processor and executed by the processor according to any one of claims 1-4, the robot multi-scene path planning method based on cross-media continuous learning.
Citation Information
Patent Citations
Deep reinforcement learning intelligent vehicle behavior decision-making method based on path planning
CN114153213A
Three-dimensional scene perception method for multi-sensor data fusion requirement
CN116246142A
