Robot vision language navigation method based on direction perception learning
By adding directional awareness learning in the pre-training process of VLN-BERT's visual language multimodal alignment, the problem of insufficient directional perception ability of the agent is solved, the navigation performance is improved, and the success rate of navigation tasks is ensured.
Patent Information
- Application Number
- CN202410919193.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-07-10
AI Technical Summary
In visual language navigation tasks, the agent's direction perception ability is insufficient, resulting in problems such as detours and deviations from the expected end point during navigation, reducing the navigation success rate.
Direction perception learning is added in the pre-training process of VLN-BERT's visual language multimodal alignment. Through four-stage pre-training and path selection fine-tuning, the agent's direction perception ability is improved and its alignment ability for natural language instructions and visual information is enhanced. .
It improves the direction perception ability of the agent, enhances the alignment ability of natural language instructions and visual information, improves navigation performance, and ensures the success rate of completing navigation tasks in a real environment.
Smart Images

Figure CN118876048A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of deep learning and robot control technology, and more specifically, to a robot visual language navigation method based on direction perception learning, which adds direction perception learning to the model to improve the direction perception ability of an intelligent agent, thereby enhancing the intelligent agent's ability to align natural language instructions and visual information, and ultimately achieving improved navigation performance. Background Art
[0002] One of the future goals of artificial intelligence is to enable intelligent agents to have the following capabilities: perceive and understand the surrounding environment through visual, sound and other information, and on this basis communicate with humans through natural language, and ultimately perform various complex tasks in real and complex environments. For example, when we give a command to the robot "help me bake a cake", the robot can move autonomously to the corresponding area, including the kitchen, living room, and bedroom, through understanding the command, and complete subsequent tasks including detecting and picking up corresponding items, processing ingredients, and operating the oven. With the important progress made in deep learning in computer vision, natural language processing and other fields, the development of robots that can autonomously learn and perform complex tasks has gradually become one of the focuses of artificial intelligence research.
[0003] However, the direction perception problem of the agent in the Vision-and-Language Navigation (VLN) task has not been taken into account. The general image-text learning method cannot meet the subsequent needs of the agent for performing navigation tasks. In performing navigation tasks, the agent has a variety of action selection methods, including but not limited to "turn left, turn right, go forward, go back, stop", etc. For some instructions, when the starting position and the end position remain unchanged, every time the agent makes an action decision, even if it chooses an action different from the actual navigation process, or even an action in the opposite direction, there is a chance to successfully reach the target destination. However, during the navigation process, the action selection may be unreasonable due to incorrect direction perception, causing the agent to make wrong navigation actions and collect interfering environmental visual information, which will lead to problems such as the agent taking a detour and deviating from the expected destination direction. This will increase the time required for navigation and even cause the navigation task to fail to a large extent. Figure 7 As shown in the figure, various navigation problems caused by incorrect direction perception:
[0004] The green path represents the correct path, the blue and purple paths are the actual navigation paths of the agent, and nodes 1 and 2 represent the location nodes where the agent makes action choices during navigation. In different navigation paths, the agent makes different action choices due to different direction perception results at a certain action selection node. Therefore, the agent needs to select the most reasonable action from the huge action space when making each navigation action decision. Choosing the correct direction is of great help in making the correct action selection. Summary of the invention
[0005] In order to solve the above technical problems, the present invention provides a robot visual language navigation method based on direction perception learning, which improves the direction perception ability of the intelligent agent by adding direction perception learning in the visual language multimodal alignment pre-training process of VLN-BERT, thereby enhancing the alignment ability of the intelligent agent to natural language instructions and visual information, and finally achieving improved navigation performance. This solves the problem that the navigation success rate of the trained model in the prior art is reduced in an invisible environment or an unfamiliar environment.
[0006] The technical solution of the present invention is as follows:
[0007] A robot visual language navigation method based on direction perception learning is characterized by comprising: image and text embedding, respectively embedding the image and the corresponding instruction text in the R2R data set to facilitate the subsequent alignment and fusion of visual language information; performing four-stage pre-training, adding direction perception learning to the VLN-BERT three-stage pre-training process, thereby improving the direction perception ability of the intelligent agent; performing path selection fine-tuning, through path selection, enabling the intelligent agent that already has general visual language understanding ability to perform subsequent navigation tasks.
[0008] Furthermore, through image and text embedding, the images and corresponding instruction texts in the R2R dataset are embedded separately to facilitate the subsequent alignment and fusion of visual language information.
[0009] Furthermore, the image and text are embedded in the VLN task. The visual information that the agent needs to process is a series of image information that is continuous in time and space, and the language information is a text description with navigation instructions. When embedding the image, the method combines the corner position information of the image segment, the area of the image segment, the sine and cosine values of the agent's orientation and pitch angle, and the relevant information of the next position, and converts them into a 2048-dimensional input vector, and converts the image segment index information into another 2048-dimensional input vector. The image is extracted using the trained Faster R-CNN network, and the obtained features are combined with the two vectors mentioned above to form a visual embedding result. When embedding the language, the method uses the same embedding method as BERT, adding the word embedding vector and the position embedding vector to obtain the final language embedding result.
[0010] Furthermore, in the R2R dataset, for each path, there are three natural language instruction descriptions in the R2R dataset. After analyzing the natural language instructions in the R2R dataset, the present invention selects and organizes the key words in the instructions that determine the agent's action selection based on the direction into the following words, including: left, right, up, down, forward, stop. These words can effectively help the agent perceive the direction during the agent's understanding of natural language instructions and subsequent navigation, and also largely determine the agent's action selection.
[0011] Table 1. Some instructions of the R2R dataset
[0012]
[0013] Furthermore, a four-stage pre-training is performed, and direction perception learning is added to the three-stage pre-training process of VLN-BERT, thereby improving the direction perception ability of the intelligent agent.
[0014] Furthermore, a four-stage pre-training is performed including: the first stage, in which:
[0015] The ViLBERT model is trained on language unimodality using text information datasets extracted from the Internet, including Wikipedia and BooksCorpus. The Masked Language Model (MLM) and Next Sentence Prediction (NSP) are used to enable the model to perform vocabulary prediction and context understanding, giving it general language understanding capabilities.
[0016] Furthermore, MLM first randomly masks the words in the text, and performs reverse reasoning on the masked words based on the context information. During the pre-training process, 15% of the words in the input text will be masked. The masking operation includes: 80% probability of replacing the original word with a specific word representation [MASK], 10% probability of randomly replacing the original word with other words, and 10% probability of keeping the original word unchanged. Finally, the cross-entropy loss is used to back-propagate and update the model parameters. The loss function of MLM is shown as follows:
[0017]
[0018] In the formula, N represents the total number of masked words, w i refers to the i-th masked word, C i is the context information of the i-th masked word, P(w i |C i ) is the probability distribution of the model's predictions for the masked words.
[0019] Furthermore, the NSP task allows the model to learn the relationship between different sentences in the input text, which enhances the performance of the model on subsequent downstream tasks. In NSP, the model will judge the relationship between adjacent sentences of the input, and use a binary network to determine whether there is a contextual relationship between the two input sentences. For each input sentence pair, the model will output its corresponding binary probability distribution to indicate the possibility that the sentence pair is continuous or discontinuous. The loss function of the NSP task is shown as follows:
[0020]
[0021] In the formula, M is the total number of sentence pairs, y j The true label of the j-th sentence pair includes: y j =0 means that the input sentence pairs are discontinuous, y j =1 means that the input sentence pairs are continuous, P(y j |S j ) is the probability output of the model for the jth sentence pair.
[0022] The loss function of the first stage can be expressed as the weighted sum of the MLM loss function and the NSP loss function, and the hyperparameter λ is used to represent the influence ratio between the two loss functions. The loss function of the first stage is shown as follows:
[0023] L1=L MLM +λL NSP
[0024] Furthermore, a four-stage pre-training is performed including the second stage, in which:
[0025] Based on the language understanding ability of the ViLBERT model, the Conceptual Captions text-image dataset is used to perform visual language cross-modal training on the model. The Masked Multi-modal Modeling (MMM) and Multi-modal Alignment Prediction (MAP) are used to enable the model to infer the masked local image based on the panoramic image information, and to perform matching and alignment between image content understanding and natural language description, so that the model has general visual language understanding capabilities.
[0026] Furthermore, MMM imitates the MLM training process in BERT, randomly masks the image and text, uses global image information and contextual text information to perform reverse reasoning on the masked part, and uses the corresponding loss functions of image and text prediction for training when updating parameters. For the image mask prediction part, Vi LBERT does not directly output the image features of the masked part, but outputs its semantic distribution, and trains by minimizing the KL divergence between the predicted semantic distribution and the true semantic distribution; for the text information mask prediction part, the cross entropy loss function is used for training the predicted text and the true text, which is the same as the BERT model's prediction process for masked text.
[0027] Furthermore, in the MAP task, the correct text-image pair is used as a positive sample, and the text or image is randomly replaced to generate a new text-image pair as a negative sample. The output vector obtained by using the starting input [IMG] of the image input sequence and the starting feature vocabulary [CLS] of the text input sequence is used as the final image prediction output and text prediction output. The ViLBERT model finally performs a dot product operation on the text prediction output and the image prediction output, and uses a binary network to determine whether the information of the text output and the image output matches.
[0028] Furthermore, a four-stage pre-training is performed including the third stage, in which:
[0029] The Vi LBERT model, which already has general visual language understanding capabilities, is trained using the R2R dataset, and the MMM and MAP methods are used to enable the model to learn basic actions in navigation. The model has general visual language understanding and navigation capabilities.
[0030] Furthermore, the four-stage pre-training is performed including: the fourth stage, wherein:
[0031] For the general VLN-BERT model, the direction-aware learning method is used to further enhance the model's ability to perceive the direction in navigation instructions and improve the model's performance in navigation tasks. In the process of visual language multimodal alignment pre-training, the intelligent agent is trained to learn the mask prediction of the directional words, so that the intelligent agent can more efficiently and accurately align the connection between the directional words and the visual information during the actual navigation process. Figure 6 Schematic diagram of the direction perception learning principle, where the colored parts are masked directional words.
[0032] Furthermore, in the process of direction-aware learning of directional words, the present invention adopts a pre-training method for masked prediction learning of directional words. The following masked prediction method is used for directional words in natural language instructions, including: replacing the directional words with a special mark [MASK] with a probability of 50%; keeping the directional words unchanged with a probability of 50%. The model is used to learn the global visual image sequence and context instructions to reversely predict the masked directional words. Finally, the cross entropy loss and the KL divergence between the image prediction output and the true output are used to reversely transfer and update the model parameters. The loss function of direction-aware learning is shown as follows:
[0033]
[0034] L Image =KL(Pre||Real)
[0035] L DPL =L Image +L Language
[0036] Furthermore, in L language In the formula, N represents the total number of locative words to be masked, and w i Refers to the i-th masked position word, C i is the context information of the i-th masked word, P(w i |C i ) is the probability distribution of the masked locative word prediction in MLM; Image In the formula, KL represents KL divergence, Pre and Real represent the semantic distribution of predicted image output and real image output respectively; DPL In the formula, L DPL Represents the loss function for direction-aware learning.
[0037] Furthermore, we fine-tune the path selection. After the four-stage pre-training process, we fine-tune the model with path selection as the downstream task, so that the model can acquire path selection capability on the basis of general visual language navigation capability. The path selection task uses the beam search method to randomly generate three wrong paths that do not match the actual data for each path-instruction pair. The "+" superscript indicates the actual path, and the "-" superscript indicates the wrong path. The cross entropy loss is used for training, as shown in the following formula:
[0038]
[0039] in, and Represents the word embedding vector of the special tag word [CLS] used for the classification task in the i-th path and the image feature vector of the first image segment [IMG] obtained by the VLN-BERT model. W is a learnable parameter matrix used to calculate the path score.
[0040] Compared with the prior art, the present invention has the following beneficial effects:
[0041] The visual language navigation method based on direction perception learning proposed in this invention can improve the direction perception ability of the intelligent agent, thereby enhancing the ability of the intelligent agent to align natural language instructions and visual information, and ultimately achieve improved navigation performance. Therefore, this model can better complete navigation tasks in real environments. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 This is a diagram of the main steps in a robot visual language navigation method based on direction perception learning of the present invention.
[0043] Figure 2 It is a step diagram of the four-stage pre-training of the present invention.
[0044] Figure 3 It is a logic diagram of the four-stage pre-training of the present invention for visual language cross-modal training of the Vi LBERT model.
[0045] Figure 4 It is a logic diagram of adding navigation capability to the Vi LBERT model through the four-stage pre-training of the present invention.
[0046] Figure 5 It is a logic diagram of the four-stage pre-training of the present invention for language training of the Vi LBERT model.
[0047] Figure 6 It is a schematic diagram of the principle of four-stage pre-training direction perception learning of the present invention.
[0048] Figure 7 It refers to various navigation problems caused by incorrect perception of direction. DETAILED DESCRIPTION
[0049] The following embodiments of the present invention are described in further detail in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.
[0050] The present invention provides a robot visual language navigation method based on direction perception learning, comprising:
[0051] S1, image and text embedding, embedding operations are performed on the images and corresponding instruction texts in the R2R dataset respectively, so as to facilitate the subsequent alignment and fusion of visual language information;
[0052] S2, perform four-stage pre-training, adding direction perception learning to the three-stage pre-training process of VLN-BERT to improve the direction perception ability of the intelligent agent;
[0053] S3. Perform path selection fine-tuning to enable the intelligent agent that already has general visual language understanding capabilities to perform subsequent navigation tasks through path selection.
[0054] Embodiment 1: In the embodiment of the present invention, the direction perception ability of the intelligent agent is improved by adding direction perception learning to the visual language multimodal alignment pre-training process of VLN-BERT, thereby enhancing the intelligent agent's ability to align natural language instructions and visual information, and ultimately achieving improved navigation performance.
[0055] The method steps include: firstly, embedding images and texts, wherein in order to facilitate the subsequent alignment and fusion of visual language information, the images and corresponding instruction texts in the R2R data set are first embedded respectively, the visual information that the agent needs to process is a series of image information that is continuous in time and space, and the language information is a text description with navigation instructions. During the embedding operation, DPL combines the corner position information of the image fragment, the area of the image fragment, the orientation of the agent, the sine and cosine values of the pitch angle, and the relevant information of the next position, and converts it into a 2048-dimensional input vector, converts the image fragment index information into another 2048-dimensional input vector, extracts image features through the trained Faster R-CNN network, and combines the result with the above two vectors into a visual embedding result. When performing the language embedding operation, the embedding method used by DPL is the same as BERT, and the final language embedding result is equal to the sum of the word embedding vector and the position embedding vector.
[0056] After the steps are completed, the embodiment of the present invention performs four-stage pre-training on the model, wherein the first stage is to use the text information data set extracted from the Internet to perform language unimodal training on the ViLBERT model, wherein the text information data set extracted from the Internet includes Wikipedia and BooksCorpus, and in addition, the model is enabled to perform vocabulary prediction and context understanding through the language mask model (Masked-language-Model, MLM) and sentence matching prediction (Next-Sentence-Prediction, NSP), so that it has general language understanding capabilities. Among them, MLM first randomly encodes the words in the text, and then reversely infers the masked words based on the context information. During the pre-training process of the embodiment, 15% of the words in the input text are masked, and the masking includes: 80% probability of replacing the original word with a characteristic vocabulary representation [MASK]; 10% probability of randomly replacing the original word with other words; 10% probability of the original word unchanged. Finally, the model parameter cabinet is reversely transferred and updated through the cross entropy loss, wherein the loss function formula of MLM is:
[0057]
[0058] Where N represents the total number of masked words, w i refers to the i-th masked word, C i is the context information of the i-th masked word, P(w i |C i ) is the probability distribution of the model's predictions for the masked words.
[0059] The NSP task allows the model to learn the relationship between different sentences in the input text, which enhances the performance of the model on subsequent downstream tasks. In NSP, the model first determines the relationship between the upper and lower sentences of the input, and then uses a binary network to determine whether there is a contextual association between the input sentences. The model gives a corresponding binary probability distribution for each input sentence pair to describe whether the two sentences are continuous or discontinuous. The loss function of the NSP task is as follows:
[0060]
[0061] Where M is the total number of sentence pairs, y j is the true label of the jth sentence pair, including y j =0 means that the input sentence pairs are discontinuous, y j =1 means that the input sentence pairs are continuous, P(y j |S j ) is the probability output of the model for the jth sentence pair.
[0062] The loss function of the first stage can be expressed as the weighted sum of the MLM loss function and the NSP loss function, and the hyperparameter λ is used to represent the influence ratio between the two loss functions. The loss function of the first stage is as follows:
[0063] L1=L MLM +λL NSP
[0064] Based on the language understanding capability of the ViLBERT model, the embodiment of the present invention adopts a mixed image-text dataset based on concept capture to perform visual language cross-modal training on the model. The mixed image-text dataset includes a ConceptualCaptions text-image dataset. Through a multimodal mask model (Masked Multi-modal Modeling, MMM) and a multimodal alignment prediction (Multi-modal Alignment Prediction, MAP), the mask area is recognized and aligned, so that it has a general visual language understanding function.
[0065] MMM simulates the training process of MLM in BERT, uses a random mask method to cover images and text, and comprehensively considers the global graph and context information to achieve reverse inference of the mask, and on this basis, combines the relevant loss functions of image and text prediction to achieve reverse inference of the mask. In terms of image mask prediction, ViLBERT outputs not the image features in the mask, but its semantic distribution in the model, and on this basis, trains by minimizing the KL divergence between the predicted semantic distribution and the true semantic distribution. In terms of text information shielding prediction, the embodiment of the present invention adopts the BERT model's prediction method for shielded text, that is, the cross entropy loss function is used to train the prediction results and actual data.
[0066] In the MAP task, a suitable text-image pair is used as a positive sample, and a new text-image pair is formed as a negative sample by randomly replacing the text or image. This method uses the output vector obtained by combining the start input (IMG) of the image input sequence with the start feature word [CLS] of the text input sequence as the image prediction result and the text prediction result respectively. Finally, the ViLBERT model performs a dot product operation on the text prediction result and the image prediction result, and a binary neural network is used to determine the degree of match between the text output and the image output.
[0067] The embodiment of the present invention uses the R2R dataset to train the ViLBERT model that already has general visual language understanding capabilities, and adopts the MMM and MAP methods to enable the model to learn basic actions in navigation. The model has general visual language understanding capabilities and navigation capabilities.
[0068] The embodiment of the present invention uses a direction-aware learning method for the general VLN-BERT model, further enhancing the model's ability to perceive directions in navigation instructions and improving the model's performance in navigation tasks. In the process of pre-training for visual language multimodal alignment, the intelligent agent is trained to learn mask prediction of directional words, so that the intelligent agent can more efficiently and accurately align the connection between directional words and visual information in actual navigation tasks.
[0069] Part of the content of the R2R dataset mentioned in the embodiment of the present invention is shown in Table 1. The R2R dataset is a benchmark for studying visual navigation tasks, mainly used to study how to make machine learning models understand natural language instructions and navigate in complex indoor environments. This dataset consists of pictures of multiple rooms and navigation paths designed by humans. The goal is to train the model to find a route from one room to another based on a given language description. For each path, there are three natural language instruction descriptions in the R2R dataset. After analyzing the natural instructions of the R2R dataset, the present invention divides the instructions that determine the actions of the agent based on the orientation into the following key steps, including: left, right, up, down, forward, stop. These words can effectively help the agent to perceive the orientation in the understanding of natural language instructions and subsequent navigation of the agent, and also determine the action selection of the agent to a large extent. In the process of direction perception learning of directional words, the embodiment of the present invention adopts a pre-training method for mask prediction learning of directional words. The following mask prediction method is used for the directional words in natural language instructions: 50% probability of replacing the directional words with a special mark [MASK]; 50% probability of keeping the directional words unchanged. Through the model's learning of the global visual image sequence and contextual instructions, the masked directional words are reversely predicted. Then, the model parameters are reversely updated through the cross entropy loss and the KL divergence between the image prediction output and the true output. The loss function of direction perception learning is shown in the formula:
[0070]
[0071] L Image =KL(Pre||Real)
[0072] L DPL =L Image +L Language
[0073] N represents the total number of masked locative words, w i Refers to the i-th masked position word, C i is the context information of the i-th masked word, P(w i |C i) is the probability distribution of the masked locator word prediction in MLM; KL represents KL divergence, Pre and Real represent the semantic distribution of the predicted image output and the real image output respectively; L DPL Represents the loss function of direction perception learning. Table 1 shows the contents of some instructions of the R2R dataset.
[0074] Finally, the embodiment of the present invention fine-tunes the execution path selection. After the above four-stage pre-training process, the model is fine-tuned with path selection as the downstream task, so that the model can further acquire the path selection capability on the basis of the general visual language navigation capability. The path selection task uses the beam search method to randomly generate three erroneous paths that do not match the actual data for each path-instruction pair. The "+" superscript indicates the actual path, and the "-" superscript indicates the wrong path. The cross entropy loss is used for training:
[0075]
[0076]
[0077] in, and Represents the word embedding vector of the special tag word [CLS] used for the classification task in the i-th path and the image feature vector of the first image segment [IMG] obtained by the VLN-BERT model. W is a learnable parameter matrix used to calculate the path score.
[0078] In the embodiment of the present invention, the method improves the direction perception ability of the intelligent agent by adding direction perception learning during the visual language multimodal alignment pre-training process of VLN-BERT, thereby enhancing the intelligent agent's ability to align natural language instructions and visual information, and ultimately achieving improved navigation performance.
[0079] The embodiments of the present invention are provided for the purpose of illustration and description. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations of the present invention. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present invention.
Claims
1. A robot visual language navigation method based on direction perception learning, characterized in that: Based on the VLN-BERT model, the robot vision language navigation method steps are as follows: S1, image and text embedding, embedding operations are performed on the images and corresponding instruction texts in the R2R dataset respectively, so as to facilitate the subsequent alignment and fusion of visual language information; S2, perform four-stage pre-training, adding direction perception learning to the three-stage pre-training process of VLN-BERT to improve the direction perception ability of the intelligent agent; S3. Perform path selection fine-tuning to enable the intelligent agent that already has general visual language understanding capabilities to perform subsequent navigation tasks through path selection.
2. A robot visual language navigation method based on direction perception learning as claimed in claim 1, characterized in that: The image and text embedding method comprises: Image embedding method: The edge information of the image data, image fragments, the sine and cosine values of the body's orientation and pitch angle, and the relevant information of the next position are combined and converted into a 2048-dimensional input vector. The image fragment index information is converted into another 2048-dimensional vector. The image features are extracted using the trained Faster R-CNN network. The features and the two vectors mentioned above together form a visual embedding effect. The text embedding method is: using the same embedding method as BERT, add the word embedding vector and the position embedding vector to get the embedding result.
3. A robot visual language navigation method based on direction perception learning as claimed in claim 1, characterized in that: The four-stage pre-training improves the direction perception ability of the intelligent agent by adding direction perception learning to the three-stage pre-training process of VLN-BERT.
4. A robot visual language navigation method based on direction perception learning as claimed in claim 3, characterized in that: The four-stage pre-training is performed including: the first stage, in which: The ViLBERT model is trained on a single language modality using a text information dataset extracted from the Internet. The text information dataset extracted from the Internet comes from Wikipedia and BooksCorpus. MLM and NSP are used to enable the model to perform vocabulary prediction and context understanding, giving it general language understanding capabilities.
5. A robot visual language navigation method based on direction perception learning as claimed in claim 4, characterized in that: Performing four-stage pre-training includes: Stage 2, where: Based on the language understanding ability of the ViLBERT model, the Conceptual Captions text-image dataset is used to perform visual language cross-modal training on the model. MMM and MAP are used to enable the model to infer the masked local image based on the panoramic image information, and to perform matching and alignment between image content understanding and natural language description, so that the model has general visual language understanding capabilities.
6. A robot visual language navigation method based on direction perception learning as claimed in claim 5, characterized in that: Performing four-stage pre-training includes: Stage 3, where: The ViLBERT model, which already has general visual language understanding capabilities, is trained using the R2R dataset, and the MMM and MAP methods are used to enable the model to learn basic actions in navigation. The model has general visual language understanding and navigation capabilities.
7. A robot visual language navigation method based on direction perception learning as claimed in claim 6, characterized in that: Performing four-stage pre-training includes: the fourth stage, in which: For the general VLN-BERT model, a direction-aware learning method is used to further enhance the model's ability to perceive directions in navigation instructions and improve the model's performance in navigation tasks; in the pre-training process of visual language multimodal alignment, mask prediction learning of directional words is performed on the intelligent agent, so that the intelligent agent can more efficiently and accurately align the connection between directional words and visual information during the actual navigation process; in the process of direction-aware learning of directional words, the present invention adopts a pre-training method of mask prediction learning of directional words; the following mask prediction method is used for directional words in natural language instructions: The directional words are replaced with a special mark [MASK] with a probability of 50%, and the directional words are kept unchanged with a probability of 50%. The masked directional words are predicted in reverse based on the model’s learning of the global visual image sequence and context instructions. Finally, the model parameters are updated in reverse using the cross entropy loss and the KL divergence between the image prediction output and the true output. The loss function of direction-aware learning is shown in the following formula: L Image =KL(Pre||Real) L DPL =L Language +L Image In L Language In the formula, N represents the total number of locative words to be masked, and w i Refers to the i-th masked position word, C i is the context information of the i-th masked word, P(w i |C i ) is the probability distribution of the masked locative word prediction in MLM; Image In the formula, KL represents KL divergence, Pre and Real represent the semantic distribution of predicted image output and real image output respectively; DPL In the formula, L DPL Represents the loss function for direction-aware learning.
8. A robot visual language navigation method based on direction perception learning as claimed in claim 1, characterized in that: The execution path selection fine-tuning, after executing the four-stage pre-training process, takes path selection as the downstream task to fine-tune the model, so that the model can further acquire the path selection capability on the basis of having the general visual language navigation capability; the path selection task uses the beam search method to randomly generate three erroneous paths that do not match the actual data for each path-instruction pair The "+" superscript indicates the actual path, and the "-" superscript indicates the wrong path. The cross entropy loss is used for training, as shown in the following formula: Among them, S is the path score, f is the function, and Represents the word embedding vector of the special tag word [CLS] used for the classification task in the i-th path and the image feature vector of the first image fragment [IMG] obtained by the VLN-BERT model, and W is the learnable parameter matrix.
Citation Information
Patent Citations
Self-aware visual-textual co-grounded navigation agent
CN112714896A
Visual language task processing system, training method and device, equipment and medium
CN113792112A
Visual language indoor navigation method and device, equipment and storage medium
CN114897179A
Visual language navigation pre-training method based on prompt and automatic environment exploration
CN114970457A
A method for training a convolutional neural network for image recognition using image-conditioned masked language modeling
US20210312628A1
Cited By
Variable environment visual language navigation method and system based on historical reflection
CN119826835A
Robot control method, model training method and robot
CN121447615A
