• No results found

NBS applied to Planning

N/A
N/A
Protected

Academic year: 2022

Share "NBS applied to Planning"

Copied!
53
0
0

Loading.... (view fulltext now)

Full text

(1)

NBS NBS Experiment fMM Experiment Conclusion

NBS applied to Planning

Marvin Buff

University of Basel

11. February, 2019

(2)

Motivation

Foundation

Classical Planning: Devise a new efficient and competitive algorithm.

Inspiration

The introduction of a new and promising bidirectional search algorithm: Near-Optimal Bidirectional Search Algorithm (NBS).

Realization

Implementing NBS as planner.

Evaluating its performance on the IPC benchmark.

Analysing the results with fMM.

(3)

NBS NBS Experiment fMM Experiment Conclusion

Motivation

Foundation

Classical Planning: Devise a new efficient and competitive algorithm.

Inspiration

The introduction of a new and promising bidirectional search algorithm: Near-Optimal Bidirectional Search Algorithm (NBS).

Realization

Implementing NBS as planner.

Evaluating its performance on the IPC benchmark.

Analysing the results with fMM.

(4)

Motivation

Foundation

Classical Planning: Devise a new efficient and competitive algorithm.

Inspiration

The introduction of a new and promising bidirectional search algorithm: Near-Optimal Bidirectional Search Algorithm (NBS).

Realization

Implementing NBS as planner.

Evaluating its performance on the IPC benchmark.

Analysing the results with fMM.

(5)

NBS NBS Experiment fMM Experiment Conclusion

Outline

1 NBS

The Blocks Domain Sufficient Conditions NBS in Detail

2 NBS Experiment Running NBS

Results and Evaluation

3 fMM Experiment MM

fMM Properties fMM Experiment Case Study

(6)

Outline

NBS

(7)

NBS NBS Experiment fMM Experiment Conclusion

The Blocks Domain

Table Table

A B C A

B C

Actions Pick Up Put Down

(8)

The Blocks Domain

Transition System

A B C

A B

C A C

B B A

C B C

A A C

B A B

C

A B C

C B A

B A C

C A B

A C B

B C A

(9)

NBS NBS Experiment fMM Experiment Conclusion

Sufficient Conditions

Surely Expanded States: f (s) < C= 2

A B C

A B

C A C

B B A

C B C

A A C

B A B

C

A B C

C B A

B A C

C A B

A C B

B C A

(10)

NBS NBS Experiment fMM Experiment Conclusion

Sufficient Conditions

Bidirectional Search: ?

A B C

A B

C A C

B B A

C B C

A A C

B A B

C

A B

C A C

B B A

C B C

A A C

B A B

C A

B

C A C

B B A

C B C

A A C

B A B

C

A B C

A B C

C B A

B A C

C A B

A C B

B C A

(11)

NBS NBS Experiment fMM Experiment Conclusion

Sufficient Conditions

Bidirectional Search: ?

A B C

A B C

A B

C A C

B B A

C B C

A A C

B A B

C

A B

C A C

B B A

C B C

A A C

B A B

C

A B

C A C

B B A

C B C

A A C

B A B

C

A B C

A B C

C B A

B A C

C A B

A C B

B C A

(12)

NBS NBS Experiment fMM Experiment Conclusion

Sufficient Conditions

Bidirectional Search: ?

A B C

A B

C A C

B B A

C B C

A A C

B A B

C A

B

C A C

B B A

C B C

A A C

B A B

C

A B

C A C

B B A

C B C

A A C

B A B

C

A B C

A B C

C B A

B A C

C A B

A C B

B C A

(13)

NBS NBS Experiment fMM Experiment Conclusion

Sufficient Conditions

Unidirectional Search: Sufficient Condition g (s) + h(s) < C

s0 s sG

C

Bidirectional Search: Must-Expand Pairs

max {fF(u), fB(v ), g (u) + g (v )} < C

s0 u v sG

C

(14)

Sufficient Conditions

Unidirectional Search: Sufficient Condition g (s) + h(s) < C

s0 s sG

C Bidirectional Search: Must-Expand Pairs

max {fF(u), fB(v ), g (u) + g (v )} < C

s0 u v sG

C

(15)

NBS NBS Experiment fMM Experiment Conclusion

Sufficient Conditions

Must-Expand Graph: GMX

A B C

?

?

?

A B C

A B C

?

?

? A B C

6x 6x

gF = 0

gF = 1

gF = 2

gB = 0

gB = 1

gB = 2

(16)

Sufficient Conditions

Minimal Vertex Cover of GMX (VC)

