Planning and Optimization D2. Abstractions: Additive Abstractions - - PowerPoint PPT Presentation

planning and optimization
SMART_READER_LITE
LIVE PREVIEW

Planning and Optimization D2. Abstractions: Additive Abstractions - - PowerPoint PPT Presentation

Planning and Optimization D2. Abstractions: Additive Abstractions Gabriele R oger and Thomas Keller Universit at Basel October 29, 2018 Multiple Abstractions Additivity Outlook Summary Content of this Course Tasks Progression/


slide-1
SLIDE 1

Planning and Optimization

  • D2. Abstractions: Additive Abstractions

Gabriele R¨

  • ger and Thomas Keller

Universit¨ at Basel

October 29, 2018

slide-2
SLIDE 2

Multiple Abstractions Additivity Outlook Summary

Content of this Course

Planning Classical Tasks Progression/ Regression Complexity Heuristics Probabilistic MDPs Uninformed Search Heuristic Search Monte-Carlo Methods

slide-3
SLIDE 3

Multiple Abstractions Additivity Outlook Summary

Content of this Course: Heuristics

Heuristics Delete Relaxation Abstraction Abstractions in General Pattern Databases Merge & Shrink Landmarks Potential Heuristics Cost Partitioning

slide-4
SLIDE 4

Multiple Abstractions Additivity Outlook Summary

Multiple Abstractions

slide-5
SLIDE 5

Multiple Abstractions Additivity Outlook Summary

Multiple Abstractions

One important practical question is how to come up with a suitable abstraction mapping α. Indeed, there is usually a huge number of possibilities, and it is important to pick good abstractions (i.e., ones that lead to informative heuristics). However, it is generally not necessary to commit to a single abstraction.

slide-6
SLIDE 6

Multiple Abstractions Additivity Outlook Summary

Combining Multiple Abstractions

Maximizing several abstractions: Each abstraction mapping gives rise to an admissible heuristic. By computing the maximum of several admissible heuristics, we obtain another admissible heuristic which dominates the component heuristics. Thus, we can always compute several abstractions and maximize over the individual abstract goal distances. Adding several abstractions: In some cases, we can even compute the sum

  • f individual estimates and still stay admissible.

Summation often leads to much higher estimates than maximization, so it is important to understand under which conditions summation of heuristics is admissible.

slide-7
SLIDE 7

Multiple Abstractions Additivity Outlook Summary

Adding Several Abstractions: Example (1)

LRR LLL LLR LRL ALR ALL BLL BRL ARL ARR BRR BLR RRR RRL RLR RLL

h∗(LRR) = 4

slide-8
SLIDE 8

Multiple Abstractions Additivity Outlook Summary

Adding Several Abstractions: Example (2)

LRR LLR LLL LRL

LLR LRL LLL

ALR ARL ALL ARR BLL BRL BRR BLR

ALR ARL ARR ALL BLL BRR BLR BRL

RRR RRL RLR RLL

RLL RRL RLR RRR

hα1(LRR) = 3

LRR LLR LLL LRL ALR ALL BLL BRL

LLR LLL LRL ALR ALL BLL BRL

ARL ARR BLR BRR RRR RRL RLR RLL

ARL ARR BLR BRR RRR RRL RLR RLL

hα2(LRR) = 2

slide-9
SLIDE 9

Multiple Abstractions Additivity Outlook Summary

Adding Several Abstractions: Example (3)

LRR LLR LLL LRL

LLR LRL LLL

ALR ARL ALL ARR BLL BRL BRR BLR

ALR ARL ARR ALL BLL BRR BLR BRL

RRR RRL RLR RLL

RLL RRL RLR RRR

hα1(LRR) = 3

LRR LLR LLL LRL ALR ALL BLL BRL

LRR LLR LLL LRL ALR ALL BLL BRL

ARL ARR BLR BRR RRR RRL RLR RLL

ARL ARR BLR BRR RRR RRL RLR RLL

hα2(LRR) = 1

slide-10
SLIDE 10

Multiple Abstractions Additivity Outlook Summary

Additivity

slide-11
SLIDE 11

Multiple Abstractions Additivity Outlook Summary

Orthogonality of Abstractions

Definition (Orthogonal) Let α1 and α2 be abstractions of transition system T . We say that α1 and α2 are orthogonal if for all transitions s

− → t

  • f T , we have αi(s) = αi(t) for at least one i ∈ {1, 2}.
slide-12
SLIDE 12

Multiple Abstractions Additivity Outlook Summary

Affecting Transition Labels

Definition (Affecting Transition Labels) Let T be a transition system, and let ℓ be one of its labels. We say that ℓ affects T if T has a transition s

− → t with s = t. Theorem (Affecting Labels vs. Orthogonality) Let α1 and α2 be abstractions of transition system T . If no label of T affects both T α1 and T α2, then α1 and α2 are orthogonal. (Easy proof omitted.)

