An unmanned platform navigation method based on graph sampling and aggregation

CN117948976BActive Publication Date: 2024-09-06SUN YAT SEN UNIVERSITY SHENZHEN +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410015920.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-04
Publication Date
2024-09-06
Estimated Expiration
2044-01-04

AI Technical Summary

Technical Problem

Existing robot navigation technology is difficult to navigate autonomously in unfamiliar or highly dynamic environments. Sensor fusion is costly and difficult to generalize. Methods based on graph convolutional neural networks are inefficient and cannot adapt to dynamically changing scenarios.

Method used

The graph sampling and aggregation method based on the GraphSAGE algorithm is used to construct a knowledge graph, and GraphSAGE is used to generate navigation knowledge embeddings that represent spatial structural characteristics. The navigation action decision generation network is trained with the A3C reinforcement learning method to realize the unmanned platform in an unfamiliar environment. Autonomous navigation.

Benefits of technology

It realizes the autonomous navigation of unmanned platforms in different scenarios, improves the intelligence and autonomy of navigation decisions, reduces system hardware and computing costs, and enhances the adaptability to new scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117948976B
    Figure CN117948976B
Patent Text Reader

Abstract

The present invention provides an unmanned platform navigation method based on graph sampling and aggregation, including: constructing a knowledge graph suitable for navigation scenarios to describe the relationship between entities in the environment; using the GraphSAGE algorithm to sample and aggregate the knowledge graph to generate navigation knowledge embedding; constructing a navigation action decision generation network, and training the navigation action decision generation network based on entity recognition results, knowledge graphs and navigation knowledge embeddings to obtain main thread graph network parameters; placing the unmanned platform in an unfamiliar environment to implement sub-thread expansion of the knowledge graph, and updating the navigation action decision generation network based on the main thread graph network parameters to enable the navigation action decision generation network to implement navigation action decisions for sub-threads. Based on the obtained navigation action decisions, the method enables the unmanned platform to make navigation decisions and tracking actions completely autonomously for the relationship between objects in the environment, thereby realizing intelligent navigation of the unmanned platform.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent navigation technology, and in particular to an unmanned platform navigation method based on graph sampling and aggregation. Background Art

[0002] With the continuous improvement of the level of intelligence in modern life, various types of robots have been deeply integrated into our lives, and autonomous navigation is a major factor restricting the development of intelligent robots. Therefore, the research on autonomous intelligent navigation of robots has been enduring. From rescue robots, military drones, to sweeping robots and service robots, all of them require highly autonomous and intelligent navigation, obstacle avoidance, and path planning capabilities.

[0003] In fact, if the environmental information model is known, there are many technologies that can achieve navigation. However, the working conditions of the above robots are either unfamiliar or highly dynamic (lighting, structure, etc. are prone to change or there are highly dynamic objects including people and cars), which puts higher requirements on the robot's obstacle avoidance and navigation. Faced with the above application scenarios or working conditions, people either want to propose a class of intelligent navigation methods that can directly perform completely unfamiliar environment exploration tasks, or want to pre-train manually to obtain a set of navigation action strategies for different scenarios and then generalize them to unfamiliar scenarios. Obviously, the former is more difficult to achieve, so combining some deep learning methods to train the robot's decision-making method is an effective method.

[0004] At present, the commonly used technical means for robot navigation are: GNSS, SINS, STAN, SLAM, etc. The above methods use GNSS signals, IMU, terrain maps, visual images / lidar and other data to model the robot's motion state and environmental information, thereby realizing the robot's navigation tasks in different scenarios. The indoor positioning methods for unmanned platforms have also been developed to a certain extent, and the implementation systems are also diverse. For example, the navigation methods based on signal characteristics (TOA, TDOA, AOA, RSS, etc.) and the methods based on different signal / protocol types (BLE, Wi-Fi, RFID, ZigBee, UWB, pseudo-satellite, etc.) have been able to complete the task of indoor navigation to a certain extent.

[0005] However, the existing robot navigation technologies mentioned above have more or less some drawbacks. GNSS can obtain good navigation and positioning accuracy in open scenes such as outdoor, but it is difficult to provide reliable navigation capabilities in environments with severe multipath signals such as cities and satellite signal denial environments such as indoors. SINS has good short-term stability, but its long-term stability is poor due to the lack of global correction information. STAN requires database collection and matching, and it is difficult to cope with navigation tasks in unfamiliar scenes. SLAM algorithm has high complexity and high computing power requirements, and its robustness and navigation decision-making autonomy are not strong. It also requires the ability to distinguish between map building capabilities and the ability to make navigation decisions based on maps, which are essentially different.

[0006] In response to some inherent system problems of the above-mentioned methods, navigation is currently carried out by integrating the above-mentioned multiple sensors or methods through combined navigation. However, due to the use of more sensors and more complex fusion algorithms, the system hardware cost and storage computing cost are significantly increased, and it is still difficult to make corresponding navigation decisions autonomously and generally for different scenarios.

[0007] At the same time, the above-mentioned indoor navigation method based on the active system also has the disadvantages of requiring advance station deployment and advance collection of environmental signal characteristics, and cannot adapt to navigation tasks in unfamiliar environments. In addition, the above-mentioned method focuses on indoor positioning and has major deficiencies in navigation, obstacle avoidance and tracking.

[0008] Finally, the traditional methods based on graph convolutional neural networks operate on the entire graph for each iteration, which is highly redundant and inefficient. Navigation methods based on graph neural networks can extract environmental features and generate low-dimensional node embeddings, but lack redundancy means for graph node information. The scale of the navigation graph increases significantly as the navigation process proceeds, and existing methods perform separate training and learning on each node in the entire graph. This process is direct and difficult to generalize to some unfamiliar scenes (if you want to generalize to unfamiliar scenes, you need to retrain the entire graph with new data). In addition, current robot navigation methods based on reinforcement learning often make instant decisions based on current navigation observation data, making it difficult to use the spatial location information and neighborhood information of entities. In the face of complex navigation scenarios, there are problems of difficult convergence or extremely long convergence time. Summary of the invention