A B C

?

?

?

A B C

A B C

?

?

? A B C

6x 6x

gF = 0

gF = 1

gF = 2

gB = 0

gB = 1

gB = 2

(17)

NBS NBS Experiment fMM Experiment Conclusion

Sufficient Conditions

Bidirectional Search: Optimal Expansion

A B C

A B

C A C

B B A

C B C

A A C

B A B

C

A B C

C B A

B A C

C A B

A C B

B C A

(18)

NBS

Algorithm 1 NBS

1: Put s0 in OpenF and sG in OpenB

2: while OpenF and OpenB are not empty do

3: Among u ∈ OpenF and v ∈ OpenB 4: Select the pair (u, v ) with lowest lb(u, v )

5: if lb(u, v ) ≥ cost(U) then

6: return U

7: Expand both u and v

8: if new path from s0 to sG is found then

9: Update U if new path is better than previous

(19)

NBS NBS Experiment fMM Experiment Conclusion

NBS

Key Properties

Admissible DXBB Algorithm Optimal Worst-Case

Near-Optimal General Case

Key Difference to Search

Backward search is not a mirrored forward search.

Actions are not trivially reversible.

There are Secondary Initial States.

(20)

NBS

Key Properties

Admissible DXBB Algorithm Optimal Worst-Case

Near-Optimal General Case

Key Difference to Search

Backward search is not a mirrored forward search.

Actions are not trivially reversible.

There are Secondary Initial States.

(21)

NBS NBS Experiment fMM Experiment Conclusion

Outline

NBS Experiment

(22)

NBS Experiment

Goal

Evaluate performance of NBS compared to A. Parameters

Latest IPC Benchmark

Implementation in Fast Downward

Time limit: 30 minutes. Memory Limit: 3.5 GB.

Heuristics

Blind Heuristic Max Heuristic

Critical Path Heuristic (m = 2) Landmark-Cut Heuristic

(23)

NBS NBS Experiment fMM Experiment Conclusion

NBS Experiment

Goal

Evaluate performance of NBS compared to A. Parameters

Latest IPC Benchmark

Implementation in Fast Downward

Time limit: 30 minutes. Memory Limit: 3.5 GB.

Heuristics

Blind Heuristic Max Heuristic

Critical Path Heuristic (m = 2) Landmark-Cut Heuristic

(24)

Results and Evaluation

NBS > A