slide-13
SLIDE 13

Multiple Abstractions Additivity Outlook Summary

Orthogonality and Additivity

Theorem (Additivity for Orthogonal Abstractions) Let hα1, . . . , hαn be abstraction heuristics of the same transition system such that αi and αj are orthogonal for all i = j. Then n

i=1 hαi is a safe, goal-aware, admissible and consistent

heuristic for Π.

slide-14
SLIDE 14

Multiple Abstractions Additivity Outlook Summary

Orthogonality and Additivity: Example (1)

LRR LLR LLL LRL

LLR LRL LLL

ALR ARL ALL ARR BLL BRL BRR BLR

ALR ARL ARR ALL BLL BRR BLR BRL

RRR RRL RLR RLL

RLL RRL RLR RRR

hα1(LRR) = 3

LRR LLR LLL LRL ALR ALL BLL BRL

LLR LLL LRL ALR ALL BLL BRL

ARL ARR BLR BRR RRR RRL RLR RLL

ARL ARR BLR BRR RRR RRL RLR RLL

hα2(LRR) = 2

slide-15
SLIDE 15

Multiple Abstractions Additivity Outlook Summary

Orthogonality and Additivity: Example (2)

LRR LLR LLL LRL

LLR LRL LLL

ALR ARL ALL ARR BLL BRL BRR BLR

ALR ARL ARR ALL BLL BRR BLR BRL

RRR RRL RLR RLL

RLL RRL RLR RRR

hα1(LRR) = 3

LRR LLR LLL LRL ALR ALL BLL BRL

LRR LLR LLL LRL ALR ALL BLL BRL

ARL ARR BLR BRR RRR RRL RLR RLL

ARL ARR BLR BRR RRR RRL RLR RLL

hα2(LRR) = 1

slide-16
SLIDE 16

Multiple Abstractions Additivity Outlook Summary

Orthogonality and Additivity: Proof (1)

Proof. We prove goal-awareness and consistency; the other properties follow from these two. Let T = S, L, c, T, s0, S⋆ be the concrete transition system. Let h = n

i=1 hαi.

Goal-awareness: For goal states s ∈ S⋆, h(s) = n

i=1 hαi(s) = n i=1 0 = 0 because all individual

abstraction heuristics are goal-aware. . . .

slide-17
SLIDE 17

Multiple Abstractions Additivity Outlook Summary

Orthogonality and Additivity: Proof (1)

Proof. We prove goal-awareness and consistency; the other properties follow from these two. Let T = S, L, c, T, s0, S⋆ be the concrete transition system. Let h = n

i=1 hαi.

Goal-awareness: For goal states s ∈ S⋆, h(s) = n

i=1 hαi(s) = n i=1 0 = 0 because all individual

abstraction heuristics are goal-aware. . . .

slide-18
SLIDE 18

Multiple Abstractions Additivity Outlook Summary

Orthogonality and Additivity: Proof (2)

Proof (continued). Consistency: Let s

→ t ∈ T. We must prove h(s) ≤ c(o) + h(t). Because the abstractions are orthogonal, αi(s) = αi(t) for at most one i ∈ {1, . . . , n}. Case 1: αi(s) = αi(t) for all i ∈ {1, . . . , n}. Then h(s) = n

i=1 hαi(s)

= n

i=1 h∗ T αi (αi(s))

= n

i=1 h∗ T αi (αi(t))

= n

i=1 hαi(t)

= h(t) ≤ c(o) + h(t). . . .

slide-19
SLIDE 19

Multiple Abstractions Additivity Outlook Summary

Orthogonality and Additivity: Proof (2)

Proof (continued). Consistency: Let s

→ t ∈ T. We must prove h(s) ≤ c(o) + h(t). Because the abstractions are orthogonal, αi(s) = αi(t) for at most one i ∈ {1, . . . , n}. Case 1: αi(s) = αi(t) for all i ∈ {1, . . . , n}. Then h(s) = n

i=1 hαi(s)

= n

i=1 h∗ T αi (αi(s))

= n

i=1 h∗ T αi (αi(t))

= n

i=1 hαi(t)

= h(t) ≤ c(o) + h(t). . . .

slide-20
SLIDE 20

Multiple Abstractions Additivity Outlook Summary

Orthogonality and Additivity: Proof (2)

Proof (continued). Consistency: Let s

→ t ∈ T. We must prove h(s) ≤ c(o) + h(t). Because the abstractions are orthogonal, αi(s) = αi(t) for at most one i ∈ {1, . . . , n}. Case 1: αi(s) = αi(t) for all i ∈ {1, . . . , n}. Then h(s) = n

i=1 hαi(s)

= n

i=1 h∗ T αi (αi(s))

= n

i=1 h∗ T αi (αi(t))

= n

i=1 hαi(t)

= h(t) ≤ c(o) + h(t). . . .