[0009] The present invention aims to provide an unmanned platform navigation method based on graph sampling and aggregation to solve the above-mentioned technical problems. Based on the acquired navigation action judgment, the unmanned platform can make navigation decisions and tracking actions completely autonomously according to the relationship between objects in the environment, thereby realizing intelligent navigation of the unmanned platform.

[0010] In order to solve the above technical problems, the present invention provides an unmanned platform navigation method based on graph sampling and aggregation, comprising the following steps:

[0011] Place the unmanned platform in a preset simulation environment to obtain the unmanned platform displacement information and entity recognition results;

[0012] Based on the entity recognition results and the displacement information of the unmanned platform, a knowledge graph suitable for navigation scenarios is constructed to describe the relationship between the entities in the environment.

[0013] The GraphSAGE algorithm is used to sample and aggregate the knowledge graph to generate navigation knowledge embeddings that represent spatial structural features.

[0014] Construct a navigation action decision generation network, and train the navigation action decision generation network based on entity recognition results, knowledge graph and navigation knowledge embedding to obtain the main thread graph network parameters;

[0015] The unmanned platform is placed in an unfamiliar environment to realize the sub-thread expansion of the knowledge graph, and the navigation action decision generation network is updated based on the main thread graph network parameters, so that the navigation action decision generation network can realize the navigation action judgment of the sub-thread, thereby realizing the navigation of the unmanned platform.

[0016] The above scheme is a navigation strategy forced learning training method that can be generalized for different scenarios. Based on the acquired navigation action judgment, the unmanned platform can make navigation judgments and tracking actions completely autonomously based on the relationship between objects in the environment, thereby realizing intelligent navigation of the unmanned platform.

[0017] Furthermore, the unmanned platform is placed in a preset simulation environment to obtain the displacement information of the unmanned platform and the entity recognition result, specifically:

[0018] Place the unmanned platform in a preset simulation environment to obtain environmental feedback IMU data and visual image data;

[0019] Integrate the unmanned platform posture information output by the environmental feedback IMU data to obtain the unmanned platform displacement information;

[0020] Perform entity recognition on visual image data based on the trained deep neural network to obtain entity recognition results.

[0021] Furthermore, the knowledge graph suitable for the navigation scenario is constructed based on the entity recognition results and the displacement information of the unmanned platform to describe the relationship between the entities in the environment, specifically:

[0022] Extract spatial entity information based on entity recognition results;

[0023] Combine the spatial entity information and the unmanned platform displacement information to obtain the spatial relationship between the unmanned platform and the spatial entity at each moment, forming multiple knowledge graph nodes;

[0024] A knowledge graph suitable for navigation scenarios is constructed based on multiple knowledge graph nodes to describe the relationships between entities in the environment.

[0025] Furthermore, the knowledge graph suitable for navigation scenarios is constructed based on multiple knowledge graph nodes to describe the relationship between entities in the environment, specifically including:

[0026] When expanding the knowledge graph, the current knowledge graph node is used as the expansion node of the knowledge graph;

[0027] Calculate the similarity scores between the expanded nodes and the nodes in the knowledge graph one by one;

[0028] If there is a similarity score exceeding the preset threshold, the expanded node will be added to the knowledge graph and connected to the nodes with similar distances; otherwise, the expanded node will be discarded.

[0029] Furthermore, the GraphSAGE algorithm is used to sample and aggregate the knowledge graph to generate navigation knowledge embedding that represents spatial structural features, specifically:

[0030] Based on the sampling function, the neighborhood nodes of each node in the knowledge graph are sampled to determine the aggregated neighborhood nodes of each node;

[0031] Each node in the k-th layer aggregates the representations of its k-1-th layer aggregated neighboring nodes based on the aggregation function, and generates a k-th layer aggregated neighborhood feature vector representing each node in the k-th layer corresponding to its k-1-th layer aggregated neighboring nodes; wherein k represents the current search depth, and the representation of the k-th layer node is generated based on the representation of the k-1-th layer node and the k-th layer aggregated neighborhood feature vector;

[0032] Let k = k + 1, repeat the above steps until the aggregation depth K is met, and obtain the representation of each layer of nodes.

[0033] Based on the representation of each layer of nodes, a navigation knowledge embedding with spatial structural features is generated.

[0034] In the above scheme, since the construction of the knowledge graph is a dynamic process, it is gradually generated as the unmanned platform explores the space. However, there is redundancy in the representation of entities and relationships, and the directly generated graph nodes are independent of each other, and do not have the ability of inductive learning and cannot adapt to dynamically changing scenarios. Therefore, the GraphSAGE algorithm is used to sample and aggregate the knowledge graph. Through the joint action of the sampling function and the aggregation function, the process of using GCN to represent and reason about the knowledge graph in the traditional method is equivalent, thereby generating navigation knowledge embedding that represents spatial structural features.

[0035] Furthermore, the generation of the representation of the k-th layer node based on the representation of the k-1 layer node and the k-th layer aggregated neighborhood feature vector is specifically:

[0036] Cascade the representation of the k-1 layer nodes and the k-th layer aggregated neighborhood feature vector to obtain the cascade result;

[0037] The preset weight matrix and nonlinear activation function are used to calculate the cascade results to generate the representation of the k-th layer nodes.

[0038] Furthermore, the aggregation function is a maximum pooling aggregation function, which is specifically expressed as:

[0039]

[0040] In the formula, is the maximum pooling aggregation representation of the k-th layer node, max is the element-by-element maximum operator, σ is the nonlinear activation function, W pool is the preset pooling weight matrix (based on multi-layer perceptron), b is the preset pooling bias, for u i The k-th level representation of the node, u i is the neighboring node of node v, is the neighborhood sampling function.

