A visual language navigation system and method for intelligent agents in a continuous environment based on multiple visual features

By integrating overall, semantic and depth features in visual language navigation, rich visual features are generated and stored in topological maps, which solves the problem of ignoring object detail information and forgetting view correspondences in continuous environments, and improves the navigation performance of the agent. and perception.

CN117935263BActive Publication Date: 2024-08-27TIANJIN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410098164.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-23
Publication Date
2024-08-27
Estimated Expiration
2044-01-23

AI Technical Summary

Technical Problem

Existing visual language navigation methods have the problem of ignoring object detail information and forgetting view correspondence relationships in continuous environments, and methods based on topological maps lack fine-grained visual features and spatial expression capabilities.

Method used

Using a variety of visual feature fusion methods, combining overall features, semantic features and depth features, through the image feature extraction module, panoramic encoder and topology layer, rich visual features are generated and stored in the topology map, combined with the semantic map And the advantages of topological maps can enhance the perception ability of agents and avoid forgetting during navigation.

Benefits of technology

It improves the agent's perception of environmental landmarks and navigation performance, enhances the ability to extract and understand visual and language multi-modal semantic features, and effectively reduces forgetting during the navigation process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117935263B
    Figure CN117935263B
Patent Text Reader

Abstract

The present invention discloses a visual language pair intelligent body navigation system in a continuous environment based on multiple visual features. The intelligent body navigation system comprises an image feature extraction module, a site predictor, a panoramic encoder, a topology layer, a cross-modal planning module and a path execution module; the image feature extraction module comprises an overall encoder, a semantic encoder, a depth encoder and a fusion feature unit; the cross-modal planning module comprises a text encoder, a cross-modal encoder and a feedforward network; the cross-modal encoder is a multi-layer network structure layer; each layer comprises a bidirectional cross-modal attention sublayer, a self-attention sublayer and two feedforward sublayers; the path execution module comprises a path planning unit and an action execution unit; the image feature extraction module is used to extract overall features and semantic features from the intelligent body observation image. s and the deep feature f d Add to obtain the fused image feature v img ; The visual language navigation method proposed in the present invention enhances the intelligent agent's perception of the environment and avoids catastrophic forgetting of history during the navigation process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of visual language navigation cross-modal technology, and in particular to a visual language navigation method in a continuous environment based on multiple visual features. Background Art

[0002] The Vision-and-Language Navigation (VLN) task requires that given a natural language instruction, the agent reaches the target location according to the instruction and the surrounding environment. The agent needs to have the ability to combine visual observations with the instruction text to make decisions at each step. Early work focused on discrete VLN settings [1], where the agent only needs to select pre-defined locations to teleport in an environment with a given navigation map. However, discrete VLN has many unrealistic assumptions, so continuous VLN [2], which is closer to the real-world setting, was proposed. Continuous VLN tasks do not have a scene navigation map and require the agent to navigate freely in the environment using low-level actions.

[0003] VLN in a continuous environment is more difficult than discrete VLN. Due to the domain gap between the two tasks, the performance of an agent that performs well in discrete VLN will be greatly reduced in continuous VLN. Therefore, a lot of work in continuous VLN is dedicated to narrowing the navigation performance gap between the two tasks. Most of the methods proposed for continuous VLN currently use the location predictor mentioned in previous work [3], which decomposes the task into sub-modules such as location generation, cross-modal planning, and navigation control. Compared with the end-to-end method that directly predicts low-level actions from instructions and the environment, it is simpler and clearer.

[0004] In order to enhance the agent’s understanding of the semantic information in the instructions and to match the landmarks appearing in the environment with the key objects in the instructions, some works construct egocentric semantic maps during navigation [4, 5, 6] and perform cross-modal alignment to align the semantic maps and instructions. This approach enhances the agent’s semantic perception and spatial reasoning capabilities.

[0005] In order to strengthen the historical memory of long-distance navigation and store navigation plots, one work proposed a special model to specifically encode history [7], and another work used topological maps to memorize long-distance information [8, 9]. Topological maps can abstract the environment and realize structured memory, and can obtain the next action by recording the path and implementing reasonable planning.

[0006] However, the existing methods have the following two problems:

[0007] (1) Semantic graph-based methods ignore the detailed information of objects, which can easily lead to confusion when multiple similar objects appear. They also ignore the correspondence between views in continuous environments, making it easy to forget previously visited locations and actions taken during long-term navigation.

[0008] (2) The visual features used by topology-based methods generally only contain implicit semantic information, without fine-grained information such as texture, and lack the ability to express the space between objects. Summary of the invention

[0009] In view of the technical problems existing in the prior art, the present invention proposes a visual language navigation method in a continuous environment based on multiple visual features. The present invention combines the advantages of semantic maps and topological maps by integrating semantic information including high-level features and low-level features into visual features and storing the visual features in the nodes of a topological map. This enables the intelligent agent to have a keener perception of landmarks in the environment while avoiding catastrophic forgetting during navigation.

[0010] In order to achieve the above purpose, the present invention adopts the following technical solution:

[0011] A visual language pair intelligent body navigation system in a continuous environment based on multiple visual features, the intelligent body navigation system comprises an image feature extraction module, a site predictor, a panoramic encoder, a topology layer, a cross-modal planning module and a path execution module; the image feature extraction module comprises an overall encoder, a semantic encoder and a depth encoder and a fusion feature unit; the cross-modal planning module comprises a text encoder, a cross-modal encoder and a feedforward network; the cross-modal encoder is a multi-layer network structure layer; each layer comprises a bidirectional cross-modal attention sublayer, a self-attention sublayer and two feedforward sublayers; the path execution module comprises a path planning unit and an action execution unit; wherein:

