Professional Documents
Culture Documents
1
Levels of Decision-Making
Task: which object to move where?
Grasp planner: where to grasp object?
Inverse kinematics: arm/whole-body configuration
Motion planner: path through cspace
Trajectory following: joint torques/velocities
2
How to connect levels?
Standard model: top-down+heuristics
Decide which object to move next
Choose grasp point
Find IK solution
Etc
Protocol
High level gives low level a planning instance
Low level returns a single solution or fails
Works well when levels mostly independentS
This talk
Angelic semantics: levels communicate via
(bounds on) reachable sets
Resulting planners
Do most work at high level => efficient
Yet provably sound and complete
4
Running example
O1
O4
Door 1
Robot
Goal
O2
Door 2
O5
O1
O4
Door 1
Robot
Goal
O2
Door 2
O5 O3 6
Planning problems
A (deterministic) planning problem consists of:
State space S
Goal set T ϵ S
Initial state s0 ϵ S
Primitive action set A
Transition function f : SxA → S
s0
7
Transition
Transition function
function for action aa12
for action
Planning Problems
State Actions
Robot configuration Move (): directly
reachable
Confs of unheld objects
Grasp (o)
Held object (if any)
Ungrasp (o)
Relative conf of held object
Open (d)
Door statuses
Shut (d)
O1
O4
Door 1
Robot
Goal
O2
Door 2
O5 O3
8
Hierarchies
A hierarchy for a planning problem consists of:
Set of high-level actions H
Set of top-level actions Top
For each high level action, set of refinements
Each refinement is a sequence of other actions
9
Hierarchy
Top Level
O1
O4
Transfer (O1, G) Door 1
Transfer (O2, H)
Robot
...
Goal
O2
Door 2
O5 O3
G, H subsets of map
10
Hierarchy
Transfer (O4, G)
O1
O4
Door 1
Refinements
Robot
GraspSide (O4,1), TransferTo(O4, G)
Goal
GraspSide (O4,2), TransferTo(O4, G) O2
Door 2
GraspSide (O4,3), TransferTo(O4, G) O5 O3
11
Hierarchy
GraspSide (O4, 2)
O1
O4
Door 1
Refinements
Robot
Navigate (S), Grasp (O4)
Goal
S: configs from which side 2 of O4 can O2
Door 2
be grasped O5 O3
12
Hierarchy
Navigate (S)
O1
O4
Door 1
Refinements
Robot
NavToRoom(R2, Door1), Nav(S)
Goal
NavToRoom(R2, Door2), Nav(S) O2
Door 2
O5 O3
13
Hierarchy
Nav (S)
O1
O4
Door 1
Refinements
Robot
Collision-free kinematic motion plans
Goal
ending in S O2
Door 2
O5 O3
14
Refinements
Transfer (o2, H) Transfer (o1, G) Top Level Plan
15
Hierarchical planning
Given
A planning problem
A hierarchy
16
Using hierarchies to plan
# high level plans << # primitive plans
So we win if we can
Reject most bad plans at the high level
Often commit to good plans at high level
17
Using hierarchies to plan
O1
O4
Door 1
Robot
Goal
O2
Door 2
O5 O3
18
Using hierarchies to plan
# high level plans << # primitive plans
So we win if we can
Reject most bad plans at the high level
Often commit to good plans at high level
To do this we need transition models for HLAs
19
Our approach: Reachable sets
Reachable set of HLA h from state s:
{fa’(s) | a’ ϵ PrimRef(h)}
Angelic description of h - Fh : S → 2S
Fh(s) = Reachable set of h from s
a1a2a1
s h3
HLA: h3
Primitive refinements:
a2a2
[a1a2a1], [a2a2]
20
Angelic nondeterminism
HLA descriptions map states to sets of states
May seem related to nondeterministic planning
Key difference: how actual successor state chosen
Nondeterministic planning: adversary chooses
Stochastic planning: nature chooses (by flipping a coin)
HLA descriptions: planner will eventually choose
21
Angelic descriptions…
1. Are true
2. Are composable
22
Truth
Angelic HLA descriptions
Logically follow from primitive descriptions
Are empirically verifiable
23
Composability
Can extend exact descriptions to:
Sets of states
Sequences of actions
s0 h1 h2
h1 h2
h2
24
High level reasoning
Given high level sequence p, the following
are equivalent
Fp(s0) intersects the goal set
p has a primitive refinement that succeeds
Allows rejecting/committing to plans at
high level
25
Optimistic descriptions
Exact description F could be complicated
NP-Hard to represent compactly
Optimistic description: superset of reachable set
s Fh(s)
Gh(s)
26
Optimistic descriptions
Transfer (o, G)
Object o must end up inside G
Robot must end up within distance .1 of G
NavToRoom (r)
If crossSection (robot + object) >= door width
Empty set (no reachable states)
Else
Robot must end up within room r
27
Properties of optimistic descriptions
Theorem: if the optimistic reachable set of plan
p does not intersect the goal, then no refinement
of p solves the problem
Allows pruning away plans at high-level
28
Pessimistic descriptions
Dual to optimistic descriptions
s Fh(s)
Gh(s)
29
Pessimistic descriptions
Nav (G)
If world has no bottlenecks
Can reach any configuration in G
Else if exists a path in roadmap to set G’ in G
G’ achievable
Else
Empty set
30
Properties of pessimistic descriptions:
31
Numerical costs
So far, we’ve restricted to goal-based problems
What if actions have numerical costs/rewards?
Generalize descriptions, so HLA has
Pessimistic cost – upper bound on achievable cost
Optimistic cost – lower bound on achievable cost
Example: Nav(G)
Optimistic cost: at least Euclidean distance to G
Pessimistic cost: distance in roadmap
32
Planning algorithms
Repeat
Get next plan
If fails optimistically, reject
If succeeds pessimistically, commit
Else, add refinements to set
Examples
AHA*: find hierarchically optimal plan
SHP: find any plan below a cost threshold
AHRTA*: plan that begins with primitive action
33
Experiments
Discretized manipulation problem
Easier instance: 42 step plan required
O+P, first-
primitive
O+P
Hierarchy, no
descriptions
No hierarchy
O+P, first
primitive
O+P
36
Online navigation planning
37
Conclusions
Angelic hierarchical planning
Reason about reachable sets of HLAs
Reject/commit to plans at high level when possible
Descend to lower levels when necessary
Future work
Extending planners to return reachable sets
Learning hierarchies and descriptions
Probabilistic dynamics
Partially observable state
Thank you! 38