• Keine Ergebnisse gefunden

Foundations of Artificial Intelligence 33. Automated Planning: Introduction Malte Helmert

N/A
N/A
Protected

Academic year: 2022

Aktie "Foundations of Artificial Intelligence 33. Automated Planning: Introduction Malte Helmert"

Copied!
19
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

33. Automated Planning: Introduction

Malte Helmert

University of Basel

April 28, 2021

(2)

Introduction State Spaces Compact Descriptions Summary

Classification

classification:

Automated Planning environment:

static vs. dynamic

deterministic vs. non-deterministicvs. stochastic fully vs.partially vs. notobservable

discrete vs.continuous single-agent vs. multi-agent problem solving method:

problem-specificvs. generalvs. learning

(3)

Introduction

(4)

Introduction State Spaces Compact Descriptions Summary

Automated Planning

What is Automated Planning?

“Planning is the art and practice of thinking before acting.”

— P. Haslum finding plans(sequences of actions)

that lead from an initial state to a goal state our topic in this course: classical planning

generalapproach to finding solutions

for state-space search problems(Chapters 5–19) classical= static, deterministic, fully observable variants: probabilistic planning, planning under partial observability, online planning, . . .

(5)

Planning: Informally

given:

state space description in terms of suitable problem description language (planning formalism)

required:

a plan, i.e., a solution for the described state space (sequence of actions from initial state to goal) or a proof that no plan exists

distinguish between

optimal planning: guarantee that returned plans are optimal, i.e., have minimal overall cost suboptimal planning (satisficing):

suboptimal plans are allowed

(6)

Introduction State Spaces Compact Descriptions Summary

What is New?

Many previously encountered problems are planning tasks:

blocks world

missionaries and cannibals 15-puzzle

New: we are now interested in generalalgorithms, i.e., the developer of the search algorithmdoes not know the tasks that the algorithm needs to solve.

no problem-specific heuristics!

input language to model the planning task

(7)

Automated Planning: Overview

Chapter overview: automated planning 33. Introduction

34. Planning Formalisms

35.–36. Planning Heuristics: Delete Relaxation 37. Planning Heuristics: Abstraction

38.–39. Planning Heuristics: Landmarks

(8)

Introduction State Spaces Compact Descriptions Summary

Repetition: State Spaces

(9)

About This Section

Nothing New Here!

This section is arepetition of Section 5.2

of the chapter “State-Space Search: State Spaces”.

(10)

Introduction State Spaces Compact Descriptions Summary

Formalization of State Spaces

preliminary remarks:

to cleanly study search problems we need a formal model fundamental concept: state spaces

state spaces are (labeled, directed)graphs paths to goal states representsolutions shortest paths correspond tooptimal solutions

(11)

State Spaces

Definition (state space)

Astate spaceor transition system is a 6-tuple S=hS,A,cost,T,s0,S?i with

S: finite set ofstates A: finite set ofactions cost:A→R+0 action costs

T ⊆S ×A×S transition relation;deterministic inhs,ai (see next slide)

s0∈S initial state S? ⊆S set of goal states

German: Zustandsraum, Transitionssystem, Zust¨ande, Aktionen, Aktionskosten, Transitions-/ ¨Ubergangsrelation, deterministisch, Anfangszustand, Zielzust¨ande

(12)

Introduction State Spaces Compact Descriptions Summary

State Spaces: Transitions, Determinism

Definition (transition, deterministic)

LetS =hS,A,cost,T,s0,S?i be a state space.

The tripleshs,a,s0i ∈T are called (state) transitions.

We sayS has the transitionhs,a,s0i ifhs,a,s0i ∈T. We write this ass −→a s0, or s →s0 when adoes not matter.

Transitions aredeterministic in hs,ai: it is forbidden to have boths −→a s1 ands −→a s2 with s1 6=s2.

(13)

State Spaces: Terminology

terminology:

predecessor, successor applicable action path, length, costs reachable

solution, optimal solution

German: Vorg¨anger, Nachfolger, anwendbare Aktion, Pfad, L¨ange, Kosten, erreichbar, L¨osung, optimale L¨osung

(14)

Introduction State Spaces Compact Descriptions Summary

Compact Descriptions

(15)

State Spaces with Declarative Representations

How do we represent state spaces in the computer?

previously: as black box now: asdeclarative description reminder: Chapter 6

State Spaces with Declarative Representations represent state spacesdeclaratively:

compact description of state space as input to algorithms state spaces exponentially largerthan the input algorithms directly operate on compact description allows automatic reasoning about problem:

reformulation, simplification, abstraction, etc.

(16)

Introduction State Spaces Compact Descriptions Summary

Reminder: Blocks World

problem: n blocks more thann! states

(17)

Compact Description of State Spaces

How to describe state spaces compactly?

Compact Description of Several States introduce state variables

states: assignments to state variables

e.g., n binary state variables can describe 2n states transitionsand goalare compactly described with a logic-based formalism

different variants: different planning formalisms

(18)

Introduction State Spaces Compact Descriptions Summary

Summary

(19)

Summary

planning: search ingeneralstate spaces

input: compact, declarative description of state space

Referenzen

ÄHNLICHE DOKUMENTE

recognize duplicates: when a state is reached on multiple paths, only keep one search node search nodes correspond 1:1 to reachable states search tree bounded, as number of states

breadth-first search ( this chapter) uniform cost search ( Chapter 11) depth-first search ( Chapter 12) depth-limited search ( Chapter 12) iterative deepening search ( Chapter

breadth-first search optimal if all action costs equal otherwise no optimality guarantee example:.. remedy: uniform

space complexity O(bm) if m maximal search depth reached low memory complexity main reason why depth-first search interesting despite its disadvantages.. Depth-first

heuristics estimate distance of a state to the goal can be used to focus search on promising states soon: search algorithms that

Resolution can be used for general reasoning by reducing to a test for unsatisfiability... Reasoning

basic idea of abstraction heuristics: estimate solution cost by considering a smaller planning task. formally: abstraction function α maps states to abstract states and thus

Hence the objective of our landmark heuristics is to approximate the optimal delete relaxed heuristic h + as accurately as possible.. More advanced landmark techniques work directly