Learning to Navigate Unseen Environments: Back Translation with Environmental Dropout
Hao Tan, Licheng Yu, Mohit Bansal

TL;DR
This paper introduces a novel training framework for navigation agents that improves generalization to unseen environments by using environmental dropout and semi-supervised back-translation, leading to state-of-the-art results.
Contribution
It proposes environmental dropout to simulate unseen environments and semi-supervised back-translation for data augmentation, enhancing generalization in navigation tasks.
Findings
Outperforms state-of-the-art on unseen test set
Achieves top rank on Room-to-Room leaderboard
Significantly improves generalization to unseen environments
Abstract
A grand goal in AI is to build a robot that can accurately navigate based on natural language instructions, which requires the agent to perceive the scene, understand and ground language, and act in the real-world environment. One key challenge here is to learn to navigate in new environments that are unseen during training. Most of the existing approaches perform dramatically worse in unseen environments as compared to seen ones. In this paper, we present a generalizable navigational agent. Our agent is trained in two stages. The first stage is training via mixed imitation and reinforcement learning, combining the benefits from both off-policy and on-policy optimization. The second stage is fine-tuning via newly-introduced 'unseen' triplets (environment, path, instruction). To generate these unseen triplets, we propose a simple but effective 'environmental dropout' method to mimic…
| Models | Test Unseen (Leader-Board) | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Single Run | Beam Search | Pre-Explore | |||||||
| NL | SR(%) | SPL | NL | SR(%) | SPL | NL | SR(%) | SPL | |
| Random Anderson et al. (2018b) | 9.89 | 13.2 | 0.12 | - | - | - | - | - | - |
| Seq-to-Seq Anderson et al. (2018b) | 8.13 | 20.4 | 0.18 | - | - | - | - | - | - |
| Look Before You Leap Wang et al. (2018a) | 9.15 | 25.3 | 0.23 | - | - | - | - | - | - |
| Speaker-Follower Fried et al. (2018) | 14.8 | 35.0 | 0.28 | 1257 | 53.5 | 0.01 | - | - | - |
| Self-Monitoring Ma et al. (2019) | 18.0 | 48.0 | 0.35 | 373 | 61.0 | 0.02 | - | - | - |
| Reinforced Cross-Modal Wang et al. (2019) | 12.0 | 43.1 | 0.38 | 358 | 63.0 | 0.02 | 9.48 | 60.5 | 0.59 |
| Ours | 11.7 | 51.5 | 0.47 | 687 | 68.9 | 0.01 | 9.79 | 63.9 | 0.61 |
| Models | Val Seen | Val Unseen | ||||||
|---|---|---|---|---|---|---|---|---|
| NL(m) | NE(m) | SR(%) | SPL | NL(m) | NE(m) | SR(%) | SPL | |
| SUPERVISED LEARNING | ||||||||
| Behavioral Cloning (IL) | 10.3 | 5.39 | 48.4 | 0.46 | 9.15 | 6.25 | 43.6 | 0.40 |
| Advantage Actor-Critic (RL) | 73.8 | 7.11 | 22.0 | 0.03 | 73.8 | 7.32 | 24.0 | 0.03 |
| IL + RL | 10.1 | 4.71 | 55.3 | 0.53 | 9.37 | 5.49 | 46.5 | 0.43 |
| SEMI-SUPERVISED LEARNING | ||||||||
| Back Translation | 10.3 | 4.19 | 58.1 | 0.55 | 10.5 | 5.43 | 48.2 | 0.44 |
| + Feat Drop | 10.3 | 4.13 | 58.4 | 0.56 | 9.62 | 5.43 | 48.4 | 0.45 |
| + Env Drop (No Tying) | 10.3 | 4.32 | 57.3 | 0.55 | 9.51 | 5.27 | 49.0 | 0.46 |
| + Env Drop (Tying) | 11.0 | 3.99 | 62.1 | 0.59 | 10.7 | 5.22 | 52.2 | 0.48 |
| FULL MODEL | ||||||||
| Single Run | 11.0 | 3.99 | 62.1 | 0.59 | 10.7 | 5.22 | 52.2 | 0.48 |
| Beam Search | 703 | 2.52 | 75.7 | 0.01 | 663 | 3.08 | 69.0 | 0.01 |
| Pre-Explore | 9.92 | 4.84 | 54.7 | 0.52 | 9.57 | 3.78 | 64.5 | 0.61 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMultimodal Machine Learning Applications · Domain Adaptation and Few-Shot Learning · Advanced Neural Network Applications
Learning to Navigate Unseen Environments:
Back Translation with Environmental Dropout
Hao Tan Licheng Yu Mohit Bansal
UNC Chapel Hill
{haotan, licheng, mbansal}@cs.unc.edu
Abstract
A grand goal in AI is to build a robot that can accurately navigate based on natural language instructions, which requires the agent to perceive the scene, understand and ground language, and act in the real-world environment. One key challenge here is to learn to navigate in new environments that are unseen during training. Most of the existing approaches perform dramatically worse in unseen environments as compared to seen ones. In this paper, we present a generalizable navigational agent. Our agent is trained in two stages. The first stage is training via mixed imitation and reinforcement learning, combining the benefits from both off-policy and on-policy optimization. The second stage is fine-tuning via newly-introduced ‘unseen’ triplets (environment, path, instruction). To generate these unseen triplets, we propose a simple but effective ‘environmental dropout’ method to mimic unseen environments, which overcomes the problem of limited seen environment variability. Next, we apply semi-supervised learning (via back-translation) on these dropped-out environments to generate new paths and instructions. Empirically, we show that our agent is substantially better at generalizability when fine-tuned with these triplets, outperforming the state-of-art approaches by a large margin on the private unseen test set of the Room-to-Room task, and achieving the top rank on the leaderboard.111Our code, data, and models publicly available at: https://github.com/airsplay/R2R-EnvDrop
1 Introduction
One of the important goals in AI is to develop a robot/agent that can understand instructions from humans and perform actions in complex environments. In order to do so, such a robot is required to perceive the surrounding scene, understand our spoken language, and act in a real-world house. Recent years have witnessed various types of embodied action based NLP tasks being proposed Correa et al. (2010); Walters et al. (2007); Hayashi et al. (2007); Zhu et al. (2017b); Das et al. (2018); Anderson et al. (2018b).
In this paper, we address the task of instruction-guided navigation, where the agent seeks a route from a start viewpoint to an end viewpoint based on a given natural language instruction in a given environment, as shown in Fig. 1. The navigation simulator we use is the recent Room-to-Room (R2R) simulator Anderson et al. (2018b), which uses real images from the Matterport3D Chang et al. (2017) indoor home environments and collects complex navigable human-spoken instructions inside the environments, hence connecting problems in vision, language, and robotics. The instruction in Fig. 1 is “Walk past the piano through an archway directly in front. Go through the hallway when you see the window door. Turn right to the hanged pictures…”. At each position (viewpoint), the agent perceives panoramic views (a set of surrounding images) and selects one of them to step into. In this challenging task, the agent is required to understand each piece of the instruction and localize key views (“piano”, “hallway”, “door”, etc.) for making actions at each time step. Another crucial challenge is to generalize the agent’s navigation understanding capability to unseen test room environments, considering that the R2R task has substantially different unseen (test) rooms as compared to seen (trained) ones. Such generalization ability is important for developing a practical navigational robot that can operate in the wild.
Recent works Fried et al. (2018); Wang et al. (2019, 2018a); Ma et al. (2019) have shown promising progress on this R2R task, based on speaker-follower, reinforcement learning, imitation learning, cross-modal, and look-ahead models. However, the primary issue in this task is that most models perform substantially worse in unseen environments than in seen ones, due to the lack of generalizability. Hence, in our paper, we focus on improving the agent’s generalizability in unseen environments. For this, we propose a two-stage training approach. The first stage is training the agent via mixed imitation learning (IL) and reinforcement learning (RL) which combines off-policy and on-policy optimization; this significantly outperforms using IL or RL alone.
The second, more important stage is semi-supervised learning with generalization-focused ‘environmental dropout’. Here, the model is fine-tuned using additional training data generated via back-translation. This is usually done based on a neural speaker model Fried et al. (2018) that synthesizes new instructions for additional routes in the existing environments. However, we found that the bottleneck for this semi-supervised learning method is the limited variability of given (seen) environments. Therefore, to overcome this, we propose to generate novel and diverse environments via a simple but effective ‘environmental dropout’ method based on view- and viewpoint-consistent masking of the visual features. Next, the new navigational routes are collected from these new environments, and lastly the new instructions are generated by a neural speaker on these routes, and these triplets are employed to fine-tune the model training.
Overall, our fine-tuned model based on back-translation with environmental dropout substantially outperforms the previous state-of-the-art models, and achieves the most recent rank-1 on the Vision and Language Navigation (VLN) R2R challenge leaderboard’s private test data, outperforming all other entries in success rate under all evaluation setups (single run, beam search, and pre-exploration).222https://evalai.cloudcv.org/web/challenges/challenge-page/97/overview We also present detailed ablation and analysis studies to explain the effectiveness of our generalization method.
2 Related Work
Embodied Vision-and-Language
Recent years are witnessing a resurgence of active vision. For example, Levine et al. (2016) used an end-to-end learned model to predict robotic actions from raw pixel data, Gupta et al. (2017) learned to navigate via mapping and planning, Sadeghi and Levine (2017) trained an agent to fly in simulation and show its performance in the real world, and Gandhi et al. (2017) trained a self-supervised agent to fly from examples of drones crashing. Meanwhile, in the intersection of active perception and language understanding, several tasks have been proposed, including instruction-based navigation Chaplot et al. (2018); Anderson et al. (2018b), target-driven navigation Zhu et al. (2017b); Gupta et al. (2017), embodied question answering Das et al. (2018), interactive question answering Gordon et al. (2018), and task planning Zhu et al. (2017a). While these tasks are driven by different goals, they all require agents that can perceive their surroundings, understand the goal (either presented visually or in language instructions), and act in a virtual environment.
Instruction-based Navigation
For instruction-based navigation task, an agent is required to navigate from start viewpoint to end viewpoint according to some given instruction in an environment. This task has been studied by many works Tellex et al. (2011); Chen and Mooney (2011); Artzi and Zettlemoyer (2013); Andreas and Klein (2015); Mei et al. (2016); Misra et al. (2017) in recent years. Among them, Anderson et al. (2018b) differs from the others as it introduced a photo-realistic dataset – Room-to-Room (R2R), where all images are real ones taken by Matterport3D Chang et al. (2017) and the instructions are also natural. In R2R environments, the agent’s ability to perceive real-world images and understanding natural language becomes even more crucial. To solve this challenging task, a lot of works Fried et al. (2018); Wang et al. (2018a, 2019); Ma et al. (2019) have been proposed and shown some potential. The most relevant work to us is Fried et al. (2018), which proposed to use a speaker to synthesize new instructions and implement pragmatic reasoning. However, we observe there is some performance gap between seen and unseen environments. In this paper, we focus on improving the agent’s generalizability in unseen environment.
Back-translation
Back translation Sennrich et al. (2016), a popular semi-supervised learning method, has been well studied in neural machine translation Hoang et al. (2018); Wang et al. (2018b); Edunov et al. (2018); Prabhumoye et al. (2018). Given paired data of source and target sentences, the model first learns two translators – a forward translator from source to target and a backward translator from target to source. Next, it generates more source sentences using the back translator on an external target-language corpus. The generated pairs are then incorporated into the training data for fine-tuning the forward translator, which proves to improve the translation performance. Recently, this approach (also known as data augmentation) was applied to the task of instruction-based navigation Fried et al. (2018), where the source and target sentences are replaced with instructions and routes.
3 Method
3.1 Problem Setup
Navigation in the Room-to-Room task Anderson et al. (2018b) requires an agent to find a route (a sequence of viewpoints) from the start viewpoint to the target viewpoint according to the given instruction . The agent is put in a photo-realistic environment . At each time step , the agent’s observation consists of a panoramic view and navigable viewpoints. The panoramic view is discretized into single views . Each single view is an RGB image accompanied with its orientation , where and are the angles of heading and elevation, respectively. The navigable viewpoints are the reachable and visible locations from the current viewpoint. Each navigable viewpoint is represented by the orientation from current viewpoint to the next viewpoints. The agent needs to select the moving action from the list of navigable viewpoints according to the given instruction , history/current panoramic views , and history actions . Following Fried et al. (2018), we concatenate the ResNet He et al. (2016) feature of the RGB image and the orientation as the view feature :
[TABLE]
The navigable viewpoint feature is extracted in the same way.
3.2 Base Agent Model
For our base instruction-to-navigation translation agent, we implement an encoder-decoder model similar to Fried et al. (2018). The encoder is a bidirectional LSTM-RNN with an embedding layer:
[TABLE]
where is the -th word in the instruction with a length of . The decoder of the agent is an attentive LSTM-RNN. At each decoding step , the agent first attends to the view features computing the attentive visual feature :
[TABLE]
The input of the decoder is the concatenation of the attentive visual feature and the embedding of the previous action . The hidden output of the LSTM is combined with the attentive instruction feature to form the instruction-aware hidden output . The probability of moving to the -th navigable viewpoint is calculated as softmax of the alignment between the navigable viewpoint feature and the instruction-aware hidden output .
[TABLE]
Different from Fried et al. (2018), we take the instruction-aware hidden vector as the hidden input of the decoder instead of . Thus, the information about which parts of the instruction have been attended to is accessible to the agent.
3.3 Supervised Learning: Mixture of Imitation+Reinforcement Learning
We discuss our IL+RL supervised learning method in this section.333As opposed to semi-supervised methods in Sec. 3.4, in this section we view both imitation learning and reinforcement learning as supervised learning.
Imitation Learning (IL)
In IL, an agent learns to imitate the behavior of a teacher. The teacher demonstrates a teacher action at each time step . In the task of navigation, a teacher action selects the next navigable viewpoint which is on the shortest route from the current viewpoint to the target . The off-policy444According to Poole and Mackworth (2010), an off-policy learner learns the agent policy independently of the agent’s navigational actions. An on-policy learner learns the policy from the agent’s behavior including the exploration steps. agent learns from this weak supervision by minimizing the negative log probability of the teacher’s action . The loss of IL is as follows:
[TABLE]
For exploration, we follow the IL method of Behavioral Cloning Bojarski et al. (2016), where the agent moves to the viewpoint following the teacher’s action at time step .
Reinforcement Learning (RL)
Although the route induced by the teacher’s actions in IL is the shortest, this selected route is not guaranteed to satisfy the instruction. Thus, the agent using IL is biased towards the teacher’s actions instead of finding the correct route indicated by the instruction. To overcome these misleading actions, the on-policy reinforcement learning method Advantage Actor-Critic Mnih et al. (2016) is applied, where the agent takes a sampled action from the distribution and learns from rewards. If the agent stops within around the target viewpoint , a positive reward is assigned at the final step. Otherwise, a negative reward is assigned. We also apply reward shaping Wu et al. (2018): the direct reward at each non-stop step is the change of the distance to the target viewpoint.
IL+RL Mixture
To take the advantage of both off-policy and on-policy learners, we use a method to mix IL and RL. The IL and RL agents share weights, take actions separately, and navigate two independent routes (see Fig. 2). The mixed loss is the weighted sum of and :
[TABLE]
IL can be viewed as a language model on action sequences, which regularizes the RL training.555This approach is similar to the method ML+RL in Paulus et al. (2018) for summarization. Recently, Wang et al. (2018a) combines purely supervised learning and RL training however, they use a different algorithm named MIXER Ranzato et al. (2015), which computes cross entropy (XE) losses for the first actions and RL losses for the remaining.
3.4 Semi-Supervised Learning: Back Translation with Environmental Dropout
3.4.1 Back Translation
Suppose the primary task is to learn the mapping of with paired data and unpaired data . In this case, the back translation method first trains a forward model and a backward model , using paired data . Next, it generates additional datum from the unpaired using the backward model . Finally, are paired to further fine-tune the forward model as additional training data (also known as ‘data augmentation’).
Back translation was introduced to the task of navigation in Fried et al. (2018). The forward model is a navigational agent (Sec. 3.2), which navigates inside an environment , trying to find the correct route according to the given instruction . The backward model is a speaker , which generates an instruction from a given route inside an environment . Our speaker model (details in Sec. 3.4.3) is an enhanced version of Fried et al. (2018), where we use a stacked bidirectional LSTM-RNN encoder with attention flow.
For back translation, the Room-to-Room dataset labels around routes in the training environments666The number of all possible routes (shortest paths) in the existing training environments is 190K. Of these, the Room-to-Room dataset labeled around 14K routes with one navigable instruction for each, so the amount of labeled routes is around of 190K., so the rest of the routes are unlabeled. Hence, we generate additional instructions using , so to obtain the new triplets . The agent is then fine-tuned with this new data using the IL+RL method described in Sec. 3.3. However, note that the environment in the new triplet for semi-supervised learning is still selected from the seen training environments. We demonstrate that the limited amount of environments is actually the bottleneck of the agent performance in Sec. 7.1 and Sec. 7.2. Thus, we introduce our environmental dropout method to mimic the “new” environment , as described next in Sec. 3.4.2.
3.4.2 Environmental Dropout
Failure of Feature Dropout
Different from dropout on neurons to regularize neural networks, we drop raw feature dimensions (see Fig. 4(a)) to mimic the removal of random objects from an RGB image (see Fig. 3(a)). This traditional feature dropout (with dropout rate ) is implemented as an element-wise multiplication of the feature and the dropout mask . Each element in the dropout mask is a sample of a random variable which obeys an independent and identical Bernoulli distribution multiplied by . And for different features, the distributions of dropout masks are independent as well.
[TABLE]
Because of this independence among dropout masks, the traditional feature dropout fails in augmenting the existing environments because the ‘removal’ is inconsistent in different views at the same viewpoint, and in different viewpoints.
To illustrate this idea, we take the four RGB views in Fig. 3(a) as an example, where the chairs are randomly dropped from the views. The removal of the left chair (marked with a red polygon) from view is inconsistent because it also appears in view . Thus, the speaker could still refer to it and the agent is aware of the existence of the chair. Moreover, another chair (marked with a yellow polygon) is completely removed from viewpoint observation , but the views in next viewpoint provides conflicting information which would confuse the speaker and the agent. Therefore, in order to make generated environments consistent, we propose our environmental dropout method, described next.
Environmental Dropout
We create a new environment by applying environmental dropout on an existing environment .
[TABLE]
The view feature observed from the new environment is calculated as an element-wise multiplication of the original feature and the environmental dropout mask (see Fig. 4(b)):
[TABLE]
To maintain the spatial structure of viewpoints, only the image feature is dropped while the orientation feature is fixed. As illustrated in Fig. 3(b), the idea behind environmental dropout is to mimic new environments by removing one specific class of object (e.g., the chair). We demonstrate our idea by running environmental dropout on the ground-truth semantic views in Sec. 7.3, which is proved to be far more effective than traditional feature dropout. In practice, we perform the environmental dropout on image’s visual feature where certain structures/parts are dropped instead of object instances, but the effect is similar.
We apply the environmental dropout to the back translation model as mentioned in Sec. 3.4.1. Note the environmental dropout method still preserves the connectivity of the viewpoints, thus we use the same way Fried et al. (2018) to collect extra unlabeled routes . We take speaker to generate an additional instruction in the new environment . At last, we use IL+RL (in Sec. 3.3) to fine-tune the model with this new triplet .
3.4.3 Improvements on Speaker
Our speaker model is an enhanced version of the encoder-decoder model of Fried et al. (2018), with improvements on the visual encoder: we stack two bi-directional LSTM encoders: a route encoder and a context encoder. The route encoder takes features of ground truth actions from the route as inputs. Each hidden state then attends to surrounding views at each viewpoint. The context encoder then reads the attended features and outputs final visual encoder representations:
[TABLE]
The decoder is a regular attentive LSTM-RNN, which is discussed in Sec. 3.2. Empirically, our enhanced speaker model improves the BLEU-4 score by around 3 points.
4 Experimental Setup
Dataset and Simulator
We evaluate our agent on the Matterport3D simulator Anderson et al. (2018b). Navigation instructions in the dataset are collected via Amazon Mechanical Turk by showing them the routes in the Matterport3D environment Chang et al. (2017). The dataset is split into training set (61 environments, 14,025 instructions), seen validation set (61 environments, 1,020 instructions), unseen validation set (11 environments, 2,349 instructions), and unseen test set (18 environments, 4,173 instructions). The unseen sets only involve the environments outside the training set.
Evaluation Metrics
For evaluating our model, Success Rate (SR) is the primary metric. The execution route by the agent is considered a success when the navigation error is less than meters. Besides success rate, we use three other metrics777 The Oracle Success Rate (OSR) is not included because it’s highly correlated with the Navigation Length.
: Navigation Length (NL), Navigation Error (NE), and Success rate weighted by Path Length (SPL) Anderson et al. (2018a). Navigation Error (NE) is the distance between target viewpoint and agent stopping position.
Implementation Details
Similar to the traditional dropout method, the environmental dropout mask is computed and applied at each training iteration. Thus, the amount of unlabeled semi-supervised data used is not higher in our dropout method. We also find that sharing the environmental dropout mask in different environments inside a batch will stabilize the training. To avoid over-fitting, the model is early-stopped according to the success rate on the unseen validation set. More training details in appendices.
5 Results
In this section, we compare our agent model with the models in previous works on the Vision and Language Navigation (VLN) leaderboard. The models on the leaderboard are evaluated on a private unseen test set which contains new environments. We created three columns in Table 1 for different experimental setups: single run, beam search, and unseen environments pre-exploration. For the result, our model outperforms all other models in all experimental setups.
Single Run
Among all three experimental setups, single run is the most general and highly correlated to the agent performance. Thus, it is considered as the primary experimental setup. In this setup, the agent navigates the environment once and is not allowed888According to the Vision and Language Navigation (VLN) challenge submission guidelines to: (1) run multiple trials, (2) explore nor map the test environments before starting. Our result is and higher than the second-best in Success Rate and SPL, resp.
Beam Search
In the beam search experimental setup, an agent navigates the environment, collects multiple routes, re-ranks them, and selects the route with the highest score as the prediction. Besides showing an upper bound, beam search is usable when the environment is explored and saved in the agent’s memory but the agent does not have enough computational capacity to fine-tune its navigational model. We use the same beam-search algorithm, state factored Dijkstra algorithm, to navigate the unseen test environment. Success Rate of our model is higher than the second best. SPL metric generally fails in evaluating beam-search models because of the long Navigation Length (range of SPL is -).
Pre-Exploration
The agent pre-explores the test environment before navigating and updates its agent model with the extra information. When executing the instruction in the environment, the experimental setup is still “single run”. The “pre-exploration” agent mimics the domestic robots (e.g., robot vacuum) which only needs to navigate the seen environment most of the time. For submitting to the leaderboard, we simply train our agent via back translation with environmental dropout on test unseen environments (see Sec.7.2). Our result is higher than Wang et al. (2019) in Success Rate and higher in SPL. 999To fairly compare with Wang et al. (2019), we exclude the exploration route in calculating Navigation Length.
6 Ablation Studies
Supervised Learning
We first show the effectiveness of our IL+RL method by comparing it with the baselines (Table 2). We implement Behavioural Cloning101010 The Behavioral Cloning (IL) baseline is the same as the panoramic view baseline in Fried et al. (2018) except for two differences: (1) The agent takes the teacher action instead of the sampled action from the distribution (see “imitation learning” of Sec. 3.3), (2) The hidden input of the LSTM is the instruction-aware hidden from the previous step (see Sec. 3.2). We improve our baseline result with these modifications. and Advantage Actor-Critic as our imitation learning (IL) and reinforcement learning (RL) baselines, respectively. The mixture of IL+RL (see Sec. 3.3) outperforms the IL-only model and RL-only model by and , which means that our IL+RL could overcome the misleading teacher actions in IL and significantly stabilize the training of RL.
Semi-Supervised Learning
We then fine-tune our best supervised model (i.e., IL+RL) with back translation. Besides providing a warm-up, IL+RL is also used to learn the new generated data triplets in back translation. As shown in Table 2, back translation with environmental dropout improves the best supervised model by , where the improvement is times more than the back translation without new environments. We then show the results of the alternatives to environmental dropout. The performance with feature dropout is almost the same to the original back translation, which is lower than the environmental dropout. We also prove that the improvement from the environmental dropout method does not only come from generating diverse instructions introduced by dropout in the speaker, but also comes from using the same dropout mask in the follower agent too. To show this, we use two independent (different) environmental dropout masks for the speaker and the follower (i.e., no tying of the dropout mask), and the result drops a lot as compared to when we tie the speaker and follower dropout masks.
Full Model
Finally, we show the performance of our best agent under different experimental setups. The “single run” result is copied from the best semi-supervised model for comparison. The state-factored Dijkstra algorithm Fried et al. (2018) is used for the beam search result. The method for pre-exploration is described in Sec. 7.2, where the agent applies back translation with environmental dropout on the validation unseen environment.
7 Analysis
In this section, we present analysis experiments that first exposed the limited environments bottleneck to us, and hence inspired us to develop our environmental dropout method to break this bottleneck.
7.1 More Environments vs. More Data
In order to show that more environments are crucial for better performance of agents, in Fig. 5, we present the result of Supervised Learning (SL) with different amounts of data selected by two different data-selection methods. The first method gradually uses more #environments (see the blue line “SL with more envs”) while the second method selects data from the whole training data with all 60 training environments (see the red line “SL with more data”). Note that the amounts of data in the two setups are the same for each plot point As shown in Fig. 5, the “more envs” selection method shows higher growth rate in success rate than the “more data” method. We also predict the success rates (in dashed line) with the prediction method in Sun et al. (2017). The predicted result is much higher when training with more environments. The predicted result (the right end of the red line) also shows that the upper bound of Success Rate is around if all the 190K routes in the training environments is labeled by human (instead of being generated by speaker via back translation), which indicates the need for “new” environments.
7.2 Back Translation on Unseen Environments
In this subsection, we show that back translation could significantly improve the performance when it uses new data triplets from testing environments — the unseen validation environments where the agent is evaluated in. Back translation (w.o. Env Drop) on these unseen environments achieves a success rate of , while the back translation on the training environments only achieves . The large margin between the two results indicates the need of “new” environments in back translation. Moreover, our environmental dropout on testing environments could further improve the result to , which means that the amount of environments in back translation is far from enough.
7.3 Semantic Views
To demonstrate our intuition of the success of environmental dropout (in Sec. 3.4.2), we replace the image feature with the semantic view feature. The semantic views (as shown in Fig. 6) are rendered from the Matterport3D dataset Chang et al. (2017), where different colors indicate different types of objects. Thus, dropout on the semantic view feature would remove the object from the view. With the help of this additional information (i.e., the semantic view), the success rate of IL+RL is on the unseen validation set. Back translation (without dropout) slightly improves the result to . The result with feature dropout is while the environmental dropout could boost the result to , which supports our claim in Sec. 3.4.2.
8 Conclusion
We presented a navigational agent which better generalizes to unseen environments. The agent is supervised with a mixture of imitation learning and reinforcement learning. Next, it is fine-tuned with semi-supervised learning, with speaker-generated instructions. Here, we showed that the limited variety of environments is the bottleneck of back translation and we overcome it via ‘environmental dropout’ to generate new unseen environments. We evaluate our model on the Room-to-Room dataset and achieve rank-1 in the Vision and Language Navigation (VLN) challenge leaderboard under all experimental setups.
Acknowledgments
We thank the reviewers for their helpful comments. This work was supported by ARO-YIP Award #W911NF-18-1-0336, ONR Grant #N00014-18-1-2871, and faculty awards from Google, Facebook, Adobe, Baidu, and Salesforce. The views, opinions, and/or findings contained in this article are those of the authors and should not be interpreted as representing the official views or policies, either expressed or implied, of the funding agency.
Appendix A Appendices
A.1 Implementation Details
We use ResNet-152 He et al. (2016) pretrained on the ImageNet Russakovsky et al. (2015) to extract the -dimensional image feature. The agent model is first trained with supervised learning via the mixture of imitation and reinforcement learning. The model is then fine-tuned by back translation with environmental dropout. To stabilize the optimization of back translation, we calculate supervised loss for half of the batch and semi-supervised loss for the other half. We find that sharing the environmental dropout mask in different environments inside the same batch will stabilize the training.
The word embedding is trained from scratch with size and the dimension of the action embedding is . The size of the LSTM units is set to ( for the bidirectional LSTM). In RL training, the discounted factor is . We use the reward shaping Wu et al. (2018): the direct reward at time step is the change of the distance , supposing is the distance to the target position at time step . The maximum decoding action length is set to . For optimizing the loss, we use RMSprop Hinton et al. (2012) (as suggested in Mnih et al. (2016)) with a fixed learning rate and the batch size is . We applying dropout rate to the environmental dropout and to the dropout layers which regularize the network. The global gradient norm is clipped by . We tuned the hyper-parameters based on the Success Rate of the unseen validation set.
When working with the semantic view, the key labels (e.g., wall, floor, ceil) are not dropped, because they are the basic structure of the environment. Empirically, no improvement will be achieved when the key labels are dropped as well.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Anderson et al. (2018 a) Peter Anderson, Angel Chang, Devendra Singh Chaplot, Alexey Dosovitskiy, Saurabh Gupta, Vladlen Koltun, Jana Kosecka, Jitendra Malik, Roozbeh Mottaghi, Manolis Savva, et al. 2018 a. On evaluation of embodied navigation agents. ar Xiv preprint ar Xiv:1807.06757 .
- 2Anderson et al. (2018 b) Peter Anderson, Qi Wu, Damien Teney, Jake Bruce, Mark Johnson, Niko Sünderhauf, Ian Reid, Stephen Gould, and Anton van den Hengel. 2018 b. Vision-and-language navigation: Interpreting visually-grounded navigation instructions in real environments. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR) .
- 3Andreas and Klein (2015) Jacob Andreas and Dan Klein. 2015. Alignment-based compositional semantics for instruction following. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing , pages 1165–1174.
- 4Artzi and Zettlemoyer (2013) Yoav Artzi and Luke Zettlemoyer. 2013. Weakly supervised learning of semantic parsers for mapping instructions to actions. Transactions of the Association of Computational Linguistics , 1:49–62.
- 5Bojarski et al. (2016) Mariusz Bojarski, Davide Del Testa, Daniel Dworakowski, Bernhard Firner, Beat Flepp, Prasoon Goyal, Lawrence D Jackel, Mathew Monfort, Urs Muller, Jiakai Zhang, et al. 2016. End to end learning for self-driving cars. ar Xiv preprint ar Xiv:1604.07316 .
- 6Chang et al. (2017) Angel Chang, Angela Dai, Thomas Funkhouser, Maciej Halber, Matthias Niessner, Manolis Savva, Shuran Song, Andy Zeng, and Yinda Zhang. 2017. Matterport 3D: Learning from RGB-D data in indoor environments. International Conference on 3D Vision (3DV) .
- 7Chaplot et al. (2018) Devendra Singh Chaplot, Kanthashree Mysore Sathyendra, Rama Kumar Pasumarthi, Dheeraj Rajagopal, and Ruslan Salakhutdinov. 2018. Gated-attention architectures for task-oriented language grounding. In Thirty-Second AAAI Conference on Artificial Intelligence .
- 8Chen and Mooney (2011) David L Chen and Raymond J Mooney. 2011. Learning to interpret natural language navigation instructions from observations. In AAAI , volume 2, pages 1–2.