[0041] Compared with the traditional GCN-based robot navigation method, the above scheme adopts the GraphSAGE algorithm to aggregate and sample the node information in the knowledge graph, so that the graph network can generate navigation knowledge embedding containing its neighborhood information for each node. It has strong spatial information representation and feature extraction capabilities without degrading the graph information. It also enables the graph network to have the ability of inductive learning, that is, it has good adaptability and reasoning capabilities for new scenarios.

[0042] Furthermore, the navigation action decision generation network is constructed, and the navigation action decision generation network is trained based on the entity recognition results, the knowledge graph and the navigation knowledge embedding to obtain the main thread graph network parameters, specifically:

[0043] Construct a navigation action decision generation network based on a fully connected neural network;

[0044] The A3C reinforcement learning method is adopted, and the entity recognition results, knowledge graph and navigation knowledge embedding are used as the input of the navigation action decision generation network. The navigation action decision generation network is trained to obtain the main thread graph network parameters.

[0045] Furthermore, the A3C reinforcement learning method is adopted, and the entity recognition results, knowledge graph and navigation knowledge are embedded as the input of the navigation action decision generation network, the navigation action decision generation network is trained, and the main thread graph network parameters are obtained, including:

[0046] Adopting the A3C reinforcement learning method, multiple asynchronous sub-threads in parallel with the main thread graph are used to train the intelligent agent of the navigation action decision generation network to obtain the training parameters of multiple asynchronous sub-threads;

[0047] The training parameters of multiple asynchronous sub-threads are synchronized to the main thread graph periodically to update the main thread graph network parameters;

[0048] Among them, multiple asynchronous sub-threads are generated by the main thread and maintain a global knowledge graph. Each asynchronous sub-thread explores the environment and expands and supplements the main thread graph.

[0049] In the above scheme, based on the feature aggregation of the GraphSAGE algorithm, the A3C reinforcement learning method is introduced to train the navigation action decision generation network of the unmanned platform, so that the unmanned platform can make highly intelligent and highly autonomous navigation decisions based on the knowledge graph of the scene and the current navigation observation data, and has the ability to perform autonomous navigation tasks in highly dynamic and unfamiliar environments.

[0050] Furthermore, the unmanned platform is placed in an unfamiliar environment to realize the sub-thread expansion of the knowledge graph, and the navigation action decision generation network is updated based on the main thread graph network parameters, so that the navigation action decision generation network can realize the navigation action judgment of the sub-thread, thereby realizing the navigation of the unmanned platform, specifically:

[0051] Place the unmanned platform in an unfamiliar environment to implement sub-thread expansion of the knowledge graph and obtain necessary environmental parameters;

[0052] Construct algorithm reward indicators based on necessary environmental parameters;

[0053] The A3C reinforcement learning method is adopted to update the navigation action decision generation network based on the main thread graph network parameters and algorithm reward indicators, so that the navigation action decision generation network can make navigation action decisions for sub-threads, thereby realizing the navigation of the unmanned platform. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 A schematic flow chart of an unmanned platform navigation method based on graph sampling and aggregation provided by one embodiment of the present invention;

[0055] Figure 2 A schematic diagram of a ResNet network structure provided by an embodiment of the present invention;

[0056] Figure 3 A schematic diagram of a structure for training an agent using multiple asynchronous sub-threads running in parallel with a main thread, provided in accordance with an embodiment of the present invention. DETAILED DESCRIPTION

[0057] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0058] The present invention aims to solve the problem of insufficient intelligence level of traditional robot navigation methods. The navigation action decision strategy obtained through intensive training can enable the robot to make navigation decisions and tracking actions completely autonomously based on the relationship between objects in the environment.

[0059] Traditionally, graph convolutional networks (GCNs) are usually used to perform convolution operations on graphs for feature extraction and embedding generation. However, graph convolution operations are performed on the entire graph, which means that all nodes must be placed in memory / video memory before convolution operations can be performed. Especially in navigation tasks, the scale of the knowledge graph used for navigation is bound to increase as the task progresses. For actual large-scale graphs, it is unrealistic to perform convolution operations on the entire graph, and traditional methods cannot quickly generate corresponding embeddings for newly added parts of the graph or evolving graphs. In addition, the current unmanned platform navigation strategy requires a lot of time to be retrained during migration to different environments. This involves the method of graph update and graph convolution during training. The traditional GCN Figure 1 Generally, there is a certain redundancy (the information represented by adjacent nodes has a strong correlation), and the entity extraction recognition and feature extraction algorithms are imperfect. As a result, the scale of the graph is often large as the space is explored, which puts a lot of pressure on the training process. Therefore, GraphSAGE is introduced to learn by sampling some nodes, that is, by sampling and aggregating the information of neighboring nodes, the convolution of the entire graph is avoided at the same time. This operation is similar to the message passing process in the message passing neural network (MPNN).

[0060] Based on GraphSAGE, a method for learning graphs and generating low-dimensional embeddings of nodes is proposed. The embedding of a single node is used to effectively represent the node information in its neighborhood range in the original graph, giving the graph the ability of inductive learning, solving the problems of low efficiency of graph training and excessively large graph size as navigation proceeds.

[0061] In addition, deep learning-based methods rely on labeled data for training and can quickly find a stable navigation strategy, but data collection and labeling are extremely time-consuming and labor-intensive. Reinforcement learning-based methods learn by interacting with the environment, solving the drawbacks of deep learning-based methods, but they take a long time to converge. The reason for this phenomenon is that existing unmanned platform navigation methods are difficult to effectively use the data collected during navigation, and model learning requires a lot of trial and error exploration. Therefore, the semi-supervised reinforcement learning algorithm based on the Actor-Critic algorithm A3C can be introduced to achieve faster and better convergence of the reinforcement learning algorithm through the optimization of the asynchronous training framework, network structure, and Critic evaluation points.

