Automated Planning and PDDL Overview
29 Questions
3 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Which approach uses a Planning Domain Definition Language (PDDL) to manage large state spaces?

  • Monitoring and replanning
  • Factored state representation (correct)
  • Forward state-space search
  • Hierarchical planning

What is the main purpose of using heuristics in planning algorithms?

  • To simplify the state representation
  • To estimate the distance from the current state to the goal (correct)
  • To eliminate the need for action schemas
  • To ensure state transitions are deterministic

In the context of action schemas, what does the precondition define?

  • The effect of an action on the current state
  • The state that follows the execution of an action
  • The necessary conditions for an action to be applicable (correct)
  • The actions that can be performed in any state

What type of planning seeks to reduce complexity by using high-level actions?

<p>Hierarchical planning (B)</p> Signup and view all the answers

What is the issue associated with forward state-space search in planning?

<p>The need for admissible heuristics (B)</p> Signup and view all the answers

What do you achieve by applying ignore-preconditions in heuristic planning?

<p>Allow any action to be used in any state (B)</p> Signup and view all the answers

In backward search (regression search), what is a key advantage?

<p>It keeps the branching factor low (A)</p> Signup and view all the answers

What does the concept of serializable subgoals in planning imply?

<p>Subgoals can be achieved without affecting previous ones (B)</p> Signup and view all the answers

What is the advantage of keeping the belief state in 1-CNF?

<p>Reduces complexity from exponential to linear. (A)</p> Signup and view all the answers

Which characteristic differentiates a sensorless agent from others?

<p>Does not have any percept schemas. (B)</p> Signup and view all the answers

In contingency planning, what issue complicates the planning process?

<p>Non-deterministic effects and action failures. (A)</p> Signup and view all the answers

How does the percept schema operate in a partially observable environment?

<p>It enables reasoning about percepts that can be obtained. (D)</p> Signup and view all the answers

What is a critical requirement for online planning to take place?

<p>The need for replanning must be continuously assessed. (C)</p> Signup and view all the answers

Which element is crucial when representing the belief state in deterministic problems?

<p>Logical formulas where unknown fluents are excluded. (C)</p> Signup and view all the answers

What type of planning is used for handling non-deterministic problems?

<p>Contingency planning. (D)</p> Signup and view all the answers

What is a consequence of having an incorrect model of the world in planning?

<p>The plan may fail due to missing effects. (B)</p> Signup and view all the answers

What is the primary goal of an HLA with respect to implementations?

<p>To provide multiple ways to reach a goal. (A)</p> Signup and view all the answers

What is the role of precondition-effect descriptions in searching for abstract solutions?

<p>They help in determining the workability of a plan. (D)</p> Signup and view all the answers

What is a belief state in the context of nondeterministic environments?

<p>A logical representation of the agent's uncertainty. (D)</p> Signup and view all the answers

Why is it essential to reduce the number of needed refinements in high-level actions?

<p>To keep the search space manageable and efficient. (D)</p> Signup and view all the answers

In the process of planning and acting, what occurs if a refinement fails to exist?

<p>The process must revert to the last successful high-level plan. (D)</p> Signup and view all the answers

What is the expected outcome of a sequence of HLAs in achieving a goal?

<p>They must intersect with the goal set to be effective. (B)</p> Signup and view all the answers

What challenge does defining precondition-effect descriptions for HLAs present?

<p>It can lead to confusion due to negation effects. (D)</p> Signup and view all the answers

What does the term 'reachable set' refer to concerning HLAs?

<p>A set of states achievable by a sequence of HLAs. (B)</p> Signup and view all the answers

What does plan monitoring primarily verify?

<p>The success of the remaining plan (B)</p> Signup and view all the answers

When is it beneficial to include 'REPLAN' in contingency plans?

<p>When unlikely branches arise during the planning process (A)</p> Signup and view all the answers

How does hierarchical planning assist in managing complex issues?

<p>By allowing agents to reason using abstract high-level actions (B)</p> Signup and view all the answers