[0012] The image feature extraction module is used to extract the overall features of the image observed by the intelligent agent. r and semantic features f s and the deep feature f d Add to obtain the fused image feature v img ;

[0013] The panoramic encoder calculates the image features fused by the image feature extraction module and the agent direction information to obtain the visual features of the current node of the agent.

[0014] The location predictor obtains the deep feature f based on the current location of the agent. d Calculate and obtain the reachable candidate sites of the current node of the agent;

[0015] The topology layer calculates the reachable candidate sites and the visual features of the agent's current node Mapping to obtain the agent navigation topology graph G t ;

[0016] The cross-modal encoder extracts command features from the agent navigation topology map nodes and the text encoder Calculate and obtain graph cross-modal attention encoding;

[0017] The feedforward network calculates the navigable node with the largest stop score according to the graph cross-modal attention encoding as the agent's long-term location target

[0018] The path planning unit navigates the topological graph G according to the agent t The distance information recorded in the calculation of the current node and the long-term location target of the intelligent agent The shortest path between the current node and The shortest path planning P t ,Right now:

[0019]

[0020] Where: p n and N represent the position and number of nodes in the path, respectively;

[0021] The action execution unit uses a low-level action control agent to execute the plan P t , step by step to reach the long-term target site And update the visual observation image of the corresponding position.

[0022] Furthermore, the image feature extraction module is used to extract the overall feature f from the image observed by the agent. r and semantic features f s and the deep feature f d Add to obtain the fused image feature v img Process; including:

[0023] The overall encoder extracts the overall features of the RGB image based on the ViT-B / 32 model pre-trained on CLIP r ;

[0024] The semantic encoder extracts the semantic features of the RGB image based on the pre-trained semantic segmentation ResNet-18 model. s ;

[0025] The deep encoder extracts the deep features f of the depth image based on the ResNet-50 model pre-trained on the point-goal navigation task. d ;in:

[0026] The overall features and semantic features are flattened by average pooling and maximum pooling, respectively, and then the overall features v are obtained after the Dropout layer, a linear layer and layer normalization. r and semantic features v s ;

[0027] The depth feature is flattened by average pooling, and then layer normalization is performed to obtain the processed depth feature v d ;

[0028] The overall feature v r , semantic features v s and the deep feature v d Add to get the fused image feature v img , the calculation formula is as follows:

[0029]

[0030] v img =[v r ;v d ;v s ]

[0031] Where: the superscript r, d, and s represent RGB, depth, and semantics respectively, AvgPool represents the average pooling layer, MaxPool represents the maximum pooling layer, LN represents the normalization layer, and Dropout represents the random dropout layer.

[0032] Furthermore, the topological layer calculates the reachable candidate sites and the visual features of the current node of the agent. Mapping to obtain the agent navigation topology graph G t Process; including:

[0033] The topological map records the visual features and location information of the node where the agent is currently located and the navigable nodes that have been observed but not visited at each time step. The candidate K sites are converted into nodes in the topological map through the site positioning function, and then the topological map G of the previous step is converted into nodes in the topological map. t-1 Update to get the new topology graph G t ;in:

[0034] The weight of the edge of the topological map is the Euclidean distance between two nodes; the topological map contains three types of nodes: visited nodes, current nodes, and navigable nodes that have been observed but not visited; the visual features of the nodes of the topological map are the overall features of the visually observed image f r , semantic features f s , deep features f d and directional characteristics f oAfter the fusion of the panoramic encoder based on the Transformer architecture; the panoramic code obtained by the panoramic encoder contains visual information from 12 different angles, and the average value of the visual information from all angles is taken As the visual feature of the current node; for a navigable node that has been observed but not visited, the corresponding visual information of the angle at which the navigable node can be observed is selected as the visual feature.

[0035] The topology layer converts the candidate K sites into nodes in the topology map through the site positioning function:

[0036] Calculate the distance between the candidate site and all nodes in the topological map. If the minimum distance is less than the threshold Y, the node is located. The located node is a visited node. Delete the input candidate site and add an edge between the current node and the located node. The located node is a navigable node. Update the information of the located node to the average value of the information of all candidate nodes located at this node. No node is located in the topological map. This candidate site is added to the topological map as a new navigable node. To represent the STOP action, add a 'stop' node to the topological map and connect it to all nodes. Furthermore, the cross-modal encoder extracts the node features of the agent navigation topological map and the instruction features from the text encoder. The cross-modal attention encoding process of the graph is calculated; including:

[0037] The text encoder uses BERT to extract the feature vector of each word in the instruction, that is, to embed the word Plus the position embedding of the corresponding word in the instruction and the corresponding text type embedding Get text encoding embed T , text encoding embed T After linear processing, it is sent to the text encoder to obtain the final text features The calculation formula is as follows:

[0038]

[0039] is the fused visual features of each node in the topology graph Add time step encoding and position encoding Encode the time step of the corresponding node's last visit and its position relative to the current node respectively to obtain the encoded node representation The calculation formula is as follows:

[0040]

[0041] The self-attention sublayer perceives the topological structure of the graph according to the following formula:

[0042]

[0043] Among them, X represents all node features in the graph, E represents the distance matrix constructed based on all shortest path pairs obtained from the edges of the topological graph, and W q , W k , W e , W v is a learnable matrix.

[0044] The present invention can also be implemented by the following technical solutions:

[0045] A method for navigating an intelligent agent using visual language in a continuous environment based on multiple visual features, characterized in that the intelligent agent navigation method adopts the above system and comprises the following steps:

[0046] The agent observes the image and extracts the overall features f r and semantic features f s and the deep feature f d Add to obtain the fused image feature v img ;in:

[0047] Through average pooling and maximum pooling, the overall feature f r and semantic features f s They are flattened separately, and then go through a Dropout layer, a linear layer, and layer normalization to obtain the processed overall feature v r and semantic features v s ;