[0062] Specifically, see Figure 1 , this embodiment provides an unmanned platform navigation method based on graph sampling and aggregation, comprising the following steps:

[0063] S1: Place the unmanned platform in a preset simulation environment to obtain the unmanned platform displacement information and entity recognition results;

[0064] S2: Construct a knowledge graph suitable for navigation scenarios based on entity recognition results and unmanned platform displacement information to describe the relationship between entities in the environment;

[0065] S3: GraphSAGE algorithm is used to sample and aggregate the knowledge graph to generate navigation knowledge embeddings that represent spatial structural features;

[0066] S4: Build a navigation action decision generation network, and train the navigation action decision generation network based on entity recognition results, knowledge graph and navigation knowledge embedding to obtain the main thread graph network parameters;

[0067] S5: Place the unmanned platform in an unfamiliar environment to realize the sub-thread expansion of the knowledge graph, and update the navigation action decision generation network based on the main thread graph network parameters, so that the navigation action decision generation network can realize the navigation action judgment of the sub-thread, thereby realizing the navigation of the unmanned platform.

[0068] A navigation method provided in this embodiment can perform a generalized navigation strategy replacement learning training method for different scenarios. Based on the acquired navigation action judgment, the unmanned platform can make navigation judgments and tracking actions completely autonomously based on the relationship between objects in the environment, thereby realizing intelligent navigation of the unmanned platform.

[0069] Furthermore, the unmanned platform is placed in a preset simulation environment to obtain the displacement information of the unmanned platform and the entity recognition result, specifically:

[0070] Place the unmanned platform in a preset simulation environment to obtain environmental feedback IMU data and visual image data;

[0071] Integrate the unmanned platform posture information output by the environmental feedback IMU data to obtain the unmanned platform displacement information;

[0072] Perform entity recognition on visual image data based on the trained deep neural network to obtain entity recognition results.

[0073] In this embodiment, Gazebo under the Linux system can be used to build a simulation environment required for training. The simulation environment can use existing data sets for training, or it can build an environment by itself as needed. By setting up sensing devices such as environmental feedback IMU and visual image sensors in the simulation environment, environmental feedback IMU data and visual image data can be obtained for use in the construction of the knowledge graph.

[0074] It should be noted that the environmental feedback IMU data and visual image data are selected as the input data for constructing the knowledge graph. While providing rich environmental and spatial information, it does not make the data processing process of the algorithm too complicated.

[0075] Furthermore, the knowledge graph suitable for the navigation scenario is constructed based on the entity recognition results and the displacement information of the unmanned platform to describe the relationship between the entities in the environment, specifically:

[0076] Extract spatial entity information based on entity recognition results;

[0077] Combine the spatial entity information and the unmanned platform displacement information to obtain the spatial relationship between the unmanned platform and the spatial entity at each moment, forming multiple knowledge graph nodes;

[0078] A knowledge graph suitable for navigation scenarios is constructed based on multiple knowledge graph nodes to describe the relationships between entities in the environment.

[0079] In this embodiment, the relative position relationship between each entity can be determined by combining the spatial entity information and the unmanned platform displacement information, and then the spatial relationship between the unmanned platform and the spatial entity at each moment can be obtained to form multiple knowledge graph nodes. A knowledge graph suitable for navigation scenarios is constructed based on the motion state of the unmanned platform itself. The knowledge graph can describe the relationship between each entity (including the unmanned platform) in the current environment of the unmanned platform.

[0080] Furthermore, the knowledge graph suitable for navigation scenarios is constructed based on multiple knowledge graph nodes to describe the relationship between entities in the environment, specifically including:

[0081] When expanding the knowledge graph, the current knowledge graph node is used as the expansion node of the knowledge graph;

[0082] Calculate the similarity scores between the expanded nodes and the nodes in the knowledge graph one by one;

[0083] If there is a similarity score exceeding the preset threshold, the expanded node will be added to the knowledge graph and connected to the nodes with similar distances; otherwise, the expanded node will be discarded.

[0084] Furthermore, the GraphSAGE algorithm is used to sample and aggregate the knowledge graph to generate navigation knowledge embedding that represents spatial structural features, specifically:

[0085] Based on the sampling function, the neighborhood nodes of each node in the knowledge graph are sampled to determine the aggregated neighborhood nodes of each node;

[0086] Each node in the k-th layer aggregates the representations of its k-1-th layer aggregated neighboring nodes based on the aggregation function, and generates a k-th layer aggregated neighborhood feature vector representing each node in the k-th layer corresponding to its k-1-th layer aggregated neighboring nodes; wherein k represents the current search depth, and the representation of the k-th layer node is generated based on the representation of the k-1-th layer node and the k-th layer aggregated neighborhood feature vector;

[0087] Let k = k + 1, repeat the above steps until the aggregation depth K is met, and obtain the representation of each layer node

[0088] in,

[0089] Based on the representation of each layer of nodes, a navigation knowledge embedding with spatial structural features is generated.

[0090] In this embodiment, since the construction of the knowledge graph is a dynamic process, it is gradually generated as the unmanned platform explores the space, but it has redundancy in the representation of entities and relationships, and the directly generated graph nodes are independent of each other, and do not have the ability of inductive learning and cannot adapt to dynamically changing scenarios. Therefore, the GraphSAGE algorithm is used to sample and aggregate the knowledge graph. Through the joint action of the sampling function and the aggregation function, the process of using GCN in the traditional method to represent and reason about the knowledge graph is equivalent, thereby generating navigation knowledge embedding that represents spatial structural features.

[0091] Furthermore, the generation of the representation of the k-th layer node based on the representation of the k-1 layer node and the k-th layer aggregated neighborhood feature vector is specifically:

[0092] Cascade the representation of the k-1 layer nodes and the k-th layer aggregated neighborhood feature vector to obtain the cascade result;

[0093] The preset weight matrix and nonlinear activation function are used to calculate the cascade results to generate the representation of the k-th layer nodes.

[0094] Furthermore, the aggregation function is a maximum pooling aggregation function, which is specifically expressed as:

[0095]

[0096] In the formula, is the maximum pooling aggregation representation of the k-th layer node, max is the element-by-element maximum operator, σ is the nonlinear activation function, W pool is the preset pooling weight matrix (based on multi-layer perceptron), b is the preset pooling bias, for u i The k-th level representation of the node, u i is the neighboring node of node v, is the neighborhood sampling function.

[0097] Compared with the traditional GCN-based robot navigation method, this embodiment adopts the GraphSAGE algorithm to aggregate and sample the node information in the knowledge graph, so that the graph network can generate navigation knowledge embedding containing its neighborhood information for each node, and has strong spatial information representation and feature extraction capabilities without degrading the graph information. It also enables the graph network to have the ability of inductive learning, that is, it has good adaptability and reasoning capabilities for new scenarios.

[0098] Furthermore, the navigation action decision generation network is constructed, and the navigation action decision generation network is trained based on the entity recognition results, the knowledge graph and the navigation knowledge embedding to obtain the main thread graph network parameters, specifically:

[0099] Construct a navigation action decision generation network based on a fully connected neural network;

[0100] The A3C reinforcement learning method is used to cascade the entity recognition results, knowledge graph and navigation knowledge embedding to generate a one-dimensional vector as the input of the navigation action decision generation network. The navigation action decision generation network is trained to obtain the main thread graph network parameters.

[0101] It should be noted that the navigation action decision generation network uses the feedforward process of the FC network to perform representation learning and feature extraction on the navigation knowledge (navigation data) again, and finally outputs the navigation action decision in the output layer.

[0102] Furthermore, the A3C reinforcement learning method is adopted, and the entity recognition results, knowledge graph and navigation knowledge are embedded as the input of the navigation action decision generation network, the navigation action decision generation network is trained, and the main thread graph network parameters are obtained, including:

[0103] Adopting the A3C reinforcement learning method, multiple asynchronous sub-threads in parallel with the main thread graph are used to train the intelligent agent of the navigation action decision generation network to obtain the training parameters of multiple asynchronous sub-threads;

[0104] The training parameters of multiple asynchronous sub-threads are synchronized to the main thread graph periodically to update the main thread graph network parameters;

[0105] Among them, multiple asynchronous sub-threads are generated by the main thread and maintain a global knowledge graph. Each asynchronous sub-thread explores the environment and expands and supplements the main thread graph.

[0106] It should be noted that the knowledge graph used as the input of the navigation action decision generation network is the set of nodes and their relationships of the currently generated navigation knowledge graph.

[0107] In this embodiment, based on the feature aggregation of the GraphSAGE algorithm, the A3C reinforcement learning method is introduced to train the navigation action decision generation network of the unmanned platform, so that the unmanned platform can make highly intelligent and highly autonomous navigation decisions based on the knowledge graph of the scene and the current navigation observation data, and has the ability to perform autonomous navigation tasks in highly dynamic and unfamiliar environments.

[0108] Furthermore, the unmanned platform is placed in an unfamiliar environment to realize the sub-thread expansion of the knowledge graph, and the navigation action decision generation network is updated based on the main thread graph network parameters, so that the navigation action decision generation network can realize the navigation action judgment of the sub-thread, thereby realizing the navigation of the unmanned platform, specifically:

[0109] Place the unmanned platform in an unfamiliar environment to implement sub-thread expansion of the knowledge graph and obtain necessary environmental parameters;

[0110] Construct algorithm reward indicators based on necessary environmental parameters;

[0111] The A3C reinforcement learning method is adopted to update the navigation action decision generation network based on the main thread graph network parameters and algorithm reward indicators, so that the navigation action decision generation network can make navigation action decisions for sub-threads, thereby realizing the navigation of the unmanned platform.

[0112] It should be noted that the necessary environmental parameters include exploration distance, number of wall collisions, and distance to the target. The A3C reinforcement learning method is used to update the navigation action decision generation network based on the main thread graph network parameters and algorithm reward indicators, so as to obtain navigation action strategies that can be applied to different scenarios based on the navigation knowledge graph.

[0113] In order to further illustrate the technical points of the present invention and highlight its technical advantages, this embodiment provides a specific application process of an unmanned platform navigation method based on graph sampling and aggregation. The specific parameters involved are only for illustrating the implementation process of the present invention and cannot be interpreted as a definition of the protection scope of the present invention.

[0114] First, preset the simulation environment:

[0115] The Gazebo simulation environment integrated with the Robot Operation System (ROS) in the Linux system is used to create a simulation environment for robot movement and training. Gazebo is used to establish a robot simulation test scene. By adding an object library, tables, chairs, furniture, trash cans, puppets and other objects are put in to simulate the real world. A 3D house can also be built by adding a 2D house design drawing. Gazebo has a powerful built-in sensor model library, including common sensors for robots such as visual cameras, depth cameras, lidar, and IMU. You can use them directly, or you can create sensor models according to your needs, add specific parameters and noise models to obtain a more realistic sensor model, which can fully meet the simulation and training needs. Here, IMU and visual camera images are selected as input data, which can provide rich environmental and spatial information without making the algorithm's data processing process too complicated.

[0116] Secondly, obtain observation data, extract (identify) target entities, determine entity relationships (geometry of environmental information), construct a navigation knowledge graph, and describe the relationships between entities in the current space:

[0117] The selected observation data include structured data (such as IMU data) and unstructured data (such as visual image data).

[0118] Based on the IMU data, integrate to obtain the unmanned platform displacement ΔP (if a wheel encoder is used, convert it into the corresponding distance);

