Listen, Attend, And Walk: Neural Mapping Of Navigational Instructions To Action Sequences Walk

Listen%2C%20Attend%2C%20and%20Walk%20%20Neural%20Mapping%20of%20Navigational%20Instructions%20to%20Action%20Sequences

Listen%2C%20attend%2C%20and%20walk%20%20Neural%20mapping%20of%20navigational%20instructions%20to%20action%20sequences

Listen%2C%20attend%2C%20and%20walk%20%20Neural%20mapping%20of%20navigational%20instructions%20to%20action%20sequences

User Manual:

Open the PDF directly: View PDF PDF.
Page Count: 8

Listen, Attend, and Walk: Neural Mapping
of Navigational Instructions to Action Sequences
Hongyuan Mei Mohit Bansal Matthew R. Walter
Toyota Technological Institute at Chicago
Chicago, IL 60637
{hongyuan,mbansal,mwalter}@ttic.edu
Abstract
We propose a neural sequence-to-sequence model for direc-
tion following, a task that is essential to realizing effective
autonomous agents. Our alignment-based encoder-decoder
model with long short-term memory recurrent neural net-
works (LSTM-RNN) translates natural language instructions
to action sequences based upon a representation of the ob-
servable world state. We introduce a multi-level aligner that
empowers our model to focus on sentence “regions” salient
to the current world state by using multiple abstractions of
the input sentence. In contrast to existing methods, our model
uses no specialized linguistic resources (e.g., parsers) or task-
specific annotations (e.g., seed lexicons). It is therefore gen-
eralizable, yet still achieves the best results reported to-date
on a benchmark single-sentence dataset and competitive re-
sults for the limited-training multi-sentence setting. We ana-
lyze our model through a series of ablations that elucidate the
contributions of the primary components of our model.
Introduction
Robots must be able to understand and successfully execute
natural language navigational instructions if they are to work
seamlessly alongside people. For example, someone using
a voice-commandable wheelchair might direct it to “Take
me to the room across from the kitchen,” or a soldier may
command a micro aerial vehicle to “Fly down the hallway
into the second room on the right. However, interpreting
such free-form instructions (especially in unknown environ-
ments) is challenging due to their ambiguity and complexity,
such as uncertainty in their interpretation (e.g., which hall-
way does the instruction refer to), long-term dependencies
among both the instructions and the actions, differences in
the amount of detail given, and the diverse ways in which
the language can be composed. Figure 1 presents an exam-
ple instruction that our method successfully follows.
Previous work in this domain (Chen and Mooney 2011;
Chen 2012; Kim and Mooney 2012; 2013; Artzi and Zettle-
moyer 2013; Artzi, Das, and Petrov 2014) largely requires
specialized resources like semantic parsers, seed lexicons,
and re-rankers to interpret ambiguous, free-form natural lan-
guage instructions. In contrast, the goal of our work is to
learn to map instructions to actions in an end-to-end fash-
ion that assumes no prior linguistic knowledge. Instead, our
model learns the meaning of all the words, spatial relations,
B
Objects
Barstool
CChair
EEasel
HHatrack
LLamp
SSofa
Wall paintings
Tower
Butterfly
Fish
Floor patterns
Brick
Blue
Concrete
Flower
Grass
Gravel
Wood
Yellow
L
E
HC
S
S
E
C
B
H
L
Place your back against the wall of the “T” intersection. Go
forward one segment to the intersection with the blue-tiled
hall. This interesction [sic] contains a chair. Turn left. Go
forward to the end of the hall. Turn left. Go forward one seg-
ment to the intersection with the wooden-floored hall. This
intersection conatains [sic] an easel. Turn right. Go forward
two segments to the end of the hall. Turn left. Go forward
one segment to the intersection containing the lamp. Turn
right. Go forward one segment to the empty corner.
Figure 1: An example of a route instruction-path pair in one of the
virtual worlds from MacMahon, Stankiewicz, and Kuipers (2006)
with colors that indicate floor patterns and wall paintings, and let-
ters that indicate different objects. Our method successfully infers
the correct path for this instruction.
syntax, and compositional semantics from just the raw train-
ing sequence pairs, and learns to to translate the free-form
instructions to an executable action sequence.
We propose a recurrent neural network with long short-
term memory (LSTM) (Hochreiter and Schmidhuber 1997)
to both encode the navigational instruction sequence bidi-
rectionally and to decode the representation to an action
sequence, based on a representation of the current world
state. LSTMs are well-suited to this task, as they have
been shown to be effective in learning the temporal de-
1
arXiv:1506.04089v4 [cs.CL] 17 Dec 2015
pendencies that exist over such sequences, especially for
the tasks of image captioning, machine translation, and
natural language generation (Kiros, Salakhutdinov, and
Zemel 2014; Donahue et al. 2014; Chen and Zitnick 2015;
Karpathy and Fei-Fei 2015; Vinyals et al. 2015; Sutskever,
Vinyals, and Lee 2014; Rush, Chopra, and Weston 2015;
Wen et al. 2015). Additionally, we learn the correspon-
dences between words in the input navigational instruction
and actions in the output sequence using an alignment-based
LSTM (Bahdanau, Cho, and Bengio 2014; Xu et al. 2015).
Standard alignment methods only consider high-level ab-
stractions of the input (language), which sacrifices infor-
mation important to identifying these correspondences. In-
stead, we introduce a multi-level aligner that empowers the
model to use both high- and low-level input representations
and, in turn, improves the accuracy of the inferred directions.
We evaluate our model on a benchmark navigation
dataset (MacMahon, Stankiewicz, and Kuipers 2006) and
achieve the best results reported to-date on the single-
sentence task (which contains only 2000 training pairs),
without using any additional resources such as semantic
parsers, seed lexicons, or rerankers used in previous work.
On the multi-sentence task of executing a full paragraph,
where the amount of training pairs is even smaller (just a
few hundred pairs), our model performs better than several
existing methods and is competitive with the state-of-the-art,
all of which use specialized linguistic resources, extra anno-
tation, or reranking. We perform a series of ablation studies
in order to analyze the primary components of our model, in-
cluding the encoder, multi-level representations, alignment,
and bidirectionality.
Related Work
A great deal of attention has been paid of late to algo-
rithms that allow robots and autonomous agents to fol-
low free-form navigational route instructions (MacMahon,
Stankiewicz, and Kuipers 2006; Kollar et al. 2010; Chen and
Mooney 2011; Chen 2012; Kim and Mooney 2012; 2013;
Kong et al. 2014; Hemachandra et al. 2015). These methods
solve what Harnad (1990) refers to as the symbol grounding
problem, that of associating linguistic elements with their
corresponding manifestation in the external world. Initial
research in natural language symbol grounding focused on
manually-prescribed mappings between language and sets
of predefined environment features and actions (Winograd
1970; MacMahon, Stankiewicz, and Kuipers 2006). More
recent work in statistical language understanding learns
to convert free-form instructions into their referent sym-
bols by observing the use of language in a perceptual
context (Mooney 2008). These methods represent natu-
ral language grounding in terms of manually defined lin-
guistic, spatial, and semantic features (Kollar et al. 2010;
Matuszek, Fox, and Koscher 2010; Tellex et al. 2011). They
learn the model parameters from natural language corpora,
often requiring expensive annotation to pair each phrase to
its corresponding grounding.
One class of grounded language acquisition methods
treats the language understanding problem as one of learn-
ing a parser that maps free-form language into its formal lan-
guage equivalent. For example, Matuszek, Fox, and Koscher
(2010) assume no prior linguistic knowledge and employ a
general-purpose supervised semantic parser learner. Alter-
natively, Chen and Mooney (2011) parse free-form route in-
structions into formal action specifications that a robot con-
trol process can then execute. They learn the parser in a
weakly supervised manner from natural language instruc-
tion and action sequence pairs, together with the correspond-
ing world representation. Alternatively, Kim and Mooney
(2012) frame grounded language learning as probabilistic
context free grammar (PCFG) induction and use learned lex-
icons (Chen and Mooney 2011) to control the space of pro-
duction rules, which allows them to scale PCFGs to the nav-
igation domain. Kim and Mooney (2013) improve upon the
accuracy by adding a subsequent re-ranking step that uses
a weakly supervised discriminative classifier. Meanwhile,
Artzi and Zettlemoyer (2013) learn a combinatory categor-
ical grammar (CCG)-based semantic parser to convert free-
form navigational instructions to their manifestation in a
lambda-calculus representation. As with Kim and Mooney
(2013), they improve upon the accuracy through re-ranking.
Artzi, Das, and Petrov (2014) extend their CCG parser learn-
ing by using statistics of the corpus to control the size of the
lexicon, resulting in improved multi-sentence accuracy.
A second class of grounded language learning techniques
function by mapping free-form utterances to their corre-
sponding object, location, and action referents in the agent’s
world model. These methods learn a probabilistic model
that expresses the association between each word in the in-
struction and its matching referent in the world model. The
problem of interpreting a new instruction then becomes one
of inference in this learned model. Kollar et al. (2010) build
a generative model over the assumed flat, sequential struc-
ture of language that includes a combination of pre-specified
and learned models for spatial relations, adverbs, and verbs.
Tellex et al. (2011) later propose a discriminative model that
expresses the hierarchical, compositional structure of lan-
guage. They factor the probability distribution according to
the parse structure of the free-form command and employ
a log-linear factor graph to express the learned correspon-
dence between linguistic elements and the space of ground-
ings (objects, locations, and actions).
We adopt an alternative formulation and treat the problem
of interpreting route instructions as a sequence-to-sequence
learning problem. We learn this mapping in an end-to-end
fashion using a neural network, without using any prior lin-
guistic structure, resources, or annotation, which improves
generalizability. Our method is inspired by the recent suc-
cess of such sequence-to-sequence methods for machine
translation (Sutskever, Vinyals, and Lee 2014; Bahdanau,
Cho, and Bengio 2014; Cho et al. 2014), image and video
caption synthesis (Kiros, Salakhutdinov, and Zemel 2014;
Mao et al. 2014; Donahue et al. 2014; Vinyals et al. 2015;
Chen and Zitnick 2015; Karpathy and Fei-Fei 2015), and
natural language generation (Rush, Chopra, and Weston
2015; Wen et al. 2015), which similarly adopt an encoder-
decoder approach. Our model encodes the input free-form
route instruction and then decodes the embedding to identify
the corresponding output action sequence based upon the lo-
2
LSTM-RNN
MULTI-LEVEL ALIGNER DECODER
ENCODER
Aligner
LSTM-RNN
LSTM-RNN
LSTM-RNN
go forward
two segments
to the end
of the hall
E
World State
Action Sequence
Instruction
Figure 2: Our encoder-aligner-decoder model with multi-level alignment
cal, observable world state (which we treat as a third se-
quence type that we add as an extra connection to every de-
coder step). Moreover, our decoder also includes alignment
to focus on the portions of the sentence relevant to the cur-
rent action, a technique that has proven effective in machine
translation (Bahdanau, Cho, and Bengio 2014) and machine
vision (Mnih et al. 2014; Ba, Mnih, and Kavukcuoglu 2014;
Xu et al. 2015). However, unlike the standard alignment
techniques, our model learns to align based not only on the
high-level input abstraction, but also the low-level represen-
tation of the input instruction, which improves performance.
Recently, Andreas and Klein (2015) use a conditional ran-
dom field model to learn alignment between instructions and
actions; our LSTM-based aligner performs substantially bet-
ter than this approach.
Task Definition
We consider the problem of mapping natural language nav-
igational instructions to action sequences based only on
knowledge of the local, observable environment. These in-
structions may take the form of isolated sentences (single-
sentence) or full paragraphs (multi-sentence). We are inter-
ested in learning this mapping from corpora of training data
of the form (x(i), a(i), y(i))for i= 1,2, . . . , n, where x(i)
is a variable length natural language instruction, a(i)is the
corresponding action sequence, and y(i)is the observable
environment representation. The model learns to produce
the correct action sequence a(i)given a previously unseen
(x(i), y(i))pair. The challenges arise from the fact that the
instructions are free-form and complex, contain numerous
spelling and grammatical errors, and are ambiguous in their
meaning. Further, the model is only aware of the local envi-
ronment in the agent’s line-of-sight.
In this paper, we consider the route instruction dataset
generated by MacMahon, Stankiewicz, and Kuipers (2006).
The data includes free-form route instructions and their cor-
responding action sequences within three different virtual
worlds. The environments (Fig. 1) consist of interconnected
hallways with a pattern (grass, brick, wood, gravel, blue,
flower, or yellow octagons) on each hallway floor, a paint-
ing (butterfly, fish, or Eiffel Tower) on the walls, and ob-
jects (hat rack, lamp, chair, sofa, barstool, and easel) at in-
tersections. After having explored an environment, instruc-
tors were asked to give written commands that describe how
to navigate from one location to another without subsequent
access to the map. Each instruction was then given to sev-
eral human followers who were tasked with navigating in the
virtual world without a map, and their paths were recorded.
Many of the raw instructions include spelling and grammat-
ical errors, others are incorrect (e.g., misusing “left” and
“right”), approximately 10% of the single sentences have no
associated action, and 20% have no feasible path.
The Model
We formulate the problem of interpreting natural language
route instructions as inference over a probabilistic model
P(a1:T|y1:T, x1:N), where a1:T= (a1, a2, . . . , aT)is the
action sequence, ytis the world state at time t, and x1:N=
(x1, x2, . . . , xN)is the natural language instruction,
a
1:T=arg max
a1:T
P(a1:T|y1:T, x1:N)(1a)
=arg max
a1:T
T
Y
t=1
P(at|a1:t1, yt, x1:N)(1b)
This problem can be viewed as one of mapping the given
instruction sequence x1:Nto the action sequence a1:T. An
effective means of learning this sequence-to-sequence map-
ping is to use a neural encoder-decoder architecture. We first
use a bidirectional recurrent neural network model to encode
the input sentence
hj=f(xj, hj1, hj+1)(2a)
zt=c(h1, h2,...hN),(2b)
where hjis the encoder hidden state for word
j∈ {1, . . . , N}, and fand care nonlinear functions
that we define shortly. Next, the context vector zt(com-
puted by the aligner) encodes the language instruction at
time t∈ {1, . . . , T }. Next, another RNN decodes the
context vector ztto arrive at the desired likelihood (1)
P(a1:T|y1:T, x1:N) =
T
Y
t=1
P(at|a1:t1, yt, x1:N)(3a)
P(at|a1:t1, yt, x1:N) = g(st1, zt, yt),(3b)
where st1is the decoder hidden state at time t1, and gis
a nonlinear function. Inference then follows by maximizing
this posterior to determine the desired action sequence.
3
c
Memory cell
Input gate Output gate
Forget gate
Figure 3: Long Short-term Memory (LSTM) unit.
Our model (Fig. 2) employs LSTMs as the nonlinear func-
tions fand gdue to their ability to learn long-term depen-
dencies that exist over the instruction and action sequences,
without suffering from exploding or vanishing gradients.
Our model also integrates multi-level alignment to focus on
parts of the instruction that are more salient to the current
action at multiple levels of abstraction. We next describe
each component of our network in detail.
Encoder Our encoder takes as input the natural lan-
guage route instruction represented as a sequence
x1:N= (x1, x2, . . . , xN), where x1and xNare the
first and last words in the sentence, respectively. We treat
each word xias a K-dimensional one-hot vector, where
Kis the vocabulary size. We feed this sequence into an
LSTM-RNN that summarizes the temporal relationships
between previous words and returns a sequence of hidden
annotations h1:N= (h1, h2, . . . , hN), where the annotation
hjsummarizes the words up to and including xj.
We adopt an LSTM encoder architecture (Fig. 3) similar
to that of Graves, Abdel-rahman, and Hinton (2013),
ie
j
fe
j
oe
j
ge
j
=
σ
σ
σ
tanh
Texj
hj1(4a)
ce
j=fe
jce
j1+ie
jge
j(4b)
hj=oe
jtanh(ce
j)(4c)
where Teis an affine transformation, σis the logistic sig-
moid that restricts its input to [0,1],ie
j,fe
j, and oe
jare the
input, output, and forget gates of the LSTM, respectively,
and ce
jis the memory cell activation vector. The memory
cell ce
jsummarizes the LSTM’s previous memory ce
j1and
the current input, which are modulated by the forget and in-
put gates, respectively. The forget and input gates enable the
LSTM to regulate the extent to which it forgets its previous
memory and the input, while the output gate regulates the
degree to which the memory affects the hidden state.
Our encoder employs bidirectionality, encoding the sen-
tences in both the forward and backward directions, an ap-
proach that has been found to be successful in speech recog-
nition and machine translation (Graves, Abdel-rahman,
and Hinton 2013; Bahdanau, Cho, and Bengio 2014;
Cho et al. 2014). In this way, the hidden annotations
hj= (
h>
j;
h>
j)>concatenate forward
hjand backward
annotations
hj, each determined using Equation 4c.
Multi-level Aligner The context representation of the in-
struction is computed as a weighted sum of the word vectors
xjand encoder states hj. Whereas most previous work align
based only on the hidden annotations hj, we found that also
including the original input word xjin the aligner improves
performance. This multi-level representation allows the de-
coder to not just reason over the high-level, context-based
representation of the input sentence hj, but to also consider
the original low-level word representation xj. By adding xj,
the model offsets information that is lost in the high-level
abstraction of the instruction. Intuitively, the model is able
to better match the salient words in the input sentence (e.g.,
“easel”) directly to the corresponding landmarks in the cur-
rent world state ytused in the decoder. The context vector
then takes the form
zt=X
j
αtj xj
hj(5)
The weight αtj associated with each pair (xj, hj)is
αtj = exp(βtj )/X
j
exp(βtj ),(6)
where the alignment term βtj =f(st1, xj, hj)weighs the
extent to which the word at position jand those around it
match the output at time t. The alignment is modelled as a
one-layer neural perceptron
βtj =v>tanh(W st1+Uxj+V hj),(7)
where v,W,U, and Vare learned parameters.
Decoder Our architecture uses an LSTM decoder (Fig. 3)
that takes as input the current world state yt, the context
of the instruction zt, and the LSTM’s previous hidden state
st1. The output is the conditional probability distribution
Pa,t =P(at|a1:t1, yt, x1:N)over the next action (3), rep-
resented as a deep output layer (Pascanu et al. 2014)
id
t
fd
t
od
t
gd
t
=
σ
σ
σ
tanh
Td Eyt
st1
zt!(8a)
cd
t=fd
tcd
t1+id
tgd
t(8b)
st=od
ttanh(cd
t)(8c)
qt=L0(Eyt+Lsst+Lzzt)(8d)
Pa,t =softmax (qt)(8e)
where Eis an embedding matrix and L0,Ls, and Lzare
parameters to be learned.
Training We train the encoder and decoder models so as
to predict the action sequence a
1:Taccording to Equation 1
for a given instruction x1:Nand world state y1:Tfrom the
4
training corpora. We use the negative log-likelihood of the
demonstrated action at each time step tas our loss function,
L=log P(a
t|yt, x1:N).(9)
As the entire model is a differentiable function, the parame-
ters can be learned by back-propagation.
Inference Having trained the model, we generate action
sequences by finding the maximum a posteriori actions un-
der the learned model (1). One action sequence is completed
when the “stop” action is emitted. For the single-sentence
task, we perform this search using standard beam search to
maintain a list of the current kbest hypotheses.1We itera-
tively consider the k-best sequences up to time tas candi-
dates to generate sequences of size t+ 1 and keep only the
resulting best kof them. For multi-sentence, we perform the
search sentence-by-sentence, and initialize the beam of the
next sentence with the list of previous kbest hypotheses. As
a common denoising method in deep learning (Sutskever,
Vinyals, and Lee 2014; Zaremba, Sutskever, and Vinyals
2014; Vinyals et al. 2015), we perform inference over an
ensemble of randomly initialized models.2
Experimental Setup
Dataset We train and evaluate our model using the pub-
licly available SAIL route instruction dataset collected
by MacMahon, Stankiewicz, and Kuipers (2006). We use
the raw data in its original form (e.g., we do not correct any
spelling errors). The dataset contains 706 non-trivial naviga-
tional instruction paragraphs, produced by six instructors for
126 unique start and end position pairs spread evenly across
three virtual worlds. These instructions are segmented into
individual sentences and paired with an action sequence.
See corpus statistics in Chen and Mooney (2011).
World State The world state ytencodes the local, observ-
able world at time t. We make the standard assumption that
the agent is able to observe all elements of the environment
that are within line-of-sight. In the specific domain that we
consider for evaluation, these elements include the floor pat-
terns, wall paintings, and objects that are not occluded by
walls. We represent the world state as a concatenation of
a simple bag-of-words vector for each direction (forward,
left, and right). The choice of bag-of-words representation
avoids manual domain-specific feature-engineering and the
combinatoriality of modeling exact world configurations.
Evaluation Metrics We evaluate our end-to-end model on
both the single-sentence and multi-sentence versions of the
corpus. For the single-sentence task, following previous
work, the strict evaluation metric deems a trial to be success-
ful iff the final position and orientation exactly match those
of the original demonstration. For multi-sentence, we disre-
gard the final orientation, as previous work does. However,
1We use a beam width of 10 to be consistent with existing work.
2At each time step t, we generate actions using the avg. of the
posterior likelihoods of 10 ensemble models, as in previous work.
this setting is still more challenging than single-sentence due
to cascading errors over individual sentences.
Training Details We follow the same procedure as Chen
and Mooney (2011), training with the segmented data and
testing on both single- and multi-sentence versions. We train
our models using three-fold cross-validation based on the
three maps. In each fold, we retain one map as test and
partition the two-map training data into training (90%) and
validation (10%) sets, the latter of which is used to tune
hyperparameters.3We repeat this process for each of the
three folds and report (size-weighted) average test results
over these folds. We later refer to this training procedure as
“vDev. Additionally, some previous methods (p.c.) adopted
a slightly different training strategy whereby each fold trains
on two maps and uses the test map to decide on the stopping
iteration. In order to compare against these methods, we also
train a separate version of our model in this way, which we
refer to as “vTest.
For optimization, we found Adam (Kingma and Ba 2015)
to be very effective for training with this dataset. The train-
ing usually converges within 50 epochs. We performed early
stopping based on the validation task metric. Similar to pre-
vious work (Xu et al. 2015), we found that the validation
log-likelihood is not well correlated with the task metric.
Results and Analysis
In this section, we compare the overall performance of our
model on the single- and multi-sentence benchmarks against
previous work. We then present an analysis of our model
through a series of ablation studies.
Table 1: Overall accuracy (state-of-the-art in bold)
Method Single-sent Multi-sent
Chen and Mooney (2011) 54.40 16.18
Chen (2012) 57.28 19.18
Kim and Mooney (2012) 57.22 20.17
Kim and Mooney (2013) 62.81 26.57
Artzi and Zettlemoyer (2013) 65.28 31.93
Artzi, Das, and Petrov (2014) 64.36 35.44
Andreas and Klein (2015) 59.60
Our model (vDev) 69.98 26.07
Our model (vTest) 71.05 30.34
Primary Result We first investigate the ability to navigate
to the intended destination for a given natural language in-
struction. Figure 1 illustrates an output example for which
our model successfully executes the input natural language
instruction. Table 1 reports the overall accuracy of our
model for both the single- and multi-sentence settings. We
report two statistics with our model (vDev and vTest) in or-
der to directly compare with existing work.4
3We only tuned the no. of hidden units and the drop-out
rate (Srivastava et al. 2014; Zaremba, Sutskever, and Vinyals 2014).
4Subsequent evaluations are on vDev unless otherwise noted.
5
Table 2: Model components ablations
Full Model High-level Aligner No Aligner Unidirectional No Encoder
Single-sentence 69.98 68.09 68.05 67.44 61.63
Multi-sentence 26.07 24.79 25.04 24.50 16.67
As we can see from Table 1, we surpass state-of-the-art re-
sults on the single-sentence route instruction task (for both
vDev and vTest settings), despite using no linguistic knowl-
edge or resources. Our multi-sentence accuracy, which is
working with a really small amount of training data (a few
hundred paragraph pairs), is competitive with state-of-the-
art and outperforms several previous methods that use addi-
tional, specialized resources in the form of semantic parsers,
logical-form lexicons, and re-rankers.5We note that our
model yields good results using only greedy search (beam
width of one). For vDev, we achieve 68.05 on single-
sentence and 23.93 on multi-sentence, while for vTest, we
get 70.56 on single-sentence and 27.91 on multi-sentence.
Distance Evaluation Our evaluation required that the ac-
tion sequence reach the exact desired destination. It is of
interest to consider how close the model gets to the destina-
tion when it is not reached. Table 3 displays the fraction of
test results that reach within dnodes of the destination. Of-
ten, the method produces action sequences that reach points
close to the desired destination.
Table 3: Accuracy as a function of distance from destination
Distance (d)0 1 2 3
Single-sentence 71.73 86.62 92.86 95.74
Multi-sentence 26.07 42.88 59.54 72.08
Multi-level Aligner Ablation Unlike most existing meth-
ods that align based only on the hidden annotations hj, we
adopt a different approach by also including the original in-
put word xj(Eqn. 5). As shown in Table 2, the multi-level
representation (“Full Model”) significantly improves perfor-
mance over a standard aligner (“High-level Aligner”). Fig-
ure 4 visualizes the alignment of words to actions in the map
environment for several sentences from the instruction para-
graph depicted in Figure 1.
Aligner Ablation Our model utilizes alignment in the de-
coder as a means of focusing on word “regions” that are
more salient to the current world state. We analyze the effect
of the learned alignment by training an alternative model
5Note that with no ensemble, we are still state-of-the-art on
single-sentence and better than all comparable approaches on
multi-sentence: Artzi et al. (2013, 2014) use extra annotations with
a logical-form lexicon and Kim and Mooney (2013) use discrim-
inative reranking, techniques that are orthogonal to our approach
and should likely improve our results as well.
in which the context vector ztis an unweighted average
(Eqn. 5). As shown in the Table 2, learning the alignment
does improve the accuracy of the resulting action sequence.
Note that the “No Aligner” model still maintains all connec-
tions between the instruction and actions, but is just using
non-learned, uniform weights.
Bidirectionality Ablation We train an alternative model
that uses only a unidirectional (forward) encoder. As shown
in Table 2, the bidirectional encoder (“Full Model”) signifi-
cantly improves accuracy.
Encoder Ablation We further evaluate the benefit of en-
coding the input sentence and consider an alternative model
that directly feeds word vectors as randomly initialized em-
beddings into the decoder and relies on the alignment model
to choose the salient words. Table 2 presents the results
with and without the encoder and demonstrates that there
is a substantial gain in encoding the input sentence into its
context representation. We believe the difference is due to
the RNN’s ability to incorporate sentence-level information
into the word’s representation as it processes the sentence
sequentially (in both directions). This advantage helps re-
solve ambiguities, such as “turn right before . .. versus
“turn right after .. .”.
Conclusion
We presented an end-to-end, sequence-to-sequence ap-
proach to mapping natural language navigational instruc-
tions to action plans given the local, observable world
state, using a bidirectional LSTM-RNN model with a multi-
level aligner. We evaluated our model on a benchmark
route instruction dataset and demonstrates that it achieves a
new state-of-the-art on single-sentence execution and yields
competitive results on the more challenging multi-sentence
domain, despite working with very small training datasets
and using no specialized linguistic knowledge or resources.
We further performed a number of ablation studies to eluci-
date the contributions of our primary model components.
Acknowledgments
We thank Yoav Artzi, David Chen, Oriol Vinyals, and
Kelvin Xu for their helpful comments. This work was sup-
ported in part by the Robotics Consortium of the U.S. Army
Research Laboratory under the Collaborative Technology
Alliance Program, Cooperative Agreement W911NF-10-2-
0016, and by an IBM Faculty Award.
6
Figure 4: Visualization of the alignment between words to actions in a map for a multi-sentence instruction.
References
Andreas, J., and Klein, D. 2015. Alignment-based composi-
tional semantics for instruction following. In Proceedings of
the Conference on Empirical Methods in Natural Language
Processing (EMNLP).
Artzi, Y., and Zettlemoyer, L. 2013. Weakly supervised
learning of semantic parsers for mapping instructions to ac-
tions. Transactions of the Association for Computational
Linguistics 1:49–62.
Artzi, Y.; Das, D.; and Petrov, S. 2014. Learning com-
pact lexicons for ccg semantic parsing. In Proceedings of
the Conference on Empirical Methods in Natural Language
Processing (EMNLP).
Ba, J.; Mnih, V.; and Kavukcuoglu, K. 2014. Multiple object
recognition with visual attention. arXiv:1412.7755.
Bahdanau, D.; Cho, K.; and Bengio, Y. 2014. Neural ma-
chine translation by jointly learning to align and translate.
arXiv:1409.0473.
Chen, D. L., and Mooney, R. J. 2011. Learning to interpret
natural language navigation instructions from observations.
In Proceedings of the National Conference on Artificial In-
telligence (AAAI).
Chen, X., and Zitnick, C. L. 2015. Mind’s eye: A recurrent
visual representation for image caption generation. In Pro-
ceedings of the IEEE Conference on Computer Vision and
Pattern Recognition (CVPR).
Chen, D. L. 2012. Fast online lexicon learning for grounded
language acquisition. In Proceedings of the Annual Meeting
of the Association for Computational Linguistics (ACL).
Cho, K.; van Merrienboer, B.; Gulcehre, C.; Bahdanau, D.;
Bougares, F.; Schwenk, H.; and Bengio, Y. 2014. Learn-
ing phrase representations using RNN encoder-decoder for
statistical machine translation. In Proceedings of the Confer-
ence on Empirical Methods in Natural Language Processing
(EMNLP).
Donahue, J.; Hendricks, L. A.; Guadarrama, S.; Rohrbach,
M.; Venugopalan, S.; Saenko, K.; and Darrell, T. 2014.
Long-term recurrent convolutional networks for visual
recognition and description. arXiv:1411.4389.
Graves, A.; Abdel-rahman, M.; and Hinton, G. 2013.
Speech recognition with deep recurrent neural networks. In
ICASSP.
Harnad, S. 1990. The symbol grounding problem. Physica
D42:335–346.
Hemachandra, S.; Duvallet, F.; Howard, T. M.; Roy, N.;
Stentz, A.; and Walter, M. R. 2015. Learning models for
following natural language directions in unknown environ-
ments. In Proceedings of the IEEE International Conference
on Robotics and Automation (ICRA).
Hochreiter, S., and Schmidhuber, J. 1997. Long short-term
memory. Neural Computation 9(8).
Karpathy, A., and Fei-Fei, L. 2015. Deep visual-semantic
alignments for generating image descriptions. In Proceed-
ings of the IEEE Conference on Computer Vision and Pat-
tern Recognition (CVPR).
Kim, J., and Mooney, R. J. 2012. Unsupervised PCFG in-
duction for grounded language learning with highly ambigu-
ous supervision. In Proceedings of the Conference on Em-
7
pirical Methods in Natural Language Processing (EMNLP),
433–444.
Kim, J., and Mooney, R. J. 2013. Adapting discriminative
reranking to grounded language learning. In Proceedings
of the Annual Meeting of the Association for Computational
Linguistics (ACL).
Kingma, D., and Ba, J. 2015. Adam: A method for stochas-
tic optimization. In Proceedings of the International Con-
ference on Learning Representations.
Kiros, R.; Salakhutdinov, R.; and Zemel, R. S. 2014. Uni-
fying visual-semantic embeddings with multimodal neural
language models. arXiv:1411.2539.
Kollar, T.; Tellex, S.; Roy, D.; and Roy, N. 2010. Toward un-
derstanding natural language directions. In Proceedings of
the ACM/IEEE International Conference on Human-Robot
Interaction (HRI).
Kong, C.; Lin, D.; Bansal, M.; Urtasun, R.; and Fidler, S.
2014. What are you talking about? text-to-image corefer-
ence. In Proceedings of CVPR.
MacMahon, M.; Stankiewicz, B.; and Kuipers, B. 2006.
Walk the talk: Connecting language, knowledge, and action
in route instructions. In Proceedings of the National Con-
ference on Artificial Intelligence (AAAI).
Mao, J.; Xu, W.; Yang, Y.; Wang, J.; and Yuille, A. 2014.
Deep captioning with multimodal recurrent neural networks
(m-RNN). arXiv:1412.6632.
Matuszek, C.; Fox, D.; and Koscher, K. 2010. Following
directions using statistical machine translation. In Proceed-
ings of the ACM/IEEE International Conference on Human-
Robot Interaction (HRI).
Mnih, V.; Hees, N.; Graves, A.; and Kavukcuoglu, K. 2014.
Recurrent models of visual attention. In Advances in Neural
Information Processing Systems (NIPS).
Mooney, R. J. 2008. Learning to connect language and
perception. In Proceedings of the National Conference on
Artificial Intelligence (AAAI).
Pascanu, R.; Gulcehre, C.; Cho, K.; and Bengio, Y.
2014. How to construct deep recurrent neural networks.
arXiv:1312.6026.
Rush, A. M.; Chopra, S.; and Weston, J. 2015. A neu-
ral attention model for abstractive sentence summarization.
In Proceedings of the Conference on Empirical Methods in
Natural Language Processing (EMNLP).
Srivastava, N.; Hinton, G.; Krizhevsky, A.; Sutskever, I.;
and Salakhutdinov, R. 2014. Dropout: A simple way to pre-
vent neural networks from overfitting. J. Machine Learning
Research 15(1):1929–1958.
Sutskever, I.; Vinyals, O.; and Lee, Q. V. 2014. Sequence
to sequence learning with neural networks. In Advances in
Neural Information Processing Systems (NIPS).
Tellex, S.; Kollar, T.; Dickerson, S.; Walter, M. R.; Banerjee,
A. G.; Teller, S.; and Roy, N. 2011. Understanding natural
language commands for robotic navigation and mobile ma-
nipulation. In Proceedings of the National Conference on
Artificial Intelligence (AAAI).
Vinyals, O.; Toshev, A.; Bengio, S.; and Erhan, D. 2015.
Show and tell: A neural image caption generator. In Pro-
ceedings of the IEEE Conference on Computer Vision and
Pattern Recognition (CVPR).
Wen, T.-H.; Gaˇ
si´
c, M.; Mrkˇ
si´
c, N.; Su, P.-H.; Vandyke, D.;
and Young, S. 2015. Semantically conditioned LSTM-based
natural language generation for spoken dialogue systems.
In Proceedings of the Conference on Empirical Methods in
Natural Language Processing (EMNLP).
Winograd, T. 1970. Proceedures as a Representation for
Data in a Computer Program for Understanding Natural
Language. Ph.D. Dissertation, MIT.
Xu, K.; Ba, J.; Kiros, R.; Cho, K.; Courville, A.; Salakhutdi-
nov, R.; Zemel, R.; and Bengio, Y. 2015. Show, attend and
tell: Neural image caption generation with visual attention.
In Proceedings of the International Conference on Machine
Learning (ICML).
Zaremba, W.; Sutskever, I.; and Vinyals, O. 2014. Recurrent
neural network regularization. arXiv:1409.2329.
8

Navigation menu