[0048] Through average pooling, the depth feature f s Flatten and normalize to get the processed depth feature v d ;

[0049] The overall feature v r , semantic features v s and the deep feature v d The fused image feature v is obtained by adding img , the calculation formula is as follows:

[0050]

[0051] v img =[v r ;v d ;v s ]

[0052] Where: the superscript r, d, s represent RGB, depth, and semantics respectively, AvgPool represents the average pooling layer, MaxPool represents the maximum pooling layer, LN represents the normalization layer, and Dropout represents the random dropout layer;

[0053] The fused image features v img and the agent direction information f o The visual features of the current node of the agent are calculated according to the following formula:

[0054] pano img =Pano(v img , f o )

[0055]

[0056] Among them, Pano represents a panoramic encoder based on the Transformer architecture. i Indicates visual features at different angles;

[0057] The depth feature f obtained based on the current position of the agent d Calculate and obtain the reachable candidate sites of the current node of the agent;

[0058] Compute the reachable candidate sites and compare them with the visual features of the agent’s current node Mapping to obtain the agent navigation topology graph G t ;

[0059] The node features of the agent navigation topology graph and the instruction features extracted by the text encoder Calculate and obtain graph cross-modal attention encoding;

[0060] According to the cross-modal attention encoding of the graph, the navigable node with the largest stop score is calculated as the long-term location target of the intelligent agent

[0061] According to the agent navigation topology G t The distance information recorded in the calculation is used to calculate the current node and the long-term location target of the intelligent agent. Get the shortest path between the current node and The shortest path planning P t ,Right now:

[0062]

[0063] Where: p n and N represent the position and number of nodes in the path, respectively;

[0064] Using low-level actions to control the agent to execute the plan t, step by step to reach the long-term target site And update the visual observation image of the corresponding position;

[0065] Repeat the above steps until the agent performs a STOP action or reaches the maximum number of moves.

[0066] Furthermore, the topological layer calculates the reachable candidate sites and the visual features of the current node of the agent. Mapping to obtain the agent navigation topology graph G t Process; including:

[0067] The topological map records the visual features and location information of the node where the agent is currently located and the navigable nodes that have been observed but not visited at each time step. The candidate K sites are converted into nodes in the topological map through the site positioning function, and then the topological map G of the previous step is converted into nodes in the topological map. t-1 Update to get the new topology graph G t ;in:

[0068] The weight of the edge of the topological map is the Euclidean distance between two nodes; the topological map contains three types of nodes: visited nodes, current nodes, and navigable nodes that have been observed but not visited; the visual features of the nodes of the topological map are the overall features of the visually observed image f r , semantic features f s , deep features f d and directional characteristics f o After the integration of the panoramic encoder based on the Transformer architecture;

[0069] The panoramic code obtained by the panoramic encoder contains visual information from 12 different angles, and the average value of the visual information from all angles is taken. As the visual feature of the current node; for navigable nodes that have been observed but not visited, the corresponding visual information of the angle at which the navigable node can be observed is selected as the visual feature, where:

[0070] The topology layer converts the candidate K sites into nodes in the topology map through the site positioning function:

[0071] Calculate the distance between the candidate site and all nodes in the topology map. If the minimum distance is less than the threshold Y, the node is located. The located node is a visited node. Delete the input candidate site and add an edge between the current node and the located node. The located node is a navigable node. Update the information of the located node to the average of the information of all candidate nodes located at this node. No node is located in the topology map. This candidate site is added to the topology map as a new navigable node. To represent the STOP action, add a 'stop' node to the topology map and connect it to all nodes. Furthermore, the cross-modal encoder extracts instruction features from the agent navigation topology map nodes and the text encoder. The cross-modal attention encoding process of the graph is calculated; including:

[0072] The text encoder uses BERT to extract the feature vector of each word in the instruction, that is, to embed the word Plus the position embedding of the corresponding word in the instruction and the corresponding text type embedding Get text encoding embed T , text encoding embed T After linear processing, it is sent to the text encoder to obtain the final text features The calculation formula is as follows:

[0073]

[0074] is the fused visual features of each node in the topology graph Add time step encoding and position encoding Encode the time step of the corresponding node's last visit and its position relative to the current node respectively to obtain the encoded node representation The calculation formula is as follows:

[0075]

[0076] The self-attention sublayer perceives the topological structure of the graph according to the following formula:

[0077]

[0078] Among them, X represents all node features in the graph, E represents the distance matrix constructed based on all shortest path pairs obtained from the edges of the topological graph, and W q , W k , W e , W v is a learnable matrix.

[0079] Beneficial Effects

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

[0081] The present invention uses three different visual encoders to encode visually observed images, extracts visual features with different focuses and fuses them, thereby obtaining a fused visual feature containing rich information, effectively improving the intelligent agent's ability to extract and understand visual and language multimodal semantic features, and further enhancing the intelligent agent's ability to perceive the environment.

[0082] The present invention integrates rich visual features into the nodes of the topological map, so that the semantic information containing low-level and high-level features is associated with efficient topological mapping. While effectively recording the navigation history, it enhances the ability of the topological map to extract object information, helps cross-modal alignment between vision and language, and further improves the navigation performance of the intelligent agent. BRIEF DESCRIPTION OF THE DRAWINGS

[0083] Figure 1 It is a system framework diagram of the present invention;

[0084] Figure 2 is a schematic diagram of visual feature processing of the present invention;

[0085] Figure 3 It is a schematic diagram of the module structure of the cross-modal planning of the present invention. DETAILED DESCRIPTION