slide-21
SLIDE 21

Multiple Abstractions Additivity Outlook Summary

Orthogonality and Additivity: Proof (2)

Proof (continued). Consistency: Let s

→ t ∈ T. We must prove h(s) ≤ c(o) + h(t). Because the abstractions are orthogonal, αi(s) = αi(t) for at most one i ∈ {1, . . . , n}. Case 1: αi(s) = αi(t) for all i ∈ {1, . . . , n}. Then h(s) = n

i=1 hαi(s)

= n

i=1 h∗ T αi (αi(s))

= n

i=1 h∗ T αi (αi(t))

= n

i=1 hαi(t)

= h(t) ≤ c(o) + h(t). . . .

slide-22
SLIDE 22

Multiple Abstractions Additivity Outlook Summary

Orthogonality and Additivity: Proof (3)

Proof (continued). Case 2: αi(s) = αi(t) for exactly one i ∈ {1, . . . , n}. Let k ∈ {1, . . . , n} such that αk(s) = αk(t). Then h(s) = n

i=1 hαi(s)

=

i∈{1,...,n}\{k} h∗ T αi (αi(s)) + hαk(s)

i∈{1,...,n}\{k} h∗ T αi (αi(t)) + c(o) + hαk(t)

= c(o) + n

i=1 hαi(t)

= c(o) + h(t), where the inequality holds because αi(s) = αi(t) for all i = k and hαk is consistent.

slide-23
SLIDE 23

Multiple Abstractions Additivity Outlook Summary

Orthogonality and Additivity: Proof (3)

Proof (continued). Case 2: αi(s) = αi(t) for exactly one i ∈ {1, . . . , n}. Let k ∈ {1, . . . , n} such that αk(s) = αk(t). Then h(s) = n

i=1 hαi(s)

=

i∈{1,...,n}\{k} h∗ T αi (αi(s)) + hαk(s)

i∈{1,...,n}\{k} h∗ T αi (αi(t)) + c(o) + hαk(t)

= c(o) + n

i=1 hαi(t)

= c(o) + h(t), where the inequality holds because αi(s) = αi(t) for all i = k and hαk is consistent.

slide-24
SLIDE 24

Multiple Abstractions Additivity Outlook Summary

Outlook

slide-25
SLIDE 25

Multiple Abstractions Additivity Outlook Summary

Using Abstraction Heuristics in Practice

In practice, there are conflicting goals for abstractions: we want to obtain an informative heuristic, but want to keep its representation small. Abstractions have small representations if there are few abstract states and there is a succinct encoding for α.

slide-26
SLIDE 26

Multiple Abstractions Additivity Outlook Summary

Counterexample: One-State Abstraction

LRR LLR LLL LRL ALR ALL BLL BRL ARL ARR BRR BLR RRR RRL RLR RLL

LRR LLR LLL LRL ALR ALL BLL BRL ARL ARR BRR BLR RRR RRL RLR RLL One-state abstraction: α(s) := const. + very few abstract states and succinct encoding for α − completely uninformative heuristic

slide-27
SLIDE 27

Multiple Abstractions Additivity Outlook Summary

Counterexample: Identity Abstraction

LRR LLL LLR LRL ALR ALL BLL BRL ARL ARR BRR BLR RRR RRL RLR RLL

Identity abstraction: α(s) := s. + perfect heuristic and succinct encoding for α − too many abstract states

slide-28
SLIDE 28

Multiple Abstractions Additivity Outlook Summary

Counterexample: Perfect Abstraction

LRR LLR LLL LRL

LLR LRL LLL

ALR ALL BLL BRL

ALR BRL ALL BLL

ARL ARR BRR BLR

ARL BLR ARR BRR

RRR RRL RLR RLL

RLL RRL RLR RRR Perfect abstraction: α(s) := h∗(s). + perfect heuristic and usually few abstract states − usually no succinct encoding for α

slide-29
SLIDE 29

Multiple Abstractions Additivity Outlook Summary

Automatically Deriving Good Abstraction Heuristics

Abstraction Heuristics for Planning: Main Research Problem Automatically derive effective abstraction heuristics for planning tasks. we will study two state-of-the-art approaches in Chapters D3–D8

slide-30
SLIDE 30

Multiple Abstractions Additivity Outlook Summary

Summary

slide-31
SLIDE 31

Multiple Abstractions Additivity Outlook Summary

Summary

Often, multiple abstractions are used. They can always be maximized admissibly. Adding abstraction heuristics is not always admissible. When it is, it leads to a stronger heuristic than maximizing. Abstraction heuristics from orthogonal abstractions can be added without losing admissibility or consistency. One sufficient condition for orthogonality is that all abstractions are affected by disjoint sets of labels. Practically useful abstractions are those which give informative heuristics, yet have a small representation. Coming up with good abstractions automatically is the main research challenge when applying abstraction heuristics in planning.