Classical Planning Flashcards

1
Q

What is classical planning?

A

A planning task with the following assumptions:
- finite state space, with initial state and goals tates
- Fully observable states: the agent can tell what state we are in
- Deterministic actions: Each action in a state has one outcome, which can be foreseen by the agent.
- Nothing changes unless the agent changes.
- Goals must be achieved.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the two paradigms for planning?

A

Search and inference. The difference is state representation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is inference?

A

SATPlan uses domain-independent heuristics for inference, but relies on propositional logic which may be space inefficient.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

To define a task, what do we need to specify?

A
  1. states
  2. Actions
  3. Initial state
  4. Goal state
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a state?

A

A state is a conjunction of ground, functionless atoms.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the closed-world assumption?

A

Any atomic sentence not appearing in the state is assumed to be false.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the domain-closure assumption?

A

All elements of the domain are expressed using constants.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does an action schema have?

A

An action schema consists of:
1. Action name
2. List of variables
3. Prconditions
4. Effects

A schema can be universally instantiated

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the initial state?

A

A conjunction of ground atoms. Closed-world assumption means that all literals not appearing in the state is assumed to be false.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is an example of PDDl domain file syntax?

A

(define (domain domain_name)
(:requirements : strips)
(:predicates (at ?thing ?place) (tire ?tr))
(action: actionName
:parameters (?tr)
:preconditions
:effect (and (not (at ?a ?b)) (not (tire ?tr)))
)
)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is an example of PDDL problem file?

A

(define (problem problem_name)
(:domain domain_name)
(:objects a b c d)
(:init (preda a) (predb b))
(:goal (preda b) (predb a))
)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is forward progression planning?

A

We start at the initial state, iteratively applying actions in the forward direction, hoping to reach a goal.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are complexity issues with progression planning?

A

Irrelevant actions: forward search could explore states and actions that are not relevant to the goal.
Large search space: State space becomes too large for uninformed search.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is backward (regression) search?

A

It starts at the goal, iteratively applying actions in the backward direction, until we find a sequence of steps that reaches the initial state.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the advantage of regression planning?

A

Generally reduced branching factor. Suitable for cases where there is a large number of ground actions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is SATPlan?

A

It finds a plan by converting the problem to a propositional KB. A satisfying interpretation of O: assign true to the actions that are part of a correct plan; false to others. It there is no correct plan, O is not satisfiable.

17
Q

What are the main components of SATPlan?

A

TranslateToSAT: Translate a PDDL description into a proposition KB.
SATSolver: Feed this propositions to a SATSolver.
- If the sentence is unsatisfiable, then there is not a valid plan.
- If a satisfying interpretation is found, then the goal can be achieved.
ExtractPlan: If the goal can be achieved, extract action variables at each time 1< i < t to form a plan.

18
Q

What is a bounded planning problem?

A

A pair, where
- problem is a planning problem; t is a positive integer
- A solution is a correct plan for problem that has length n.

19
Q

What is the disadvantage of TranslateToSAT?

A

A planning problem usually requires a large propositional KB.
TranslateToSAT needs to create
- (Tmax + 1) x |Obj|argsp new atomic propositions for each predicate symbol and
- Tmax x |Obj|Argsp new atomic propositions for each action schema

20
Q

What are the advantages of TranslateToSAT?

A

Speed
- Utilising efficient domain-independent heuristic for propositional logic reasoning.
- Taking advantage of mature SATSolver such as PDDL
- Fixed structure in classical planning domain and problem means that further optimisation is possible.

21
Q

What are the steps of translateToSat?

A
  1. Propasitionalise actions
  2. Assert propositions for initial states
  3. Set variable for goal
  4. Precondition axioms -ie. make propositions from actions into -> statements
  5. Successor state axioms
  6. Action exclusion axioms ie. Actions that are not take at the same time