[0086] The following is combined with Figure 1-3 The present invention is described in detail through specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0087] The embodiment of the present invention provides a visual language navigation system for an intelligent agent in a continuous environment based on multiple visual features. The overall system framework is as follows: Figure 1 As shown, the intelligent navigation system includes an image feature extraction module, a site predictor, a panoramic encoder, a topology layer, a cross-modal planning module and a path execution module; the image feature extraction module includes an overall encoder, a semantic encoder, a depth encoder and a fusion feature unit; the cross-modal planning module includes a text encoder, a cross-modal encoder and a feedforward network; the cross-modal encoder is a multi-layer network structure layer; each layer includes a bidirectional cross-modal attention sublayer, a self-attention sublayer and two feedforward sublayers; the path execution module includes a path planning unit and an action execution unit; wherein:

[0088] The image feature extraction module is used to extract the overall features of the image observed by the intelligent agent. r and semantic features f s and the deep feature f d Add to obtain the fused image feature vimg The image feature extraction module obtains natural language instructions, as well as RGB visual observation images and depth visual observation images of the surrounding environment observed by the agent at its current position in the corresponding scene.

[0089] The natural language instruction is an English instruction that describes the navigation trajectory in detail. According to the panoramic setting, the panoramic RGB-D observation image obtained by the agent consists of 12 RGB images and 12 depth images. The shooting angle of each image increases by 30°, the field of view of each image is 90°, and the resolution is 256×256.

[0090] Two different RGB visual encoders are used to extract the overall features of the RGB visual observation image respectively. r and semantic features f s , use the deep visual encoder to extract the deep features f of the deep visual observation image d .

[0091] Extract the overall features of RGB images based on the ViT-B / 32 model pre-trained on CLIP r , extracting semantic features of RGB images based on the pre-trained semantic segmentation ResNet-18 model s , extracting the deep features f of the depth image based on the ResNet-50 model pre-trained on the point-goal navigation task d For the semantic feature f s The extraction does not use the result of the semantic segmentation model classification layer, but uses the result feature of the previous layer of the pre-trained semantic model classification layer. Due to the skip connection mechanism in the semantic segmentation model, this feature contains both low-level and high-level information. The semantic features obtained in this way not only contain high-level features, that is, the coarse-grained part representing the object features, but also contain low-level features, that is, the fine-grained part representing the color and texture. The panoramic encoder calculates the image features fused by the image feature extraction module and the agent direction information to obtain the visual features of the current node of the agent

[0092] like Figure 2 As shown, the overall characteristics of the visually observed image f r , semantic features f s , deep features f d The fusion is performed in a simple and effective way. Specifically, for the overall features and semantic features, average pooling and maximum pooling are performed respectively to obtain key information, and then the two features are flattened, and then passed through a Dropout layer and a linear layer, and finally layer normalization is performed to obtain the processed overall feature v r and semantic features v sFor the depth feature, average pooling is performed, flattened, and then normalized to obtain the processed depth feature v d , and then add these three features to get the fused image feature v img , the calculation formula is as follows:

[0093]

[0094]

[0095] v img =[v r ;v d ;v s ]

[0096] Wherein, the superscripts r, d, and s represent RGB, depth, and semantics, respectively; AvgPool represents the average pooling layer; MaxPool represents the maximum pooling layer; LN represents the normalization layer; and Dropout represents the random dropout layer.

[0097] Fusion image features v img With direction information o are sent together to the panoramic encoder to generate the panoramic code pano img . Due to the panoramic setting, Contains visual features from 12 different angles, taking the average of the visual features from all angles As the visual feature of the current node, the formula is as follows:

[0098] pano img =Pano(v img , f o )

[0099]

[0100] In the formula, Pano represents the panoramic encoder based on Transformer architecture, pano i Represents visual features at different angles.

[0101] For those navigable nodes that have been observed but not visited, the corresponding visual encodings of the angles at which these nodes can be observed are selected as their visual features.

[0102] Through this visual representation of the fusion of multiple visual features, the method proposed in the present invention improves the ability of the intelligent agent to reason about the fine-grained semantic correspondence between specific visual areas contained in the image and phrases contained in the text.

[0103] The location predictor obtains the deep feature f based on the current location of the agent. dCalculate and obtain the reachable candidate sites of the current node of the agent; the site predictor generates the reachable candidate sites of the current node, and converts the deep feature f obtained at the current position of the agent into d The location predictor is passed in, and finally K candidate locations that the agent can reach in the next navigation step are obtained. K=5 is selected based on the experience of existing research.

[0104] The topology layer calculates the reachable candidate sites and the visual features of the agent's current node Mapping to obtain the agent navigation topology graph G t ; Construct topology graph G t Map all the sites that the agent has passed through and observed. The nodes in the graph contain the visual features and location information of the agent at the corresponding sites, and the edges in the graph represent the connectivity between the sites corresponding to the nodes. The topological graph records the visual features and location information of the node where the agent is currently located and the navigable nodes that have been observed but not visited at each time step, and then the topological graph G of the previous step is t-1 Update to get the new topology graph G t . The weight of the edge of the topological graph is the Euclidean distance between two nodes. The topological graph contains three types of nodes: visited nodes, current nodes, and navigable nodes that have been observed but not visited. The candidate site is converted into a node in the topological graph through the site positioning function [9]. Specifically, the distance between the candidate site and all nodes in the graph is calculated. If the minimum distance is less than the threshold Y, then the node is located. If the located node is a visited node, delete the input candidate site and add an edge between the current node and the located node. If the located node is a navigable node, update the information of the located node to the average of the information of all candidate nodes located at this node. If no node in the graph is located, then add this candidate site to the graph as a new navigable node. To represent the STOP action, a 'stop' node is added to the graph and connected to all nodes.

[0105] The cross-modal encoder extracts the node features of the agent navigation topology graph and the instruction features extracted by the text encoder. Calculate and obtain graph cross-modal attention encoding;