Domain Solved Problems (#) Algo h1 hmax hm hlmcut

Blocks A 18 21 10 28

NBS 27 27 13 31

Similar Domains (∼ 10) Driverlog

Floortile-opt11-strips ..

(25)

NBS NBS Experiment fMM Experiment Conclusion

Results and Evaluation

NBS > A

Domain Solved Problems (#) Algo h1 hmax hm hlmcut

Blocks A 18 21 10 28

NBS 27 27 13 31

Similar Domains (∼ 10) Driverlog

Floortile-opt11-strips ..

(26)

Results and Evaluation

NBS < A

Domain Solved Problems (#) Algo h1 hmax hm hlmcut

Storage A 14 15 7 15

NBS 5 5 2 4

Similar Domains (∼ 20) Depot

Elevators-opt11-strips ..

(27)

NBS NBS Experiment fMM Experiment Conclusion

Results and Evaluation

NBS < A

Domain Solved Problems (#) Algo h1 hmax hm hlmcut

Storage A 14 15 7 15

NBS 5 5 2 4

Similar Domains (∼ 20) Depot

Elevators-opt11-strips ..

(28)

Outline

fMM Experiment

(29)

NBS NBS Experiment fMM Experiment Conclusion

Meet-In-The-Middle

State Space

Dijkstra

MM MM

s0 sG

C ∗

2 C ∗

2 C

(30)

Fractional Meet-In-The-Middle

p = 0.5

Dijkstra

fMM fMM

s0 sG

p · C (1 − p) · C

C

(31)

NBS NBS Experiment fMM Experiment Conclusion

Fractional Meet-In-The-Middle

p = 0.5

s0 sG

p · C (1 − p) · C

p = 0.25

s0 sG

p · C (1 − p) · C

(32)

Fractional Meet-In-The-Middle

Key Properties

Expands |VC| states given input p. Reflects the structure of the state space.

Experiment Goal

Inquire the relation between the state space structure and the performance of NBS.

Experiment Parameters

Same constraints as the NBS experiment.

Equidistant p-value from 0 to 1 with step size 0.1.

(33)

NBS NBS Experiment fMM Experiment Conclusion

Fractional Meet-In-The-Middle

Key Properties

Expands |VC| states given input p. Reflects the structure of the state space.

Experiment Goal

Inquire the relation between the state space structure and the performance of NBS.

Experiment Parameters

Same constraints as the NBS experiment.

Equidistant p-value from 0 to 1 with step size 0.1.

(34)

Fractional Meet-In-The-Middle

Key Properties

Expands |VC| states given input p. Reflects the structure of the state space.

Experiment Goal

Inquire the relation between the state space structure and the performance of NBS.

Experiment Parameters

Same constraints as the NBS experiment.

Equidistant p-value from 0 to 1 with step size 0.1.

(35)

NBS NBS Experiment fMM Experiment Conclusion

Results and Evaluation

Backward Forward

(36)

Results and Evaluation

Backward Forward

(37)

NBS NBS Experiment fMM Experiment Conclusion

Results and Evaluation

Overview

p is informative of the overall structure of the state space.

The state space influences the performance of NBS.

The structure of the state space correlates with the domain.

How can we use that information?

Case Study: Blocks Domain

(38)

Results and Evaluation

Overview

p is informative of the overall structure of the state space.

The state space influences the performance of NBS.

The structure of the state space correlates with the domain.

How can we use that information?

Case Study: Blocks Domain

(39)

NBS NBS Experiment fMM Experiment Conclusion

Case Study: Blocks Instance 6-1

Table Table

B C D E F

A

D F E A B C

(40)

Case Study: Blocks Instance 6-1

Backward Forward

(41)

NBS NBS Experiment fMM Experiment Conclusion

Case Study: Blocks Instance 6-0

Table Table

B E F

C A D

D F E A B C

(42)

Case Study: Blocks Instance 6-0

Backward Forward

(43)

NBS NBS Experiment fMM Experiment Conclusion

Case Study: Blocks Instance 6-2

Table Table

C E F B D A

D C B A F E

(44)

Case Study: Blocks Instance 6-2

Backward Forward

(45)

NBS NBS Experiment fMM Experiment Conclusion

Conclusion

Take Home Message

Using NBS in planning can compete with A.

The efficiency of NBS depends on the structure of the transition system.

The predisposition towards certain search approaches correlates with the domain.

(46)

Conclusion

Take Home Message

Using NBS in planning can compete with A.

The efficiency of NBS depends on the structure of the transition system.

The predisposition towards certain search approaches correlates with the domain.

(47)

NBS NBS Experiment fMM Experiment Conclusion

Conclusion

Take Home Message

Using NBS in planning can compete with A.

The efficiency of NBS depends on the structure of the transition system.

The predisposition towards certain search approaches correlates with the domain.

(48)

Questions?

(49)

Appendix

For Further Reading I

J. Chen, R. C. Holte, S. Zilles, N. Sturtevant

Front-to-end bidirectional heuristic search with near-optimal node expansions.

IJCAI 2017, pages: 489-495, AAAI Press.

J. Eckerle, J. Chen, R. C. Holte, S. Zilles

Sufficient conditions for node expansion in bidirectional heuristic search.

ICAPS 2017, pages: 79-87, AAAI Press.

(50)

Gripper Instance 06

Backward Forward

(51)

Appendix

Logistics00 Instance 4-0

Backward Forward

(52)

Openstacks-Strips Instance 01

Backward Forward

(53)

Appendix

Termes Instance 03

Backward Forward

References

Related documents

The conference fee covers admission to the event, participation in all sessions, conference materials, site visits, three lunches, coffee breaks, one welcome reception,

planning to design a method learning from the avoid condi- tion during search, and a method using abstraction to predict states starting from which φ cannot be avoided.. Our

Using National Assessment Program: Literacy &amp; Numeracy (NAPLAN) data in the Longitudinal Study of Australian Children (LSAC) (LSAC Technical

Figure 2 Current algorithm for the management of clinically isolated syndrome at risk and active relapsing–remitting multiple sclerosis Other compassionate therapies

1) In AY 2019 the School of Music will be working, in conjunction with the College of Fine Arts and the Office of Planning and Assessment, to devise a new set of assessment and

For the category of Merit-Based claims, the South Region again had a significantly higher rate of increase in claims compared to the other regions.. These findings are perhaps

If you pay the premium for Uninsured Motorist Property Damage and if a motor vehicle insured under this part does not carry Collision Coverage under this or any other policy, we

Varietas Aceh lebak dan varietas yang tidak diketahui jenisnya (unidentified) memiliki hubungan kekerabatan paling dekat dengan indeks kesamaan sebesar 95% dan