Which issues can online planning with monitoring effectively address?

<p>Sensor/actuator failure and imperfect environmental models (A)</p> Signup and view all the answers

What is one way online planning can make conditional plans more efficient?

<p>By omitting unlikely paths until a replan is necessary (A)</p> Signup and view all the answers

Flashcards

Classical Planning

Finding action sequences to achieve goals in a specific environment (discrete, deterministic, static, fully observable).

PDDL (Planning Domain Definition Language)

A language for describing planning problems using actions and their effects.

Action Schema

Describes an action by its preconditions and effects.

State (in Planning)

A conjunction of ground atomic fluents, describing the world at a given point.

Signup and view all the flashcards

Forward State-Space Search

Exploring possible future states from the initial state.

Signup and view all the flashcards

Backward Search

Finding actions to achieve the goal, working backward from the goal.

Signup and view all the flashcards

Hierarchical Planning

Managing complexity by using high-level actions broken down into simpler actions.

Signup and view all the flashcards

High-Level Action (HLA)

An action that can be refined to a sequence of lower-level actions or primitive actions.

Signup and view all the flashcards

Plan monitoring

Checking if the remaining plan will still lead to success.

Signup and view all the flashcards

Goal monitoring

Evaluating if there are better goals available than the current ones.

Signup and view all the flashcards

Contingency plans

Plans for unexpected events or deviations from the original plan.

Signup and view all the flashcards

Replanning

Creating a new plan when the current plan is no longer valid.

Signup and view all the flashcards

Online planning

Planning that is done while the agent is acting in the environment.

Signup and view all the flashcards

HLA (High-Level Action)

An abstract action that achieves a specific goal, typically refined into more primitive actions to determine a plan.

Signup and view all the flashcards

Refinement

The process of breaking down a high-level action (HLA) into more specific steps or actions.

Signup and view all the flashcards

Primitive Action

An indivisible action, the lowest-level step of a plan.

Signup and view all the flashcards

Reachable Set

The set of states that can be reached through a sequence of actions.

Signup and view all the flashcards

Belief State

A set of possible physical states an agent might be in, given its knowledge.

Signup and view all the flashcards

Search for Primitive Solutions

A method of finding a sequence of primitive actions that achieve the plan by refining HLAs repeatedly.

Signup and view all the flashcards

Monitoring and Replanning

Adapting to changing environments by monitoring the state and replanning when necessary.

Signup and view all the flashcards

1-CNF

A logical formula in which variables are connected by ANDs, resulting in a simpler form for reasoning.

Signup and view all the flashcards

Percept Schema

Describes what information the agent can perceive at different times, based on preconditions like location or object visibility.

Signup and view all the flashcards

Observability - Fully Observable

The agent has complete information about the environment's state at all times.

Signup and view all the flashcards

Observability - Partially Observable

The agent lacks complete knowledge of the environment's state, relying on incomplete information.

Signup and view all the flashcards

Observability - Sensorless

The agent cannot perceive anything about the environment.

Signup and view all the flashcards

Sensorless Planning

Planning in an environment where the agent has no sensory information.

Signup and view all the flashcards

Belief State (Sensorless)

The agent's belief about the environment's state, represented as a logical formula with unknown fluents missing.

Signup and view all the flashcards

Contingency Planning

Creating plans that adapt to uncertainty and partially observable environments.

Signup and view all the flashcards

Study Notes

Automated Planning

  • Automated planning synthesizes a sequence of actions (plan) guiding an agent from an initial state to a target state (goal).
  • Planning is implemented as an application and a common task in many areas (design, manufacturing, scheduling, robotics).
  • Classical Planning assumes fully observable, deterministic, and static environments with a single agent.
  • This is similar to problem-solving agents, but with factored/structured state representations.