[0106] The text is embedded in the position of the corresponding word in the instruction and the type of the corresponding text to obtain the text encoding, and the instruction features are extracted using the text encoder

[0107] Based on the experience of existing research, BERT is used as a text encoder to extract the feature vector of each word in the instruction, so as to obtain better navigation effect. Plus the position embedding of the corresponding word in the instruction and the corresponding text type embedding Get text encoding embed T , text encoding embed T After linear processing, it is sent to the text encoder to obtain the final text features The calculation formula is as follows:

[0108]

[0109]

[0110]

[0111] The feedforward network calculates the navigable node with the largest stop score according to the graph cross-modal attention encoding as the agent's long-term location target in:

[0112] The topology graph G t Perform node embedding and instruction features They are fed together into a cross-modal encoder and then passed through a feed-forward network to predict a long-term position target. And obtain the shortest path planning P from the current location to the long-term location target t .

[0113] is the fused visual feature of each node in the graph Add time step encoding and position encoding Encode the time step of the corresponding node's last visit and its position relative to the current node respectively to obtain the encoded node representation The calculation formula is as follows:

[0114]

[0115] like Figure 3 As shown, the encoded node representation And the encoded text features The data is sent to a cross-modal encoder based on the LXMERT

[10] architecture. The cross-modal encoder has n layers, each of which contains a bidirectional cross-modal attention sublayer, a self-attention sublayer, and two feed-forward sublayers. For each self-attention sublayer, the graph-aware self-attention mechanism (GASA) mentioned in previous works [9] and

[11] is used. The topological structure of the graph is further considered when calculating the attention. The calculation formula is as follows:

[0116]

[0117] In the formula, X represents all node features in the graph, E represents the distance matrix constructed based on all shortest path pairs obtained from the edges of the topological graph, and W q , W k , W e , W v is a learnable matrix. Finally, a graph cross-modal attention encoding is obtained, which represents the correspondence between the visual information and text of each node in the topological graph.

[0118] The graph cross-modal attention encoding passes through a feed-forward network to obtain the predicted stop score of each node in the topology graph. To avoid repeated visits to nodes, the stop scores of nodes that have been visited are masked. The agent selects a navigable node with the largest stop score in the global topology graph as the long-term location target. In order to achieve this long-term goal, the agent executes the Dikjstra algorithm to calculate the distance between the current node and the The shortest path between the current node and Shortest path planning where p n and N represent the location and number of pathway nodes in the path, respectively. If it is a 'stop' node, the agent executes the STOP action and the navigation of the current episode is terminated.

[0119] The path planning unit navigates the topological graph G according to the agent t The distance information recorded in the calculation of the current node and the long-term location target of the intelligent agent Get the shortest path between the current node and The shortest path planning P t The action execution unit uses a low-level action control agent to execute the plan P t , step by step to reach the long-term target site And update the visual observation image at the corresponding position. In order to reach the sub-target node p n , the agent first obtains the current state, including position and orientation information, and then calculates the current node relative to p n The agent rotates to the corresponding angle and then moves forward in this direction. Since the agent can only perform low-level actions, multiple low-level actions are required to reach the correct direction and distance, whether rotating or moving forward. The low-level actions are forward (FORWARD 0.25m), turn left / right (TURN LEFT / RIGHT 15°) and stop (STOP).

[0120] Each time a node is reached, the node is deleted from the path planning, and the next node in the path is used as the new sub-goal. The shortest path planning P t A series of nodes in the loop, repeat the above control steps until the shortest path planning P t There are no more nodes in the agent. The agent reaches the long-term goal node All operations in the current time step are completed, and the agent will obtain new observations at the new position.

[0121] The system repeats the above until the agent executes the STOP action or reaches the maximum number of moving steps.

[0122] Specifically, this embodiment uses the training set in the VLN-CE dataset [2] to train the model on the Habitat simulator

[12] , and uses the visible validation set and invisible validation set in the VLN-CE dataset to test the navigation performance of the model. During the experiment, this embodiment mainly focuses on the following five performance evaluation indicators:

[0123] (1) Success rate (SR): If the distance between the agent and the target position after stopping is less than 3 meters, the navigation is successful. The success rate is the percentage of successful navigation tasks in the total tasks.

[0124] (2) Navigation error (NE): the shortest distance between the agent’s stopping position and the target position;

[0125] (3) Trajectory length (TL): the average total length of the agent’s navigation trajectory;

[0126] (4) Global success rate (OS): the proportion of navigation tasks in which the agent's position is less than 3 meters from the target position during the navigation process;

[0127] (5) Path-weighted success rate (SPL): Combining SR and TL, the success rate is path-weighted and defined as follows:

[0128]

[0129] Where N is the number of navigations, S i Indicates whether the navigation is successful, success is 1, failure is 0, P i Represents the path length, L i Represents the shortest path length provided by the environment when the number of navigations is i.

[0130] This example is implemented on the Pytorch

[13] framework and the Habitat simulator

[12] . The pre-trained model of previous work [9] is used, and the model is further trained using the method proposed in this invention with planned sampling. The model is trained for 20,000 iterations using 4 NVIDIA RTX 3090 GPUs, with each GPU running 8 environments simultaneously, a learning rate of 1e-5, and an AdamW optimizer.

[0131] The performance of this application is compared with that of the existing model, and the experimental results are shown in Table 1:

[0132]

[0133] Table 1 Comparison with the results of the prior art