[0119] For image data, it is necessary to identify environmental elements and determine their spatial positions. Combined with the aforementioned robot displacement data and the recognition results of environmental entities, a navigation knowledge graph is constructed based on the spatial relationship between entities, and the navigation graph is expanded based on visits to new scenes.

[0120] In this embodiment, the identification of environmental elements and the determination of spatial positions can be summarized as the problem of extracting features from images using a deep learning network. In order to overcome the problems of gradient diffusion and precision degradation in traditional deep CNNs, a residual network ResNet can be introduced to allow the original input information to be directly output to the subsequent layers, ensuring the depth of the network while ensuring training accuracy and speed. Specifically, the ResNet network structure can be found in Figure 2 shown.

[0121] Here, the visual image data is used as the network input, and the ResNet network is used for forward propagation to extract features and perform target recognition, extracting spatial entity information {obj i}, and its output recognition result is one of the environmental factors. Combined with the unmanned platform displacement ΔP obtained above, the spatial relationship {d i ,θ i}, and constitute the navigation knowledge graph node at the current moment, in the form of a tuple: h i ={obj i ,ΔP,d i ,θ i}, thereby describing the state and environmental information of the unmanned platform in the current environment. The current node serves as an alternative to the navigation knowledge graph expansion node.

[0122] When expanding the knowledge graph, it is necessary to build a suitable basic redundancy removal method, that is, to calculate the similarity between nodes (measured by scores), and define the similarity score as the Euclidean distance between the features of two nodes in the vector space:

[0123]

[0124] In the formula, Characterizes the feature similarity of two nodes, h cur is the feature vector of the current candidate node, h i is the feature vector of the i-th node in the graph. Traverse the existing nodes in the current knowledge graph and calculate the similarity scores between the current candidate nodes and the nodes in the graph one by one Determine whether it exceeds the threshold S maxIf it exceeds the threshold, a node is added and connected to the nodes with similar distance. If it does not exceed the threshold, it means that the current candidate nodes have similar redundancy and are discarded, thereby ensuring the density of the knowledge graph.

[0125] Third, GraphSAGE is used to sample and aggregate the navigation graph. The object is the neighborhood of the node (the number of hops needs to be set), and the navigation knowledge embedding of the current node is generated to reduce the dimension and remove redundancy, thereby improving the efficiency of graph representation:

[0126] Among them: SAGE input: graph G(V,E), features x of all nodes v , aggregation depth K, weight matrix W of each layer k , nonlinear activation function σ, differentiable aggregation function Neighborhood sampling function

[0127] Output of SAGE: vector representation z of each node v The pseudo code of the embedding generation algorithm for sampling aggregation is as follows:

[0128] Where k is the current search depth, h k is the node representation of the current layer. First, the sampling function is used to sample the neighborhood nodes of each node to determine the neighborhood nodes used for aggregation and training. Each node v (k layer) uses the aggregation function to aggregate the representations of its neighboring nodes (k-1 layer) to generate a single vector representing the aggregated neighborhood feature vector of the current node (the representation of the k-1 layer node depends on the representation generated from the k-2 layer in the previous iteration); after generating the aggregated neighborhood feature vector, SAGE cascades (concatenates, padding) the current representation of the node with the aggregated vector, inputs the fully connected layer and the nonlinear activation function, and converts the above representation into a node representation for the next layer iteration. Aggregate the representation at layer K (original nodes) Denoted as z v , which is the final aggregation output; it is worth noting that the graph after aggregation should be isomorphic to the original graph.

[0129] It should be noted that the idea of ​​the node sampling method is to sample a fixed-size neighborhood set. Here, uniform sampling is selected from direct neighbors (nodes with directly connected edges / relationships with the current node), and different random sampling is performed in different iterations, so as to make full use of the characteristic information of the neighborhood nodes. Here, the number of hop neighbors is generally K=2, which can obtain good performance. This embodiment is based on the SAGE mechanism. As the robot explores the space, it obtains navigation observation data about the new environment. The navigation map can be used to quickly summarize and learn to generate the navigation knowledge representation / embedding of the current scene.

[0130] After sampling and aggregation of the graph, an effective predictive representation is learned in an unsupervised environment, that is, the traditional deep learning method is used, a graph-based loss function is adopted, and the weight W is adjusted by stochastic gradient descent (SGD) k The graph-based loss function encourages similar representations to be extracted from neighboring nodes while forcing different nodes to have highly different representations, ensuring the independence of each node and preventing the degradation of graph information. The loss function expression is:

[0131]

[0132] Where v is the node that appears simultaneously near u in the fixed-length random sampling, σ is the sigmoid function, and P n is the negative sampling distribution, Q defines the number of negative samples, and the input to the loss function represents z u Instead of training a unique embedding for each node independently, it is generated from the features contained in the local neighborhood of the node.

[0133] It should be noted that the representation input to the loss function described in this embodiment is generated by features in the local neighborhood, rather than training the current node separately. Therefore, this unsupervised learning enables the trained graph to have the ability of inductive learning.

[0134] After the node features are extracted by the above-mentioned node embedding generation algorithm (approximately equivalent to the traditional GCN feature extraction), the embeddings of the nodes and their neighborhoods need to be aggregated to generate a low-dimensional embedding containing the neighborhood feature information for each node. The aggregation functions usually include: mean aggregation, LSTM aggregation, and pooling aggregation. Given that there is no natural ordering of the neighborhood nodes of the nodes in the graph, the aggregation function must be able to operate on an unordered vector set, that is, the aggregator function is required to be symmetric (invariant to the permutation of the input) and trainable, while maintaining good representation capabilities (not degrading the graph information). The symmetry of the aggregation function ensures that the neural network model is trainable and can be applied to any unordered node neighborhood feature set. Based on the above considerations, preferably, the aggregation function selects a pooling aggregation function, specifically a maximum pooling aggregation function:

[0135]

[0136] In principle, the network before the maximum pooling can be a multi-layer perceptron of arbitrary depth, but here we focus on a simple single-layer structure. The maximum pooling aggregation function conforms well to the symmetry and trainability characteristics. In this pooling method, the vector embedding of each neighborhood node is fed independently through a fully connected neural network, and after a per-element max-pooling operation, information aggregation across a set of nodes is achieved.

[0137] Fourth, based on the entity relationships recorded in the knowledge graph, reason about navigation action decisions:

[0138] Based on the deep learning method, a navigation action decision generation network (Actor network) is constructed using a fully connected neural network. The corresponding graph nodes are generated from the navigation observation data obtained at the current position. The new nodes are used to link and expand the existing graph. The corresponding node features (low-dimensional vector embedding) of the current scene are generated through the navigation graph. The node embedding is input into the fully connected neural network, and the layers are connected according to the linear model:

[0139] z=σ(y)=σ(w T x+b)

[0140] Set the output layer activation function to the softmax function:

[0141]

[0142] The probability distribution of the actions to be taken is output, and the current action decision can be obtained by sampling the action probability distribution output by the network, thus realizing the reasoning of the navigation action. It is worth noting that since the softmax function of the output layer outputs the probability distribution of the state space, sampling it instead of directly taking the action corresponding to the maximum probability maintains the exploration and randomness of the space of the unmanned platform, and does not cause the unmanned platform to fall into the local optimal navigation strategy.

[0143] In particular, the three-layer FCNN selected in this embodiment has a sufficiently strong fitting ability and can make appropriate decisions for navigation decision scenarios with a large action space such as unmanned platform operations.

[0144] Finally, we design rewards based on the composition of actions, environments, and graphs, use RL for training, learn the SAGE process, and find better and more efficient aggregation representation methods and action strategies:

[0145] In this embodiment, the reinforcement learning framework for the navigation action decision generation network is defined as the A3C framework, and the network parameters in the SAGE system are trained and learned by the loss function designed by the A3C framework. Here, the navigation action decision generation network is learned.

[0146] Based on the classic A2C method, A3C optimizes the asynchronous training framework, network structure and critic evaluation points. The core is to use multiple asynchronous sub-threads in parallel with the main thread to train the agent, and synchronize the main thread with the sub-thread parameters regularly, so that the reinforcement learning network has better convergence performance. The training process is as follows (because each sub-thread is completely independent, asynchronous and parallel, and the training method is completely consistent, this embodiment introduces the training method of one thread):

[0147] Step (1): The network input parameters are: define the A3C neural network structure of the public part (main thread), the corresponding parameters are θ, ω, and define the A3C neural network structure of this thread, the corresponding parameters are θ′, ω′, the globally shared number of iterations T, and the global maximum number of iterations T max ,The maximum length of a single iteration time series in a thread is T local , state feature dimension n, action set A, learning rates α, β, entropy coefficient c, decay factor γ; its structure can be seen in Figure 3 As shown;

[0148] Step (2): The network output is: the A3C neural network parameters θ, ω of the public part;

[0149] Step (3): Update the time series t=1 and reset the gradient update dθ←0, dω←0 of the Actor and Critic networks;

[0150] Step (4): Synchronize the parameters of the A3C neural network in the public part to the neural network of this thread: θ′=θ, ω′=ω;

[0151] Step (5): Let t start = t, initialization state s t ;

[0152] Step (6): Based on the strategy π(a t |s t ;θ) select action a t ;

[0153] Step (7): Execute action a t Get reward t and the new state s t+1 ;

[0154] Step (8): Update the time series and the number of iterations: t←t+1, T←T+1;

[0155] Step (9): If s t is the terminal state, or tt start =t local , then go to step (10), otherwise return to step (6);

[0156] Step (10): Calculate the last time series position s t The Q value Q(s,t) is:

[0157]

[0158] Step (11): For i∈(t-1,t-2,…,t start ):

[0159] ① Calculate Q(s,i)=r at each moment i +γQ(s,i+1)

[0160] ②Accumulate the local gradient update of the Actor:

[0161]

[0162] Where H(π θ' (s i ,θ')) represents the entropy value of the loss function:

[0163] H(π θ' (s i ,θ'))=∑ i π θ' (s i )logπ θ' (s i )

[0164] ③Accumulate the local gradient update of Critic:

[0165]

[0166] Step (12): Update the model parameters of the global neural network:

[0167] θ=θ+αdθ,ω=ω-βdω

[0168] Step (13): If T>T max , then the algorithm ends and outputs the common part of the A3C neural network parameters θ, ω, otherwise it goes to step (4).

[0169] The above training process is performed for each independent asynchronous sub-thread, and the network parameters of the main thread are updated to obtain well-converged navigation action decision network parameters, thereby completing the complete navigation task. Based on the training method combining the A3C algorithm with the navigation knowledge graph, in order to make the training process more efficient, each sub-thread does not generate an independent navigation knowledge graph, but the main thread generates and maintains a global navigation graph, which is shared by the sub-threads. Each sub-thread explores the environment and expands and supplements the main thread graph. Each sub-thread simultaneously and asynchronously explores space, which effectively improves the efficiency of learning and representing the environment.

