From Human Language
to Agent Action
Jesse Thomason
University of Washington
Mohit Shridhar
Dieter�Fox
Luke Zettlemoyer
Yonatan Bisk
Daniel Gordon
Roozbeh Mottaghi
Winson�Han
Michael Murray
Maya Cakmak
We Use Language to Instruct Machine Agents
No visual connections.
Require visual grounding.
2
Outline
3
Outline
4
Vision-and-Language Navigation
5
[Anderson et al., CVPR’18]
“Turn around and exit the library, head down the…”
6
[Anderson et al., CVPR’18]
“Turn around and exit the library, head down the…”
7
[Anderson et al., CVPR’18]
Sequence-to-Sequence Model
“Turn around and exit the library, head down the stairs and across the room.”
After each action, get a new visual observation from the environment.
8
...
...
â0
â1
ân
RN
RN
RN
t0
t1
t2
LE
LE
LE
Learned, token-level Language Embedding
LSTM Encoder
LSTM Decoder
Fixed, ResNet-152 Embedding Network
[Anderson et al., CVPR’18]
We will build on this model.
Unimodal Model Ablations
9
Embodied QA�[Das et al., CVPR’18]
Action, vision-, and language-only models.
Beats baseline
Beats initial model!
Action, vision-, and language-only models.
Language-only model.
Vision-only model.
Room-2-Room�[Anderson et al., CVPR’18]
<EOS>
RN
LE
...
LE
<EOS>
RN
LE
<EOS>
RN
LE
Vision-only
Lang-only
Action-only
[Thomason et al., NAACL’19]
Models and data may fail to address underlying vision+language challenges.
“Turn around and exit the library, head down the…”
10
“Go clean the room with a plant.”
11
iRobot
“Go clean the room with a plant.”
…
12
iRobot
“Go clean the room with a plant.”
…
13
iRobot
In This Talk
14
Use natural language instruction following to complete high-level goals.
Ask questions to get additional supervision!
…
15
iRobot
Outline
16
17
Guidance Abstraction
Language Source
Templates
Humans
Semantic
Visual
Talk the Walk�[de Vries et al., arXiv’18]
VLNA [Nguyen et al., CVPR’19]
Vision-and-Dialog Navigation
Outline
18
19
...
Hint: The goal room contains a mat.
Into the hall or the office?
Left into the hall.
Follow it to a living room.
...
...
Should I go upstairs?
Visible to both Navigator and Oracle
Visible Only to the Oracle
-- this target object is present in at least two rooms, but only one is correct.
-- A shortest-path planner’s next steps; up to 5 navigation nodes in the direction of the goal.
Navigator View
Oracle View
20
Dialog Enables Longer Paths
CVDN
R2R
21
Shared Visual Context Yields Egocentric Language
22
The goal room contains a rug. |
Navigator: Should I go to the left or right? |
Oracle: Go left and turn right after the bathroom. |
Navigator: Do I need to go in the room with the run or keep on going right? |
Oracle: Turn right and take the tiny hallway on the right. You will ascend the stairs you find on the right. |
Navigator: Should I go into the kitchen or to the right? |
Oracle: Turn toward the front door and go up the stairs you see on the right. |
Navigator: Do I go left or right? |
Oracle: Go along the railing to the right. Stop at the room with a brown chair. |
3 steps
4 steps
7 steps
6 steps
4s
Dialog Leads to Rich Language
CVDN
R2R
23
Should I go to the left or right?
Go left and turn right after the bathroom.
Do I need to go in the room with the run or keep on going right?
Turn right and take the tiny hallway on the right. You will ascend the stairs you find on the right.
Should I go into the kitchen or to the right?
Turn toward the front door and go up the stairs you see on the right.
Do I go left or right?
Go along the railing to the right. Stop at the room with a brown chair.
Walk between the columns and make a sharp turn right. Walk down the steps and stop on the landing.
Outline
24
Navigation from Dialog History
25
The goal room contains a rug. |
Navigator: Should I go to the left or right? |
Oracle: Go left and turn right after the bathroom. |
Navigator: Do I need to go in the room with the run or keep on going right? |
Oracle: Turn right and take the tiny hallway on the right. You will ascend the stairs you find on the right. |
Navigator: Should I go into the kitchen or to the right? |
Oracle: Turn toward the front door and go up the stairs you see on the right. |
Navigator: Do I go left or right? |
Oracle: Go along the railing to the right. Stop at the room with a brown chair. |
3 steps
4 steps
6 steps
4s
...
Navigator
7 steps
Navigation from Dialog History
26
The goal room contains a rug. |
Navigator: Should I go to the left or right? |
Oracle: Go left and turn right after the bathroom. |
Navigator: Do I need to go in the room with the run or keep on going right? |
Oracle: Turn right and take the tiny hallway on the right. You will ascend the stairs you find on the right. |
Navigator: Should I go into the kitchen or to the right? |
Oracle: Turn toward the front door and go up the stairs you see on the right. |
Navigator: Do I go left or right? |
Oracle: Go along the railing to the right. Stop at the room with a brown chair. |
3 steps
4 steps
7 steps
6 steps
4 steps
Initial, Sequence-to-Sequence Model
27
...
...
â0
â1
ân
RN
RN
RN
mat
<EOS>
Oracle: Through the lobby. So go through the door next to the green towel. Go to the left door next to the two yellow lights. Walk straight to the end of the hallway and stop … Navigator: Are these the yellow lights you were talking about? |
Target
LE
LE
LE
<TAR>
<ORA>
Yeah
,
head
up
the
stairs
.
Last Answer
LE
LE
LE
LE
LE
LE
LE
LE
<NAV>
Should
I
go
upstairs
?
Last Question
LE
LE
LE
LE
LE
LE
Navigator: Should I turn left down the hallway ahead? Oracle: ya |
<NAV>
Into
the
hall
or
the
office
?
<ORA>
Left
into
the
hall
.
Follow
it
to
a
living
room
.
All Previous Questions and Answers
LE
LE
LE
LE
LE
LE
LE
LE
LE
LE
LE
LE
LE
LE
LE
LE
LE
LE
LE
LE
LE
Evaluation - Test (epoch of best Val Unseen)
1.90
2.05
2.27
2.35
28
Adding Dialog History Helps in Unseen Environments.
Evaluation - Unimodal Baselines
9.52
9.76
0.91
0.52
5.72
1.74
1.58
1.40
5.92
2.35
Action-only
Vis-�only
Lang-�only
29
<EOS>
RN
LE
<EOS>
RN
LE
...
LE
<EOS>
RN
LE
Initial Model Uses Multimodal Input in Unseen Environments.
Lots of Headroom for Future Models
“Go clean the room with a plant.”
…
30
“Brown a potato slice.”
…
31
“Brown a potato slice.”
…
32
“Brown a potato slice.”
…
33
“Brown a potato slice.”
…
34
Use both high- and low-level instructions
…
35
Outline
36
Long-term Aspiration in Robotics
“Turn left and head to the stove counter.”
rotate(-90)�forward(3m)
“Pick up the knife on the counter beside the toaster.”
Human Instructor
Robot Actions
Robot Actuation
grasp_at(coords)
Base motor accelerations
Arm and gripper control
37
Translating Instructions to Actions
“Turn left and head to the stove counter.”
rotate(-90)�forward(3m)
“Pick up the knife on the counter beside the toaster.”
Human Instructor
Robot Actions
grasp_at(coords)
38
Understanding language requires context
Too see lots of diverse language, can utilize a big dataset.
Brown a potato slice. Turn left and head to the stove counter. Pick up the knife on the counter beside the toaster. Turn right then face to the island. Slice the potato. ...
39
Room-to-Room�[Anderson et al., CVPR’18]
VirtualHome�[Puig et al., CVPR’18]
Low-level actions.
Only about navigation.
About interactive tasks.
Semantics-level actions.
ALFRED
Outline
40
Action
Learning
From
Realistic
Environments (and)
Directives
41
Action
Learning
From
Realistic
Environments (and)
Directives
42
iRobot
Boston Dynamics
Learn new actions by chaining together reliable, low-level skills.
Reliable, static behaviors.
Action
Learning
From
Realistic
Environments (and)
Directives
43
Action
Learning
From
Realistic
Environments (and)
Directives
44
(Stack, Fork, Cup, CounterTop, Kitchen3)
Task Tuple
Trajectory
Trajectory
Trajectory
45
Language Instructions
Language Instructions
Language Instructions
Language Instructions
Language Instructions
Language Instructions
Language Instructions
Language Instructions
Language Instructions
Planner with Full Observability
(x,y,z) | is_fork(x) & is_cup(y) & on(x, y) & is_counter(z) & on(y, z)
ALFRED Tasks
Pick & Place
Double Place
Stack
Examine
46
ALFRED Tasks
Heat
Cool
Rinse
47
ALFRED Tasks
48
Free-form, open-vocabulary annotations.
ALFRED has Long Demonstrations
49
Room-to-Room
VirtualHome
Touchdown
ALFRED has as many demonstrations as others (+8k), but much longer�(50 steps versus R2R’s 6).
# Demonstrations
Actions per Demonstration
[Chen et al., CVPR’19]
ALFRED has Long Instructions + More Annotations
50
ALFRED has more instructions (+25k) and they are as long or longer than most (80 tokens versus R2R’s 29).
# Annotations
Words per Instruction
Outline
51
Action and State Space
Put In
Toggle On
52
Seq2Seq Model with Progress Monitoring
53
[Ma et al., ICLR’19]
Estimate 0.5 progress.
Seq2Seq Model
Put�In
Visual Encoding (t)
Encoding
vt
Resnet Conv5
LSTM
at - 1
ht
Action Decoder
at ; mt
Language Instructions Encoding (t=0)
Put a chilled cup of water in the cupboard. Take a step to your right then walk to the counter in front of you then turn right and walk to the fridge. Open the freezer and grab the glass from behind the egg then close the door. Turn around and walk to the counter then turn right. Put the cup in the sink then full it with water and pick it back up remembering to shut off the tap. ...
x1
x2
x3
...
xL
BiLSTM Encoder
x
Attention over x
xt
Seq2Seq Model with Progress Monitoring
Visual Encoding (t)
Encoding
vt
Resnet Conv5
LSTM
at - 1
ht
Action Decoder
at ; mt
Language Instructions Encoding (t=0)
Put a chilled cup of water in the cupboard. Take a step to your right then walk to the counter in front of you then turn right and walk to the fridge. Open the freezer and grab the glass from behind the egg then close the door. Turn around and walk to the counter then turn right. Put the cup in the sink then full it with water and pick it back up remembering to shut off the tap. ...
x1
x2
x3
...
xL
BiLSTM Encoder
x
Attention over x
xt
Progress Monitor
st ; pt
Predict normalized step num st/T.
Predict step progress in [0, 1], pt.
Reasonable adaptation of a model that works well for visual navigation tasks.
Unimodal Ablations - Seen Rooms
56
Unimodal Ablations - Seen Rooms
57
Vision-only can only learn the next step of an expert demonstration.
ALFRED does not exhibit powerful unimodal bias.
Performance in Unseen Rooms
58
Performance in Unseen Rooms
59
ALFRED demonstrations are non-trivially more complex than navigation.
Explicit Memory? Hierarchy? Modularity? Symbolic planning?
Outline
60
We Use Language to Instruct Machine Agents
No visual connections.
Require visual grounding.
61
In This Talk
62
...
Hint: The goal room contains a mat.
Into the hall or the office?
Left into the hall.
Follow it to a living room.
Vision-and-Dialog Navigation [CoRL’19]
Interpreting Grounded Instructions�for Everyday Tasks [in submission]
Longer dialog context improves navigation in unseen environments.
Out of the box, successful navigation models are not sufficient for ALFRED.
Integrating language and vision is necessary for more complex tasks.
Long-term Aspiration in Robotics
“Turn left and head to the stove counter.”
rotate(-90)�forward(3m)
“Pick up the knife on the counter beside the toaster.”
Human Instructor
Robot Actions
Robot Actuation
grasp_at(coords)
Base motor accelerations
Arm and gripper control
63
Train agents for the ALFRED benchmark.
ALFRED also reveals some complexities for what comes next.
ALFRED Reveals API Ambiguity
“Turn on the sink.”
grasp_at(coords)
Arm and gripper control
Human Instructor
Robot Actions
Robot Actuation
64
ALFRED Reveals API Ambiguity
“Open the _____.”
grasp_at(coords)
Arm and gripper control
Human Instructor
Robot Actions
Robot Actuation
65
We will always need on the fly, arbitrarily low level language instructions!
Any API for robot control from language may miss low-level details!
Dialog-enabled agents can request this supervision as needed.
66
...
Hint: The goal room contains a mat.
Into the hall or the office?
Left into the hall.
Follow it to a living room.
...
...
Should I go upstairs?
Visible to both Navigator and Oracle
Visible Only to the Oracle
Navigation
Question Generation
Question Answering
Mohit Shridhar
Dieter�Fox
Luke Zettlemoyer
Yonatan Bisk
Daniel Gordon
Roozbeh Mottaghi
Winson�Han
Michael Murray
Maya Cakmak
From Human Language to Agent Action
“Turn around and exit the library, head down the…”
…
68
â0=F
*a0=R
RN
â0
...
LE
<EOS>
LE
[Anderson et al., CVPR’18]
Navigation from Dialog History
69
The goal room contains a rug. |
Navigator: Should I go to the left or right? |
Oracle: Go left and turn right after the bathroom. |
Navigator: Do I need to go in the room with the run or keep on going right? |
Oracle: Turn right and take the tiny hallway on the right. You will ascend the stairs you find on the right. |
Navigator: Should I go into the kitchen or to the right? |
Oracle: Turn toward the front door and go up the stairs you see on the right. |
Navigator: Do I go left or right? |
Oracle: Go along the railing to the right. Stop at the room with a brown chair. |
3 steps
4 steps
x5
6 steps
4s
x7
...
Oracle
...
Navigator
7 steps