[0134] As can be seen in Table 1, the visual language navigation method in a continuous environment based on multiple visual features outperforms other methods in the NE, OS, SR, and SPL evaluation indicators of the two validation sets, demonstrating the excellent performance of the model and proving the effectiveness of the visual language navigation method in a continuous environment based on multiple visual features. In particular, for CMTP[8] which uses a topological structure, this method has a prior scene exploration phase to obtain the knowledge of the scene topology for use in the navigation process, while the present invention does not have a pre-exploration process and constructs a topological map online during the navigation process. The results show that the present invention has better performance, which verifies the importance of multiple visual features in helping the intelligent agent to fully perceive the environment; WS-MGMAP[6] uses a semantic segmentation model to extract fine-grained semantic features, which is used to construct a fine-grained map, and then the fine-grained map is used to generate a semantic map. The two maps are fused to obtain a multi-granular map. The present invention uses the topological map as the main body of visual information, strengthens the correlation between views, and eliminates the step of fusing the two maps, thereby improving efficiency and model performance; for Ego2-Map

[17] , a method that also focuses on visual feature representation, this method connects RGB features and depth features together, and simultaneously constructs and encodes a semantic map. The present invention does not need to construct a semantic map, but uses a semantic segmentation model to extract fine-grained semantic features from RGB images, and then fuses them with RGB features and depth features, saving costs and improving performance. The present invention greatly improves the navigation ability of the intelligent agent with effective visual features and a strong storage structure.

[0135] In order to verify the effectiveness of the visual language navigation method in a continuous environment based on multiple visual features, this embodiment conducted an ablation experiment on two validation sets of the VLN-CE dataset. Please refer to Table 2 for the experimental results. This embodiment compares the effects of multiple visual features and common visual features on the agent. The agent using late fused multiple visual features outperforms the agent using common visual features in terms of SR, SPL, and NE indicators on the two validation sets, indicating that multiple visual features greatly improve the agent's ability to utilize visual information, which is beneficial to navigation. In particular, in the seen environment, NE has been significantly reduced, indicating that the agent has a stronger perception of objects it has seen.

[0136] Furthermore, this embodiment compares the effects of early fusion and late fusion of multiple visual features on the performance of the intelligent agent. Early fusion fuses the RGB features and semantic features in advance, connects the two features together and then performs convolution to obtain new features representing the RGB image, which are then fused with the deep features; late fusion processes the RGB features, semantic features and deep features in parallel and fuses them at the end. Table 2 shows that late fusion is more beneficial, and SR, SPL, and NE in the two validation sets are better than early fusion. Early fusion performs convolution operations, and the RGB features and semantic features are more concentrated, which plays a smaller role in guiding navigation, while the various visual features of late fusion are more complete and contain richer information, which is conducive to cross-modal alignment of vision and language.

[0137]

[0138] Table 2 Ablation experiment

[0139] It should be noted that the above specific implementations are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art should understand that various modifications, equivalent substitutions, changes, etc. can be made to the present invention. However, as long as these changes do not deviate from the spirit of the present invention, they should be within the scope of protection of the present invention. In addition, some terms used in the specification and claims of this application are not restrictive, but are only for the convenience of description.

[0140] References

[0141] [1]Anderson P,Wu Q,Teney D,et al.Vision-and-language navigation:Interpreting visually-grounded navigation instructions in real environments[C] / / Proceedings of the IEEE conference on computer vision and patternrecognition.2018:3674-3683.[2]Krantz J,Wijmans E,Majumdar A,et al.Beyond thenav-graph:Vision-and-language navigation in continuous environments[C] / / Computer Vision–ECCV 2020:16th European Conference,Glasgow,UK,August 23–28,2020,Proceedings,Part XXVIII 16.Springer International Publishing,2020:104-120.

[0142] [3]Hong Y,Wang Z,Wu Q,et al.Bridging the gap between learning indiscrete and continuous environments for vision-and-language navigation[C] / / Proceedings of the IEEE / CVF Conference on Computer Vision and PatternRecognition.2022:15439-15449.[4]Irshad M Z,Mithun N C,Seymour Z,etal.Semantically-aware spatio-temporal reasoning agent for vision-and-languagenavigation in continuous environments[C] / / 2022 26th International Conferenceon Pattern Recognition(ICPR).IEEE,2022:4065-4071.

[0143] [5]Georgakis G,Schmeckpeper K,Wanchoo K,et al.Cross-modal maplearning for vision and language navigation[C] / / Proceedings of the IEEE / CVFConference on Computer Vision and Pattern Recognition.2022:15460-15470.

[0144] [6]Chen P,Ji D,Lin K,et al.Weakly-supervised multi-granularity maplearning for vision-and-language navigation[J].Advances in Neural InformationProcessing Systems,2022,35:38149-38161.

[0145] [7]Chen S,Guhur P L,Schmid C,et al.History aware multimodaltransformer for vision-and-language navigation[J].Advances in neuralinformation processing systems,2021,34:5834-5847.

[0146] [8]Chen K,Chen J K,Chuang J,et al.Topological planning withtransformers for vision-and-language navigation[C] / / Proceedings of the IEEE / CVF Conference on Computer Vision and Pattern Recognition.2021:11276-11286.

[0147] [9]An D,Wang H,Wang W,et al.ETPNav:Evolving Topological Planning forVision-Language Navigation in Continuous Environments[J].arXiv preprintarXiv:2304.03047,2023.

[0148]

[10] Tan H,Bansal M.Lxmert:Learning cross-modality encoderrepresentations from transformers[J].arXiv preprint arXiv:1908.07490,2019.

[0149]

[11] Chen S,Guhur P L,Tapaswi M,et al.Think global,act local:Dual-scale graph transformer for vision-and-language navigation[C] / / Proceedings ofthe IEEE / CVF Conference on Computer Vision and Pattern Recognition.2022:16537-16547.

[0150]

[12] Savva M,Kadian A,Maksymets O,et al.Habitat:A platform forembodied ai research[C] / / Proceedings of the IEEE / CVF international conferenceon computer vision.2019:9339-9347.

[0151]