[0170] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. An unmanned platform navigation method based on graph sampling and aggregation, It is characterized in that The following steps are involved: Place the unmanned platform in a preset simulation environment to obtain the unmanned platform displacement information and entity recognition results; Based on the entity recognition results and the displacement information of the unmanned platform, a knowledge graph suitable for navigation scenarios is constructed to describe the relationship between the entities in the environment. The GraphSAGE algorithm is used to sample and aggregate the knowledge graph to generate navigation knowledge embedding with spatial structural features. Specifically, the neighborhood nodes of each node in the knowledge graph are sampled based on the sampling function to determine the aggregated neighborhood nodes of each node. Each node in the k layer aggregates the representation of its k-1 layer aggregated neighborhood nodes based on the aggregation function to generate the k-th layer aggregated neighborhood feature vector representing each node in the k layer corresponding to its k-1 layer aggregated neighborhood nodes. Wherein, k represents the current search depth, and the representation of the k-th layer node is generated based on the representation of the k-1 layer node and the k-th layer aggregated neighborhood feature vector. Let k = k + 1, repeat the above steps until the aggregation depth K is met, and obtain the representation of each layer of nodes. Wherein, Generate navigation knowledge embedding with spatial structural features based on the representation of each layer of nodes; The generating of the representation of the k-th layer node based on the representation of the k-1 layer node and the k-th layer aggregated neighborhood feature vector is specifically: cascading the representation of the k-1 layer node and the k-th layer aggregated neighborhood feature vector to obtain the cascade result; calculating the cascade result using a preset weight matrix and a nonlinear activation function to generate the representation of the k-th layer node; The aggregation function is a maximum pooling aggregation function, which is specifically expressed as: In the formula, is the maximum pooling aggregation representation of the k-th layer node, max is the element-by-element maximum operator, σ is the nonlinear activation function, W pool is the preset pooling weight matrix, b is the preset pooling bias, for u i The k-th level representation of the node, u i is the neighborhood node of node v, and N is the neighborhood sampling function; Construct a navigation action decision generation network, and train the navigation action decision generation network based on entity recognition results, knowledge graph and navigation knowledge embedding to obtain the main thread graph network parameters; The unmanned platform is placed in an unfamiliar environment to realize the sub-thread expansion of the knowledge graph, and the navigation action decision generation network is updated based on the main thread graph network parameters, so that the navigation action decision generation network can realize the navigation action judgment of the sub-thread, thereby realizing the navigation of the unmanned platform.

2. According to claim 1, an unmanned platform navigation method based on graph sampling and aggregation, It is characterized in that Placing the unmanned platform in a preset simulation environment to obtain the unmanned platform displacement information and entity recognition results is specifically as follows: Place the unmanned platform in a preset simulation environment to obtain environmental feedback IMU data and visual image data; Obtain unmanned platform displacement information based on environmental feedback IMU data; Perform entity recognition on visual image data and obtain entity recognition results.

3. According to claim 1, an unmanned platform navigation method based on graph sampling and aggregation, It is characterized in that The knowledge graph suitable for the navigation scenario is constructed based on the entity recognition results and the displacement information of the unmanned platform to describe the relationship between the entities in the environment, specifically: Extract spatial entity information based on entity recognition results; Combine the spatial entity information and the unmanned platform displacement information to obtain the spatial relationship between the unmanned platform and the spatial entity at each moment, forming multiple knowledge graph nodes; A knowledge graph suitable for navigation scenarios is constructed based on multiple knowledge graph nodes to describe the relationships between entities in the environment.

4. According to claim 3, an unmanned platform navigation method based on graph sampling and aggregation, It is characterized in that The knowledge graph suitable for navigation scenarios is constructed based on multiple knowledge graph nodes to describe the relationship between entities in the environment, specifically including: When expanding the knowledge graph, the current knowledge graph node is used as the expansion node of the knowledge graph; Calculate the similarity scores between the expanded nodes and the nodes in the knowledge graph one by one; If there is a similarity score exceeding the preset threshold, the expanded node will be added to the knowledge graph and connected to the nodes with similar distances; otherwise, the expanded node will be discarded.

5. According to claim 1, an unmanned platform navigation method based on graph sampling and aggregation, It is characterized in that The navigation action decision generation network is constructed, and the navigation action decision generation network is trained based on the entity recognition results, the knowledge graph and the navigation knowledge embedding to obtain the main thread graph network parameters, specifically: Construct a navigation action decision generation network based on a fully connected neural network; The A3C reinforcement learning method is adopted, and the entity recognition results, knowledge graph and navigation knowledge embedding are used as the input of the navigation action decision generation network. The navigation action decision generation network is trained to obtain the main thread graph network parameters.

6. According to claim 5, an unmanned platform navigation method based on graph sampling and aggregation, It is characterized in that The A3C reinforcement learning method is adopted, and the entity recognition results, knowledge graph and navigation knowledge embedding are used as the input of the navigation action decision generation network, the navigation action decision generation network is trained, and the main thread graph network parameters are obtained, including: Adopting the A3C reinforcement learning method, multiple asynchronous sub-threads in parallel with the main thread graph are used to train the intelligent agent of the navigation action decision generation network to obtain the training parameters of multiple asynchronous sub-threads; The training parameters of multiple asynchronous sub-threads are synchronized to the main thread graph periodically to update the main thread graph network parameters; Among them, multiple asynchronous sub-threads are generated by the main thread and maintain a global knowledge graph. Each asynchronous sub-thread explores the environment and expands and supplements the main thread graph.

7. The unmanned platform navigation method based on graph sampling and aggregation according to claim 6, It is characterized in that The unmanned platform is placed in an unfamiliar environment to realize the sub-thread expansion of the knowledge graph, and the navigation action decision generation network is updated based on the main thread graph network parameters, so that the navigation action decision generation network can realize the navigation action judgment of the sub-thread, thereby realizing the navigation of the unmanned platform, specifically: Place the unmanned platform in an unfamiliar environment to implement sub-thread expansion of the knowledge graph and obtain necessary environmental parameters; Construct algorithm reward indicators based on necessary environmental parameters; The A3C reinforcement learning method is adopted to update the navigation action decision generation network based on the main thread graph network parameters and algorithm reward indicators, so that the navigation action decision generation network can make navigation action decisions for sub-threads, thereby realizing the navigation of the unmanned platform.