Encoding HTN Planning as a Dynamic CSP Pavel Surynek Charles University, Prague A First Step to Application of CP in Planning Domain.

Slides:



Advertisements
Similar presentations
TL-SHOP Derek MonnerNat Ayewah CMSC 722 Term Project, Spring 2007 University of Maryland, College Park Temporal Logic.
Advertisements

European Commission DG Information Society Info Day Brussels, 2 June 2005 Focal points: 1. Concepts, methods and core services 2. Tools in Rich Environments.
Automotive cluster of Central Bohemia region Pavel Sebek , Brussels.
Maximal Independent Sets of a Hypergraph IJCAI01.
Software-Hardware mapping in a Robot Design Pavol Jusko, David Obdrzalek, Tomas Petrusek Charles University, Prague Pavol Jusko, David Obdrzalek, Tomas.
1 Hierarchical Task Network (HTN) Planning José Luis Ambite* [* Based in part on presentations by Dana Nau and Rao Kambhampati]
Object-Oriented Software Engineering Visual OO Analysis and Design
In the name of God An Application of Planning An Application of PlanningJSHOP BY: M. Eftekhari and G. Yaghoobi.
Constraint Based Reasoning over Mutex Relations in Graphplan Algorithm Pavel Surynek Charles University, Prague Czech Republic.
Projection Global Consistency: Application in AI Planning Pavel Surynek Charles University, Prague Czech Republic.
Maintaining Arc-consistency over Mutex Relations in Planning Graphs during Search Pavel Surynek Roman Barták Charles University, Prague Czech Republic.
On the Boundary of Planning and Scheduling: A Study Roman Barták Charles University, Prague
Tento projekt je spolufinancov á n Evropským soci á ln í m fondem a st á tn í m rozpočtem Česk é republiky Ontology in Portal Knowledge Representation.
Solving Difficult SAT Instances Using Greedy Clique Decomposition Pavel Surynek Faculty of.
Tractable Class of a Problem of Finding Supports Pavel Surynek Roman Barták Charles University, Prague Czech Republic.
Chapter 20: Natural Language Generation Presented by: Anastasia Gorbunova LING538: Computational Linguistics, Fall 2006 Speech and Language Processing.
1 ICWS 2006, Chicago ICWS 2006 A Framework for Intelligent Web Services: Combined HTN and CSP Approach Incheon Paik, University of Aizu Daisuke Maruyama,
An Improved Algorithm for Maintaining Arc Consistency in Dynamic Constraint Satisfaction Problems Pavel Surynek Czech Technical University Prague
Planning II GraphPlan and Russell and Norvig: ch.12 CMSC421 – Fall 2006 based on material from Jim Blythe, JC Latombe, Marie desJardins and Daphne Koller.
1 Planning. R. Dearden 2007/8 Exam Format  4 questions You must do all questions There is choice within some of the questions  Learning Outcomes: 1.Explain.
1 Testing Writing Pertemuan 21 Matakuliah: >/ > Tahun: >
Automated Planning and HTNs Planning – A brief intro Planning – A brief intro Classical Planning – The STRIPS Language Classical Planning – The STRIPS.
Teaching Listening Skills Seminar by Jeremy D. Slagoski, Senior English Language Fellow.
F INDING P LANS FOR R EARRANGING R OBOTS IN  - LIKE E NVIRONMENTS Pavel Surynek Charles University in Prague Faculty of Mathematics and Physics The Czech.
Intelligent Tutoring Systems Traditional CAI Fully specified presentation text Canned questions and associated answers Lack the ability to adapt to students.
Project Name: Asdiqa’a Elmareed Hospital Prepared by: Mahmoud El Madhoun Rajab El Nabih The supervisor: Eman Elajrami.
Guass-jordan Reduction :
CS62S: Expert Systems Based on: The Engineering of Knowledge-based Systems: Theory and Practice A. J. Gonzalez and D. D. Dankel.
Strategic Planning for Unreal Tournament© Bots Héctor Muñoz-Avila Todd Fisher Department of Computer Science and Engineering Lehigh University USA Héctor.
Agent Model for Interaction with Semantic Web Services Ivo Mihailovic.
Compact Representations of Cooperative Path-Finding as SAT Based on Matchings in Bipartite Graphs Pavel Surynek presented by Filip Dvořák Faculty of Mathematics.
Building Tools by Model Transformations in Eclipse Oskars Vilitis, Audris Kalnins, Edgars Celms, Elina Kalnina, Agris Sostaks, Janis Barzdins Institute.
Introduction To System Analysis and Design
Tractable Class of a Problem of Goal Satisfaction in Mutual Exclusion Network Pavel Surynek Faculty of Mathematics and Physics Charles University, Prague.
Software Confederations and the Maintenance of Global Software Systems Jaroslav Král, Michal Žemlička Charles University, Prague
Explorations in Artificial Intelligence Prof. Carla P. Gomes Module 6 Binary CSP.
Problem Solving in Common Lisp Common Lisp J.E. Spragg May 1997.
FlashNormalize: Programming by Examples for Text Normalization International Joint Conference on Artificial Intelligence, Buenos Aires 7/29/2015FlashNormalize1.
Domain-Dependent View of Multiple Robots Path Planning Pavel Surynek Charles University, Prague Czech Republic.
Methods of Software Development Karl Lieberherr Spring 2007.
Logarithmic Functions
Modelling from Sequence to Gene Regulatory Network to Phenotype.
Hierarchical Task Network Planning Automated Planning: Theory and Practice, Chapter 11 소프트컴퓨팅 연구실
Making Path-Consistency Stronger for SAT Pavel Surynek Faculty of Mathematics and Physics Charles University in Prague Czech Republic.
Introduction Vlad Taranov
Unit 3 What courses do you offer?. Have you ever done a part-time job?
Factoring by Grouping For use when you have 4 terms (or 6 or 8 or 10… it can only work with an even number of terms)
Dynamic Constraint Models for Complex Production Environments
WP4 Measurements & social indicators.
Are End-to-end Systems the Ultimate Solutions for NLP?
BACK SOLUTION:
Introduction To System Analysis and Design PART 2
Implementing Language Extensions with Model Transformations
פחת ורווח הון סוגיות מיוחדות תהילה ששון עו"ד (רו"ח) ספטמבר 2015
أنماط الإدارة المدرسية وتفويض السلطة الدكتور أشرف الصايغ
Background Perception Animation - principles Animation - history
חקרשת webquest לכיתה ה2 , בי"ס "צהלה"
اساتيد گرامی: جناب آقای دکتر کاهانی و دکتر میلانی فرد
Суури мэдлэг Basic Knowledge
Incorporating Constraint Checking Costs in Constraint Satisfaction Problem Suryakant Sansare.
1.5 Linear Inequalities.
Connected Word Recognition
№96 сонли умумий ўрта мактабининг ўқитувчиси Эшанкулова феруза
½ of 6 = 3.
Implementing Language Extensions with Model Transformations
Sum and Difference Formulas
A Problem Solving Technique
Applinka.
CP15 register transfer instructions
Presentation transcript:

Encoding HTN Planning as a Dynamic CSP Pavel Surynek Charles University, Prague A First Step to Application of CP in Planning Domain CP 2005, Doctoral Programme

 Traditional planning (STRIPS) Initial world state Set of actions changing the world state (+ conditions under what they can be used) Goal state of the world  Plan = Sequence of actions transforming the initial world state into a goal state of the world Why HTN planning ? NOT easy to incorporate any kind of domain knowledge Location ALocation B Initial state Location ALocation B Goal state Actions CP 2005, Doctoral ProgrammePavel Surynek

HTN Planning  Augments the traditional action based model with: Grammar of legal solutions Reduction schemas  Initial state same as in STRIPS  Goal state again same as in STRIPS  But actions are more expressive HTN Planning uses tasks and task networks e.g.: transportPeople:-transportPeopleByBus or transportPeopleByTrain Task Task network Task reduction schema CP 2005, Doctoral ProgrammePavel Surynek

transportPeopleByBus :- getIntoBus, travel, getOff | getIntoBus<travel<getOff transportPeopleByBus transportPeople:-transportPeopleByBus or transportPeopleByTrain Details of HTN Planning  Plan = Again sequence of actions (tasks without reduction schemas) transforming initial state into goal state Only the sequences accepted by the grammar are legal plans  reduction of the search space Location ALocation B Initial state Location ALocation B Goal state transportPeopleByTrain transportPeople or getIntoBus and travel getOff getIntoTrain and travel getOff Location ALocation B Goal state Plan #1 Plan #2 CP 2005, Doctoral ProgrammePavel Surynek

 For a given HTN planning problem a k-step (hierarchical) CSP model is constructed  Variables are used to encode: Tasks  e.g.: transportPeople{, } Actions  e.g.: getIntoBus{,, …, } World states  e.g.: busAt(time){, } The CSP model: static properties CP 2005, Doctoral Programme Location ALocation B k-moments of execution Always bound with its superior task Pavel Surynek

The CSP model: constraints CP 2005, Doctoral Programme  Preconditions and effects of the actions  Initial state  Task constraints are more difficult Constructed hierarchically if getIntoBus = 1 then busAt(1)=Location A and peopleAt(1)=Location A and peopleAt(2)=Bus e.g.: busAt(1)=Location B and trainAt(1)=Location B and peopleAt(1)=Location A e.g.: Pavel Surynek

((Subproblem A) or (Subproblem B)) and transportPeople task is modelled as (if transportPeople=Bus then Subproblem A) and The CSP model: task constraints  Each task constraint is associated with reduction subproblems (Subproblem A) or (Subproblem B) example: transportPeopleByBus :- getIntoBus, travel, getOff | getIntoBus<travel<getOff transportPeopleByTrain :- getIntoTrain, travel, getOff | getIntoTrain<travel<getOff Subproblem A Subproblem B CP 2005, Doctoral Programme (if transportPeople=Train then Subproblem B) (if transportPeople=Bus then Subproblem A) transportPeople Pavel Surynek

Dynamic properties of the model  Described model is constructed dynamically as the search proceeds  Depth of the hierarchical model is always limited  When the task variable is instantiated the model is extended with the corresponding subproblems CP 2005, Doctoral ProgrammePavel Surynek Constraint model transportPeople  Bus New constraint model Propagation

Conclusions: issues to solve  Amount of model extension after variable instantiation or domain narrowing deeper/larger extension  more constrained model, but larger memory consumption  How to combine constraints via logical conjunctions reification is easy to implement, but provides weak propagation the model uses lot of disjunctive constraints (construct if then), constructive disjunction is more suitable  Experimental evaluation of the proposed encoding ! Pavel SurynekCP 2005, Doctoral Programme