[13] Paszke A,Gross S,Massa F,et al.Pytorch:An imperative style,high-performance deep learning library[J].Advances in neural informationprocessing systems,2019,32.

[0152]

[14] Raychaudhuri S,Wani S,Patel S,et al.Language-aligned waypoint(law)supervision for vision-and-language navigation in continuousenvironments[J].arXiv preprint arXiv:2109.15207,2021.

[0153]

[15] Krantz J,Gokaslan A,Batra D,et al.Waypoint models forinstruction-guided navigation in continuous environments[C] / / Proceedings ofthe IEEE / CVF International Conference on Computer Vision.2021:15162-15171.

[0154]

[16] Krantz J,Lee S.Sim-2-Sim Transfer for Vision-and-LanguageNavigation in Continuous Environments[C] / / European Conference on ComputerVision.Cham:Springer Nature Switzerland,2022:588-603.

[0155]

[17] Hong Y,Zhou Y,Zhang R,et al.Learning navigational visualrepresentations with semantic map supervision[C] / / Proceedings of the IEEE / CVFInternational Conference on Computer Vision.2023:3055-3067.

Claims

1. A visual language navigation system for intelligent agents in a continuous environment based on multiple visual features, characterized in that: The intelligent navigation system includes an image feature extraction module, a location predictor, a panoramic encoder, a topology layer, a cross-modal planning module and a path execution module; the image feature extraction module includes an overall encoder, a semantic encoder and a depth encoder and a fusion feature unit; The cross-modal planning module includes a text encoder, a cross-modal encoder and a feed-forward network; the cross-modal encoder is a multi-layer network structure layer; Each layer includes a bidirectional cross-modal attention sublayer, a self-attention sublayer and two feedforward sublayers; the path execution module includes a path planning unit and an action execution unit; wherein: The image feature extraction module is used to extract the overall features of the image observed by the intelligent agent. r and semantic features f s and the deep feature f d Add to obtain the fused image feature v img ; The panoramic encoder calculates the image features fused by the image feature extraction module and the agent direction information to obtain the visual features of the current node of the agent. The location predictor obtains the deep feature f based on the current location of the agent. d Calculate and obtain the reachable candidate sites of the current node of the agent; The topology layer calculates the reachable candidate sites and the visual features of the agent's current node Mapping to obtain the agent navigation topology graph G t ;in: The topology layer records the visual features and location information of the node where the agent is currently located and the navigable nodes that have been observed but not visited at each time step, and converts the candidate K sites into nodes in the topology map through the site positioning function, and then the topology map G of the previous step is converted into nodes in the topology map. t-1 Update to get the new topology graph G t ;in: The weight of the edge of the topological map is the Euclidean distance between two nodes; the topological map contains three types of nodes: visited nodes, current nodes, and navigable nodes that have been observed but not visited; the visual features of the nodes of the topological map are the overall features of the visually observed image f r , semantic features f s , deep features f d and directional characteristics f o After the integration of the panoramic encoder based on the Transformer architecture; The panoramic code obtained by the panoramic encoder contains visual information from 12 different angles, and the average value of the visual information from all angles is taken. As the visual feature of the current node; for a navigable node that has been observed but not visited, the corresponding visual information of the angle at which the navigable node can be observed is selected as the visual feature; The cross-modal encoder extracts the node features of the agent navigation topology graph and the instruction features extracted by the text encoder. Calculate and obtain graph cross-modal attention encoding; The feedforward network calculates the navigable node with the largest stop score according to the graph cross-modal attention encoding as the agent's long-term location target The path planning unit navigates the topological graph G according to the agent t The distance information recorded in the calculation of the current node and the long-term location target of the intelligent agent Get the shortest path between the current node and The shortest path planning P t ,Right now: Where: p n and N represent the position and number of nodes in the path, respectively; The action execution unit uses a low-level action control agent to execute the plan P t , step by step to reach the long-term target site And update the visual observation image of the corresponding position.

2. The visual language for intelligent agent navigation system in a continuous environment based on multiple visual features according to claim 1, characterized in that: The image feature extraction module is used to extract the overall features of the image observed by the intelligent agent. r and semantic features f s and the deep feature f d Add to obtain the fused image feature v img Process; including: The overall encoder extracts the overall features f of the RGB image based on the ViT-B / 32 model pre-trained on CLIP r ; The semantic encoder extracts the semantic features of the RGB image based on the pre-trained semantic segmentation ResNet-18 model. s ; The deep encoder extracts the deep features f of the depth image based on the ResNet-50 model pre-trained on the point-goal navigation task. d ;in: The overall features and semantic features are flattened by average pooling and maximum pooling, respectively, and then the overall features v are obtained after the Dropout layer, a linear layer and layer normalization. r and semantic features v s ; The depth feature is flattened by average pooling, and then layer normalization is performed to obtain the processed depth feature v d ; The overall feature v r , semantic features v s and the deep feature v d Add to get the fused image feature v img , the calculation formula is as follows: v img =[v r ;v d ;v s ] Where: the superscript r, d, and s represent RGB, depth, and semantics respectively, AvgPool represents the average pooling layer, MaxPool represents the maximum pooling layer, LN represents the normalization layer, and Dropout represents the random dropout layer.

3. The visual language for intelligent agent navigation system in a continuous environment based on multiple visual features according to claim 1, characterized in that: The topology layer converts the candidate K sites into nodes in the topology map through the site positioning function: Calculate the distance between the candidate site and all nodes in the topological map. If the minimum distance is less than the threshold Y, the node is located. The located node is a visited node, the input candidate site is deleted, and an edge is added between the current node and the located node; The located node is a navigable node, and the information of the located node is updated to be the average of the information of all candidate nodes located at this node; no node is located in the topology map, and this candidate site is added to the topology map as a new navigable node; to represent the STOP action, a 'stop' node is added to the topology map and connected to all nodes.