Planning Domain Definition Language (PDDL)

  • A state is a conjunction of fluents (ground, function-less atoms).
    • Example: Poor ∧ Unknown ∧ At(Truck1, Melbourne) ∧ At(Truck2, Sydney)
  • Non-fluents: typically non-ground or function-having atoms.
    • Example: At(x, y) and At(Father(Fred), Sydney) .
  • Actions are described by action schemas with:
    • An action name
    • A list of variables
    • A precondition (conjunction of literals)
    • An effect (aka postcondition), also a conjunction of literals.
  • Preconditions define states where an action can be executed.
  • Effects define the world's change upon action execution (removing and adding state properties).
  • An action schema can be instantiated (ground) into action instances.

Classical Planning

  • Finds actions to achieve a goal in discrete, deterministic, and fully observable environments.
  • Existing methods include search with custom heuristics and propositional logic with custom code.
  • A key issue is large state spaces.
  • The solution is factored state representation (using a Planning Domain Definition Language (PDDL) + action schemas).

Algorithms for Classical Planning

  • Forward and backward state-space searches need heuristics.
  • Backward search (regression search) minimizes branching factor.
  • Convert PDDL descriptions to propositional form. Use effective Boolean satisfiability solvers (SAT).

Heuristics for Planning

  • Factored state representation helps define heuristics.
  • A heuristic function estimates distance to the goal.
  • An admissible heuristic never overestimates the actual cost to reach the goal.
  • Techniques to create a heuristic:
    • Ignoring preconditions (using actions without needing the associated preconditions)
    • Ignoring the delete-list part of actions (ignoring potentially reversed effects/negative changes).

Hierarchical Planning

  • Manages complexity using high-level actions (HLAs).
  • HLAs can have several refinements into a sequence of HLAs or primitive actions.
  • An HLA achieves the goal when at least one refinement achieves it.

Example Refinement

  • A high-level action (HLA) to go from home to SFO airport.
  • Refinement options include options like driving, using shuttle, or taking a taxi).

Search for Primitive Solutions

  • The top high-level action (HLA) is often just 'Act'.
  • For each primitive action use refinements with steps until a plan is fully specified/derived
  • Recursively build a plan sequence until reaching stopping criteria (achieved goal).
  • Finding all possible plans is computationally expensive.

Search for Primitive Implementation Solutions

  • Uses a breadth-first search to plan actions to refine HLA and find an implementation.
  • The RESULT function updates the current state after an HLA or primitive action is run to the next step.
  • HIERARCHICAL-SEARCH finds a solution or indicates a failure.

Searching for Abstract Solutions

  • Search for primitive solutions needs to define HLAs.
  • Writing precondition and effect descriptions for HLAs is complex.
  • This exponential search issue is reduced substantially by HLAs.
  • Reachable set: collection of states reached by a sequence of HLAs
  • An HLA sequence achieves a goal if its reachable set intersects the goal set.
  • Optimization step includes simplified precondition and effects (optimistically), finding a plan then checking refinements of that plan.

Monitoring and Replanning

  • Online planning: replan during executions.
  • Agent needs to perform:
    • Action monitoring - check whether preconditions are met.
    • Plan monitoring - verify if the remaining plan will achieve the goal
    • Goal monitoring - if better goal set becomes available.
  • Contingency plans can be made simpler (when execution fails) using plans such as "REPLAN".

Example: Plan Monitoring with Repair

  • Plan is expected to reach a goal (e.g., going from S to G).
  • The plan is executed until a state that is a deviation from the expected state in the plan is encountered.
  • Execute the plan and find alternative plans to repair the plan.

Summary

  • Action schemas streamline the transition function.
  • Hierarchical planning handles the state-space-size issue.
  • Online planning with monitoring and replanning is highly flexible, handles various issues (e.g., unexpected failures).

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

Automated Planning PDF

Description

Explore the essentials of automated planning, which involves generating action sequences to achieve goals from given states. This quiz covers the basics of planning, including classical planning concepts and the Planning Domain Definition Language (PDDL) used to describe actions and states.

More Like This

Use Quizgecko on...
Browser
Browser