4. The visual language for intelligent agent navigation system in a continuous environment based on multiple visual features according to claim 1, characterized in that: The cross-modal encoder extracts the node features of the agent navigation topology graph and the instruction features extracted by the text encoder. The cross-modal attention encoding process of the graph is calculated; including: The text encoder uses BERT to extract the feature vector of each word in the instruction, that is, to embed the word Plus the position embedding of the corresponding word in the instruction and the corresponding text type embedding Get text encoding embed T , text encoding embed T After linear processing, it is sent to the text encoder to obtain the final text features The calculation formula is as follows: is the fused visual features of each node in the topology graph Add time step encoding and position encoding Encode the time step of the corresponding node's last visit and its position relative to the current node respectively to obtain the encoded node representation The calculation formula is as follows: The self-attention sublayer perceives the topological structure of the graph according to the following formula: Among them, X represents all node features in the graph, E represents the distance matrix constructed based on all shortest path pairs obtained from the edges of the topological graph, and W q , W k , W e , W v is a learnable matrix; LN represents a normalization layer, and Dropout represents a random dropout layer.

5. A method for navigating an intelligent agent using visual language in a continuous environment based on multiple visual features, characterized in that: The intelligent agent navigation method adopts the system as claimed in claim 1, comprising the following steps: The agent observes the image and extracts the overall features f r and semantic features f s and the deep feature f d Add to obtain the fused image feature v img ;in: Through average pooling and maximum pooling, the overall feature f r and semantic features f s They are flattened separately, and then go through a Dropout layer, a linear layer, and layer normalization to obtain the processed overall feature v r and semantic features v s ; By average pooling, for the depth feature f d The feature is flattened and then normalized to obtain the processed depth feature v d ; The overall feature v r , semantic features v s and the deep feature v d The fused image feature v is obtained by adding img , the calculation formula is as follows: v img =[v r ;v d ;v s ] Where: the superscript r, d, s represent RGB, depth, and semantics respectively, AvgPool represents the average pooling layer, MaxPool represents the maximum pooling layer, LN represents the normalization layer, and Dropout represents the random dropout layer; The fused image features v img and the agent direction information f o The visual features of the current node of the agent are calculated according to the following formula: bread img =Pano(v img ,f o ) Among them, Pano represents a panoramic encoder based on the Transformer architecture. i Indicates visual features at different angles; The depth feature f obtained based on the current position of the agent d Calculate and obtain the reachable candidate sites of the current node of the agent; Compute the reachable candidate sites and compare them with the visual features of the agent’s current node Mapping to obtain the agent navigation topology graph G t ; The node features of the agent navigation topology graph and the instruction features extracted by the text encoder Calculate the cross-modal attention encoding of the graph: According to the cross-modal attention encoding of the graph, the navigable node with the largest stop score is calculated as the long-term location target of the intelligent agent According to the agent navigation topology G t The distance information recorded in the calculation of the current node and the long-term location target of the intelligent agent Get the shortest path between the current node and The shortest path planning P t ,Right now: Where: p n and N represent the position and number of nodes in the path, respectively; Control the agent to execute the plan P t , step by step to reach the long-term target site And update the visual observation image of the corresponding position; Repeat the above steps until the agent performs a STOP action or reaches the maximum number of moves.

6. The method for navigating an intelligent agent using visual language in a continuous environment based on multiple visual features according to claim 5, characterized in that: Get the agent navigation topology graph G t Process; including: The topological map records the visual features and location information of the node where the agent is currently located and the navigable nodes that have been observed but not visited at each time step. The candidate K sites are converted into nodes in the topological map through the site positioning function, and then the topological map G of the previous step is converted into nodes in the topological map. t-1 Update to get the new topology graph G t ;in: The weight of the edge of the topological map is the Euclidean distance between two nodes; the topological map contains three types of nodes: visited nodes, current nodes, and navigable nodes that have been observed but not visited; the visual features of the nodes of the topological map are the overall features of the visually observed image f r , semantic features f s , deep features f d and directional characteristics f o After the integration of the panoramic encoder based on the Transformer architecture; For navigable nodes that have been observed but not visited, the corresponding visual information of the angle at which the navigable nodes can be observed is selected as the visual feature, where: the process of converting the candidate K sites into nodes in the topological map through the site positioning function: Calculate the distance between the candidate site and all nodes in the topology map. If the minimum distance is less than the threshold Y, the node is located. The located node is a visited node. Delete the input candidate site and add an edge between the current node and the located node. The located node is a navigable node. Update the information of the located node to the average of the information of all candidate nodes located at this node. No node is located in the topology map. This candidate site is added to the topology map as a new navigable node. To represent the STOP action, add a 'stop' node to the topology map and connect it to all nodes.

7. The method for navigating an intelligent agent using visual language in a continuous environment based on multiple visual features according to claim 5, characterized in that: Obtain graph cross-modal attention encoding process; including: The text encoder uses BERT to extract the feature vector of each word in the instruction, that is, to embed the word Plus the position embedding of the corresponding word in the instruction and the corresponding text type embedding Get text encoding embed T , text encoding embed T After linear processing, it is sent to the text encoder to obtain the final text features The calculation formula is as follows: is the fused visual features of each node in the topology graph Add time step encoding and position encoding Encode the time step of the corresponding node's last visit and its position relative to the current node respectively to obtain the encoded node representation The calculation formula is as follows: The self-attention sublayer perceives the topological structure of the graph according to the following formula: Among them, X represents all node features in the graph, E represents the distance matrix constructed based on all shortest path pairs obtained from the edges of the topological graph, and W q , W k , W e , W v is a learnable matrix.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to perform the method steps described in any one of claims 5 to 7.